@hanzo/ui 8.0.45 → 8.0.46
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/dist/core/index.cjs +7 -1
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +7 -1
- package/dist/core/index.js.map +1 -1
- package/dist/core/tokens.cjs +31 -27
- package/dist/core/tokens.d.ts +19 -10
- package/dist/core/tokens.d.ts.map +1 -1
- package/dist/core/tokens.js +18 -9
- package/dist/core/tokens.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/styles.css +920 -39
- package/dist/theme.css +920 -39
- package/package.json +8 -12
package/dist/styles.css
CHANGED
|
@@ -1,5 +1,922 @@
|
|
|
1
1
|
/* @hanzo/ui — generated by scripts/gen-css.mjs. Do not edit. */
|
|
2
2
|
:root { --hanzo-ui-styles: 1; }
|
|
3
|
+
/* Hanzo Design System — the entry point. Import THIS one file.
|
|
4
|
+
*
|
|
5
|
+
* AUTO-GENERATED by scripts/gen-tokens.mjs from tokens/*.css — DO NOT EDIT.
|
|
6
|
+
* Edit the token in tokens/<group>.css and re-run "npm run gen".
|
|
7
|
+
*
|
|
8
|
+
* Flattened deliberately: a consumer's bundler resolves a nested url() against
|
|
9
|
+
* ITS OWN directory, not ours, so an @import list here is a build error in
|
|
10
|
+
* every app that follows the instruction above. Nested imports must also
|
|
11
|
+
* precede all other rules, which the spec invalidates the moment the consumer
|
|
12
|
+
* imports anything first — browsers then drop them silently and every token
|
|
13
|
+
* resolves to nothing. The content is inlined in the order the groups were
|
|
14
|
+
* always imported in.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
/* ── tokens/colors.css ─────────────────────────────────────── */
|
|
18
|
+
/* Hanzo is monochrome. One hue rendered through an opacity ladder.
|
|
19
|
+
Base ladder = Tailwind neutral (tailwind.config.ts). Semantic names match
|
|
20
|
+
hanzo.ai's CSS variables exactly, so code copies over 1:1.
|
|
21
|
+
DARK IS THE DEFAULT THEME (hanzo.ai mounts ThemeProvider defaultTheme="dark").
|
|
22
|
+
|
|
23
|
+
The dark palette is derived from the chat surface in hanzoai/extension
|
|
24
|
+
(packages/browser/src/sidebar.css), which is the reference aesthetic: a
|
|
25
|
+
#0a0a0a ground, #fafafa ink, and boundaries drawn as LOW-ALPHA HAIRLINES.
|
|
26
|
+
Two properties of that reference are load-bearing and easy to lose:
|
|
27
|
+
|
|
28
|
+
1. Borders are alpha, not hex. rgb(255 255 255 / .10) composites correctly on
|
|
29
|
+
#0a0a0a AND on #262626; a solid #1f1f1f reads on the page and vanishes the
|
|
30
|
+
moment it lands on a lifted surface — which is why anyone who needed a
|
|
31
|
+
visible edge reached past it for the CONTROL rung and got a wireframe.
|
|
32
|
+
2. Surfaces lift by tiny steps (0a -> 0f -> 17 -> 26), and ink is a graded
|
|
33
|
+
ramp (#fafafa -> .78 -> .55 -> #a3a3a3), not one flat white. Pure #ffffff
|
|
34
|
+
on pure #000000 is 21:1 — the maximum-contrast pair that exists, and it
|
|
35
|
+
halates. #fafafa on #0a0a0a is 18.1:1: still far past AAA, visibly softer. */
|
|
36
|
+
|
|
37
|
+
:root{
|
|
38
|
+
color-scheme:dark;
|
|
39
|
+
|
|
40
|
+
/* ——— base neutral ladder ——— */
|
|
41
|
+
--neutral-50:#FAFAFA;
|
|
42
|
+
--neutral-100:#F5F5F5;
|
|
43
|
+
--neutral-200:#E5E5E5;
|
|
44
|
+
--neutral-300:#D4D4D4;
|
|
45
|
+
--neutral-400:#A3A3A3;
|
|
46
|
+
--neutral-500:#737373;
|
|
47
|
+
--neutral-600:#525252;
|
|
48
|
+
--neutral-700:#404040;
|
|
49
|
+
--neutral-800:#262626;
|
|
50
|
+
--neutral-900:#171717;
|
|
51
|
+
--neutral-950:#0A0A0A;
|
|
52
|
+
--pure-black:#000000;
|
|
53
|
+
--pure-white:#FFFFFF;
|
|
54
|
+
/* Press-kit brand constants (public/press/hanzo/README.md). */
|
|
55
|
+
--hanzo-black:#0A0A0B;
|
|
56
|
+
--hanzo-white:#FFFFFF;
|
|
57
|
+
|
|
58
|
+
/* ——— the opacity ladder: the real palette ——— */
|
|
59
|
+
/* Every rung below .30 is a HAIRLINE or a LIFT — the two things this system
|
|
60
|
+
draws with. The rungs are the reference's own values, not a rounded ramp. */
|
|
61
|
+
--white-05:rgb(255 255 255 / .05);
|
|
62
|
+
--white-06:rgb(255 255 255 / .06);
|
|
63
|
+
--white-08:rgb(255 255 255 / .08);
|
|
64
|
+
--white-10:rgb(255 255 255 / .10);
|
|
65
|
+
--white-15:rgb(255 255 255 / .15);
|
|
66
|
+
--white-16:rgb(255 255 255 / .16);
|
|
67
|
+
--white-20:rgb(255 255 255 / .20);
|
|
68
|
+
--white-22:rgb(255 255 255 / .22);
|
|
69
|
+
--white-30:rgb(255 255 255 / .30);
|
|
70
|
+
--white-40:rgb(255 255 255 / .40);
|
|
71
|
+
--white-55:rgb(255 255 255 / .55);
|
|
72
|
+
--white-60:rgb(255 255 255 / .60);
|
|
73
|
+
--white-78:rgb(255 255 255 / .78);
|
|
74
|
+
--white-80:rgb(255 255 255 / .80);
|
|
75
|
+
|
|
76
|
+
/* ——— semantic aliases (dark, the default) ——— */
|
|
77
|
+
--background:#0a0a0a;
|
|
78
|
+
--foreground:#fafafa;
|
|
79
|
+
--card:#0f0f0f;
|
|
80
|
+
--card-foreground:#fafafa;
|
|
81
|
+
--popover:#0f0f0f;
|
|
82
|
+
--popover-foreground:#fafafa;
|
|
83
|
+
--primary:#fafafa;
|
|
84
|
+
/* A 5% step, not the 16% this used to be. A filled button's fill is already
|
|
85
|
+
the top of the ink ramp, so the only directions available on hover are
|
|
86
|
+
"dimmer" and "brighter-around-the-edges" — and a 16% drop reads as the
|
|
87
|
+
button going DISABLED under the cursor, which is the one thing a hover must
|
|
88
|
+
never look like. The step is now small enough to register as pressure while
|
|
89
|
+
--bloom does the actual work of lighting it up. */
|
|
90
|
+
--primary-hover:#e5e5e5;
|
|
91
|
+
--primary-foreground:#0a0a0a;
|
|
92
|
+
--secondary:#262626;
|
|
93
|
+
/* One rung up, so a secondary button HAS a hover. It previously resolved to
|
|
94
|
+
--surface-3, which is --secondary — the same value it starts at. */
|
|
95
|
+
--secondary-hover:#333333;
|
|
96
|
+
--secondary-foreground:#fafafa;
|
|
97
|
+
--muted:#171717;
|
|
98
|
+
--muted-foreground:#a3a3a3;
|
|
99
|
+
--accent:#262626;
|
|
100
|
+
--accent-foreground:#fafafa;
|
|
101
|
+
/* Destructive is the ONE place the monochrome rule already yields, and it was
|
|
102
|
+
yielding in only half the system: a field that fails validation draws
|
|
103
|
+
--state-error (#ef4444, which DESIGN.md §2.4 lists as permitted precisely
|
|
104
|
+
for "destructive / blocking error"), while the button that performs the
|
|
105
|
+
destruction drew #666666 — a mid-grey that is indistinguishable from a
|
|
106
|
+
disabled control. "Delete everything" and "you cannot click this" must not
|
|
107
|
+
be the same colour. So the two converge on the one token that already
|
|
108
|
+
names this meaning, and the ramp stays monochrome everywhere else. */
|
|
109
|
+
--destructive:var(--state-error);
|
|
110
|
+
--destructive-hover:#dc2626; /* red-600 — deepens under the cursor */
|
|
111
|
+
--destructive-foreground:#fafafa;
|
|
112
|
+
|
|
113
|
+
/* ——— boundaries ———
|
|
114
|
+
ONE ladder, cut from alpha, graded by duty. Every rung is a rung of the
|
|
115
|
+
opacity ladder above, so every boundary composites correctly on the page,
|
|
116
|
+
on a card, and inside a popover — and every rung is the reference's own
|
|
117
|
+
measured value, not a rounded ramp:
|
|
118
|
+
|
|
119
|
+
--border .10 the hairline. Cards, panels, dividers, list rows.
|
|
120
|
+
--border-strong .16 the same hairline, one step up. Hover, emphasis.
|
|
121
|
+
--border-control .15 a control's resting edge — input, select, textarea.
|
|
122
|
+
--border-focus .22 that control, focused.
|
|
123
|
+
--border-selected .30 the thing that is currently CHOSEN — the active
|
|
124
|
+
tab, the current tile, the featured plan.
|
|
125
|
+
|
|
126
|
+
The previous release cut the last three from the NEUTRAL ladder instead,
|
|
127
|
+
because a boundary that clears WCAG 1.4.11's 3:1 on a near-black ground IS
|
|
128
|
+
a mid-grey and no amount of tuning changes that. It is true, and it is also
|
|
129
|
+
what a wireframe looks like: a 1px #737373 box around every field, four
|
|
130
|
+
times heavier than the hairline beside it, so a form read as a debug
|
|
131
|
+
overlay rather than a surface. Aesthetics decided it — the reference draws
|
|
132
|
+
an input at rgb(255 255 255 / .15) and a focused one at .22 (sidebar.css
|
|
133
|
+
--input-border / .composer-box:focus-within), and that is what ships here.
|
|
134
|
+
|
|
135
|
+
What replaces the ratio is the FOCUS INDICATOR, which is the thing a
|
|
136
|
+
keyboard user actually navigates by and the one boundary still pinned at
|
|
137
|
+
3:1 (--ring, below). A resting edge is an affordance; a focus ring is a
|
|
138
|
+
position. Only the second one is load-bearing when you cannot see well, and
|
|
139
|
+
spending the contrast budget there rather than on all four edges of every
|
|
140
|
+
idle field is what lets the system be quiet AND findable at once. */
|
|
141
|
+
--border:var(--white-10);
|
|
142
|
+
--border-strong:var(--white-16);
|
|
143
|
+
--border-control:var(--white-15); /* sidebar.css --input-border */
|
|
144
|
+
--border-focus:var(--white-22); /* .composer-box:focus-within */
|
|
145
|
+
--border-selected:var(--white-30); /* the current tab / tile / plan */
|
|
146
|
+
--input:var(--border-control); /* shadcn `border-input` — a control */
|
|
147
|
+
/* A focus indicator is a NON-TEXT CONTRAST target: WCAG 2.4.11/1.4.11 require
|
|
148
|
+
3:1 against every surface it can land on, and unlike a resting edge it is
|
|
149
|
+
worth the loudness — it is transient, it only appears on keyboard focus,
|
|
150
|
+
and it is the whole of how a keyboard user knows where they are.
|
|
151
|
+
--white-40 clears it on every canvas in both themes precisely BECAUSE it is
|
|
152
|
+
alpha: on a lifted surface the ring lifts with it (3.77:1 on #0a0a0a,
|
|
153
|
+
3.66:1 on #262626), which a fixed grey cannot do. */
|
|
154
|
+
--ring:var(--white-40);
|
|
155
|
+
/* The soft halo that sits outside the ring — the reference's
|
|
156
|
+
`box-shadow: 0 0 0 2px rgb(255 255 255 / .06)` on a focused composer. It
|
|
157
|
+
carries no ratio; it is what makes focus read as designed rather than as a
|
|
158
|
+
browser default. Spent through --ring-focus (tokens/elevation.css). */
|
|
159
|
+
--ring-halo:var(--white-10);
|
|
160
|
+
--brand:#e4e4e7;
|
|
161
|
+
--brand-foreground:#09090b;
|
|
162
|
+
--brand-muted:#a3a3a3;
|
|
163
|
+
--black:#000000;
|
|
164
|
+
--white:#fafafa;
|
|
165
|
+
--selection:var(--white-20);
|
|
166
|
+
|
|
167
|
+
/* ——— glass: the lift ———
|
|
168
|
+
How a surface rises WITHOUT a block fill. An alpha-white wash composites
|
|
169
|
+
over whatever it lands on, so one value works on the page, on a card and
|
|
170
|
+
inside a popover. This is the mechanism behind the reference's depth. */
|
|
171
|
+
--glass:var(--white-05);
|
|
172
|
+
--glass-strong:var(--white-08);
|
|
173
|
+
|
|
174
|
+
/* ——— surface recipes ———
|
|
175
|
+
A card has to be a SURFACE, which means you have to be able to see that it
|
|
176
|
+
is not the page. These were cut from neutral-900 (#171717) at .4/.5/.8, and
|
|
177
|
+
at .5 that composites to #101010 on a #0a0a0a ground — six levels above the
|
|
178
|
+
page, which is not a surface, it is a very slightly different black. Three
|
|
179
|
+
cards side by side then read as one flat field with hairlines ruled across
|
|
180
|
+
it, and no amount of shadow fixes it, because you cannot cast a shadow onto
|
|
181
|
+
black.
|
|
182
|
+
|
|
183
|
+
Cut from neutral-800 (#262626) instead, they land on 14 / 18 / 1f — the
|
|
184
|
+
reference's own panel (#171717 on a #0f0f0f container) with room either
|
|
185
|
+
side of it. They stay ALPHA so a card nested in a popover still lifts off
|
|
186
|
+
its parent rather than punching a hole in it; that is the whole reason
|
|
187
|
+
these are recipes and not just --surface-* rungs. */
|
|
188
|
+
--surface-page:var(--background);
|
|
189
|
+
--surface-card:rgb(38 38 38 / .5); /* -> #181818 on the page */
|
|
190
|
+
--surface-card-emphasis:rgb(38 38 38 / .75);/* -> #1f1f1f — featured */
|
|
191
|
+
--surface-card-quiet:rgb(38 38 38 / .35); /* -> #141414 — story cards */
|
|
192
|
+
/* A floating panel that is the SAME colour as the page is not floating. This
|
|
193
|
+
was rgb(10 10 10 / .95) — the page, at 95% of the page. */
|
|
194
|
+
--surface-overlay:rgb(23 23 23 / .92); /* dropdown / popover panels */
|
|
195
|
+
--surface-header:rgb(0 0 0 / .7); /* fixed nav, with backdrop blur */
|
|
196
|
+
--surface-scrim:rgb(0 0 0 / .8); /* the dialog / sheet backdrop */
|
|
197
|
+
|
|
198
|
+
/* ——— the numeric surface ladder ——— */
|
|
199
|
+
/* Aliases onto the semantic canvases above, so a brand fork that retunes
|
|
200
|
+
--card/--muted/--secondary retunes the ladder with it and the light theme
|
|
201
|
+
inverts for free. Ascending lift: 0 is the page, 3 is a hovered control.
|
|
202
|
+
Dark resolves to the reference's own ladder — 0a / 0f / 17 / 26. */
|
|
203
|
+
--surface-0:var(--background);
|
|
204
|
+
--surface-1:var(--card);
|
|
205
|
+
--surface-2:var(--muted);
|
|
206
|
+
--surface-3:var(--secondary);
|
|
207
|
+
|
|
208
|
+
/* ——— text ranks ———
|
|
209
|
+
A graded ramp, not one flat white. The steps are the reference's. */
|
|
210
|
+
--text-primary:#fafafa;
|
|
211
|
+
--text-secondary:var(--white-78);
|
|
212
|
+
--text-tertiary:var(--white-55);
|
|
213
|
+
--text-helper:var(--muted-foreground);
|
|
214
|
+
--text-disabled:var(--white-30);
|
|
215
|
+
|
|
216
|
+
/* ——— the ONLY permitted hues (DESIGN.md §2.4) ——— */
|
|
217
|
+
--state-error:#ef4444; /* red-500 — destructive / blocking error */
|
|
218
|
+
--state-error-text:#fca5a5; /* red-300 */
|
|
219
|
+
--state-error-bg:rgb(239 68 68 / .1);
|
|
220
|
+
--state-online:#4ade80; /* green-400 — live status dot */
|
|
221
|
+
--state-success:#22c55e; /* green-500 — "Free" / "Save N%" callouts */
|
|
222
|
+
--chrome-dot-red:rgb(239 68 68 / .6);
|
|
223
|
+
--chrome-dot-yellow:rgb(234 179 8 / .6);
|
|
224
|
+
--chrome-dot-green:rgb(34 197 94 / .6);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/* Light theme — the same tokens, inverted.
|
|
228
|
+
The white-opacity ladder does NOT invert: --white-16 is white-on-white here.
|
|
229
|
+
So EVERY token whose dark value is a --white-* rung must be restated below,
|
|
230
|
+
and check-tokens.mjs fails the build if one is missed — that class of bug is
|
|
231
|
+
silent (the border simply stops existing) and has shipped before. */
|
|
232
|
+
.light{
|
|
233
|
+
color-scheme:light;
|
|
234
|
+
--background:#ffffff;
|
|
235
|
+
--foreground:#0a0a0a;
|
|
236
|
+
/* A ladder, not four names for #f5f5f5. Light lifts by the same tiny steps
|
|
237
|
+
dark does — ~2% per rung — so --surface-0..3 mean something in both themes. */
|
|
238
|
+
--card:#fafafa;
|
|
239
|
+
--card-foreground:#0a0a0a;
|
|
240
|
+
--popover:#ffffff;
|
|
241
|
+
--popover-foreground:#0a0a0a;
|
|
242
|
+
--primary:#0a0a0a;
|
|
243
|
+
--primary-hover:#262626;
|
|
244
|
+
--primary-foreground:#fafafa;
|
|
245
|
+
--secondary:#ededed;
|
|
246
|
+
--secondary-hover:#e0e0e0;
|
|
247
|
+
--secondary-foreground:#0a0a0a;
|
|
248
|
+
--muted:#f5f5f5;
|
|
249
|
+
--muted-foreground:#525252;
|
|
250
|
+
--accent:#ededed;
|
|
251
|
+
--accent-foreground:#0a0a0a;
|
|
252
|
+
--destructive:var(--state-error);
|
|
253
|
+
--destructive-hover:#dc2626;
|
|
254
|
+
--destructive-foreground:#ffffff;
|
|
255
|
+
--border:rgb(0 0 0 / .10);
|
|
256
|
+
--border-strong:rgb(0 0 0 / .16);
|
|
257
|
+
--border-control:rgb(0 0 0 / .15);
|
|
258
|
+
/* Focus and selection are pushed further here than the .22/.30 they sit at in
|
|
259
|
+
dark. Black-on-white at a given alpha reads FAINTER than white-on-black at
|
|
260
|
+
the same alpha — .22 black on #ffffff measures 1.69:1 where .22 white on
|
|
261
|
+
#0a0a0a measures 1.97:1 — so mirroring the number would quietly make the
|
|
262
|
+
light theme's focus state the weakest state in the system. */
|
|
263
|
+
--border-focus:rgb(0 0 0 / .32);
|
|
264
|
+
--border-selected:rgb(0 0 0 / .42);
|
|
265
|
+
--input:var(--border-control);
|
|
266
|
+
/* Same duty, same 3:1 floor, opposite direction: .50 black is 3.98:1 on
|
|
267
|
+
#ffffff and 3.67:1 on #f5f5f5. */
|
|
268
|
+
--ring:rgb(0 0 0 / .5);
|
|
269
|
+
--ring-halo:rgb(0 0 0 / .07);
|
|
270
|
+
--black:#0a0a0a;
|
|
271
|
+
--white:#ffffff;
|
|
272
|
+
--selection:rgb(0 0 0 / .16);
|
|
273
|
+
--glass:rgb(0 0 0 / .04);
|
|
274
|
+
--glass-strong:rgb(0 0 0 / .07);
|
|
275
|
+
--surface-card:#fafafa;
|
|
276
|
+
--surface-card-emphasis:#ffffff;
|
|
277
|
+
--surface-card-quiet:#fcfcfc;
|
|
278
|
+
--surface-overlay:rgb(255 255 255 / .95);
|
|
279
|
+
--surface-header:rgb(255 255 255 / .8);
|
|
280
|
+
--surface-scrim:rgb(0 0 0 / .5);
|
|
281
|
+
--text-primary:var(--neutral-950);
|
|
282
|
+
--text-secondary:rgb(10 10 10 / .78);
|
|
283
|
+
--text-tertiary:rgb(10 10 10 / .55);
|
|
284
|
+
--text-disabled:rgb(10 10 10 / .3);
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
/* ── tokens/typography.css ─────────────────────────────────────── */
|
|
288
|
+
/* TIGHT app-first type scale — the compact developer-app register (linear.app /
|
|
289
|
+
vercel.com / the Codex desktop look), the Hanzo default across chat / app /
|
|
290
|
+
desktop. Base is 14px, nav 13px, labels 11px; display sizes tightened. Kept in
|
|
291
|
+
lockstep with @hanzo/brand (styles/variables.css --font-size-* + typography.ts)
|
|
292
|
+
— the two are the SAME scale, mirrored. A surface/tenant overrides any --text-*
|
|
293
|
+
on :root to retune density on demand. */
|
|
294
|
+
:root{
|
|
295
|
+
--text-xs:0.6875rem; --leading-xs:1rem; /* 11px — eyebrows / section labels */
|
|
296
|
+
--text-sm:0.8125rem; --leading-sm:1.15rem; /* 13px — nav labels, dense body */
|
|
297
|
+
--text-base:0.875rem; --leading-base:1.35rem; /* 14px — base app text (was 16px) */
|
|
298
|
+
--text-lg:0.9375rem; --leading-lg:1.4rem; /* 15px */
|
|
299
|
+
--text-xl:1.0625rem; --leading-xl:1.55rem; /* 17px */
|
|
300
|
+
--text-2xl:1.3125rem; --leading-2xl:1.7rem; /* 21px */
|
|
301
|
+
--text-3xl:1.625rem; --leading-3xl:1.95rem; /* 26px */
|
|
302
|
+
--text-4xl:2rem; --leading-4xl:2.25rem; /* 32px */
|
|
303
|
+
--text-5xl:2.5rem; --leading-5xl:1.05; /* 40px */
|
|
304
|
+
--text-6xl:3.25rem; --leading-6xl:1; /* 52px */
|
|
305
|
+
--text-7xl:4rem; --leading-7xl:1; /* 64px */
|
|
306
|
+
--text-8xl:5.25rem; --leading-8xl:1; /* 84px */
|
|
307
|
+
--text-9xl:7rem; --leading-9xl:1; /* 112px */
|
|
308
|
+
|
|
309
|
+
/* The SAME scale under @hanzo/brand's spelling. @hanzo/gui's shell theme and
|
|
310
|
+
Hanzo Studio address the ramp as --font-size-*; both names are one value, so
|
|
311
|
+
a component written against either resolves here. --text-* is canonical. */
|
|
312
|
+
--font-size-xs:var(--text-xs);
|
|
313
|
+
--font-size-sm:var(--text-sm);
|
|
314
|
+
--font-size-base:var(--text-base);
|
|
315
|
+
--font-size-lg:var(--text-lg);
|
|
316
|
+
--font-size-xl:var(--text-xl);
|
|
317
|
+
--font-size-2xl:var(--text-2xl);
|
|
318
|
+
--font-size-3xl:var(--text-3xl);
|
|
319
|
+
--font-size-4xl:var(--text-4xl);
|
|
320
|
+
--font-size-5xl:var(--text-5xl);
|
|
321
|
+
--font-size-6xl:var(--text-6xl);
|
|
322
|
+
--font-size-7xl:var(--text-7xl);
|
|
323
|
+
--font-size-8xl:var(--text-8xl);
|
|
324
|
+
--font-size-9xl:var(--text-9xl);
|
|
325
|
+
|
|
326
|
+
/* The size a FORM CONTROL renders at — and the ONE step in this scale that is
|
|
327
|
+
not a constant. iOS Safari zooms the viewport whenever a focused input
|
|
328
|
+
computes below 16px, and this scale's base is 14px, so every surface that
|
|
329
|
+
sized a field from --text-sm or --text-base bought the zoom.
|
|
330
|
+
|
|
331
|
+
It has to be a TOKEN rather than a rule because a control's size is almost
|
|
332
|
+
always set inline (every component in components/forms does), and an inline
|
|
333
|
+
style outranks any stylesheet — including a media query. A var() resolves
|
|
334
|
+
per-device inside that inline style, so this is the only construction that
|
|
335
|
+
actually reaches the control. Fields ask for --text-control; nothing else
|
|
336
|
+
should. */
|
|
337
|
+
--text-control:var(--text-sm);
|
|
338
|
+
|
|
339
|
+
--weight-normal:400;
|
|
340
|
+
--weight-medium:500;
|
|
341
|
+
--weight-semibold:600;
|
|
342
|
+
--weight-bold:700;
|
|
343
|
+
|
|
344
|
+
--tracking-tight:-0.025em;
|
|
345
|
+
--tracking-normal:0em;
|
|
346
|
+
--tracking-wide:0.025em;
|
|
347
|
+
--tracking-widest:0.1em; /* eyebrows / uppercase category labels */
|
|
348
|
+
|
|
349
|
+
--leading-none:1;
|
|
350
|
+
--leading-tight:1.25;
|
|
351
|
+
--leading-snug:1.375;
|
|
352
|
+
--leading-normal:1.5;
|
|
353
|
+
--leading-relaxed:1.625;
|
|
354
|
+
--leading-golden:1.618;
|
|
355
|
+
|
|
356
|
+
/* named roles */
|
|
357
|
+
--type-hero:600 var(--text-5xl)/1.05 var(--font-display);
|
|
358
|
+
--type-h2:700 var(--text-4xl)/var(--leading-4xl) var(--font-display);
|
|
359
|
+
--type-h3:600 var(--text-xl)/var(--leading-xl) var(--font-display);
|
|
360
|
+
--type-lead:400 var(--text-lg)/var(--leading-relaxed) var(--font-sans);
|
|
361
|
+
--type-body:400 var(--text-sm)/var(--leading-sm) var(--font-sans);
|
|
362
|
+
--type-caption:400 var(--text-xs)/var(--leading-xs) var(--font-sans);
|
|
363
|
+
--type-code:400 var(--text-sm)/var(--leading-relaxed) var(--font-mono);
|
|
364
|
+
--type-eyebrow:600 0.625rem/1 var(--font-sans);
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
/* On touch, a control goes to 16px. Below that iOS Safari zooms the viewport on
|
|
368
|
+
focus and never zooms back out, which is the single most common way a mobile
|
|
369
|
+
form feels broken. pointer:coarse is the real signal — a desktop mouse keeps
|
|
370
|
+
the compact 13px field. */
|
|
371
|
+
@media (pointer:coarse){
|
|
372
|
+
:root{--text-control:1rem}
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
/* ── tokens/spacing.css ─────────────────────────────────────── */
|
|
376
|
+
/* Spacing: the 4px Tailwind ramp is what ships. The golden-ratio ramp below is
|
|
377
|
+
declared in hanzo.ai's tailwind.config.ts (legacy v3 config, kept for
|
|
378
|
+
reference) — use it for editorial layouts, not for component padding. */
|
|
379
|
+
:root{
|
|
380
|
+
--space-0:0;
|
|
381
|
+
--space-1:0.25rem;
|
|
382
|
+
--space-2:0.5rem;
|
|
383
|
+
--space-3:0.75rem;
|
|
384
|
+
--space-4:1rem;
|
|
385
|
+
--space-5:1.25rem;
|
|
386
|
+
--space-6:1.5rem;
|
|
387
|
+
--space-8:2rem;
|
|
388
|
+
--space-10:2.5rem;
|
|
389
|
+
--space-12:3rem;
|
|
390
|
+
--space-14:3.5rem;
|
|
391
|
+
--space-16:4rem;
|
|
392
|
+
--space-20:5rem;
|
|
393
|
+
--space-24:6rem;
|
|
394
|
+
--space-32:8rem;
|
|
395
|
+
|
|
396
|
+
/* golden ramp (φ) — hanzo.ai tailwind.config.ts */
|
|
397
|
+
--golden-1:0.25rem;
|
|
398
|
+
--golden-2:0.405rem;
|
|
399
|
+
--golden-3:0.654rem;
|
|
400
|
+
--golden-4:1.059rem;
|
|
401
|
+
--golden-5:1.713rem;
|
|
402
|
+
--golden-6:2.772rem;
|
|
403
|
+
--golden-7:4.487rem;
|
|
404
|
+
--golden-8:7.26rem;
|
|
405
|
+
--golden-9:11.749rem;
|
|
406
|
+
--golden-split:38.2% 61.8%; /* @kind other */
|
|
407
|
+
|
|
408
|
+
/* layout rules (DESIGN.md §1.3) —
|
|
409
|
+
MOBILE-FIRST: the values authored here are the PHONE values, and the
|
|
410
|
+
min-width block at the bottom of this file scales them up. A surface that
|
|
411
|
+
uses the raw token therefore gets a layout that already breathes correctly
|
|
412
|
+
at 390px, with no media query of its own. (This is also the value the
|
|
413
|
+
generator captures for tokens.gen.ts — first occurrence wins, and the
|
|
414
|
+
authored default is the small one.) */
|
|
415
|
+
--container-max:80rem; /* max-w-7xl — grids */
|
|
416
|
+
--container-prose:48rem; /* max-w-3xl — centered text */
|
|
417
|
+
--container-wide:72rem; /* max-w-6xl — landing sections */
|
|
418
|
+
/* The page gutter also clears a notch. env() is 0px on every device without
|
|
419
|
+
one, so this is exactly `1rem` in the ordinary case and the safe inset when
|
|
420
|
+
there is something to avoid — no per-app work, no landscape clipping.
|
|
421
|
+
Requires `<meta name="viewport" content="…,viewport-fit=cover">` on the
|
|
422
|
+
host page; without it the UA reports 0 and the max() is inert, not wrong. */
|
|
423
|
+
--gutter:max(1rem,var(--safe-left),var(--safe-right));
|
|
424
|
+
--gutter-sm:1.5rem; /* sm:px-6 */
|
|
425
|
+
--gutter-lg:2rem; /* lg:px-8 */
|
|
426
|
+
--section-y:2.5rem; /* py-10 on a phone → py-16 at md */
|
|
427
|
+
--section-y-lg:3.5rem; /* py-14 on a phone → py-24 at md */
|
|
428
|
+
--hero-y:3rem; /* py-12 on a phone → py-20 at md */
|
|
429
|
+
--hero-y-lg:4.5rem; /* py-18 on a phone → py-32 at md */
|
|
430
|
+
--header-height:3.5rem; /* 56px is the phone bar; 64px from md */
|
|
431
|
+
|
|
432
|
+
/* ——— touch ——— */
|
|
433
|
+
/* 44px is the floor a pointer-coarse target may render at (Apple HIG 44pt /
|
|
434
|
+
WCAG 2.5.5 AAA / 2.5.8 AA's 24px, taken at the higher bar). base.css spends
|
|
435
|
+
it automatically under `@media (pointer:coarse)`, so a button does not have
|
|
436
|
+
to opt in. It was previously a bare `min-height:44px` literal in
|
|
437
|
+
hanzoai/id's stylesheet — one app knowing something the system did not. */
|
|
438
|
+
--tap-target:44px;
|
|
439
|
+
|
|
440
|
+
/* ——— safe areas ——— */
|
|
441
|
+
/* The notch/home-indicator insets, named once. Anything pinned to a viewport
|
|
442
|
+
edge — a fixed header, a bottom bar, a sheet — adds the matching one. */
|
|
443
|
+
--safe-top:env(safe-area-inset-top,0px);
|
|
444
|
+
--safe-right:env(safe-area-inset-right,0px);
|
|
445
|
+
--safe-bottom:env(safe-area-inset-bottom,0px);
|
|
446
|
+
--safe-left:env(safe-area-inset-left,0px);
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
/* Scale up from the phone. `md` (48rem) is the same breakpoint grid.css
|
|
450
|
+
declares and Tailwind compiles against — one value, not two that agree. */
|
|
451
|
+
@media (min-width:48rem){
|
|
452
|
+
:root{
|
|
453
|
+
--section-y:4rem; /* py-16 — content sections */
|
|
454
|
+
--section-y-lg:6rem; /* py-24 — landing sections */
|
|
455
|
+
--hero-y:5rem; /* py-20 … */
|
|
456
|
+
--hero-y-lg:8rem; /* … lg:py-32 */
|
|
457
|
+
--header-height:4rem;
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
/* ── tokens/grid.css ─────────────────────────────────────── */
|
|
462
|
+
/* Grid — one definition of the field every Hanzo surface lays out on.
|
|
463
|
+
|
|
464
|
+
Derived, not invented. Across hanzo.ai and hanzo.app the grid written by hand
|
|
465
|
+
is overwhelmingly ONE grid: `grid-cols-1 md:grid-cols-2 lg:grid-cols-3` with a
|
|
466
|
+
1.5rem gutter (240 / 197 / 127 / 185 occurrences on hanzo.ai alone, and the
|
|
467
|
+
same shape leads on app). 1, 2, 3 and 4 columns account for 97% of every
|
|
468
|
+
grid-cols- in both repos, and all four divide 12 cleanly — so 12 is the base
|
|
469
|
+
the spans are cut from, and the long tail (5, 6, 7, 8, 12) still lands on it.
|
|
470
|
+
|
|
471
|
+
Containers, gutters and section rhythm are NOT restated here: spacing.css
|
|
472
|
+
already owns --container-max / --container-prose / --container-wide /
|
|
473
|
+
--gutter* / --section-y*, and a grid that redeclared them would be a second
|
|
474
|
+
answer to a settled question. This file adds only what a grid knows that
|
|
475
|
+
spacing does not — how many columns, how far apart, and where it reflows. */
|
|
476
|
+
:root{
|
|
477
|
+
/* The base. Spans are cut from twelve because 1/2/3/4/6 all divide it. */
|
|
478
|
+
--grid-columns:12;
|
|
479
|
+
|
|
480
|
+
/* Gutter. --grid-gap is the measured card-grid default (gap-6 leads hanzo.ai
|
|
481
|
+
at 185 uses); tight and loose are the neighbouring steps that cover app's
|
|
482
|
+
gap-4 (45) and the wide editorial grids (gap-8, 75). All three reference the
|
|
483
|
+
space ramp — the grid does not get its own private set of distances. */
|
|
484
|
+
--grid-gap:var(--space-6);
|
|
485
|
+
--grid-gap-tight:var(--space-4);
|
|
486
|
+
--grid-gap-loose:var(--space-8);
|
|
487
|
+
|
|
488
|
+
/* Reflow points, byte-identical to the Tailwind v4 defaults these surfaces
|
|
489
|
+
already compile against. Same NAMES and same VALUES on purpose: the utility
|
|
490
|
+
layer and anything reading tokens then resolve one value, not two that agree
|
|
491
|
+
by luck. md and lg carry ~85% of every breakpoint prefix in use; xl is 44
|
|
492
|
+
occurrences across both repos and 2xl is 1. */
|
|
493
|
+
--breakpoint-sm:40rem;
|
|
494
|
+
--breakpoint-md:48rem;
|
|
495
|
+
--breakpoint-lg:64rem;
|
|
496
|
+
--breakpoint-xl:80rem;
|
|
497
|
+
--breakpoint-2xl:96rem;
|
|
498
|
+
|
|
499
|
+
/* Intrinsic card grids: state ONE track minimum instead of three column counts
|
|
500
|
+
at three breakpoints. `repeat(auto-fit, minmax(var(--grid-card-min), 1fr))`
|
|
501
|
+
reflows 1 -> 2 -> 3 at the same widths the explicit recipe does, and it does
|
|
502
|
+
it from the space available rather than from the viewport — so a card grid
|
|
503
|
+
inside a sidebar behaves correctly, which the breakpoint version cannot.
|
|
504
|
+
|
|
505
|
+
18rem is chosen, not rounded to: inside --container-max less --gutter-lg on
|
|
506
|
+
both sides, lg (64rem) leaves ~60rem, where 3 tracks need 3x18 + 2x1.5 =
|
|
507
|
+
57rem and 4 would need 76.5rem; md (48rem) leaves ~44rem, where 2 tracks
|
|
508
|
+
need 37.5rem and 3 would need 57rem. The measured 1/2/3 ladder falls out. */
|
|
509
|
+
--grid-card-min:18rem;
|
|
510
|
+
--grid-card-min-wide:24rem;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
/* ── tokens/radius.css ─────────────────────────────────────── */
|
|
514
|
+
:root{
|
|
515
|
+
--radius:0.5rem; /* the base token (globals.css) */
|
|
516
|
+
--radius-sm:0.375rem; /* rounded-md — buttons, inputs */
|
|
517
|
+
--radius-md:0.5rem;
|
|
518
|
+
--radius-lg:0.75rem; /* rounded-xl — cards */
|
|
519
|
+
--radius-xl:1rem; /* rounded-2xl — dropdown panels */
|
|
520
|
+
--radius-2xl:1.5rem; /* rounded-3xl — story / hero cards */
|
|
521
|
+
--radius-composer:28px; /* the chat composer, exactly 28px */
|
|
522
|
+
--radius-full:9999px; /* pills, CTAs, avatars, badges */
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
/* ── tokens/elevation.css ─────────────────────────────────────── */
|
|
526
|
+
/* Elevation on a near-black ground is NOT a drop shadow. A dark blur on a dark
|
|
527
|
+
page is nothing — you cannot cast a shadow onto black — which is why a system
|
|
528
|
+
that ships only `box-shadow` reads flat no matter how heavy the alphas get.
|
|
529
|
+
|
|
530
|
+
What actually lifts a surface here is LIGHT, and it arrives in three parts:
|
|
531
|
+
|
|
532
|
+
1. a hairline EDGE (tokens/colors.css --border)
|
|
533
|
+
2. an inset top HIGHLIGHT (--edge-highlight, below)
|
|
534
|
+
3. a wide, very dark DROP (--shadow-*)
|
|
535
|
+
|
|
536
|
+
(2) is the one that was missing and the one that does most of the work: a 1px
|
|
537
|
+
inset white line along the top edge reads as the surface catching the light
|
|
538
|
+
from above, and it is the whole difference between a panel that sits ON the
|
|
539
|
+
page and a rectangle that is merely a different colour than the page. The
|
|
540
|
+
reference spends it on its login card (`inset 0 1px 0 rgb(255 255 255 / .05)`)
|
|
541
|
+
and it is the single cheapest premium signal available on dark UI.
|
|
542
|
+
|
|
543
|
+
They are separate tokens rather than one baked shadow because a component
|
|
544
|
+
composes the ones it needs — `box-shadow: var(--edge-highlight), var(--shadow-lg)`
|
|
545
|
+
— and a card that wants the highlight without the drop should not have to
|
|
546
|
+
accept both. */
|
|
547
|
+
:root{
|
|
548
|
+
--shadow-none:none;
|
|
549
|
+
/* The floating surface: dropdowns, dialogs, sheets, the composer. Wide, soft,
|
|
550
|
+
and pushed well down. It was Tailwind's `shadow-2xl` at .25 alpha, which is
|
|
551
|
+
invisible on #0a0a0a — so the surfaces that float highest had the weakest
|
|
552
|
+
drop in the system while the t-shirt ramp below was correctly tuned. */
|
|
553
|
+
--shadow-floating:0 24px 60px -16px rgb(0 0 0 / .75);
|
|
554
|
+
--shadow-inset-hairline:inset 0 0 0 1px var(--white-10);
|
|
555
|
+
|
|
556
|
+
/* ——— the light ——— */
|
|
557
|
+
/* The top edge, catching light. Add it to any raised surface. */
|
|
558
|
+
--edge-highlight:inset 0 1px 0 0 rgb(255 255 255 / .10);
|
|
559
|
+
/* The bloom around a LIT action on hover — a filled primary button, the send
|
|
560
|
+
key. Monochrome brand: this is where "alive" comes from instead of a hue,
|
|
561
|
+
and it is the whole hover signal on a fill that is already at the top of
|
|
562
|
+
the ink ramp. It was .10, which is invisible: a white glow has to compete
|
|
563
|
+
with the white object casting it, so the alpha that reads around a WHITE
|
|
564
|
+
button is far higher than the one that reads around a dark one. */
|
|
565
|
+
--bloom:0 0 24px -2px rgb(255 255 255 / .28);
|
|
566
|
+
/* The focus halo: soft, outside the ring, carrying no ratio of its own. This
|
|
567
|
+
was `0 0 0 2px var(--ring)` — a second hard ring around the hard ring. */
|
|
568
|
+
--ring-focus:0 0 0 3px var(--ring-halo);
|
|
569
|
+
|
|
570
|
+
/* The t-shirt ramp. Named by size rather than by role, because that is how
|
|
571
|
+
every component library already asks for a shadow (and how @hanzo/brand
|
|
572
|
+
spells it). Alphas are heavier than Tailwind's defaults: on a near-black
|
|
573
|
+
ground a 10% black drop is invisible, so each rung is tuned to read on
|
|
574
|
+
--background. --shadow-2xl and --shadow-floating are the same rung. */
|
|
575
|
+
--shadow-sm:0 1px 2px 0 rgb(0 0 0 / .40);
|
|
576
|
+
--shadow:0 1px 3px 0 rgb(0 0 0 / .45), 0 1px 2px -1px rgb(0 0 0 / .45);
|
|
577
|
+
--shadow-md:0 4px 6px -1px rgb(0 0 0 / .50), 0 2px 4px -2px rgb(0 0 0 / .50);
|
|
578
|
+
--shadow-lg:0 10px 15px -3px rgb(0 0 0 / .55), 0 4px 6px -4px rgb(0 0 0 / .55);
|
|
579
|
+
--shadow-xl:0 20px 25px -5px rgb(0 0 0 / .60), 0 8px 10px -6px rgb(0 0 0 / .60);
|
|
580
|
+
--shadow-2xl:var(--shadow-floating);
|
|
581
|
+
/* Ambient hero glow — a single white radial, blurred 120px, low opacity. */
|
|
582
|
+
--glow-hero:radial-gradient(circle,rgb(255 255 255 / .12) 0%,transparent 68%); /* @kind color */
|
|
583
|
+
--glow-hero-blur:120px;
|
|
584
|
+
/* Card top-corner sheen used on the story cards. */
|
|
585
|
+
--sheen-card:radial-gradient(120% 120% at 80% 0%,rgb(255 255 255 / .08) 0%,transparent 55%); /* @kind color */
|
|
586
|
+
/* The panel's top hairline, brightest at the centre and dissolving before it
|
|
587
|
+
reaches either corner — so an edge never terminates in a hard stop. One of
|
|
588
|
+
the two details that make the reference's panels look machined rather than
|
|
589
|
+
drawn (sidebar.css .panel::before). Paint it on a 1px-tall ::before. */
|
|
590
|
+
--sheen-edge:linear-gradient(90deg,transparent,rgb(255 255 255 / .14) 50%,transparent); /* @kind color */
|
|
591
|
+
/* Chrome text: the canonical headline gradient. Never a saturated rainbow. */
|
|
592
|
+
--gradient-chrome:linear-gradient(to right,#ffffff,var(--white-80),var(--white-60));
|
|
593
|
+
--gradient-chrome-2:linear-gradient(to right,#ffffff,var(--neutral-500));
|
|
594
|
+
/* Section-top protection gradient (hero overlays). */
|
|
595
|
+
--gradient-protect:linear-gradient(to bottom,var(--white-10),transparent);
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
/* Light theme — the same three parts, redistributed.
|
|
599
|
+
On white the order of work inverts: the DROP does almost all of it and the
|
|
600
|
+
inset highlight does none, because a white line on a white card is nothing.
|
|
601
|
+
Every token below is one whose dark value is white — i.e. one that silently
|
|
602
|
+
stops existing in `.light` unless it is restated here. check-tokens.mjs
|
|
603
|
+
scans this file for exactly that omission.
|
|
604
|
+
|
|
605
|
+
--edge-highlight is `inset 0 0 0 0 transparent` rather than `none` on
|
|
606
|
+
purpose: components compose these — `box-shadow: var(--edge-highlight),
|
|
607
|
+
var(--shadow-lg)` — and `none` is not a legal layer in a comma list, so the
|
|
608
|
+
obvious spelling would invalidate the whole declaration and take the drop
|
|
609
|
+
shadow down with it. A zero-size transparent shadow composes to nothing and
|
|
610
|
+
costs nothing. */
|
|
611
|
+
.light{
|
|
612
|
+
--shadow-floating:0 24px 60px -16px rgb(0 0 0 / .18);
|
|
613
|
+
--shadow-inset-hairline:inset 0 0 0 1px rgb(0 0 0 / .10);
|
|
614
|
+
--edge-highlight:inset 0 0 0 0 transparent;
|
|
615
|
+
--bloom:0 6px 20px -4px rgb(0 0 0 / .18);
|
|
616
|
+
--shadow-sm:0 1px 2px 0 rgb(0 0 0 / .06);
|
|
617
|
+
--shadow:0 1px 3px 0 rgb(0 0 0 / .08), 0 1px 2px -1px rgb(0 0 0 / .06);
|
|
618
|
+
--shadow-md:0 4px 6px -1px rgb(0 0 0 / .08), 0 2px 4px -2px rgb(0 0 0 / .06);
|
|
619
|
+
--shadow-lg:0 10px 15px -3px rgb(0 0 0 / .09), 0 4px 6px -4px rgb(0 0 0 / .07);
|
|
620
|
+
--shadow-xl:0 20px 25px -5px rgb(0 0 0 / .10), 0 8px 10px -6px rgb(0 0 0 / .08);
|
|
621
|
+
--glow-hero:radial-gradient(circle,rgb(0 0 0 / .06) 0%,transparent 68%);
|
|
622
|
+
--sheen-card:radial-gradient(120% 120% at 80% 0%,rgb(0 0 0 / .04) 0%,transparent 55%);
|
|
623
|
+
--sheen-edge:linear-gradient(90deg,transparent,rgb(0 0 0 / .08) 50%,transparent);
|
|
624
|
+
--gradient-chrome:linear-gradient(to right,#0a0a0a,rgb(10 10 10 / .8),rgb(10 10 10 / .6));
|
|
625
|
+
--gradient-chrome-2:linear-gradient(to right,#0a0a0a,var(--neutral-500));
|
|
626
|
+
--gradient-protect:linear-gradient(to bottom,rgb(0 0 0 / .10),transparent);
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
/* ── tokens/motion.css ─────────────────────────────────────── */
|
|
630
|
+
/* Motion is restrained: fade + small rise, CSS-only hovers, one breathing glow.
|
|
631
|
+
No springs, no bounce, no parallax, no autoplay carousels. */
|
|
632
|
+
:root{
|
|
633
|
+
--duration-fast:150ms; /* @kind other */ /* dropdown / panel open */
|
|
634
|
+
--duration-base:300ms; /* @kind other */ /* slide-up-fade */
|
|
635
|
+
--duration-slow:400ms; /* @kind other */ /* hero element entry */
|
|
636
|
+
--duration-slower:500ms; /* @kind other */ /* section entry */
|
|
637
|
+
--duration-glow:9s; /* @kind other */ /* ambient radial breathe */
|
|
638
|
+
--duration-press:90ms; /* @kind other */ /* the press-down on :active */
|
|
639
|
+
--ease-out:cubic-bezier(0,0,0.2,1); /* @kind other */
|
|
640
|
+
--ease-in-out:cubic-bezier(0.4,0,0.2,1); /* @kind other */
|
|
641
|
+
/* The entrance curve. Nearly all of the distance is covered in the first
|
|
642
|
+
third and it settles without overshooting, so a panel arrives DECIDED
|
|
643
|
+
rather than drifting in — the difference between 300ms that feels
|
|
644
|
+
immediate and 300ms that feels slow. Use it for anything that appears
|
|
645
|
+
(menus, dialogs, sheets, toasts); --ease-out stays the curve for a state
|
|
646
|
+
change on something already on screen. It is not a spring: this system has
|
|
647
|
+
no bounce anywhere. */
|
|
648
|
+
--ease-emphasis:cubic-bezier(0.16,1,0.3,1); /* @kind other */
|
|
649
|
+
--stagger:60ms; /* @kind other */ /* per-element delay in a group */
|
|
650
|
+
--entry-rise:16px; /* hero y-offset */
|
|
651
|
+
--entry-rise-lg:24px; /* card y-offset */
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
@keyframes hanzo-fade-up{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
|
|
655
|
+
@keyframes hanzo-fade-down{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}
|
|
656
|
+
@keyframes hanzo-slide-up-fade{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
|
|
657
|
+
/* The entrance for anything that appears OVER the page — dialog, sheet, command
|
|
658
|
+
palette. It arrives from very slightly small and very slightly low, which is
|
|
659
|
+
what reads as "came forward" rather than "was toggled on". 3% and 8px: any
|
|
660
|
+
more and it is an animation you notice, which is the failure mode. Pair it
|
|
661
|
+
with --ease-emphasis. */
|
|
662
|
+
@keyframes hanzo-zoom-in{from{opacity:0;transform:scale(.97) translateY(8px)}to{opacity:1;transform:none}}
|
|
663
|
+
@keyframes hanzo-glow{0%,100%{transform:scale(1);opacity:.45}50%{transform:scale(1.08);opacity:.65}}
|
|
664
|
+
@keyframes hanzo-pulse-dot{0%,100%{opacity:1}50%{opacity:.35}}
|
|
665
|
+
|
|
666
|
+
@media (prefers-reduced-motion:reduce){
|
|
667
|
+
*,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
/* ── tokens/z.css ─────────────────────────────────────── */
|
|
671
|
+
/* Stacking order — the one z-index ladder. Layers are named by role, never by a
|
|
672
|
+
magic number, so a dropdown opened from the fixed header always sits above it
|
|
673
|
+
and nothing ever reaches for 9999. Below --z-raised is ordinary document flow.
|
|
674
|
+
|
|
675
|
+
Rungs are 100 apart so a surface can slot a one-off BETWEEN two roles
|
|
676
|
+
(calc(var(--z-modal) + 1)) without inventing a new decade. */
|
|
677
|
+
:root{
|
|
678
|
+
--z-base:0;
|
|
679
|
+
--z-raised:10; /* hover-lifted cards, sticky table headers */
|
|
680
|
+
--z-sticky:200; /* pinned section rails */
|
|
681
|
+
--z-header:300; /* the fixed site header */
|
|
682
|
+
--z-dropdown:400; /* menus, selects, comboboxes */
|
|
683
|
+
--z-overlay:500; /* dialog / sheet scrim */
|
|
684
|
+
--z-modal:600; /* dialogs, sheets, command palette */
|
|
685
|
+
--z-popover:700; /* popovers, tooltips (also when anchored in modals) */
|
|
686
|
+
--z-toast:800; /* toasts / notifications — always on top */
|
|
687
|
+
|
|
688
|
+
/* @hanzo/brand spells the top two rungs --z-tooltip and --z-notification.
|
|
689
|
+
Same rungs, so a component written against either vocabulary stacks
|
|
690
|
+
identically. --z-popover / --z-toast are canonical. */
|
|
691
|
+
--z-tooltip:var(--z-popover);
|
|
692
|
+
--z-notification:var(--z-toast);
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
/* ── tokens/fonts.css ─────────────────────────────────────── */
|
|
696
|
+
/* Geist Sans + Geist Mono — the only two faces on Hanzo surfaces.
|
|
697
|
+
SELF-HOSTED. The faces ship inside this package (assets/fonts/*.woff2, two
|
|
698
|
+
variable files, 141 KB total, SIL OFL-1.1 — see assets/fonts/LICENSE-Geist.txt).
|
|
699
|
+
|
|
700
|
+
Why self-hosted rather than @import from fonts.googleapis.com:
|
|
701
|
+
- A sign-in page must not make a third-party request. hanzoai/id refused to
|
|
702
|
+
import this file for exactly that reason, which split the token layer: id
|
|
703
|
+
took the colours and not the typeface. Self-hosting removes the reason, so
|
|
704
|
+
every surface can import styles.css unchanged.
|
|
705
|
+
- The @import was a render-blocking request to a host we do not control, on
|
|
706
|
+
the critical path of every surface, and it broke offline/air-gapped dev.
|
|
707
|
+
- One variable file per family replaces nine static weights, and it is fewer
|
|
708
|
+
bytes than the CSS-then-woff2 round trip Google served.
|
|
709
|
+
|
|
710
|
+
The url()s are relative to THIS file, so they resolve wherever the package is
|
|
711
|
+
mounted — node_modules, a CDN, a copied dist — with no configuration. */
|
|
712
|
+
|
|
713
|
+
@font-face{
|
|
714
|
+
font-family:"Geist";
|
|
715
|
+
src:url("./assets/fonts/Geist-Variable.woff2") format("woff2");
|
|
716
|
+
font-weight:100 900;
|
|
717
|
+
font-style:normal;
|
|
718
|
+
font-display:swap;
|
|
719
|
+
}
|
|
720
|
+
@font-face{
|
|
721
|
+
font-family:"Geist Mono";
|
|
722
|
+
src:url("./assets/fonts/GeistMono-Variable.woff2") format("woff2");
|
|
723
|
+
font-weight:100 900;
|
|
724
|
+
font-style:normal;
|
|
725
|
+
font-display:swap;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
:root{
|
|
729
|
+
--font-sans:"Geist","Geist Sans",ui-sans-serif,system-ui,sans-serif;
|
|
730
|
+
--font-display:var(--font-sans);
|
|
731
|
+
--font-mono:"Geist Mono",ui-monospace,SFMono-Regular,monospace;
|
|
732
|
+
--font-serif:Georgia,serif;
|
|
733
|
+
/* hanzo.ai sets these OpenType features on <body>. */
|
|
734
|
+
--font-feature-settings:"ss01","ss02","cv01","cv02","cv03";
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
/* ── tokens/base.css ─────────────────────────────────────── */
|
|
738
|
+
/* Minimal element defaults so specimen cards and kits inherit the brand without
|
|
739
|
+
a utility framework. Components carry their own styles inline.
|
|
740
|
+
|
|
741
|
+
EVERYTHING HERE IS LAYERED, and that is the most important line in the file.
|
|
742
|
+
A rule outside a cascade layer beats a rule inside one no matter how specific
|
|
743
|
+
the loser is — so an unlayered `a{color:...}` here outranked EVERY Tailwind
|
|
744
|
+
text utility on every anchor, on every surface that imports these tokens. A
|
|
745
|
+
white-on-white primary button is what that looks like: `text-neutral-950` on
|
|
746
|
+
an anchor, silently overridden to --text-primary, invisible on its own white
|
|
747
|
+
fill, and reading as a rendering glitch rather than a cascade bug.
|
|
748
|
+
|
|
749
|
+
The same trap already bit `text-decoration` here once (see the a:hover note
|
|
750
|
+
below). It was fixed by deleting that one declaration, which left the identical
|
|
751
|
+
defect in `color` untouched. Layering fixes the whole class: these are
|
|
752
|
+
DEFAULTS, and a default must lose to anything an app states deliberately.
|
|
753
|
+
|
|
754
|
+
The rules added for controls, media and touch go one step further and wrap
|
|
755
|
+
their selectors in :where(), which has ZERO specificity. @layer decides who
|
|
756
|
+
wins BETWEEN layers; :where() decides who wins INSIDE this one. An app that
|
|
757
|
+
ships its own reset — `input { … }`, `img { … }` — very often lands in the
|
|
758
|
+
same base layer, and these defaults have to lose that collision too. */
|
|
759
|
+
@layer base {
|
|
760
|
+
*{box-sizing:border-box;border-color:var(--border)}
|
|
761
|
+
html{
|
|
762
|
+
-webkit-font-smoothing:antialiased;
|
|
763
|
+
text-rendering:optimizeLegibility;
|
|
764
|
+
scroll-behavior:smooth;
|
|
765
|
+
/* iOS inflates text when a phone is rotated to landscape unless this is
|
|
766
|
+
pinned. It is the single most common reason a mobile layout that was
|
|
767
|
+
verified in portrait comes apart on its side. */
|
|
768
|
+
-webkit-text-size-adjust:100%;
|
|
769
|
+
}
|
|
770
|
+
/* Each font-family carries the stack as a literal fallback. --font-sans lives in
|
|
771
|
+
tokens/fonts.css, which a surface may legitimately import separately; without
|
|
772
|
+
the fallback an unresolved var() makes font-family invalid and the UA drops to
|
|
773
|
+
its SERIF default — the whole console silently rendered in Times. */
|
|
774
|
+
body{margin:0;background:var(--background);color:var(--foreground);font-family:var(--font-sans,ui-sans-serif,system-ui,sans-serif);font-size:var(--text-base);line-height:var(--leading-base);font-feature-settings:var(--font-feature-settings);overflow-wrap:break-word}
|
|
775
|
+
h1,h2,h3,h4{margin:0;font-family:var(--font-display,var(--font-sans,ui-sans-serif,system-ui,sans-serif));letter-spacing:var(--tracking-tight);color:var(--text-primary)}
|
|
776
|
+
p{margin:0;text-wrap:pretty}
|
|
777
|
+
code,pre,kbd{font-family:var(--font-mono,ui-monospace,SFMono-Regular,monospace)}
|
|
778
|
+
/* No `transition` here: the shared interactive rule below states one, and an
|
|
779
|
+
`a` selector (0,0,1) would outrank that :where() (0,0,0) and replace the
|
|
780
|
+
whole shorthand — anchors would transition colour and nothing else. */
|
|
781
|
+
a{color:var(--text-primary);text-decoration:none;text-underline-offset:4px}
|
|
782
|
+
/* Underline is the accessible affordance for a link in RUNNING TEXT and a visual
|
|
783
|
+
bug everywhere else: nav items, cards and anchor-buttons are all <a> too, so a
|
|
784
|
+
blanket `a:hover` underlined every one of them on every surface that imports
|
|
785
|
+
these tokens. Scope it to the elements that actually carry prose; a link that
|
|
786
|
+
is a component states its own hover. The old rule also re-set `color` to the
|
|
787
|
+
value `a` already has — a no-op that only served to outrank a component's own
|
|
788
|
+
hover colour. */
|
|
789
|
+
:is(p,li,blockquote,dd,dt,td,th,figcaption) a:hover{text-decoration:underline}
|
|
790
|
+
|
|
791
|
+
/* ——— the smooth ———
|
|
792
|
+
Every interactive element in the reference transitions its colour, its fill
|
|
793
|
+
and its EDGE. That is most of what separates "classy and smooth" from a
|
|
794
|
+
correct set of colours: a hairline that steps from .10 to .16 instantly
|
|
795
|
+
reads as a flicker, and over 150ms reads as a response. Granted once, here,
|
|
796
|
+
rather than restated on every component. tokens/motion.css already zeroes
|
|
797
|
+
all of it under prefers-reduced-motion. */
|
|
798
|
+
:where(a,button,[role=button],input,select,textarea,summary,[tabindex]){
|
|
799
|
+
transition:color var(--duration-fast) var(--ease-out),
|
|
800
|
+
background-color var(--duration-fast) var(--ease-out),
|
|
801
|
+
border-color var(--duration-fast) var(--ease-out),
|
|
802
|
+
box-shadow var(--duration-fast) var(--ease-out),
|
|
803
|
+
opacity var(--duration-fast) var(--ease-out),
|
|
804
|
+
transform var(--duration-press) var(--ease-out);
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
/* ——— the press ———
|
|
808
|
+
A button that moves under the finger is the cheapest "this is a real
|
|
809
|
+
control" signal there is, and its absence is most of why a correct-looking
|
|
810
|
+
button still feels like a picture of a button. 2% over 90ms — small enough
|
|
811
|
+
that it reads as pressure rather than as animation, and it is the
|
|
812
|
+
reference's own value (.auth-signin-btn:active). Inputs are excluded: a
|
|
813
|
+
text field does not depress, and scaling one mid-caret is a glitch. */
|
|
814
|
+
:where(button,[role=button],a[role=button],summary):active:not(:disabled){
|
|
815
|
+
transform:scale(.98);
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
/* ——— controls ———
|
|
819
|
+
A bare <input> renders in the UA's face (Arial) at the UA's size with the
|
|
820
|
+
UA's border, which puts two typefaces and a foreign blue focus ring inside
|
|
821
|
+
Hanzo cards on every surface that has not styled its own fields yet. The
|
|
822
|
+
rules below are what a control looks like here. --border-control, NOT
|
|
823
|
+
--border: a field's edge is its own duty and its own rung, so a surface can
|
|
824
|
+
retune fields without touching every divider on the page. It owes no
|
|
825
|
+
contrast ratio — the whole budget goes to --ring, below. */
|
|
826
|
+
:where(input,select,textarea,button){font:inherit;color:inherit}
|
|
827
|
+
:where(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea){
|
|
828
|
+
background:var(--surface-2);
|
|
829
|
+
border:1px solid var(--border-control);
|
|
830
|
+
/* --radius-md (8px), not --radius-sm (6px). On a 36px control the two are
|
|
831
|
+
one step apart and it is the step between "boxy" and "considered";
|
|
832
|
+
--radius-sm keeps its job on genuinely small parts — badges, chips, menu
|
|
833
|
+
rows — where 8px would look bubbly. The reference draws its composer and
|
|
834
|
+
its buttons at 8-10px and nothing at 6px except 22px chips. */
|
|
835
|
+
border-radius:var(--radius-md);
|
|
836
|
+
padding:0 var(--space-3);
|
|
837
|
+
}
|
|
838
|
+
:where(textarea){padding:var(--space-2) var(--space-3);resize:vertical}
|
|
839
|
+
/* ——— focus, on a control ———
|
|
840
|
+
Not the generic ring. A field already HAS an edge, so focus brightens that
|
|
841
|
+
edge (.15 -> .22) and adds a soft halo just outside it — which is what the
|
|
842
|
+
reference does (.composer-box:focus-within) and what separates a focused
|
|
843
|
+
field from a browser default. The generic `outline` is suppressed here
|
|
844
|
+
precisely because it would draw a second, harder box around this one. */
|
|
845
|
+
:where(input,select,textarea):focus-visible{
|
|
846
|
+
outline:none;
|
|
847
|
+
border-color:var(--border-focus);
|
|
848
|
+
box-shadow:var(--ring-focus);
|
|
849
|
+
}
|
|
850
|
+
/* A hovered field lifts its surface a rung. Nudging its EDGE from .15 to .16
|
|
851
|
+
is a state nobody can see. */
|
|
852
|
+
:where(input,select,textarea):hover:not(:focus-visible):not(:disabled){background:var(--surface-3)}
|
|
853
|
+
:where(input,textarea)::placeholder{color:var(--text-disabled)}
|
|
854
|
+
:where(input,select,textarea,button):disabled{opacity:.5;cursor:not-allowed}
|
|
855
|
+
:where(button,[role=button],summary,label,select){cursor:pointer}
|
|
856
|
+
|
|
857
|
+
/* ——— media ———
|
|
858
|
+
An image, a video or an embed at its intrinsic width is the usual cause of a
|
|
859
|
+
390px page that scrolls sideways. */
|
|
860
|
+
:where(img,svg,video,canvas,iframe,picture,object){max-width:100%}
|
|
861
|
+
:where(img,video){height:auto}
|
|
862
|
+
/* A code block scrolls ITSELF rather than widening the document. */
|
|
863
|
+
:where(pre){overflow-x:auto}
|
|
864
|
+
|
|
865
|
+
/* ——— touch ———
|
|
866
|
+
Everything a finger aims at clears 44px, and every field renders at 16px so
|
|
867
|
+
iOS does not zoom the viewport on focus. Both are keyed on pointer:coarse —
|
|
868
|
+
the actual signal — so a desktop mouse still gets compact controls. This is
|
|
869
|
+
the whole of "mobile-first without per-app work": an app that never thought
|
|
870
|
+
about phones still has hittable buttons and a viewport that stays put. */
|
|
871
|
+
@media (pointer:coarse){
|
|
872
|
+
:where(button,[role=button],a[role=button],summary,select,textarea,
|
|
873
|
+
input:not([type=checkbox]):not([type=radio]):not([type=hidden])){
|
|
874
|
+
min-height:var(--tap-target);
|
|
875
|
+
}
|
|
876
|
+
:where(input,select,textarea){font-size:var(--text-control)}
|
|
877
|
+
/* A checkbox, radio or switch must NOT grow to 44px — the box is 16px
|
|
878
|
+
because that is what a checkbox looks like. What has to reach 44px is the
|
|
879
|
+
area a finger may land in, so the target is expanded with a centred
|
|
880
|
+
pseudo-element that changes nothing about layout or paint. WCAG 2.5.8 puts
|
|
881
|
+
the floor at 24px; a 16px box misses it, and every one of these ships at
|
|
882
|
+
16px. */
|
|
883
|
+
:where([role=checkbox],[role=radio],[role=switch],input[type=checkbox],input[type=radio]){position:relative}
|
|
884
|
+
:where([role=checkbox],[role=radio],[role=switch],input[type=checkbox],input[type=radio])::after{
|
|
885
|
+
content:'';position:absolute;top:50%;left:50%;
|
|
886
|
+
width:var(--tap-target);height:var(--tap-target);
|
|
887
|
+
transform:translate(-50%,-50%);
|
|
888
|
+
}
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
:focus-visible{outline:2px solid var(--ring);outline-offset:2px}
|
|
892
|
+
/* --white-20 is white-on-white in the light theme, so selection reads through
|
|
893
|
+
--selection, which BOTH themes define. */
|
|
894
|
+
::selection{background:var(--selection);color:var(--text-primary)}
|
|
895
|
+
|
|
896
|
+
/* ——— the scrollbar ———
|
|
897
|
+
The single largest piece of UNSTYLED chrome left on a dark surface: a
|
|
898
|
+
default 15px light-grey scrollbar down the side of a #0a0a0a panel is the
|
|
899
|
+
one element on the page that did not get the memo, and it is visible on
|
|
900
|
+
every scrolling surface in the product. 6px, no track, thumb on the same
|
|
901
|
+
hairline ladder as everything else. Both syntaxes ship because they are
|
|
902
|
+
disjoint — `scrollbar-*` is Firefox and the `::-webkit-*` pseudos are
|
|
903
|
+
Chromium/Safari; neither engine reads the other.
|
|
904
|
+
The thumb is a --white-* rung, so it does not invert; the `.light`
|
|
905
|
+
restatements sit here rather than in colors.css because a scrollbar is an
|
|
906
|
+
element default and this file is where element defaults live. Everything
|
|
907
|
+
stays INSIDE the layer — an unlayered rule here would outrank an app's own
|
|
908
|
+
utilities, which is the defect check 1c exists to catch. */
|
|
909
|
+
:where(html){scrollbar-color:var(--white-15) transparent;scrollbar-width:thin}
|
|
910
|
+
.light{scrollbar-color:rgb(0 0 0 / .18) transparent}
|
|
911
|
+
:where(*)::-webkit-scrollbar{width:6px;height:6px}
|
|
912
|
+
:where(*)::-webkit-scrollbar-track{background:transparent}
|
|
913
|
+
:where(*)::-webkit-scrollbar-thumb{background:var(--white-15);border-radius:var(--radius-full)}
|
|
914
|
+
:where(*)::-webkit-scrollbar-thumb:hover{background:var(--white-30)}
|
|
915
|
+
:where(*)::-webkit-scrollbar-corner{background:transparent}
|
|
916
|
+
.light :where(*)::-webkit-scrollbar-thumb{background:rgb(0 0 0 / .18)}
|
|
917
|
+
.light :where(*)::-webkit-scrollbar-thumb:hover{background:rgb(0 0 0 / .32)}
|
|
918
|
+
}
|
|
919
|
+
|
|
3
920
|
/**
|
|
4
921
|
* @hanzo/ui — the Hanzo visual identity, self-contained.
|
|
5
922
|
*
|
|
@@ -8,7 +925,8 @@
|
|
|
8
925
|
* Defines EVERY standard design token the components reference, so `@hanzo/ui`
|
|
9
926
|
* never depends on a consumer having pre-declared them (the bug this rework
|
|
10
927
|
* fixes: components that reached for tokens the host didn't define rendered
|
|
11
|
-
* transparent). Values originate in `@hanzo/
|
|
928
|
+
* transparent). Values originate in `@hanzo/design` (composed in at build time by
|
|
929
|
+
* scripts/compose-theme.mjs) —
|
|
12
930
|
* the same source `@hanzo/ui/tokens` exposes to code — so CSS and runtime agree.
|
|
13
931
|
*
|
|
14
932
|
* Dark-first Hanzo identity: neutral zinc-on-black, calm, high-contrast. Add
|
|
@@ -48,24 +966,6 @@
|
|
|
48
966
|
`.light` follows both so it can still win. */
|
|
49
967
|
:root,
|
|
50
968
|
.dark {
|
|
51
|
-
--background: oklch(0.145 0 0);
|
|
52
|
-
--foreground: oklch(0.985 0 0);
|
|
53
|
-
--card: oklch(0.205 0 0);
|
|
54
|
-
--card-foreground: oklch(0.985 0 0);
|
|
55
|
-
--popover: oklch(0.269 0 0);
|
|
56
|
-
--popover-foreground: oklch(0.985 0 0);
|
|
57
|
-
--primary: oklch(0.922 0 0);
|
|
58
|
-
--primary-foreground: oklch(0.205 0 0);
|
|
59
|
-
--secondary: oklch(0.269 0 0);
|
|
60
|
-
--secondary-foreground: oklch(0.985 0 0);
|
|
61
|
-
--muted: oklch(0.269 0 0);
|
|
62
|
-
--muted-foreground: oklch(0.708 0 0);
|
|
63
|
-
--accent: oklch(0.371 0 0);
|
|
64
|
-
--accent-foreground: oklch(0.985 0 0);
|
|
65
|
-
--destructive: oklch(0.704 0.191 22.216);
|
|
66
|
-
--border: oklch(1 0 0 / 10%);
|
|
67
|
-
--input: oklch(1 0 0 / 15%);
|
|
68
|
-
--ring: oklch(0.556 0 0);
|
|
69
969
|
|
|
70
970
|
--chart-1: oklch(0.488 0.243 264.376);
|
|
71
971
|
--chart-2: oklch(0.696 0.17 162.48);
|
|
@@ -84,26 +984,7 @@
|
|
|
84
984
|
}
|
|
85
985
|
|
|
86
986
|
.light {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
--background: oklch(1 0 0);
|
|
90
|
-
--foreground: oklch(0.145 0 0);
|
|
91
|
-
--card: oklch(1 0 0);
|
|
92
|
-
--card-foreground: oklch(0.145 0 0);
|
|
93
|
-
--popover: oklch(1 0 0);
|
|
94
|
-
--popover-foreground: oklch(0.145 0 0);
|
|
95
|
-
--primary: oklch(0.205 0 0);
|
|
96
|
-
--primary-foreground: oklch(0.985 0 0);
|
|
97
|
-
--secondary: oklch(0.97 0 0);
|
|
98
|
-
--secondary-foreground: oklch(0.205 0 0);
|
|
99
|
-
--muted: oklch(0.97 0 0);
|
|
100
|
-
--muted-foreground: oklch(0.556 0 0);
|
|
101
|
-
--accent: oklch(0.97 0 0);
|
|
102
|
-
--accent-foreground: oklch(0.205 0 0);
|
|
103
|
-
--destructive: oklch(0.577 0.245 27.325);
|
|
104
|
-
--border: oklch(0.922 0 0);
|
|
105
|
-
--input: oklch(0.922 0 0);
|
|
106
|
-
--ring: oklch(0.708 0 0);
|
|
987
|
+
|
|
107
988
|
|
|
108
989
|
--chart-1: oklch(0.646 0.222 41.116);
|
|
109
990
|
--chart-2: oklch(0.6 0.118 184.704);
|