Skip to content

Commit d97c202

Browse files
committed
5410: Use identity css custom property for filled state
1 parent 2af13be commit d97c202

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/stories/Library/Icons/icon-favourite/IconFavourite.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ export const IconFavourite = ({ fill }: IconFavouriteProps) => {
1010
<svg
1111
className="icon-favourite"
1212
viewBox="0 0 24 24"
13-
fill={fill ? "#000" : "none"}
13+
fill={fill ? "var(--identity-color)" : "none"}
14+
stroke={fill ? "var(--identity-color)" : "black"}
1415
xmlns="http://www.w3.org/2000/svg"
1516
>
1617
<path
1718
d="M11.5 20L10.2675 18.921C5.89 15.1035 3 12.5858 3 9.49591C3 6.9782 5.057 5 7.675 5C9.154 5 10.5735 5.66213 11.5 6.70845C12.4265 5.66213 13.846 5 15.325 5C17.943 5 20 6.9782 20 9.49591C20 12.5858 17.11 15.1035 12.7325 18.9292L11.5 20Z"
18-
stroke="black"
1919
strokeWidth="2"
2020
/>
2121
</svg>

0 commit comments

Comments
 (0)