Skip to content

Commit

Permalink
fix(System): fix color of stats text in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
vrozaev committed Sep 17, 2024
1 parent a351378 commit f1c3ec3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ui/src/ui/pages/system/ProxiesImpl/StatsInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ type Props = {

const COLORS_BY_STATUS = {
ONLINE: ['var(--success-color)', 'var(--success-text)', 'var(--default-color)'],
OFFLINE: ['var(--danger-color)', 'var(--dnager-text)', 'var(--default-color)'],
OFFLINE: ['var(--danger-color)', 'var(--danger-text)', 'var(--default-color)'],
BANNED: ['var(--warning-color)', 'var(--warning-text)', 'var(--default-color)'],
OTHER: [],
FULL: [],
Expand Down Expand Up @@ -75,7 +75,7 @@ export const StatsInfo = ({
<div>
<CountUrl count={count} url={url} variant="body-2" />
</div>
<Text className={block('text')} variant="body-short" color="dark-secondary">
<Text className={block('text')} variant="body-short">
{status}
</Text>
<Progress className={block('progress')} stack={stack ?? []} size="xs" />
Expand Down

0 comments on commit f1c3ec3

Please sign in to comment.