@spunto/design-system 0.75.0 → 0.77.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spunto/design-system",
3
- "version": "0.75.0",
3
+ "version": "0.77.0",
4
4
  "description": "Spunto's shared design system — green tokens (conservatory + sprout), color constants, and UI primitives.",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/brand/logo.ts CHANGED
@@ -189,6 +189,10 @@ export const SPUNTO_LOGO_TONES = {
189
189
  search: { tile: "#7ee9e5", ink: "#002f36" },
190
190
  /** Foyer — honey on ember. */
191
191
  foyer: { tile: "#ffcf53", ink: "#44150d" },
192
+ /** Spunto Desktop — orchid on dusk (the brand kit's \`desktop\` paint, \`dusk-orchid\`, since 2026-11-09). */
193
+ desktop: { tile: "#d9cbff", ink: "#242047" },
194
+ /** Spunto CI — lime on moss (the brand kit's \`ci\` paint, \`moss-lime\`, since 2026-11-09). */
195
+ ci: { tile: "#b9e498", ink: "#232b00" },
192
196
  /** Cloud's field, the three pillars lit (night register). */
193
197
  pillars: {
194
198
  tile: "#161c19",
package/styles.css CHANGED
@@ -193,6 +193,7 @@
193
193
  --color-flame: var(--flame);
194
194
  --color-field: var(--field);
195
195
  --color-signal: var(--signal);
196
+ /* @brand-kit:begin theme — generated from packages/brand-kit/src/paints.ts (npm run paint), don't edit */
196
197
  --color-cloud: var(--cloud);
197
198
  --color-cloud-field: var(--cloud-field);
198
199
  --color-cloud-signal: var(--cloud-signal);
@@ -205,6 +206,12 @@
205
206
  --color-browser: var(--browser);
206
207
  --color-browser-field: var(--browser-field);
207
208
  --color-browser-signal: var(--browser-signal);
209
+ --color-desktop: var(--desktop);
210
+ --color-desktop-field: var(--desktop-field);
211
+ --color-desktop-signal: var(--desktop-signal);
212
+ --color-ci: var(--ci);
213
+ --color-ci-field: var(--ci-field);
214
+ --color-ci-signal: var(--ci-signal);
208
215
  --color-search: var(--search);
209
216
  --color-search-field: var(--search-field);
210
217
  --color-search-signal: var(--search-signal);
@@ -214,6 +221,7 @@
214
221
  --color-ds: var(--ds);
215
222
  --color-ds-field: var(--ds-field);
216
223
  --color-ds-signal: var(--ds-signal);
224
+ /* @brand-kit:end theme */
217
225
  /* Marketing surfaces — the two fixed dark values (see `--night` below) */
218
226
  --color-night: var(--night);
219
227
  --color-code-surface: var(--code-surface);
@@ -251,6 +259,7 @@
251
259
  * Token *names* are shadcn's (https://ui.shadcn.com, MIT) plus ours; `--flame`
252
260
  * is the legacy name of the brand colour and follows `--primary`. */
253
261
  :root {
262
+ /* @brand-kit:begin shelf — generated from packages/brand-kit/src/paints.ts (npm run paint), don't edit */
254
263
  --cloud-field: oklch(0.22 0.012 165);
255
264
  --cloud-signal: oklch(0.87 0.14 86);
256
265
  --cloud: oklch(0.56 0.12 72);
@@ -263,6 +272,12 @@
263
272
  --browser-field: oklch(0.27 0.07 292);
264
273
  --browser-signal: oklch(0.87 0.14 86);
265
274
  --browser: oklch(0.49 0.17 292);
275
+ --desktop-field: oklch(0.27 0.07 285);
276
+ --desktop-signal: oklch(0.87 0.072 297);
277
+ --desktop: oklch(0.49 0.16 285);
278
+ --ci-field: oklch(0.27 0.064 120);
279
+ --ci-signal: oklch(0.87 0.11 132);
280
+ --ci: oklch(0.49 0.116 120);
266
281
  --search-field: oklch(0.28 0.05 208);
267
282
  --search-signal: oklch(0.87 0.10 192);
268
283
  --search: oklch(0.49 0.09 212);
@@ -272,6 +287,7 @@
272
287
  --ds-field: oklch(0.22 0.012 165);
273
288
  --ds-signal: oklch(0.96 0.01 150);
274
289
  --ds: oklch(0.30 0.02 165);
290
+ /* @brand-kit:end shelf */
275
291
  }
276
292
 
277
293
  :root {
@@ -304,6 +320,7 @@
304
320
  --sidebar: oklch(0.97 0.004 160);
305
321
  --sidebar-foreground: oklch(0.21 0.015 165);
306
322
  --sidebar-border: oklch(0.905 0.006 160);
323
+ /* @brand-kit:begin default-light — generated from packages/brand-kit/src/paints.ts (npm run paint), don't edit */
307
324
  --field: oklch(0.22 0.012 165);
308
325
  --signal: oklch(0.87 0.14 86);
309
326
  --tone: oklch(0.42 0.02 165);
@@ -318,6 +335,7 @@
318
335
  --sidebar-accent-foreground: oklch(0.36 0.08 72);
319
336
  --sidebar-ring: oklch(0.56 0.12 72);
320
337
  --flame: oklch(0.56 0.12 72);
338
+ /* @brand-kit:end default-light */
321
339
  }
322
340
 
323
341
  .dark {
@@ -347,6 +365,7 @@
347
365
  --sidebar: oklch(0.185 0.009 165);
348
366
  --sidebar-foreground: oklch(0.95 0.006 150);
349
367
  --sidebar-border: oklch(0.93 0.01 150 / 11%);
368
+ /* @brand-kit:begin default-dark — generated from packages/brand-kit/src/paints.ts (npm run paint), don't edit */
350
369
  --field: oklch(0.22 0.012 165);
351
370
  --signal: oklch(0.87 0.14 86);
352
371
  --tone: oklch(0.42 0.02 165);
@@ -361,9 +380,11 @@
361
380
  --sidebar-accent-foreground: oklch(0.95 0.01 165);
362
381
  --sidebar-ring: oklch(0.87 0.14 86);
363
382
  --flame: oklch(0.87 0.14 86);
383
+ /* @brand-kit:end default-dark */
364
384
  }
365
385
 
366
386
  /* ─── The products ───────────────────────────────────────────────────────── */
387
+ /* @brand-kit:begin products — generated from packages/brand-kit/src/paints.ts (npm run paint), don't edit */
367
388
  /* Spunto Cloud — graphite / amber since 2026-10-31 (the `graphite-amber` palette;
368
389
  on light the primary is a deep amber, oklch(0.56 0.12 72), white text 4.8:1,
369
390
  rather than the palette's graphite tone); dusk violet / amber from 2026-10-26
@@ -402,7 +423,7 @@
402
423
  --flame: oklch(0.87 0.14 86);
403
424
  }
404
425
  /* Sprout — no product: Spunto Cloud's green until 2026-10-26, kept as a
405
- palette a member can dress the dashboard in (apps/next/lib/accent.ts) */
426
+ palette a member can dress the dashboard in (packages/web-common/src/accent.ts) */
406
427
  [data-product="sprout"] {
407
428
  --field: oklch(0.29 0.055 162);
408
429
  --signal: oklch(0.88 0.18 124);
@@ -505,8 +526,8 @@
505
526
  --flame: oklch(0.85 0.10 228);
506
527
  }
507
528
  /* 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) */
529
+ 2026-10-31). Browser became Spunto Desktop on 2026-11-06, which wore it until
530
+ 2026-11-09 (its own `desktop` paint since); the dashboard's « Violet » wears it */
510
531
  [data-product="browser"] {
511
532
  --field: oklch(0.27 0.07 292);
512
533
  --signal: oklch(0.87 0.14 86);
@@ -540,6 +561,76 @@
540
561
  --sidebar-ring: oklch(0.87 0.14 86);
541
562
  --flame: oklch(0.87 0.14 86);
542
563
  }
564
+ /* Spunto Desktop — dusk violet / orchid since 2026-11-09 (the `dusk-orchid` palette):
565
+ it kept Browser's violet field, and its own signal instead of Cloud's amber */
566
+ [data-product="desktop"] {
567
+ --field: oklch(0.27 0.07 285);
568
+ --signal: oklch(0.87 0.072 297);
569
+ --tone: oklch(0.49 0.16 285);
570
+ --primary: oklch(0.49 0.16 285);
571
+ --primary-foreground: oklch(0.99 0.006 285);
572
+ --ring: oklch(0.49 0.16 285);
573
+ --accent: oklch(0.945 0.03 285);
574
+ --accent-foreground: oklch(0.32 0.07 285);
575
+ --sidebar-primary: oklch(0.49 0.16 285);
576
+ --sidebar-primary-foreground: oklch(0.99 0.006 285);
577
+ --sidebar-accent: oklch(0.935 0.03 285);
578
+ --sidebar-accent-foreground: oklch(0.30 0.07 285);
579
+ --sidebar-ring: oklch(0.49 0.16 285);
580
+ --flame: oklch(0.49 0.16 285);
581
+ }
582
+ .dark [data-product="desktop"],
583
+ .dark[data-product="desktop"] {
584
+ --field: oklch(0.27 0.07 285);
585
+ --signal: oklch(0.87 0.072 297);
586
+ --tone: oklch(0.49 0.16 285);
587
+ --primary: oklch(0.87 0.072 297);
588
+ --primary-foreground: oklch(0.27 0.07 285);
589
+ --ring: oklch(0.87 0.072 297);
590
+ --accent: oklch(0.28 0.035 285);
591
+ --accent-foreground: oklch(0.95 0.01 285);
592
+ --sidebar-primary: oklch(0.87 0.072 297);
593
+ --sidebar-primary-foreground: oklch(0.27 0.07 285);
594
+ --sidebar-accent: oklch(0.26 0.03 285);
595
+ --sidebar-accent-foreground: oklch(0.95 0.01 285);
596
+ --sidebar-ring: oklch(0.87 0.072 297);
597
+ --flame: oklch(0.87 0.072 297);
598
+ }
599
+ /* Spunto CI — moss / lime since 2026-11-09 (the `moss-lime` palette): a passing
600
+ check's green; it wore Cloud's graphite / amber before */
601
+ [data-product="ci"] {
602
+ --field: oklch(0.27 0.064 120);
603
+ --signal: oklch(0.87 0.11 132);
604
+ --tone: oklch(0.49 0.116 120);
605
+ --primary: oklch(0.49 0.116 120);
606
+ --primary-foreground: oklch(0.99 0.006 120);
607
+ --ring: oklch(0.49 0.116 120);
608
+ --accent: oklch(0.945 0.03 120);
609
+ --accent-foreground: oklch(0.32 0.07 120);
610
+ --sidebar-primary: oklch(0.49 0.116 120);
611
+ --sidebar-primary-foreground: oklch(0.99 0.006 120);
612
+ --sidebar-accent: oklch(0.935 0.03 120);
613
+ --sidebar-accent-foreground: oklch(0.30 0.07 120);
614
+ --sidebar-ring: oklch(0.49 0.116 120);
615
+ --flame: oklch(0.49 0.116 120);
616
+ }
617
+ .dark [data-product="ci"],
618
+ .dark[data-product="ci"] {
619
+ --field: oklch(0.27 0.064 120);
620
+ --signal: oklch(0.87 0.11 132);
621
+ --tone: oklch(0.49 0.116 120);
622
+ --primary: oklch(0.87 0.11 132);
623
+ --primary-foreground: oklch(0.27 0.064 120);
624
+ --ring: oklch(0.87 0.11 132);
625
+ --accent: oklch(0.28 0.035 120);
626
+ --accent-foreground: oklch(0.95 0.01 120);
627
+ --sidebar-primary: oklch(0.87 0.11 132);
628
+ --sidebar-primary-foreground: oklch(0.27 0.064 120);
629
+ --sidebar-accent: oklch(0.26 0.03 120);
630
+ --sidebar-accent-foreground: oklch(0.95 0.01 120);
631
+ --sidebar-ring: oklch(0.87 0.11 132);
632
+ --flame: oklch(0.87 0.11 132);
633
+ }
543
634
  /* Spunto Search — deep teal / aqua */
544
635
  [data-product="search"] {
545
636
  --field: oklch(0.28 0.05 208);
@@ -662,6 +753,7 @@
662
753
  --sidebar-ring: oklch(0.96 0.01 150);
663
754
  --flame: oklch(0.96 0.01 150);
664
755
  }
756
+ /* @brand-kit:end products */
665
757
 
666
758
  /* ─── Marketing night surfaces — deliberately NOT themed ─────────────────────
667
759
  *