Skip to content

Commit abc0897

Browse files
fix(EthTokenIcon): replace fill values with class utilities
1 parent a707d85 commit abc0897

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

src/components/Simulator/icons/EthTokenIcon.tsx

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
/* eslint-disable react/jsx-key */
2-
import React from "react"
3-
41
import { createIconBase } from "@/components/icons/icon-base"
52

63
export const EthTokenIcon = createIconBase({
@@ -9,15 +6,15 @@ export const EthTokenIcon = createIconBase({
96
className: "text-3xl/none fill-none",
107
children: (
118
<>
12-
<circle cx="15" cy="15" r="15" fill="var(--eth-colors-primary-hover)" />
9+
<circle cx="15" cy="15" r="15" className="fill-primary-hover" />
1310
<path
1411
d="M20.87 15.1868L14.9371 5L9 15.1868L14.9371 18.8115L20.87 15.1868Z"
15-
fill="var(--eth-colors-background-base)"
12+
className="fill-background"
1613
/>
1714

1815
<path
1916
d="M14.9996 25L20.9366 16.3523L14.9996 19.977L9.0625 16.3523L14.9996 25Z"
20-
fill="var(--eth-colors-background-base)"
17+
className="fill-background"
2118
/>
2219
</>
2320
),
@@ -32,11 +29,11 @@ export const EthTokenIconGrayscale = createIconBase({
3229
<circle cx="15" cy="15" r="15" fill="#fff" />
3330
<path
3431
d="M20.87 15.1868L14.9371 5L9 15.1868L14.9371 18.8115L20.87 15.1868Z"
35-
fill="var(--eth-colors-primary-action)"
32+
className="fill-primary-action"
3633
/>
3734
<path
3835
d="M14.9996 25L20.9366 16.3523L14.9996 19.977L9.0625 16.3523L14.9996 25Z"
39-
fill="var(--eth-colors-primary-action)"
36+
className="fill-primary-action"
4037
/>
4138
</>
4239
),

0 commit comments

Comments
 (0)