Skip to content

Commit bcc20de

Browse files
committed
[fix] add color for light mde
1 parent 5cc782c commit bcc20de

File tree

1 file changed

+10
-2
lines changed
  • apps/extension/src/pages/main/components/spendable-card

1 file changed

+10
-2
lines changed

apps/extension/src/pages/main/components/spendable-card/index.tsx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,11 @@ export const SpendableCard: FunctionComponent<{
136136
<ArrowUpRightIcon
137137
width="0.625rem"
138138
height="0.625rem"
139-
color={ColorPalette["blue-300"]}
139+
color={
140+
theme.mode === "light"
141+
? ColorPalette["blue-400"]
142+
: ColorPalette["blue-300"]
143+
}
140144
/>
141145
}
142146
disabled={!hasBalance}
@@ -159,7 +163,11 @@ export const SpendableCard: FunctionComponent<{
159163
<ArrowSwapIcon
160164
width="1rem"
161165
height="1rem"
162-
color={ColorPalette["blue-300"]}
166+
color={
167+
theme.mode === "light"
168+
? ColorPalette["blue-400"]
169+
: ColorPalette["blue-300"]
170+
}
163171
/>
164172
}
165173
disabled={!hasBalance}

0 commit comments

Comments
 (0)