@spunto/design-system 0.49.0 → 0.51.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/README.md +1 -32
- package/package.json +2 -6
- package/src/brand/logo.test.tsx +1 -1
- package/src/brand/logo.ts +25 -20
- package/src/colors.ts +9 -9
- package/src/components/fonts.tsx +2 -2
- package/src/components/image-pull.tsx +5 -4
- package/src/components/terminal-panel.tsx +1 -1
- package/src/components/terminal.tsx +4 -4
- package/styles.css +380 -131
- package/src/components/observability/analytics.ts +0 -153
- package/src/components/observability/index.ts +0 -39
- package/src/components/observability/latency.ts +0 -47
- package/src/components/observability/log-lines.tsx +0 -120
- package/src/components/observability/observability.test.tsx +0 -255
- package/src/components/observability/span-waterfall.tsx +0 -493
- package/src/components/observability/trace-filters.tsx +0 -213
- package/src/components/observability/trace-list.tsx +0 -193
- package/src/components/observability/traces-overview.tsx +0 -284
- package/src/components/observability/types.ts +0 -29
package/styles.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @spunto/design-system — design tokens
|
|
2
|
+
* @spunto/design-system — design tokens: one universe, a colour pair per product (data-product).
|
|
3
3
|
*
|
|
4
4
|
* Token names and structure follow shadcn/ui (https://ui.shadcn.com, MIT) — the
|
|
5
5
|
* base this whole design system is built on. Only the values are ours.
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
* @import "@spunto/design-system/styles.css";
|
|
10
10
|
*
|
|
11
11
|
* Provides the oklch token scale, the `@theme inline` → Tailwind color/radius
|
|
12
|
-
* mapping, a minimal base layer, and the
|
|
12
|
+
* mapping, a minimal base layer, and the dot-grid / blueprint-grid utilities.
|
|
13
13
|
* `@custom-variant dark` stays in the app (or add it there once).
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
/* ─── Fonts — carried by the design system ──────────────────────────────────
|
|
17
17
|
*
|
|
18
18
|
* Canonical typography (single source of truth, decided 2026-07-23):
|
|
19
|
-
* text = Geist · display = Syne · mono = JetBrains Mono
|
|
19
|
+
* text = Geist · display = Young Serif (was Syne until 2026-10-17) · mono = JetBrains Mono
|
|
20
20
|
*
|
|
21
21
|
* `src` points straight at the versioned .woff2 files on fonts.gstatic.com
|
|
22
22
|
* (absolute → identical everywhere, never hashed). URLs were harvested once from
|
|
@@ -121,38 +121,30 @@
|
|
|
121
121
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
/*
|
|
124
|
+
/* Young Serif — display (one weight, 400, drawn heavy: the seed-catalogue
|
|
125
|
+
serif). Replaced Syne on 2026-10-17. Never ask it for a bold: there is none,
|
|
126
|
+
and a synthesized one smears — `font-synthesis` is off on `.font-display`. */
|
|
125
127
|
@font-face {
|
|
126
|
-
font-family: "
|
|
128
|
+
font-family: "Young Serif";
|
|
127
129
|
font-style: normal;
|
|
128
|
-
font-weight: 400
|
|
130
|
+
font-weight: 400;
|
|
129
131
|
font-display: swap;
|
|
130
|
-
src: url(https://fonts.gstatic.com/s/
|
|
131
|
-
unicode-range: U+
|
|
132
|
-
}
|
|
133
|
-
@font-face {
|
|
134
|
-
font-family: "Syne";
|
|
135
|
-
font-style: normal;
|
|
136
|
-
font-weight: 400 800;
|
|
137
|
-
font-display: swap;
|
|
138
|
-
src: url(https://fonts.gstatic.com/s/syne/v24/8vIH7w4qzmVxm25L9Hz_.woff2) format("woff2");
|
|
139
|
-
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
132
|
+
src: url(https://fonts.gstatic.com/s/youngserif/v2/3qTpojO2nS2VtkB3KtkQZ1tz3kYoaQ.woff2) format("woff2");
|
|
133
|
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
140
134
|
}
|
|
141
135
|
@font-face {
|
|
142
|
-
font-family: "
|
|
136
|
+
font-family: "Young Serif";
|
|
143
137
|
font-style: normal;
|
|
144
|
-
font-weight: 400
|
|
138
|
+
font-weight: 400;
|
|
145
139
|
font-display: swap;
|
|
146
|
-
src: url(https://fonts.gstatic.com/s/
|
|
140
|
+
src: url(https://fonts.gstatic.com/s/youngserif/v2/3qTpojO2nS2VtkB3KtkQZ1t93kY.woff2) format("woff2");
|
|
147
141
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
148
142
|
}
|
|
149
143
|
|
|
150
|
-
/* Font families — real Tailwind tokens (utilities `font-sans` / `font-mono` /
|
|
151
|
-
* `font-display`), defined directly by the DS. No brand-specific indirection. */
|
|
152
144
|
@theme {
|
|
153
145
|
--font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
154
146
|
--font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
|
|
155
|
-
--font-display: "
|
|
147
|
+
--font-display: "Young Serif", ui-serif, Georgia, serif;
|
|
156
148
|
}
|
|
157
149
|
|
|
158
150
|
@theme inline {
|
|
@@ -199,6 +191,26 @@
|
|
|
199
191
|
--color-ship: var(--ship);
|
|
200
192
|
--color-run: var(--run);
|
|
201
193
|
--color-flame: var(--flame);
|
|
194
|
+
--color-field: var(--field);
|
|
195
|
+
--color-signal: var(--signal);
|
|
196
|
+
--color-cloud: var(--cloud);
|
|
197
|
+
--color-cloud-field: var(--cloud-field);
|
|
198
|
+
--color-cloud-signal: var(--cloud-signal);
|
|
199
|
+
--color-cms: var(--cms);
|
|
200
|
+
--color-cms-field: var(--cms-field);
|
|
201
|
+
--color-cms-signal: var(--cms-signal);
|
|
202
|
+
--color-lite: var(--lite);
|
|
203
|
+
--color-lite-field: var(--lite-field);
|
|
204
|
+
--color-lite-signal: var(--lite-signal);
|
|
205
|
+
--color-browser: var(--browser);
|
|
206
|
+
--color-browser-field: var(--browser-field);
|
|
207
|
+
--color-browser-signal: var(--browser-signal);
|
|
208
|
+
--color-search: var(--search);
|
|
209
|
+
--color-search-field: var(--search-field);
|
|
210
|
+
--color-search-signal: var(--search-signal);
|
|
211
|
+
--color-ds: var(--ds);
|
|
212
|
+
--color-ds-field: var(--ds-field);
|
|
213
|
+
--color-ds-signal: var(--ds-signal);
|
|
202
214
|
/* Marketing surfaces — the two fixed dark values (see `--night` below) */
|
|
203
215
|
--color-night: var(--night);
|
|
204
216
|
--color-code-surface: var(--code-surface);
|
|
@@ -212,126 +224,357 @@
|
|
|
212
224
|
--radius-4xl: calc(var(--radius) * 3.5);
|
|
213
225
|
}
|
|
214
226
|
|
|
215
|
-
/* ───
|
|
227
|
+
/* ─── The universe, then a product ──────────────────────────────────────────
|
|
228
|
+
* Since 2026-10-19 the design system dresses *several products in one
|
|
229
|
+
* universe*. Everything shared lives on :root — a near-neutral ground with a
|
|
230
|
+
* hair of green, the type (Young Serif / Geist / JetBrains Mono), the 4 px
|
|
231
|
+
* radius, the status semantics — and each product brings one pair:
|
|
232
|
+
*
|
|
233
|
+
* --field its deep colour: the band a page opens on, a logo's ink
|
|
234
|
+
* --signal its bright one: what is alive, the action on a field
|
|
235
|
+
* --primary derived from both — the mid tone on light, the signal on dark
|
|
236
|
+
*
|
|
237
|
+
* Pick the product with `data-product="cloud|cms|lite|browser|search|ds"` on
|
|
238
|
+
* <html> or on any subtree (a marketing card can wear another product's
|
|
239
|
+
* colours inside a page). No attribute = Spunto Cloud. Every product's raw
|
|
240
|
+
* pair is also on :root (`--cms-field`, `--cms-signal`, `--cms`…, Tailwind
|
|
241
|
+
* `bg-cms-field`, `text-cms`…) so one page can show the whole family.
|
|
242
|
+
*
|
|
243
|
+
* Token *names* are shadcn's (https://ui.shadcn.com, MIT) plus ours; `--flame`
|
|
244
|
+
* is the legacy name of the brand colour and follows `--primary`. */
|
|
216
245
|
:root {
|
|
217
|
-
--
|
|
218
|
-
--
|
|
219
|
-
--
|
|
220
|
-
--
|
|
221
|
-
--
|
|
222
|
-
--
|
|
223
|
-
--
|
|
224
|
-
--
|
|
225
|
-
--
|
|
226
|
-
--
|
|
227
|
-
--
|
|
228
|
-
--
|
|
229
|
-
--
|
|
230
|
-
--
|
|
246
|
+
--cloud-field: oklch(0.29 0.055 162);
|
|
247
|
+
--cloud-signal: oklch(0.88 0.18 124);
|
|
248
|
+
--cloud: oklch(0.45 0.115 155);
|
|
249
|
+
--cms-field: oklch(0.28 0.07 335);
|
|
250
|
+
--cms-signal: oklch(0.85 0.10 350);
|
|
251
|
+
--cms: oklch(0.48 0.15 340);
|
|
252
|
+
--lite-field: oklch(0.27 0.06 255);
|
|
253
|
+
--lite-signal: oklch(0.85 0.10 228);
|
|
254
|
+
--lite: oklch(0.49 0.14 258);
|
|
255
|
+
--browser-field: oklch(0.27 0.07 292);
|
|
256
|
+
--browser-signal: oklch(0.87 0.14 86);
|
|
257
|
+
--browser: oklch(0.49 0.17 292);
|
|
258
|
+
--search-field: oklch(0.28 0.05 208);
|
|
259
|
+
--search-signal: oklch(0.87 0.10 192);
|
|
260
|
+
--search: oklch(0.49 0.09 212);
|
|
261
|
+
--ds-field: oklch(0.22 0.012 165);
|
|
262
|
+
--ds-signal: oklch(0.96 0.01 150);
|
|
263
|
+
--ds: oklch(0.30 0.02 165);
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
:root {
|
|
267
|
+
--background: oklch(0.985 0.003 160);
|
|
268
|
+
--foreground: oklch(0.21 0.015 165);
|
|
269
|
+
--card: oklch(0.998 0.002 160);
|
|
270
|
+
--card-foreground: oklch(0.21 0.015 165);
|
|
271
|
+
--popover: oklch(0.998 0.002 160);
|
|
272
|
+
--popover-foreground: oklch(0.21 0.015 165);
|
|
273
|
+
--secondary: oklch(0.945 0.006 160);
|
|
274
|
+
--secondary-foreground: oklch(0.30 0.02 165);
|
|
275
|
+
--muted: oklch(0.955 0.005 160);
|
|
276
|
+
--muted-foreground: oklch(0.48 0.015 165);
|
|
231
277
|
--destructive: oklch(0.577 0.245 27.325);
|
|
232
|
-
/* Status semantics —
|
|
233
|
-
|
|
234
|
-
--success
|
|
278
|
+
/* Status semantics — success is a lighter, yellower green than Cloud's
|
|
279
|
+
primary so a "running" badge never reads as a button */
|
|
280
|
+
--success: oklch(0.62 0.16 142);
|
|
281
|
+
--success-foreground: oklch(0.99 0.006 150);
|
|
235
282
|
--warning: oklch(0.74 0.16 68);
|
|
236
283
|
--warning-foreground: oklch(0.24 0.05 60);
|
|
237
|
-
--info: oklch(0.
|
|
238
|
-
--info-foreground: oklch(0.99 0.
|
|
239
|
-
--border: oklch(0.
|
|
240
|
-
--input: oklch(0.
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
--
|
|
244
|
-
--
|
|
245
|
-
--
|
|
246
|
-
--
|
|
247
|
-
--chart-
|
|
248
|
-
--chart-
|
|
249
|
-
--chart-
|
|
250
|
-
--
|
|
251
|
-
--chart-5: oklch(0.52 0.19 28);
|
|
252
|
-
--seg-workers: #eb6834;
|
|
284
|
+
--info: oklch(0.56 0.13 245);
|
|
285
|
+
--info-foreground: oklch(0.99 0.006 150);
|
|
286
|
+
--border: oklch(0.905 0.006 160);
|
|
287
|
+
--input: oklch(0.905 0.006 160);
|
|
288
|
+
/* Pillars — the dashboard's Build / Run semantics (sprout → bottle) */
|
|
289
|
+
--build: oklch(0.80 0.17 122);
|
|
290
|
+
--ship: oklch(0.62 0.15 148);
|
|
291
|
+
--run: oklch(0.45 0.115 155);
|
|
292
|
+
--chart-1: oklch(0.82 0.16 122);
|
|
293
|
+
--chart-2: oklch(0.70 0.16 140);
|
|
294
|
+
--chart-3: oklch(0.58 0.14 152);
|
|
295
|
+
--chart-4: oklch(0.48 0.11 165);
|
|
296
|
+
--chart-5: oklch(0.38 0.08 175);
|
|
297
|
+
--seg-workers: #2e8b57;
|
|
253
298
|
--seg-deployments: #256abf;
|
|
254
|
-
--seg-images: #
|
|
255
|
-
--seg-buildcache: #
|
|
299
|
+
--seg-images: #8a5cc4;
|
|
300
|
+
--seg-buildcache: #d99500;
|
|
256
301
|
--radius: 0.25rem;
|
|
257
|
-
--sidebar: oklch(0.
|
|
258
|
-
--sidebar-foreground: oklch(0.
|
|
259
|
-
--sidebar-
|
|
260
|
-
--
|
|
261
|
-
--
|
|
262
|
-
--
|
|
263
|
-
--
|
|
264
|
-
--
|
|
302
|
+
--sidebar: oklch(0.97 0.004 160);
|
|
303
|
+
--sidebar-foreground: oklch(0.21 0.015 165);
|
|
304
|
+
--sidebar-border: oklch(0.905 0.006 160);
|
|
305
|
+
--field: oklch(0.29 0.055 162);
|
|
306
|
+
--signal: oklch(0.88 0.18 124);
|
|
307
|
+
--primary: oklch(0.45 0.115 155);
|
|
308
|
+
--primary-foreground: oklch(0.99 0.006 150);
|
|
309
|
+
--ring: oklch(0.45 0.115 155);
|
|
310
|
+
--accent: oklch(0.945 0.03 150);
|
|
311
|
+
--accent-foreground: oklch(0.32 0.07 150);
|
|
312
|
+
--sidebar-primary: oklch(0.45 0.115 155);
|
|
313
|
+
--sidebar-primary-foreground: oklch(0.99 0.006 150);
|
|
314
|
+
--sidebar-accent: oklch(0.935 0.03 150);
|
|
315
|
+
--sidebar-accent-foreground: oklch(0.30 0.07 150);
|
|
316
|
+
--sidebar-ring: oklch(0.45 0.115 155);
|
|
317
|
+
--flame: oklch(0.45 0.115 155);
|
|
265
318
|
}
|
|
266
319
|
|
|
267
|
-
/* ─── Dark mode — Warm charcoal, golden undertone ───────────────────────── */
|
|
268
320
|
.dark {
|
|
269
|
-
--background: oklch(0.
|
|
270
|
-
--foreground: oklch(0.95 0.
|
|
271
|
-
--card: oklch(0.
|
|
272
|
-
--card-foreground: oklch(0.95 0.
|
|
273
|
-
--popover: oklch(0.
|
|
274
|
-
--popover-foreground: oklch(0.95 0.
|
|
275
|
-
--
|
|
276
|
-
--
|
|
277
|
-
--
|
|
278
|
-
--
|
|
279
|
-
--muted: oklch(0.23 0.014 52);
|
|
280
|
-
--muted-foreground: oklch(0.67 0.022 66);
|
|
281
|
-
--accent: oklch(0.28 0.018 54);
|
|
282
|
-
--accent-foreground: oklch(0.95 0.009 78);
|
|
321
|
+
--background: oklch(0.165 0.008 165);
|
|
322
|
+
--foreground: oklch(0.95 0.006 150);
|
|
323
|
+
--card: oklch(0.20 0.01 165);
|
|
324
|
+
--card-foreground: oklch(0.95 0.006 150);
|
|
325
|
+
--popover: oklch(0.20 0.01 165);
|
|
326
|
+
--popover-foreground: oklch(0.95 0.006 150);
|
|
327
|
+
--secondary: oklch(0.26 0.012 165);
|
|
328
|
+
--secondary-foreground: oklch(0.95 0.006 150);
|
|
329
|
+
--muted: oklch(0.23 0.01 165);
|
|
330
|
+
--muted-foreground: oklch(0.70 0.012 160);
|
|
283
331
|
--destructive: oklch(0.704 0.191 22.216);
|
|
284
|
-
|
|
285
|
-
--success: oklch(0.
|
|
286
|
-
--success-foreground: oklch(0.16 0.012 52);
|
|
332
|
+
--success: oklch(0.74 0.15 146);
|
|
333
|
+
--success-foreground: oklch(0.18 0.02 160);
|
|
287
334
|
--warning: oklch(0.80 0.155 72);
|
|
288
|
-
--warning-foreground: oklch(0.
|
|
289
|
-
--info: oklch(0.
|
|
290
|
-
--info-foreground: oklch(0.
|
|
291
|
-
--border: oklch(0.
|
|
292
|
-
--input: oklch(0.
|
|
293
|
-
--
|
|
294
|
-
--
|
|
295
|
-
--
|
|
296
|
-
--
|
|
297
|
-
--
|
|
298
|
-
--chart-
|
|
299
|
-
--chart-
|
|
300
|
-
--chart-
|
|
301
|
-
--
|
|
302
|
-
--chart-5: oklch(0.57 0.19 29);
|
|
303
|
-
--seg-workers: #d95926;
|
|
335
|
+
--warning-foreground: oklch(0.18 0.02 160);
|
|
336
|
+
--info: oklch(0.70 0.12 240);
|
|
337
|
+
--info-foreground: oklch(0.18 0.02 160);
|
|
338
|
+
--border: oklch(0.93 0.01 150 / 11%);
|
|
339
|
+
--input: oklch(0.93 0.01 150 / 14%);
|
|
340
|
+
--build: oklch(0.86 0.17 124);
|
|
341
|
+
--ship: oklch(0.74 0.15 148);
|
|
342
|
+
--run: oklch(0.66 0.13 160);
|
|
343
|
+
--chart-1: oklch(0.86 0.16 122);
|
|
344
|
+
--chart-2: oklch(0.76 0.15 140);
|
|
345
|
+
--chart-3: oklch(0.67 0.13 152);
|
|
346
|
+
--chart-4: oklch(0.58 0.11 165);
|
|
347
|
+
--chart-5: oklch(0.50 0.09 175);
|
|
348
|
+
--seg-workers: #3fae73;
|
|
304
349
|
--seg-deployments: #3987e5;
|
|
305
|
-
--seg-images: #
|
|
350
|
+
--seg-images: #a47fe0;
|
|
306
351
|
--seg-buildcache: #c98500;
|
|
307
|
-
--sidebar: oklch(0.
|
|
308
|
-
--sidebar-foreground: oklch(0.95 0.
|
|
309
|
-
--sidebar-
|
|
310
|
-
--
|
|
311
|
-
--
|
|
312
|
-
--
|
|
313
|
-
--
|
|
314
|
-
--
|
|
352
|
+
--sidebar: oklch(0.185 0.009 165);
|
|
353
|
+
--sidebar-foreground: oklch(0.95 0.006 150);
|
|
354
|
+
--sidebar-border: oklch(0.93 0.01 150 / 11%);
|
|
355
|
+
--field: oklch(0.29 0.055 162);
|
|
356
|
+
--signal: oklch(0.88 0.18 124);
|
|
357
|
+
--primary: oklch(0.88 0.18 124);
|
|
358
|
+
--primary-foreground: oklch(0.29 0.055 162);
|
|
359
|
+
--ring: oklch(0.88 0.18 124);
|
|
360
|
+
--accent: oklch(0.28 0.035 150);
|
|
361
|
+
--accent-foreground: oklch(0.95 0.01 150);
|
|
362
|
+
--sidebar-primary: oklch(0.88 0.18 124);
|
|
363
|
+
--sidebar-primary-foreground: oklch(0.29 0.055 162);
|
|
364
|
+
--sidebar-accent: oklch(0.26 0.03 150);
|
|
365
|
+
--sidebar-accent-foreground: oklch(0.95 0.01 150);
|
|
366
|
+
--sidebar-ring: oklch(0.88 0.18 124);
|
|
367
|
+
--flame: oklch(0.88 0.18 124);
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
/* ─── The products ───────────────────────────────────────────────────────── */
|
|
371
|
+
/* Spunto Cloud — conservatory green / sprout */
|
|
372
|
+
[data-product="cloud"] {
|
|
373
|
+
--field: oklch(0.29 0.055 162);
|
|
374
|
+
--signal: oklch(0.88 0.18 124);
|
|
375
|
+
--primary: oklch(0.45 0.115 155);
|
|
376
|
+
--primary-foreground: oklch(0.99 0.006 150);
|
|
377
|
+
--ring: oklch(0.45 0.115 155);
|
|
378
|
+
--accent: oklch(0.945 0.03 150);
|
|
379
|
+
--accent-foreground: oklch(0.32 0.07 150);
|
|
380
|
+
--sidebar-primary: oklch(0.45 0.115 155);
|
|
381
|
+
--sidebar-primary-foreground: oklch(0.99 0.006 150);
|
|
382
|
+
--sidebar-accent: oklch(0.935 0.03 150);
|
|
383
|
+
--sidebar-accent-foreground: oklch(0.30 0.07 150);
|
|
384
|
+
--sidebar-ring: oklch(0.45 0.115 155);
|
|
385
|
+
--flame: oklch(0.45 0.115 155);
|
|
386
|
+
}
|
|
387
|
+
.dark [data-product="cloud"],
|
|
388
|
+
.dark[data-product="cloud"] {
|
|
389
|
+
--field: oklch(0.29 0.055 162);
|
|
390
|
+
--signal: oklch(0.88 0.18 124);
|
|
391
|
+
--primary: oklch(0.88 0.18 124);
|
|
392
|
+
--primary-foreground: oklch(0.29 0.055 162);
|
|
393
|
+
--ring: oklch(0.88 0.18 124);
|
|
394
|
+
--accent: oklch(0.28 0.035 150);
|
|
395
|
+
--accent-foreground: oklch(0.95 0.01 150);
|
|
396
|
+
--sidebar-primary: oklch(0.88 0.18 124);
|
|
397
|
+
--sidebar-primary-foreground: oklch(0.29 0.055 162);
|
|
398
|
+
--sidebar-accent: oklch(0.26 0.03 150);
|
|
399
|
+
--sidebar-accent-foreground: oklch(0.95 0.01 150);
|
|
400
|
+
--sidebar-ring: oklch(0.88 0.18 124);
|
|
401
|
+
--flame: oklch(0.88 0.18 124);
|
|
402
|
+
}
|
|
403
|
+
/* Spunto CMS — plum / petal */
|
|
404
|
+
[data-product="cms"] {
|
|
405
|
+
--field: oklch(0.28 0.07 335);
|
|
406
|
+
--signal: oklch(0.85 0.10 350);
|
|
407
|
+
--primary: oklch(0.48 0.15 340);
|
|
408
|
+
--primary-foreground: oklch(0.99 0.006 340);
|
|
409
|
+
--ring: oklch(0.48 0.15 340);
|
|
410
|
+
--accent: oklch(0.945 0.03 340);
|
|
411
|
+
--accent-foreground: oklch(0.32 0.07 340);
|
|
412
|
+
--sidebar-primary: oklch(0.48 0.15 340);
|
|
413
|
+
--sidebar-primary-foreground: oklch(0.99 0.006 340);
|
|
414
|
+
--sidebar-accent: oklch(0.935 0.03 340);
|
|
415
|
+
--sidebar-accent-foreground: oklch(0.30 0.07 340);
|
|
416
|
+
--sidebar-ring: oklch(0.48 0.15 340);
|
|
417
|
+
--flame: oklch(0.48 0.15 340);
|
|
418
|
+
}
|
|
419
|
+
.dark [data-product="cms"],
|
|
420
|
+
.dark[data-product="cms"] {
|
|
421
|
+
--field: oklch(0.28 0.07 335);
|
|
422
|
+
--signal: oklch(0.85 0.10 350);
|
|
423
|
+
--primary: oklch(0.85 0.10 350);
|
|
424
|
+
--primary-foreground: oklch(0.28 0.07 335);
|
|
425
|
+
--ring: oklch(0.85 0.10 350);
|
|
426
|
+
--accent: oklch(0.28 0.035 340);
|
|
427
|
+
--accent-foreground: oklch(0.95 0.01 340);
|
|
428
|
+
--sidebar-primary: oklch(0.85 0.10 350);
|
|
429
|
+
--sidebar-primary-foreground: oklch(0.28 0.07 335);
|
|
430
|
+
--sidebar-accent: oklch(0.26 0.03 340);
|
|
431
|
+
--sidebar-accent-foreground: oklch(0.95 0.01 340);
|
|
432
|
+
--sidebar-ring: oklch(0.85 0.10 350);
|
|
433
|
+
--flame: oklch(0.85 0.10 350);
|
|
434
|
+
}
|
|
435
|
+
/* Spunto Lite — ink blue / sky */
|
|
436
|
+
[data-product="lite"] {
|
|
437
|
+
--field: oklch(0.27 0.06 255);
|
|
438
|
+
--signal: oklch(0.85 0.10 228);
|
|
439
|
+
--primary: oklch(0.49 0.14 258);
|
|
440
|
+
--primary-foreground: oklch(0.99 0.006 255);
|
|
441
|
+
--ring: oklch(0.49 0.14 258);
|
|
442
|
+
--accent: oklch(0.945 0.03 255);
|
|
443
|
+
--accent-foreground: oklch(0.32 0.07 255);
|
|
444
|
+
--sidebar-primary: oklch(0.49 0.14 258);
|
|
445
|
+
--sidebar-primary-foreground: oklch(0.99 0.006 255);
|
|
446
|
+
--sidebar-accent: oklch(0.935 0.03 255);
|
|
447
|
+
--sidebar-accent-foreground: oklch(0.30 0.07 255);
|
|
448
|
+
--sidebar-ring: oklch(0.49 0.14 258);
|
|
449
|
+
--flame: oklch(0.49 0.14 258);
|
|
450
|
+
}
|
|
451
|
+
.dark [data-product="lite"],
|
|
452
|
+
.dark[data-product="lite"] {
|
|
453
|
+
--field: oklch(0.27 0.06 255);
|
|
454
|
+
--signal: oklch(0.85 0.10 228);
|
|
455
|
+
--primary: oklch(0.85 0.10 228);
|
|
456
|
+
--primary-foreground: oklch(0.27 0.06 255);
|
|
457
|
+
--ring: oklch(0.85 0.10 228);
|
|
458
|
+
--accent: oklch(0.28 0.035 255);
|
|
459
|
+
--accent-foreground: oklch(0.95 0.01 255);
|
|
460
|
+
--sidebar-primary: oklch(0.85 0.10 228);
|
|
461
|
+
--sidebar-primary-foreground: oklch(0.27 0.06 255);
|
|
462
|
+
--sidebar-accent: oklch(0.26 0.03 255);
|
|
463
|
+
--sidebar-accent-foreground: oklch(0.95 0.01 255);
|
|
464
|
+
--sidebar-ring: oklch(0.85 0.10 228);
|
|
465
|
+
--flame: oklch(0.85 0.10 228);
|
|
466
|
+
}
|
|
467
|
+
/* Spunto Browser — dusk violet / amber */
|
|
468
|
+
[data-product="browser"] {
|
|
469
|
+
--field: oklch(0.27 0.07 292);
|
|
470
|
+
--signal: oklch(0.87 0.14 86);
|
|
471
|
+
--primary: oklch(0.49 0.17 292);
|
|
472
|
+
--primary-foreground: oklch(0.99 0.006 292);
|
|
473
|
+
--ring: oklch(0.49 0.17 292);
|
|
474
|
+
--accent: oklch(0.945 0.03 292);
|
|
475
|
+
--accent-foreground: oklch(0.32 0.07 292);
|
|
476
|
+
--sidebar-primary: oklch(0.49 0.17 292);
|
|
477
|
+
--sidebar-primary-foreground: oklch(0.99 0.006 292);
|
|
478
|
+
--sidebar-accent: oklch(0.935 0.03 292);
|
|
479
|
+
--sidebar-accent-foreground: oklch(0.30 0.07 292);
|
|
480
|
+
--sidebar-ring: oklch(0.49 0.17 292);
|
|
481
|
+
--flame: oklch(0.49 0.17 292);
|
|
482
|
+
}
|
|
483
|
+
.dark [data-product="browser"],
|
|
484
|
+
.dark[data-product="browser"] {
|
|
485
|
+
--field: oklch(0.27 0.07 292);
|
|
486
|
+
--signal: oklch(0.87 0.14 86);
|
|
487
|
+
--primary: oklch(0.87 0.14 86);
|
|
488
|
+
--primary-foreground: oklch(0.27 0.07 292);
|
|
489
|
+
--ring: oklch(0.87 0.14 86);
|
|
490
|
+
--accent: oklch(0.28 0.035 292);
|
|
491
|
+
--accent-foreground: oklch(0.95 0.01 292);
|
|
492
|
+
--sidebar-primary: oklch(0.87 0.14 86);
|
|
493
|
+
--sidebar-primary-foreground: oklch(0.27 0.07 292);
|
|
494
|
+
--sidebar-accent: oklch(0.26 0.03 292);
|
|
495
|
+
--sidebar-accent-foreground: oklch(0.95 0.01 292);
|
|
496
|
+
--sidebar-ring: oklch(0.87 0.14 86);
|
|
497
|
+
--flame: oklch(0.87 0.14 86);
|
|
498
|
+
}
|
|
499
|
+
/* Spunto Search — deep teal / aqua */
|
|
500
|
+
[data-product="search"] {
|
|
501
|
+
--field: oklch(0.28 0.05 208);
|
|
502
|
+
--signal: oklch(0.87 0.10 192);
|
|
503
|
+
--primary: oklch(0.49 0.09 212);
|
|
504
|
+
--primary-foreground: oklch(0.99 0.006 210);
|
|
505
|
+
--ring: oklch(0.49 0.09 212);
|
|
506
|
+
--accent: oklch(0.945 0.03 210);
|
|
507
|
+
--accent-foreground: oklch(0.32 0.07 210);
|
|
508
|
+
--sidebar-primary: oklch(0.49 0.09 212);
|
|
509
|
+
--sidebar-primary-foreground: oklch(0.99 0.006 210);
|
|
510
|
+
--sidebar-accent: oklch(0.935 0.03 210);
|
|
511
|
+
--sidebar-accent-foreground: oklch(0.30 0.07 210);
|
|
512
|
+
--sidebar-ring: oklch(0.49 0.09 212);
|
|
513
|
+
--flame: oklch(0.49 0.09 212);
|
|
514
|
+
}
|
|
515
|
+
.dark [data-product="search"],
|
|
516
|
+
.dark[data-product="search"] {
|
|
517
|
+
--field: oklch(0.28 0.05 208);
|
|
518
|
+
--signal: oklch(0.87 0.10 192);
|
|
519
|
+
--primary: oklch(0.87 0.10 192);
|
|
520
|
+
--primary-foreground: oklch(0.28 0.05 208);
|
|
521
|
+
--ring: oklch(0.87 0.10 192);
|
|
522
|
+
--accent: oklch(0.28 0.035 210);
|
|
523
|
+
--accent-foreground: oklch(0.95 0.01 210);
|
|
524
|
+
--sidebar-primary: oklch(0.87 0.10 192);
|
|
525
|
+
--sidebar-primary-foreground: oklch(0.28 0.05 208);
|
|
526
|
+
--sidebar-accent: oklch(0.26 0.03 210);
|
|
527
|
+
--sidebar-accent-foreground: oklch(0.95 0.01 210);
|
|
528
|
+
--sidebar-ring: oklch(0.87 0.10 192);
|
|
529
|
+
--flame: oklch(0.87 0.10 192);
|
|
530
|
+
}
|
|
531
|
+
/* @spunto/design-system — graphite / paper */
|
|
532
|
+
[data-product="ds"] {
|
|
533
|
+
--field: oklch(0.22 0.012 165);
|
|
534
|
+
--signal: oklch(0.96 0.01 150);
|
|
535
|
+
--primary: oklch(0.30 0.02 165);
|
|
536
|
+
--primary-foreground: oklch(0.99 0.006 165);
|
|
537
|
+
--ring: oklch(0.30 0.02 165);
|
|
538
|
+
--accent: oklch(0.945 0.03 165);
|
|
539
|
+
--accent-foreground: oklch(0.32 0.07 165);
|
|
540
|
+
--sidebar-primary: oklch(0.30 0.02 165);
|
|
541
|
+
--sidebar-primary-foreground: oklch(0.99 0.006 165);
|
|
542
|
+
--sidebar-accent: oklch(0.935 0.03 165);
|
|
543
|
+
--sidebar-accent-foreground: oklch(0.30 0.07 165);
|
|
544
|
+
--sidebar-ring: oklch(0.30 0.02 165);
|
|
545
|
+
--flame: oklch(0.30 0.02 165);
|
|
546
|
+
}
|
|
547
|
+
.dark [data-product="ds"],
|
|
548
|
+
.dark[data-product="ds"] {
|
|
549
|
+
--field: oklch(0.22 0.012 165);
|
|
550
|
+
--signal: oklch(0.96 0.01 150);
|
|
551
|
+
--primary: oklch(0.96 0.01 150);
|
|
552
|
+
--primary-foreground: oklch(0.22 0.012 165);
|
|
553
|
+
--ring: oklch(0.96 0.01 150);
|
|
554
|
+
--accent: oklch(0.28 0.035 165);
|
|
555
|
+
--accent-foreground: oklch(0.95 0.01 165);
|
|
556
|
+
--sidebar-primary: oklch(0.96 0.01 150);
|
|
557
|
+
--sidebar-primary-foreground: oklch(0.22 0.012 165);
|
|
558
|
+
--sidebar-accent: oklch(0.26 0.03 165);
|
|
559
|
+
--sidebar-accent-foreground: oklch(0.95 0.01 165);
|
|
560
|
+
--sidebar-ring: oklch(0.96 0.01 150);
|
|
561
|
+
--flame: oklch(0.96 0.01 150);
|
|
315
562
|
}
|
|
316
563
|
|
|
317
564
|
/* ─── Marketing night surfaces — deliberately NOT themed ─────────────────────
|
|
318
565
|
*
|
|
319
|
-
*
|
|
320
|
-
*
|
|
321
|
-
*
|
|
322
|
-
* --
|
|
323
|
-
*
|
|
324
|
-
|
|
325
|
-
* --code-surface the warm dark behind a snippet or a copyable command
|
|
326
|
-
* (`CodeBlock`, `CopyCommand`) — the same one every
|
|
327
|
-
* terminal-ish panel of the site uses.
|
|
328
|
-
*
|
|
329
|
-
* They live here, as tokens (`bg-night`, `bg-code-surface`), precisely because
|
|
330
|
-
* they used to be two near-identical `oklch(…)` literals copy-pasted into two
|
|
331
|
-
* component files — which is how a design system ends up with two blacks. */
|
|
566
|
+
* --night the band a marketing page opens on (`NightBand`): the
|
|
567
|
+
* product's field, so each product page opens in its own
|
|
568
|
+
* colour. Set per product above through `--field`.
|
|
569
|
+
* --code-surface the near-black behind a snippet or a copyable command
|
|
570
|
+
* (`CodeBlock`, `CopyCommand`), shared by every product.
|
|
571
|
+
*/
|
|
332
572
|
:root {
|
|
333
|
-
--
|
|
334
|
-
|
|
573
|
+
--code-surface: oklch(0.19 0.012 165);
|
|
574
|
+
}
|
|
575
|
+
:root,
|
|
576
|
+
[data-product] {
|
|
577
|
+
--night: var(--field);
|
|
335
578
|
}
|
|
336
579
|
|
|
337
580
|
/* ─── Base layer ─────────────────────────────────────────────────────────── */
|
|
@@ -340,6 +583,12 @@
|
|
|
340
583
|
border-color: var(--border);
|
|
341
584
|
outline-color: color-mix(in oklch, var(--ring) 50%, transparent);
|
|
342
585
|
}
|
|
586
|
+
/* Young Serif has one weight: a `font-bold` next to `font-display` must not
|
|
587
|
+
smear into a synthesized bold. */
|
|
588
|
+
.font-display {
|
|
589
|
+
font-synthesis: none;
|
|
590
|
+
font-weight: 400;
|
|
591
|
+
}
|
|
343
592
|
body {
|
|
344
593
|
background-color: var(--background);
|
|
345
594
|
color: var(--foreground);
|
|
@@ -398,24 +647,24 @@
|
|
|
398
647
|
border-radius: 9999px;
|
|
399
648
|
}
|
|
400
649
|
|
|
401
|
-
/* ───
|
|
650
|
+
/* ─── Background utilities ──────────────────────────────────────────── */
|
|
402
651
|
.dot-grid {
|
|
403
|
-
background-image: radial-gradient(circle, oklch(0.
|
|
652
|
+
background-image: radial-gradient(circle, oklch(0.40 0.04 160 / 0.08) 1px, transparent 1px);
|
|
404
653
|
background-size: 32px 32px;
|
|
405
654
|
}
|
|
406
655
|
.dark .dot-grid {
|
|
407
|
-
background-image: radial-gradient(circle, oklch(0.92 0.04
|
|
656
|
+
background-image: radial-gradient(circle, oklch(0.92 0.04 140 / 0.045) 1px, transparent 1px);
|
|
408
657
|
}
|
|
409
658
|
.grid-lines {
|
|
410
659
|
background-image:
|
|
411
|
-
linear-gradient(to right, oklch(0.
|
|
412
|
-
linear-gradient(to bottom, oklch(0.
|
|
660
|
+
linear-gradient(to right, oklch(0.40 0.04 160 / 0.055) 1px, transparent 1px),
|
|
661
|
+
linear-gradient(to bottom, oklch(0.40 0.04 160 / 0.055) 1px, transparent 1px);
|
|
413
662
|
background-size: 56px 56px;
|
|
414
663
|
}
|
|
415
664
|
.dark .grid-lines {
|
|
416
665
|
background-image:
|
|
417
|
-
linear-gradient(to right, oklch(0.92 0.04
|
|
418
|
-
linear-gradient(to bottom, oklch(0.92 0.04
|
|
666
|
+
linear-gradient(to right, oklch(0.92 0.04 140 / 0.04) 1px, transparent 1px),
|
|
667
|
+
linear-gradient(to bottom, oklch(0.92 0.04 140 / 0.04) 1px, transparent 1px);
|
|
419
668
|
}
|
|
420
669
|
|
|
421
670
|
/* ─── Night band utilities (@spunto/design-system/marketing) ─────────────────
|