Migrate UI theme variables to react-zen tokens and update dependency package
This commit is contained in:
1 parent
af542569bf
commit
eea124bbf8
17 files changed
+129
-93
No files matched your search
@@ -4,16 +4,16 @@ import { ArrowRight } from '@/components/icons';
|
||||
|
||||
const STYLES = {
|
||||
positive: {
|
||||
color: `var(--status-success)`,
|
||||
background: `var(--status-success-bg)`,
|
||||
color: `var(--zen-status-success)`,
|
||||
background: `var(--zen-status-success-bg)`,
|
||||
},
|
||||
negative: {
|
||||
color: `var(--status-error)`,
|
||||
background: `var(--status-error-bg)`,
|
||||
color: `var(--zen-status-error)`,
|
||||
background: `var(--zen-status-error-bg)`,
|
||||
},
|
||||
neutral: {
|
||||
color: `var(--text-muted)`,
|
||||
background: `var(--surface-raised)`,
|
||||
color: `var(--zen-text-muted)`,
|
||||
background: `var(--zen-surface-raised)`,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
}
|
||||
|
||||
.card:hover {
|
||||
box-shadow: 0 0 0 1px var(--text-primary);
|
||||
box-shadow: 0 0 0 1px var(--zen-text-primary);
|
||||
}
|
||||
|
||||
.card.selected {
|
||||
box-shadow: 0 0 0 1px var(--text-primary);
|
||||
box-shadow: 0 0 0 1px var(--zen-text-primary);
|
||||
}
|
||||
Reference in new issue
Block a user