fix(ui): step page, workspace, card and canvas surfaces apart

This commit is contained in:
sam committed 2026-10-18 23:45:26 +11:00
1 parent 491c1fa683
commit 3eca2ef5df
1 file changed
+19 -19
+19 -19
View File
@@ -105,10 +105,10 @@
/* Graphite: warm neutral greys with no hue cast. Hierarchy comes from
surface steps and borders, never from tinted backgrounds. */
--background: #121314;
--card: #16171a;
--background: #0e0f10;
--card: #1c1d21;
--card-foreground: #e8e6e1;
--popover: #17181a;
--popover: #202226;
--popover-foreground: #e8e6e1;
--foreground: #e8e6e1;
@@ -122,25 +122,25 @@
--link: var(--primary);
/* shadcn's `accent` is the hover surface, not the brand colour. */
--secondary: #1e2023;
--secondary: #26282c;
--secondary-foreground: #e8e6e1;
--muted: #1e2023;
--muted: #26282c;
--muted-foreground: #a6a39b;
--accent: #1e2023;
--accent: #26282c;
--accent-foreground: #e8e6e1;
--destructive: #d9776b;
--destructive-foreground: #121314;
--destructive-soft: rgba(217, 119, 107, 0.08);
--border: #2a2c30;
--border-strong: #34373c;
--input: #2e3034;
--border: #313338;
--border-strong: #3c3f45;
--input: #35373c;
--ring: var(--primary);
--fg-muted: #a6a39b;
/* The dimmest text allowed: 5.3:1 on the card, 4.9:1 on hover surfaces; hints and captions only. */
--fg-subtle: #8f8c85;
/* The dimmest text allowed: 5.7:1 on the card, 5.0:1 on hover surfaces; hints and captions only. */
--fg-subtle: #99968f;
--ok: var(--primary);
--ok-soft: var(--primary-soft);
@@ -155,11 +155,11 @@
--idle: #8f8c85;
--idle-soft: rgba(143, 140, 133, 0.1);
--bg-blur: rgba(18, 19, 20, 0.6);
--bg-blur: rgba(14, 15, 16, 0.6);
--surface-glass: var(--card);
--surface-glass-strong: var(--popover);
--workspace: var(--background);
--hairline: #202225;
--workspace: #16171a;
--hairline: #2a2c30;
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
--shadow-md: 0 8px 28px rgba(0, 0, 0, 0.4);
@@ -174,14 +174,14 @@
[data-theme="light"] {
color-scheme: light;
--background: #f5f4f1;
--background: #e9e7e2;
--card: #ffffff;
--card-foreground: #1f1f1d;
--popover: #ffffff;
--popover-foreground: #1f1f1d;
--foreground: #1f1f1d;
/* White on #3f6f5a is 5.8:1; as text on the canvas, 5.3:1. */
/* White on #3f6f5a is 5.8:1; as text on the canvas, 4.7:1. */
--primary: #3f6f5a;
--primary-foreground: #ffffff;
--primary-soft: rgba(63, 111, 90, 0.1);
@@ -217,11 +217,11 @@
--idle: #5f5d58;
--idle-soft: rgba(95, 93, 88, 0.1);
--bg-blur: rgba(245, 244, 241, 0.6);
--bg-blur: rgba(233, 231, 226, 0.6);
--surface-glass: var(--card);
--surface-glass-strong: var(--popover);
--workspace: var(--background);
--hairline: #e6e4df;
--workspace: #f5f4f1;
--hairline: #d6d3cc;
--shadow-sm: 0 1px 2px rgba(31, 31, 29, 0.06);
--shadow-md: 0 8px 28px rgba(31, 31, 29, 0.1);