Skip to content

Commit

Permalink
use existing css var instead of new yellow 0
Browse files Browse the repository at this point in the history
  • Loading branch information
tinaszheng committed Jan 7, 2025
1 parent 67d14f9 commit 7b718fa
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/styles/globalStyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ export const GlobalStyle = createGlobalStyle`
--color-black: ${({ theme }) => theme.black};
--color-green: ${({ theme }) => theme.green};
--color-red: ${({ theme }) => theme.red};
--color-yellow-0: ${({ theme }) => theme.yellow0};
--color-white-faded: ${({ theme }) => theme.whiteFaded};
Expand Down
1 change: 0 additions & 1 deletion src/styles/themes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const ClassicThemeBase: () => ThemeColorBase = () => ({
white: ColorToken.White,
green: ColorToken.Green3,
red: ColorToken.Red2,
yellow0: ColorToken.Yellow0,

whiteFaded: generateFadedColorVariant(ColorToken.White, OpacityToken.Opacity16),

Expand Down
4 changes: 2 additions & 2 deletions src/views/dialogs/DepositDialog2/RouteOptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ export const RouteOptions = ({
style={{
color:
selectedSpeed === 'fast' && !isLoading
? 'var(--color-yellow-0)'
: 'var(--color-layer-2)',
? 'var(--color-favorite)'
: 'var(--color-text-0)',
}}
>
<LightningIcon />
Expand Down

0 comments on commit 7b718fa

Please sign in to comment.