@spunto/design-system 0.67.0 → 0.69.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/styles.css CHANGED
@@ -240,8 +240,10 @@
240
240
  *
241
241
  * Pick the product with `data-product="cloud|cms|lite|browser|search|foyer|ds"` on
242
242
  * <html> or on any subtree (a marketing card can wear another product's
243
- * colours inside a page). No attribute = Spunto Cloud — dusk violet and amber
244
- * since 2026-10-26 (Browser's pair, Browser being on its way out); its former green is kept as `data-product="sprout"`, a
243
+ * colours inside a page). No attribute = Spunto Cloud — graphite and amber since
244
+ * 2026-10-31 (the `graphite-amber` palette, with a deep amber primary on light);
245
+ * dusk violet and amber from 2026-10-26 (Browser's pair, which Browser keeps),
246
+ * and before that a conservatory green kept as `data-product="sprout"`, a
245
247
  * palette with no product behind it (the dashboard lets a member pick it). Every product's raw
246
248
  * pair is also on :root (`--cms-field`, `--cms-signal`, `--cms`…, Tailwind
247
249
  * `bg-cms-field`, `text-cms`…) so one page can show the whole family.
@@ -249,9 +251,9 @@
249
251
  * Token *names* are shadcn's (https://ui.shadcn.com, MIT) plus ours; `--flame`
250
252
  * is the legacy name of the brand colour and follows `--primary`. */
251
253
  :root {
252
- --cloud-field: oklch(0.27 0.07 292);
254
+ --cloud-field: oklch(0.22 0.012 165);
253
255
  --cloud-signal: oklch(0.87 0.14 86);
254
- --cloud: oklch(0.49 0.17 292);
256
+ --cloud: oklch(0.56 0.12 72);
255
257
  --cms-field: oklch(0.28 0.07 335);
256
258
  --cms-signal: oklch(0.85 0.10 350);
257
259
  --cms: oklch(0.48 0.15 340);
@@ -302,20 +304,20 @@
302
304
  --sidebar: oklch(0.97 0.004 160);
303
305
  --sidebar-foreground: oklch(0.21 0.015 165);
304
306
  --sidebar-border: oklch(0.905 0.006 160);
305
- --field: oklch(0.27 0.07 292);
307
+ --field: oklch(0.22 0.012 165);
306
308
  --signal: oklch(0.87 0.14 86);
307
- --tone: oklch(0.49 0.17 292);
308
- --primary: oklch(0.49 0.17 292);
309
- --primary-foreground: oklch(0.99 0.006 292);
310
- --ring: oklch(0.49 0.17 292);
311
- --accent: oklch(0.945 0.03 292);
312
- --accent-foreground: oklch(0.32 0.07 292);
313
- --sidebar-primary: oklch(0.49 0.17 292);
314
- --sidebar-primary-foreground: oklch(0.99 0.006 292);
315
- --sidebar-accent: oklch(0.935 0.03 292);
316
- --sidebar-accent-foreground: oklch(0.30 0.07 292);
317
- --sidebar-ring: oklch(0.49 0.17 292);
318
- --flame: oklch(0.49 0.17 292);
309
+ --tone: oklch(0.42 0.02 165);
310
+ --primary: oklch(0.56 0.12 72);
311
+ --primary-foreground: oklch(0.99 0.004 86);
312
+ --ring: oklch(0.56 0.12 72);
313
+ --accent: oklch(0.95 0.035 86);
314
+ --accent-foreground: oklch(0.38 0.08 72);
315
+ --sidebar-primary: oklch(0.56 0.12 72);
316
+ --sidebar-primary-foreground: oklch(0.99 0.004 86);
317
+ --sidebar-accent: oklch(0.935 0.035 86);
318
+ --sidebar-accent-foreground: oklch(0.36 0.08 72);
319
+ --sidebar-ring: oklch(0.56 0.12 72);
320
+ --flame: oklch(0.56 0.12 72);
319
321
  }
320
322
 
321
323
  .dark {
@@ -345,55 +347,57 @@
345
347
  --sidebar: oklch(0.185 0.009 165);
346
348
  --sidebar-foreground: oklch(0.95 0.006 150);
347
349
  --sidebar-border: oklch(0.93 0.01 150 / 11%);
348
- --field: oklch(0.27 0.07 292);
350
+ --field: oklch(0.22 0.012 165);
349
351
  --signal: oklch(0.87 0.14 86);
350
- --tone: oklch(0.49 0.17 292);
352
+ --tone: oklch(0.42 0.02 165);
351
353
  --primary: oklch(0.87 0.14 86);
352
- --primary-foreground: oklch(0.27 0.07 292);
354
+ --primary-foreground: oklch(0.22 0.012 165);
353
355
  --ring: oklch(0.87 0.14 86);
354
- --accent: oklch(0.28 0.035 292);
355
- --accent-foreground: oklch(0.95 0.01 292);
356
+ --accent: oklch(0.28 0.012 165);
357
+ --accent-foreground: oklch(0.95 0.01 165);
356
358
  --sidebar-primary: oklch(0.87 0.14 86);
357
- --sidebar-primary-foreground: oklch(0.27 0.07 292);
358
- --sidebar-accent: oklch(0.26 0.03 292);
359
- --sidebar-accent-foreground: oklch(0.95 0.01 292);
359
+ --sidebar-primary-foreground: oklch(0.22 0.012 165);
360
+ --sidebar-accent: oklch(0.26 0.012 165);
361
+ --sidebar-accent-foreground: oklch(0.95 0.01 165);
360
362
  --sidebar-ring: oklch(0.87 0.14 86);
361
363
  --flame: oklch(0.87 0.14 86);
362
364
  }
363
365
 
364
366
  /* ─── The products ───────────────────────────────────────────────────────── */
365
- /* Spunto Cloud — dusk violet / amber (Browser's pair, taken over 2026-10-26;
366
- conservatory green until then: `sprout`) */
367
+ /* Spunto Cloud — graphite / amber since 2026-10-31 (the `graphite-amber` palette;
368
+ on light the primary is a deep amber, oklch(0.56 0.12 72), white text 4.8:1,
369
+ rather than the palette's graphite tone); dusk violet / amber from 2026-10-26
370
+ (still Browser's), conservatory green before that (`sprout`) */
367
371
  [data-product="cloud"] {
368
- --field: oklch(0.27 0.07 292);
372
+ --field: oklch(0.22 0.012 165);
369
373
  --signal: oklch(0.87 0.14 86);
370
- --tone: oklch(0.49 0.17 292);
371
- --primary: oklch(0.49 0.17 292);
372
- --primary-foreground: oklch(0.99 0.006 292);
373
- --ring: oklch(0.49 0.17 292);
374
- --accent: oklch(0.945 0.03 292);
375
- --accent-foreground: oklch(0.32 0.07 292);
376
- --sidebar-primary: oklch(0.49 0.17 292);
377
- --sidebar-primary-foreground: oklch(0.99 0.006 292);
378
- --sidebar-accent: oklch(0.935 0.03 292);
379
- --sidebar-accent-foreground: oklch(0.30 0.07 292);
380
- --sidebar-ring: oklch(0.49 0.17 292);
381
- --flame: oklch(0.49 0.17 292);
374
+ --tone: oklch(0.42 0.02 165);
375
+ --primary: oklch(0.56 0.12 72);
376
+ --primary-foreground: oklch(0.99 0.004 86);
377
+ --ring: oklch(0.56 0.12 72);
378
+ --accent: oklch(0.95 0.035 86);
379
+ --accent-foreground: oklch(0.38 0.08 72);
380
+ --sidebar-primary: oklch(0.56 0.12 72);
381
+ --sidebar-primary-foreground: oklch(0.99 0.004 86);
382
+ --sidebar-accent: oklch(0.935 0.035 86);
383
+ --sidebar-accent-foreground: oklch(0.36 0.08 72);
384
+ --sidebar-ring: oklch(0.56 0.12 72);
385
+ --flame: oklch(0.56 0.12 72);
382
386
  }
383
387
  .dark [data-product="cloud"],
384
388
  .dark[data-product="cloud"] {
385
- --field: oklch(0.27 0.07 292);
389
+ --field: oklch(0.22 0.012 165);
386
390
  --signal: oklch(0.87 0.14 86);
387
- --tone: oklch(0.49 0.17 292);
391
+ --tone: oklch(0.42 0.02 165);
388
392
  --primary: oklch(0.87 0.14 86);
389
- --primary-foreground: oklch(0.27 0.07 292);
393
+ --primary-foreground: oklch(0.22 0.012 165);
390
394
  --ring: oklch(0.87 0.14 86);
391
- --accent: oklch(0.28 0.035 292);
392
- --accent-foreground: oklch(0.95 0.01 292);
395
+ --accent: oklch(0.28 0.012 165);
396
+ --accent-foreground: oklch(0.95 0.01 165);
393
397
  --sidebar-primary: oklch(0.87 0.14 86);
394
- --sidebar-primary-foreground: oklch(0.27 0.07 292);
395
- --sidebar-accent: oklch(0.26 0.03 292);
396
- --sidebar-accent-foreground: oklch(0.95 0.01 292);
398
+ --sidebar-primary-foreground: oklch(0.22 0.012 165);
399
+ --sidebar-accent: oklch(0.26 0.012 165);
400
+ --sidebar-accent-foreground: oklch(0.95 0.01 165);
397
401
  --sidebar-ring: oklch(0.87 0.14 86);
398
402
  --flame: oklch(0.87 0.14 86);
399
403
  }
@@ -500,8 +504,9 @@
500
504
  --sidebar-ring: oklch(0.85 0.10 228);
501
505
  --flame: oklch(0.85 0.10 228);
502
506
  }
503
- /* Spunto Browser — dusk violet / amber, same pair as Cloud since 2026-10-26
504
- (Browser is being deprecated) */
507
+ /* Spunto Browser — dusk violet / amber (Cloud's pair from 2026-10-26 to
508
+ 2026-10-31; Browser is being deprecated, and the dashboard's « Violet » wears
509
+ this block) */
505
510
  [data-product="browser"] {
506
511
  --field: oklch(0.27 0.07 292);
507
512
  --signal: oklch(0.87 0.14 86);