Skip to content

Commit

Permalink
fix: fix accent color in icons (#1182)
Browse files Browse the repository at this point in the history
  • Loading branch information
mariohamann authored Jun 27, 2024
1 parent 2bf4bfa commit c4b74da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/components/src/components/icon/library.default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ const defaultLibrary: IconLibrary = {
});

recoloredElements.greenFills.forEach(filledElement => {
filledElement.setAttribute('fill', 'rgb(var(--sd-color-accent, 67 176 42) / var(--tw-bg-opacity, 1))');
filledElement.setAttribute('fill', 'rgb(var(--sd-color-accent, 45 157 0) / var(--tw-bg-opacity, 1))');
});

recoloredElements.greenStrokes.forEach(strokedElement => {
strokedElement.setAttribute('stroke', 'rgb(var(--sd-color-accent, 67 176 42) / var(--tw-bg-opacity, 1))');
strokedElement.setAttribute('stroke', 'rgb(var(--sd-color-accent, 45 157 0) / var(--tw-bg-opacity, 1))');
});
return svg;
}
Expand Down

0 comments on commit c4b74da

Please sign in to comment.