Skip to content

Commit

Permalink
fix: colorSVG.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
sirPixieJerry committed Feb 7, 2024
1 parent c3e9508 commit eaae42c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/colorSVG.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ export const colorSVG = (color: string): void => {
if (box === null || path === null) return;

box.style.backgroundColor = color;
path.setAttribute('fill', color);
path.style.fill = color;
};

0 comments on commit eaae42c

Please sign in to comment.