Fix: add backwards-compat CSS aliases for removed variable names
Theme overhaul removed --surface, --surface-2, --border, --r-md but SettingsIntegrations.jsx and other pages still reference them. Cards were rendering but invisible (transparent background/border). Added aliases: --surface/--surface-2 → --card, --border → --card-border, --r-md → --r
This commit is contained in:
parent
2411fc5b99
commit
ad3da57174
1 changed files with 6 additions and 0 deletions
|
|
@ -41,6 +41,12 @@
|
|||
--r-lg: 12px;
|
||||
--r-full: 999px;
|
||||
|
||||
/* Backwards-compat aliases */
|
||||
--surface: var(--card);
|
||||
--surface-2: var(--card);
|
||||
--border: var(--card-border);
|
||||
--r-md: var(--r);
|
||||
|
||||
--font: 'Instrument Sans', -apple-system, sans-serif;
|
||||
--font-display: 'Instrument Sans', -apple-system, sans-serif;
|
||||
--font-mono: 'IBM Plex Mono', monospace;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue