mirror of
https://github.com/umami-software/umami.git
synced 2026-02-12 00:27:11 +01:00
Fix ChangeLabel colors to use react-zen theme variables.
Replace old CSS variables with new theme tokens for success, error, and neutral states. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
403bdfd6e2
commit
84522b2475
1 changed files with 6 additions and 6 deletions
|
|
@ -4,16 +4,16 @@ import { ArrowRight } from '@/components/icons';
|
||||||
|
|
||||||
const STYLES = {
|
const STYLES = {
|
||||||
positive: {
|
positive: {
|
||||||
color: `var(--success-color)`,
|
color: `var(--status-success-text)`,
|
||||||
background: `color-mix(in srgb, var(--success-color), var(--background-color) 95%)`,
|
background: `var(--status-success-bg)`,
|
||||||
},
|
},
|
||||||
negative: {
|
negative: {
|
||||||
color: `var(--danger-color)`,
|
color: `var(--status-error-text)`,
|
||||||
background: `color-mix(in srgb, var(--danger-color), var(--background-color) 95%)`,
|
background: `var(--status-error-bg)`,
|
||||||
},
|
},
|
||||||
neutral: {
|
neutral: {
|
||||||
color: `var(--font-color-muted)`,
|
color: `var(--text-muted)`,
|
||||||
background: `var(--base-color-2)`,
|
background: `var(--surface-raised)`,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue