@skaile/forge-brand 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/README.md +92 -11
- package/assets/identity.md +56 -137
- package/assets/logo/LICENSE-NOTE.md +3 -0
- package/assets/logo/favicon.svg +1 -0
- package/assets/logo/forge-icon.svg +1 -0
- package/assets/logo/forge-lockup-dark.svg +1 -0
- package/assets/logo/forge-lockup-light.svg +1 -0
- package/assets/logo/forge-mark.svg +1 -0
- package/package.json +26 -5
- package/src/css/app.css +18 -18
- package/src/css/brand.css +4 -10
- package/src/css/fonts.css +19 -0
- package/src/css/nuxt-ui.css +36 -22
- package/src/css/theme.css +223 -150
- package/src/tailwind-preset.ts +45 -41
- package/src/tokens.json +122 -66
package/src/css/nuxt-ui.css
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @skaile/forge-brand/nuxt-ui.css:
|
|
2
|
+
* @skaile/forge-brand/nuxt-ui.css: forge brand → Nuxt UI 4 bridge, the one stylesheet a
|
|
3
3
|
* Nuxt UI host imports.
|
|
4
4
|
*
|
|
5
|
-
* Maps the semantic tokens Nuxt UI components read (--ui-*) onto the
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
5
|
+
* Maps the semantic tokens Nuxt UI components read (--ui-*) onto the brand
|
|
6
|
+
* variables from ./theme.css, so every Nuxt UI component takes the brand
|
|
7
|
+
* palette, radius and light/dark switch with no per-app overrides. Nuxt UI 4
|
|
8
|
+
* components use semantic tokens only, so overriding the semantic set is
|
|
9
|
+
* enough; the `primary-*` / `secondary-*` steps (`--ui-color-*`, behind
|
|
10
|
+
* Tailwind's `bg-primary-500` and the like) take the ink and ember scales.
|
|
11
|
+
* ./sk.css then maps the forge packages' `--sk-*` tokens onto those `--ui-*`
|
|
12
|
+
* variables.
|
|
11
13
|
*
|
|
12
14
|
* Import AFTER "@nuxt/ui" (equal specificity, source order decides):
|
|
13
15
|
* @import "tailwindcss";
|
|
@@ -21,11 +23,11 @@
|
|
|
21
23
|
.light,
|
|
22
24
|
.dark {
|
|
23
25
|
--ui-primary: var(--primary);
|
|
24
|
-
--ui-secondary: var(--
|
|
26
|
+
--ui-secondary: var(--ember);
|
|
25
27
|
--ui-success: var(--color-success);
|
|
26
28
|
--ui-warning: var(--color-warning);
|
|
27
29
|
--ui-error: var(--destructive);
|
|
28
|
-
--ui-info: var(--color-
|
|
30
|
+
--ui-info: var(--color-info);
|
|
29
31
|
--ui-bg: var(--background);
|
|
30
32
|
--ui-bg-muted: var(--muted);
|
|
31
33
|
--ui-bg-elevated: var(--card);
|
|
@@ -42,25 +44,37 @@
|
|
|
42
44
|
--ui-border-accented: var(--input);
|
|
43
45
|
--ui-border-inverted: var(--foreground);
|
|
44
46
|
--ui-radius: var(--radius);
|
|
47
|
+
--ui-color-primary-50: var(--ink-50);
|
|
48
|
+
--ui-color-primary-100: var(--ink-100);
|
|
49
|
+
--ui-color-primary-200: var(--ink-200);
|
|
50
|
+
--ui-color-primary-300: var(--ink-300);
|
|
51
|
+
--ui-color-primary-400: var(--ink-400);
|
|
52
|
+
--ui-color-primary-500: var(--ink-500);
|
|
53
|
+
--ui-color-primary-600: var(--ink-600);
|
|
54
|
+
--ui-color-primary-700: var(--ink-700);
|
|
55
|
+
--ui-color-primary-800: var(--ink-800);
|
|
56
|
+
--ui-color-primary-900: var(--ink-900);
|
|
57
|
+
--ui-color-primary-950: var(--ink-950);
|
|
58
|
+
--ui-color-secondary-50: var(--ember-50);
|
|
59
|
+
--ui-color-secondary-100: var(--ember-100);
|
|
60
|
+
--ui-color-secondary-200: var(--ember-200);
|
|
61
|
+
--ui-color-secondary-300: var(--ember-300);
|
|
62
|
+
--ui-color-secondary-400: var(--ember-400);
|
|
63
|
+
--ui-color-secondary-500: var(--ember-500);
|
|
64
|
+
--ui-color-secondary-600: var(--ember-600);
|
|
65
|
+
--ui-color-secondary-700: var(--ember-700);
|
|
66
|
+
--ui-color-secondary-800: var(--ember-800);
|
|
67
|
+
--ui-color-secondary-900: var(--ember-900);
|
|
68
|
+
--ui-color-secondary-950: var(--ember-950);
|
|
45
69
|
}
|
|
46
70
|
|
|
47
71
|
/*
|
|
48
72
|
* `--ui-text-inverted` is the label on every solid colour (`bg-primary`, ...)
|
|
49
|
-
* AND on solid neutral (`bg-inverted`).
|
|
50
|
-
* primary
|
|
73
|
+
* AND on solid neutral (`bg-inverted`). In dark it is the ink label of the
|
|
74
|
+
* light primary, which also reads on ember, info, warning and success. Surfaces
|
|
51
75
|
* on `--ui-bg-inverted` (the light --foreground in dark) take the dark page
|
|
52
|
-
* colour. Descendants (alert titles, icons) inherit it.
|
|
76
|
+
* colour instead. Descendants (alert titles, icons) inherit it.
|
|
53
77
|
*/
|
|
54
78
|
.dark .bg-inverted {
|
|
55
79
|
--ui-text-inverted: var(--background);
|
|
56
80
|
}
|
|
57
|
-
|
|
58
|
-
/*
|
|
59
|
-
* #7300ff on the dark page is ~2.3:1, too faint for the text and outlines
|
|
60
|
-
* Nuxt UI draws in `--ui-primary` (soft/outline badges, active tabs, links).
|
|
61
|
-
* Brand's dark highlight `--color-primary-bright` (#9b40ff) takes over; a
|
|
62
|
-
* white label on it stays above 4.5:1.
|
|
63
|
-
*/
|
|
64
|
-
.dark {
|
|
65
|
-
--ui-primary: var(--color-primary-bright);
|
|
66
|
-
}
|
package/src/css/theme.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Forge brand theme -- CSS custom properties
|
|
3
3
|
*
|
|
4
|
-
* Source of truth: tokens.json (
|
|
4
|
+
* Source of truth: tokens.json (`platform-light`, `platform-dark`, `scales`)
|
|
5
5
|
*
|
|
6
6
|
* Usage:
|
|
7
7
|
* @import '@skaile/forge-brand/theme.css';
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
* Provides light and dark mode via .light / .dark classes on <html>.
|
|
10
10
|
* Falls back to light mode on :root.
|
|
11
11
|
*
|
|
12
|
-
* Brand
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
12
|
+
* Brand colours: ink (#1c1a19 light / #f5f3f1 dark) is the primary, ember
|
|
13
|
+
* (#c33d01 light / #f6835f dark) the accent for secondary actions, links, focus
|
|
14
|
+
* and the logo. Neutrals are warm stone. The Skaile company purple stays on the
|
|
15
|
+
* marketing surface only (brand.css), never here.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
/* ---------------------------------------------------------------------------
|
|
@@ -31,79 +31,118 @@
|
|
|
31
31
|
directions are deliberate and were chosen against renders of both: on a
|
|
32
32
|
dark ground a panel reads as a recess, on a light one it reads as a card,
|
|
33
33
|
and forcing one rule onto both gave light a set of grey wells. What the
|
|
34
|
-
themes do share is temperature
|
|
35
|
-
the
|
|
36
|
-
|
|
37
|
-
--
|
|
38
|
-
--
|
|
39
|
-
--card
|
|
34
|
+
themes do share is temperature: every grey is warm stone (chroma
|
|
35
|
+
0.004-0.006 at hue 85), at the OKLCH lightness the former neutral greys
|
|
36
|
+
had, so every contrast floor documented below still holds. */
|
|
37
|
+
--background: #f1f0ed;
|
|
38
|
+
--foreground: #171614;
|
|
39
|
+
--card: #ffffff;
|
|
40
|
+
--card-foreground: #171614;
|
|
40
41
|
/* Level with the panel, not with the page: a popover floats above the page,
|
|
41
42
|
so it takes the panel's surface. Card and popover being the same white is
|
|
42
43
|
deliberate and is what stock shadcn light does — not one of them left
|
|
43
44
|
un-bumped. */
|
|
44
|
-
--popover:
|
|
45
|
-
--popover-foreground:
|
|
46
|
-
|
|
47
|
-
--primary
|
|
48
|
-
--
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
--
|
|
45
|
+
--popover: #ffffff;
|
|
46
|
+
--popover-foreground: #171614;
|
|
47
|
+
/* Ink: solid primary buttons are near-black with a white label (17.3:1). */
|
|
48
|
+
--primary: #1c1a19;
|
|
49
|
+
--primary-foreground: #ffffff;
|
|
50
|
+
/* shadcn's secondary is a surface, and stays one. Nuxt UI's `secondary`
|
|
51
|
+
colour reads --ember instead (nuxt-ui.css). */
|
|
52
|
+
--secondary: #f6f5f2;
|
|
53
|
+
--secondary-foreground: #686662;
|
|
54
|
+
--muted: #f6f5f2;
|
|
55
|
+
--muted-foreground: #686662;
|
|
52
56
|
/* The hover ground for every menu item in the shell: DropdownMenuItem
|
|
53
|
-
highlights with focus:bg-accent and nothing else. At
|
|
54
|
-
from --popover and was invisible. */
|
|
55
|
-
--accent:
|
|
56
|
-
--accent-foreground:
|
|
57
|
+
highlights with focus:bg-accent and nothing else. At the --muted step it
|
|
58
|
+
sat 1.09:1 from --popover and was invisible. */
|
|
59
|
+
--accent: #e1e0dd;
|
|
60
|
+
--accent-foreground: #171614;
|
|
57
61
|
--destructive: hsl(0 72.2% 50.6%);
|
|
58
62
|
--destructive-foreground: hsl(0 0% 100%);
|
|
59
63
|
/* The design draws no borders at all — it separates surfaces by step and by
|
|
60
64
|
gap. These stay for the components that still ask for one, dark enough to
|
|
61
65
|
read against a white page. */
|
|
62
|
-
--border:
|
|
63
|
-
--input:
|
|
64
|
-
|
|
66
|
+
--border: #dddbd7;
|
|
67
|
+
--input: #dddbd7;
|
|
68
|
+
/* Focus is ember, the one accent: it stands out against an ink control. */
|
|
69
|
+
--ring: #c33d01;
|
|
70
|
+
/* Ember 600: secondary actions, links, highlights (white label 5.27:1,
|
|
71
|
+
4.62:1 as text on the page). */
|
|
72
|
+
--ember: #c33d01;
|
|
73
|
+
--ember-foreground: #ffffff;
|
|
65
74
|
/* Below the page, so an active tab rises out of the strip and meets the
|
|
66
75
|
panel it belongs to. */
|
|
67
|
-
--tab-bar:
|
|
76
|
+
--tab-bar: #e9e8e5;
|
|
68
77
|
/* The surface a panel's own content sinks into — the file viewer beside the
|
|
69
78
|
tree. One step below the panel, which here leaves it between the panel and
|
|
70
79
|
the page rather than below both, as in dark.
|
|
71
|
-
It happens to share
|
|
72
|
-
coincidence of this ramp, not a coupling: those
|
|
73
|
-
|
|
74
|
-
--surface-sunken:
|
|
80
|
+
It happens to share its value with --secondary/--muted above. That is a
|
|
81
|
+
coincidence of this ramp, not a coupling: those style UI elements, this
|
|
82
|
+
one is a depth. Moving it need not move them. */
|
|
83
|
+
--surface-sunken: #f6f5f2;
|
|
75
84
|
|
|
76
|
-
/*
|
|
85
|
+
/* Status and brand extras */
|
|
77
86
|
--color-success: hsl(161.4 93.5% 30.4%);
|
|
78
87
|
--color-success-foreground: hsl(0 0% 100%);
|
|
79
|
-
|
|
80
|
-
--color-warning
|
|
88
|
+
/* Ochre, not amber: amber sat 20° from ember. White label 4.96:1. */
|
|
89
|
+
--color-warning: #986600;
|
|
90
|
+
--color-warning-foreground: #ffffff;
|
|
91
|
+
/* Blue, from the shell's --tab-unread; info used to be the amber AI accent
|
|
92
|
+
and read like warning. White label 5.19:1. */
|
|
93
|
+
--color-info: #005eff;
|
|
94
|
+
--color-info-foreground: #ffffff;
|
|
81
95
|
--color-ai-accent: hsl(37.7 92.1% 50.2%);
|
|
82
|
-
--color-primary-bright:
|
|
83
|
-
--color-surface:
|
|
96
|
+
--color-primary-bright: #1c1a19;
|
|
97
|
+
--color-surface: #ffffff;
|
|
84
98
|
|
|
85
99
|
/* Chart palette */
|
|
86
|
-
--chart-1:
|
|
87
|
-
--chart-2:
|
|
88
|
-
--chart-3:
|
|
100
|
+
--chart-1: #1c1a19;
|
|
101
|
+
--chart-2: #c33d01;
|
|
102
|
+
--chart-3: #005eff;
|
|
89
103
|
--chart-4: hsl(37.7 92.1% 50.2%);
|
|
90
104
|
--chart-5: hsl(161.4 93.5% 30.4%);
|
|
91
105
|
|
|
106
|
+
/* Scales (tokens.json `scales`): ink is the same in both themes, ember has
|
|
107
|
+
a scale per theme. Nuxt UI's `primary-*` / `secondary-*` steps read them. */
|
|
108
|
+
--ink-50: #fbfaf9;
|
|
109
|
+
--ink-100: #f5f3f1;
|
|
110
|
+
--ink-200: #e8e6e3;
|
|
111
|
+
--ink-300: #d6d4d1;
|
|
112
|
+
--ink-400: #a7a4a1;
|
|
113
|
+
--ink-500: #777471;
|
|
114
|
+
--ink-600: #575552;
|
|
115
|
+
--ink-700: #423f3c;
|
|
116
|
+
--ink-800: #2d2b29;
|
|
117
|
+
--ink-900: #1c1a19;
|
|
118
|
+
--ink-950: #100f0e;
|
|
119
|
+
--ember-50: #fff4f1;
|
|
120
|
+
--ember-100: #ffe7df;
|
|
121
|
+
--ember-200: #ffcebf;
|
|
122
|
+
--ember-300: #ffaa90;
|
|
123
|
+
--ember-400: #ff754a;
|
|
124
|
+
--ember-500: #f5510d;
|
|
125
|
+
--ember-600: #c33d01;
|
|
126
|
+
--ember-700: #9e2f00;
|
|
127
|
+
--ember-800: #7e2401;
|
|
128
|
+
--ember-900: #651b00;
|
|
129
|
+
--ember-950: #481000;
|
|
130
|
+
|
|
92
131
|
/* Sidebar */
|
|
93
132
|
/* Chrome recesses below the page rather than matching it, so the content
|
|
94
133
|
ground reads as the surface in front. Inferred: every screen of the shell
|
|
95
134
|
design is dark-only. */
|
|
96
|
-
--sidebar:
|
|
97
|
-
--sidebar-foreground:
|
|
98
|
-
--sidebar-primary:
|
|
99
|
-
--sidebar-primary-foreground:
|
|
100
|
-
/* A plain
|
|
101
|
-
the design's selected row is. shadcn's SidebarMenuButton binds hover
|
|
102
|
-
active to this one token; separating the two is the consumer's job. */
|
|
103
|
-
--sidebar-accent:
|
|
104
|
-
--sidebar-accent-foreground:
|
|
105
|
-
--sidebar-border:
|
|
106
|
-
--sidebar-ring:
|
|
135
|
+
--sidebar: #e4e3e0;
|
|
136
|
+
--sidebar-foreground: #171614;
|
|
137
|
+
--sidebar-primary: #1c1a19;
|
|
138
|
+
--sidebar-primary-foreground: #ffffff;
|
|
139
|
+
/* A plain stone lift off the sidebar ground, not a coloured tint — that is
|
|
140
|
+
what the design's selected row is. shadcn's SidebarMenuButton binds hover
|
|
141
|
+
and active to this one token; separating the two is the consumer's job. */
|
|
142
|
+
--sidebar-accent: #f6f5f2;
|
|
143
|
+
--sidebar-accent-foreground: #171614;
|
|
144
|
+
--sidebar-border: #dddbd7;
|
|
145
|
+
--sidebar-ring: #c33d01;
|
|
107
146
|
|
|
108
147
|
/* Shell — header, tabs, toolbar chrome */
|
|
109
148
|
/* Two ramps run in opposite directions on the same header: a tab lifts off
|
|
@@ -111,54 +150,57 @@
|
|
|
111
150
|
control sinks into it because it is a well. Hence two families, not one. */
|
|
112
151
|
/* Inferred throughout — the shell design exists only in dark. */
|
|
113
152
|
/* White in both themes: a selection marker rather than a surface. */
|
|
114
|
-
--tab-active:
|
|
115
|
-
--tab-active-foreground:
|
|
153
|
+
--tab-active: #ffffff;
|
|
154
|
+
--tab-active-foreground: #171614;
|
|
116
155
|
/* Steps away from the header ground instead of toward the active tab, since
|
|
117
156
|
white is already spoken for at the top of this ramp: lifting into it left
|
|
118
157
|
inactive chrome at 1.06:1 against the header. */
|
|
119
158
|
/* No companion foreground: an inactive tab keeps --foreground at full
|
|
120
159
|
strength. Only the fill recedes, so the label stays as readable as the
|
|
121
160
|
active one. */
|
|
122
|
-
--tab-inactive:
|
|
123
|
-
--tab-inactive-hover:
|
|
161
|
+
--tab-inactive: #d3d1cd;
|
|
162
|
+
--tab-inactive-hover: #dfdedb;
|
|
124
163
|
/* Sampled from the design, and the one shell value both themes share. */
|
|
125
164
|
--tab-unread: #005eff;
|
|
126
165
|
/* The well has to read on the deepest ground it is mounted on, not just on
|
|
127
|
-
the header it was drawn against. At
|
|
128
|
-
1.03:1 from --sidebar, where the mode toggle sits — so the
|
|
129
|
-
container at all.
|
|
130
|
-
--control-surface:
|
|
131
|
-
--control-surface-hover:
|
|
132
|
-
--control-selected:
|
|
166
|
+
the header it was drawn against. At the --accent step it was 1.08:1 from
|
|
167
|
+
the header and 1.03:1 from --sidebar, where the mode toggle sits — so the
|
|
168
|
+
toggle had no container at all. This step sinks from both. */
|
|
169
|
+
--control-surface: #d3d1cd;
|
|
170
|
+
--control-surface-hover: #c4c2be;
|
|
171
|
+
--control-selected: #ffffff;
|
|
133
172
|
/* Deliberately dimmer than --muted-foreground, and held at the 3:1 non-text
|
|
134
|
-
floor against --control-surface — the design samples about
|
|
135
|
-
is the one place we knowingly part from it. It moves with
|
|
136
|
-
|
|
137
|
-
--control-icon:
|
|
173
|
+
floor against --control-surface (3.10:1) — the design samples about
|
|
174
|
+
2.3:1, and this is the one place we knowingly part from it. It moves with
|
|
175
|
+
the track or the floor breaks. */
|
|
176
|
+
--control-icon: #75736f;
|
|
138
177
|
/* Stronger than --border against the same ground, because it is the only
|
|
139
178
|
line the shell has left. */
|
|
140
|
-
--content-border:
|
|
179
|
+
--content-border: #d3d1cd;
|
|
141
180
|
|
|
142
|
-
/* Typography
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
--font-
|
|
146
|
-
--font-
|
|
147
|
-
--font-
|
|
181
|
+
/* Typography: Geist for UI and body, Geist Mono for code, Cal Sans for brand
|
|
182
|
+
and docs display headings only (never UI labels). Apps load the families
|
|
183
|
+
(@nuxt/fonts); this package ships no font files. */
|
|
184
|
+
--font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
185
|
+
--font-serif: ui-serif, Georgia, Cambria, "Times New Roman", serif;
|
|
186
|
+
--font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
187
|
+
--font-heading: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
188
|
+
--font-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
189
|
+
--font-display: "Cal Sans", "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
148
190
|
|
|
149
|
-
/* Layout */
|
|
150
|
-
--radius: 0.
|
|
191
|
+
/* Layout: Nuxt UI derives 8 / 12 / 16 px from this one radius. */
|
|
192
|
+
--radius: 0.5rem;
|
|
151
193
|
--spacing: 0.25rem;
|
|
152
194
|
|
|
153
|
-
/* Shadows */
|
|
154
|
-
--shadow-2xs: 0 1px 2px 0px hsl(
|
|
155
|
-
--shadow-xs: 0 1px 2px 0px hsl(
|
|
156
|
-
--shadow-sm: 0 1px 2px 0px hsl(
|
|
157
|
-
--shadow: 0 4px 6px 0px hsl(
|
|
158
|
-
--shadow-md: 0 4px 6px 0px hsl(
|
|
159
|
-
--shadow-lg: 0 10px 15px 0px hsl(
|
|
160
|
-
--shadow-xl: 0 20px 25px -5px hsl(
|
|
161
|
-
--shadow-2xl: 0 25px 50px -12px hsl(
|
|
195
|
+
/* Shadows: cast in the warm ink of --foreground. */
|
|
196
|
+
--shadow-2xs: 0 1px 2px 0px hsl(40 7% 8% / 0.03);
|
|
197
|
+
--shadow-xs: 0 1px 2px 0px hsl(40 7% 8% / 0.05);
|
|
198
|
+
--shadow-sm: 0 1px 2px 0px hsl(40 7% 8% / 0.05);
|
|
199
|
+
--shadow: 0 4px 6px 0px hsl(40 7% 8% / 0.07);
|
|
200
|
+
--shadow-md: 0 4px 6px 0px hsl(40 7% 8% / 0.07);
|
|
201
|
+
--shadow-lg: 0 10px 15px 0px hsl(40 7% 8% / 0.1);
|
|
202
|
+
--shadow-xl: 0 20px 25px -5px hsl(40 7% 8% / 0.1);
|
|
203
|
+
--shadow-2xl: 0 25px 50px -12px hsl(40 7% 8% / 0.25);
|
|
162
204
|
}
|
|
163
205
|
|
|
164
206
|
/* ---------------------------------------------------------------------------
|
|
@@ -169,72 +211,102 @@
|
|
|
169
211
|
.dark {
|
|
170
212
|
color-scheme: dark;
|
|
171
213
|
|
|
172
|
-
/* Core palette —
|
|
173
|
-
website's canonical dark: that palette is blue-shifted and lifts a
|
|
174
|
-
above its page, where this one
|
|
214
|
+
/* Core palette — the platform shell design's ramp in warm stone. It is not
|
|
215
|
+
the website's canonical dark: that palette is blue-shifted and lifts a
|
|
216
|
+
card above its page, where this one sets a panel into it.
|
|
175
217
|
`marketing-dark` in tokens.json still carries the website values. */
|
|
176
|
-
--background: #
|
|
177
|
-
--foreground: #
|
|
178
|
-
--card: #
|
|
179
|
-
--card-foreground: #
|
|
180
|
-
--popover: #
|
|
181
|
-
--popover-foreground: #
|
|
182
|
-
|
|
183
|
-
--primary
|
|
184
|
-
--
|
|
185
|
-
--secondary
|
|
186
|
-
--
|
|
187
|
-
--muted
|
|
188
|
-
|
|
218
|
+
--background: #252421;
|
|
219
|
+
--foreground: #f5f5f3;
|
|
220
|
+
--card: #1a1917;
|
|
221
|
+
--card-foreground: #f5f5f3;
|
|
222
|
+
--popover: #302f2c;
|
|
223
|
+
--popover-foreground: #f5f5f3;
|
|
224
|
+
/* Ink inverts: a light primary with an ink label (17.5:1). */
|
|
225
|
+
--primary: #f5f3f1;
|
|
226
|
+
--primary-foreground: #0e0e0d;
|
|
227
|
+
--secondary: #302f2c;
|
|
228
|
+
--secondary-foreground: #f5f5f3;
|
|
229
|
+
--muted: #302f2c;
|
|
230
|
+
--muted-foreground: #a3a19d;
|
|
231
|
+
/* See the light block. It used to share its value with --border/--input,
|
|
189
232
|
which left the menu hover at 1.07:1; the two are unrelated roles that
|
|
190
233
|
collided by accident. This is --tab-inactive-hover, so no new grey. */
|
|
191
|
-
--accent: #
|
|
192
|
-
--accent-foreground: #
|
|
234
|
+
--accent: #4c4a46;
|
|
235
|
+
--accent-foreground: #f5f5f3;
|
|
193
236
|
--destructive: hsl(0 84.2% 60.2%);
|
|
194
237
|
--destructive-foreground: #ffffff;
|
|
195
|
-
--border: #
|
|
196
|
-
--input: #
|
|
197
|
-
--ring: #
|
|
238
|
+
--border: #33312e;
|
|
239
|
+
--input: #33312e;
|
|
240
|
+
--ring: #f6835f;
|
|
241
|
+
/* Ember 400: ink label 7.66:1, 6.16:1 as text on the page. */
|
|
242
|
+
--ember: #f6835f;
|
|
243
|
+
--ember-foreground: #0e0e0d;
|
|
198
244
|
/* See the light block: the strip behind the page that the tab bar sits on.
|
|
199
245
|
It used to share the deepest step with --surface-sunken; --sidebar has
|
|
200
246
|
since taken that step, and the strip now sits one above it. */
|
|
201
|
-
--tab-bar: #
|
|
247
|
+
--tab-bar: #1f1e1c;
|
|
202
248
|
/* The surface a panel's own content sinks into — the file viewer beside the
|
|
203
249
|
tree. Third step of the ramp, below the panel. */
|
|
204
|
-
--surface-sunken: #
|
|
250
|
+
--surface-sunken: #161513;
|
|
205
251
|
|
|
206
|
-
/*
|
|
252
|
+
/* Status and brand extras */
|
|
207
253
|
--color-success: hsl(160.1 84.1% 39.4%);
|
|
208
254
|
--color-success-foreground: #ffffff;
|
|
209
|
-
--color-warning:
|
|
210
|
-
--color-warning-foreground: #
|
|
255
|
+
--color-warning: #f0b135;
|
|
256
|
+
--color-warning-foreground: #0e0e0d;
|
|
257
|
+
--color-info: #71a3ff;
|
|
258
|
+
--color-info-foreground: #0e0e0d;
|
|
211
259
|
--color-ai-accent: hsl(43.3 96.4% 56.3%);
|
|
212
|
-
--color-primary-bright: #
|
|
213
|
-
--color-surface: #
|
|
260
|
+
--color-primary-bright: #f5f3f1;
|
|
261
|
+
--color-surface: #302f2c;
|
|
214
262
|
|
|
215
263
|
/* Chart palette */
|
|
216
|
-
--chart-1: #
|
|
217
|
-
--chart-2: #
|
|
218
|
-
--chart-3: #
|
|
264
|
+
--chart-1: #f5f3f1;
|
|
265
|
+
--chart-2: #f6835f;
|
|
266
|
+
--chart-3: #71a3ff;
|
|
219
267
|
--chart-4: #f59e0b;
|
|
220
268
|
--chart-5: #10b981;
|
|
221
269
|
|
|
270
|
+
/* Scales: see the light block. */
|
|
271
|
+
--ink-50: #fbfaf9;
|
|
272
|
+
--ink-100: #f5f3f1;
|
|
273
|
+
--ink-200: #e8e6e3;
|
|
274
|
+
--ink-300: #d6d4d1;
|
|
275
|
+
--ink-400: #a7a4a1;
|
|
276
|
+
--ink-500: #777471;
|
|
277
|
+
--ink-600: #575552;
|
|
278
|
+
--ink-700: #423f3c;
|
|
279
|
+
--ink-800: #2d2b29;
|
|
280
|
+
--ink-900: #1c1a19;
|
|
281
|
+
--ink-950: #100f0e;
|
|
282
|
+
--ember-50: #fef2ee;
|
|
283
|
+
--ember-100: #fce1d9;
|
|
284
|
+
--ember-200: #fbc6b6;
|
|
285
|
+
--ember-300: #faa58b;
|
|
286
|
+
--ember-400: #f6835f;
|
|
287
|
+
--ember-500: #f86f43;
|
|
288
|
+
--ember-600: #d8582f;
|
|
289
|
+
--ember-700: #b84a25;
|
|
290
|
+
--ember-800: #983d20;
|
|
291
|
+
--ember-900: #78321c;
|
|
292
|
+
--ember-950: #5d2919;
|
|
293
|
+
|
|
222
294
|
/* Sidebar */
|
|
223
295
|
/* Chrome recesses below the page rather than matching it, so the content
|
|
224
296
|
ground reads as the surface in front. Sampled from the shell design; it
|
|
225
297
|
lands on --surface-sunken's value, one behind the page and one inside a
|
|
226
298
|
panel, and the two are free to move apart. */
|
|
227
|
-
--sidebar: #
|
|
228
|
-
--sidebar-foreground: #
|
|
229
|
-
--sidebar-primary: #
|
|
230
|
-
--sidebar-primary-foreground: #
|
|
231
|
-
/* A plain
|
|
232
|
-
the design's selected row is. shadcn's SidebarMenuButton binds hover
|
|
233
|
-
active to this one token; separating the two is the consumer's job. */
|
|
234
|
-
--sidebar-accent: #
|
|
235
|
-
--sidebar-accent-foreground: #
|
|
236
|
-
--sidebar-border: #
|
|
237
|
-
--sidebar-ring: #
|
|
299
|
+
--sidebar: #161513;
|
|
300
|
+
--sidebar-foreground: #f5f5f3;
|
|
301
|
+
--sidebar-primary: #f5f3f1;
|
|
302
|
+
--sidebar-primary-foreground: #0e0e0d;
|
|
303
|
+
/* A plain stone lift off the sidebar ground, not a coloured tint — that is
|
|
304
|
+
what the design's selected row is. shadcn's SidebarMenuButton binds hover
|
|
305
|
+
and active to this one token; separating the two is the consumer's job. */
|
|
306
|
+
--sidebar-accent: #201f1c;
|
|
307
|
+
--sidebar-accent-foreground: #f5f5f3;
|
|
308
|
+
--sidebar-border: #33312e;
|
|
309
|
+
--sidebar-ring: #f6835f;
|
|
238
310
|
|
|
239
311
|
/* Shell — header, tabs, toolbar chrome */
|
|
240
312
|
/* Two ramps run in opposite directions on the same header: a tab lifts off
|
|
@@ -243,39 +315,40 @@
|
|
|
243
315
|
/* Sampled from the shell design throughout. */
|
|
244
316
|
/* White in both themes: a selection marker rather than a surface. */
|
|
245
317
|
--tab-active: #ffffff;
|
|
246
|
-
--tab-active-foreground:
|
|
247
|
-
--tab-inactive: #
|
|
248
|
-
--tab-inactive-hover: #
|
|
318
|
+
--tab-active-foreground: #171614;
|
|
319
|
+
--tab-inactive: #403e3b;
|
|
320
|
+
--tab-inactive-hover: #4c4a46;
|
|
249
321
|
/* The one shell value both themes share. */
|
|
250
322
|
--tab-unread: #005eff;
|
|
251
|
-
/* Dark cannot sink. The well is mounted on two grounds: --background (
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
Keep --popover
|
|
257
|
-
|
|
258
|
-
--control-surface: #
|
|
259
|
-
--control-surface-hover: #
|
|
260
|
-
--control-selected: #
|
|
323
|
+
/* Dark cannot sink. The well is mounted on two grounds: --background (the
|
|
324
|
+
toolbar) and --sidebar (the mode toggle). It cannot sit between them
|
|
325
|
+
without vanishing into one, and it cannot go under --sidebar — pure black
|
|
326
|
+
reaches only 1.15:1 there. So in dark the well inverts and lifts clear of
|
|
327
|
+
both. This is the step --accent just vacated; no new grey enters.
|
|
328
|
+
Keep --popover off this list of grounds: a control mounted inside a menu
|
|
329
|
+
would land 1.04:1 from it. None does today. */
|
|
330
|
+
--control-surface: #33312e;
|
|
331
|
+
--control-surface-hover: #403e3b;
|
|
332
|
+
--control-selected: #494744;
|
|
261
333
|
/* Deliberately dimmer than --muted-foreground, and held at the 3:1 non-text
|
|
262
|
-
floor against --control-surface — the design samples about
|
|
263
|
-
is the one place we knowingly part from it. It moves with
|
|
264
|
-
|
|
265
|
-
--control-icon: #
|
|
334
|
+
floor against --control-surface (3.03:1) — the design samples about
|
|
335
|
+
2.3:1, and this is the one place we knowingly part from it. It moves with
|
|
336
|
+
the track or the floor breaks. */
|
|
337
|
+
--control-icon: #7c7a76;
|
|
266
338
|
/* Stronger than --border against the same ground, because it is the only
|
|
267
339
|
line the shell has left. */
|
|
268
|
-
--content-border: #
|
|
340
|
+
--content-border: #403e3b;
|
|
269
341
|
|
|
270
|
-
/* Typography */
|
|
271
|
-
--font-sans: "
|
|
272
|
-
--font-serif: "
|
|
273
|
-
--font-mono: "
|
|
274
|
-
--font-heading: "
|
|
275
|
-
--font-body: "
|
|
342
|
+
/* Typography (same as light) */
|
|
343
|
+
--font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
344
|
+
--font-serif: ui-serif, Georgia, Cambria, "Times New Roman", serif;
|
|
345
|
+
--font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
346
|
+
--font-heading: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
347
|
+
--font-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
348
|
+
--font-display: "Cal Sans", "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
276
349
|
|
|
277
350
|
/* Layout (same as light) */
|
|
278
|
-
--radius: 0.
|
|
351
|
+
--radius: 0.5rem;
|
|
279
352
|
--spacing: 0.25rem;
|
|
280
353
|
|
|
281
354
|
/* Shadows (darker for dark mode) */
|