|
14 | 14 | --card-foreground: oklch(0.141 0.005 285.823); |
15 | 15 | --popover: oklch(1 0 0); |
16 | 16 | --popover-foreground: oklch(0.141 0.005 285.823); |
17 | | - /* Brand periwinkle, matching the CLI (lightColors.primary). Was |
18 | | - oklch(0.21) — a near-black that made every accent surface read as an |
19 | | - unstyled dark chip. */ |
20 | | - --primary: #4a5bc4; |
| 17 | + --primary: oklch(0.21 0.006 285.885); |
21 | 18 | --primary-foreground: oklch(1 0 0); |
22 | 19 | --secondary: oklch(0.967 0.001 286.375); |
23 | 20 | --secondary-foreground: oklch(0.21 0.006 285.885); |
24 | 21 | --muted: oklch(0.967 0.001 286.375); |
25 | | - /* Periwinkle, matching the CLI palette (lightColors.primary). Plain grey at |
26 | | - this size read as disabled rather than secondary. */ |
27 | | - --muted-foreground: #4a5bc4; |
| 22 | + --muted-foreground: oklch(0.552 0.016 285.938); |
28 | 23 | --accent: oklch(0.967 0.001 286.375); |
29 | 24 | --accent-foreground: oklch(0.21 0.006 285.885); |
30 | 25 | --destructive: oklch(0.577 0.245 27.325); |
| 26 | + /* Muted periwinkle accent (CLI primary). Used for inline code and progress |
| 27 | + fills — --primary is a near-black neutral and disappears against --muted. */ |
| 28 | + --brand: #4a5bc4; |
31 | 29 | /* CLI lightColors.success — the "on" colour for toggles. */ |
32 | 30 | --success: #0e7a38; |
33 | 31 | --success-foreground: oklch(1 0 0); |
|
43 | 41 | --card-foreground: oklch(0.985 0 0); |
44 | 42 | --popover: oklch(0.18 0.005 285.823); |
45 | 43 | --popover-foreground: oklch(0.985 0 0); |
46 | | - /* Brand periwinkle, matching the CLI (darkColors.primary). The old |
47 | | - oklch(0.21) was DARKER than --input (oklch 0.274) and barely above the |
48 | | - background, so accent surfaces and "on" states disappeared in dark mode. */ |
49 | | - --primary: #bbc6ff; |
50 | | - --primary-foreground: oklch(0.141 0.005 285.823); |
| 44 | + --primary: oklch(0.21 0.006 285.885); |
| 45 | + --primary-foreground: oklch(0.985 0 0); |
51 | 46 | --secondary: oklch(0.274 0.006 286.033); |
52 | 47 | --secondary-foreground: oklch(0.985 0 0); |
53 | 48 | --muted: oklch(0.274 0.006 286.033); |
54 | | - /* Periwinkle, matching the CLI palette (darkColors.primary). The previous |
55 | | - near-neutral grey sat too close to the background to read at 11px. */ |
56 | | - --muted-foreground: #bbc6ff; |
| 49 | + --muted-foreground: oklch(0.705 0.015 286.067); |
57 | 50 | --accent: oklch(0.274 0.006 286.033); |
58 | 51 | --accent-foreground: oklch(0.985 0 0); |
59 | 52 | --destructive: oklch(0.704 0.191 22.216); |
| 53 | + /* Muted periwinkle accent (CLI primary), dark variant. */ |
| 54 | + --brand: #aab3e8; |
60 | 55 | /* CLI darkColors.success — the "on" colour for toggles. */ |
61 | 56 | --success: #4ec87e; |
62 | 57 | --success-foreground: oklch(0.141 0.005 285.823); |
@@ -110,6 +105,7 @@ body { |
110 | 105 | --color-destructive: var(--destructive); |
111 | 106 | --color-success: var(--success); |
112 | 107 | --color-success-foreground: var(--success-foreground); |
| 108 | + --color-brand: var(--brand); |
113 | 109 | --color-border: var(--border); |
114 | 110 | --color-input: var(--input); |
115 | 111 | --color-ring: var(--ring); |
|
0 commit comments