@spunto/design-system 0.57.0 → 0.58.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.57.0",
3
+ "version": "0.58.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
@@ -187,6 +187,8 @@ export const SPUNTO_LOGO_TONES = {
187
187
  cms: { tile: "#ffb3d7", ink: "#3d1a36" },
188
188
  /** Spunto Search — aqua on deep teal. */
189
189
  search: { tile: "#7ee9e5", ink: "#002f36" },
190
+ /** Foyer — honey on ember. */
191
+ foyer: { tile: "#ffcf53", ink: "#44150d" },
190
192
  /** Cloud's field, the three pillars lit (night register). */
191
193
  pillars: {
192
194
  tile: "#281f45",
package/styles.css CHANGED
@@ -208,6 +208,9 @@
208
208
  --color-search: var(--search);
209
209
  --color-search-field: var(--search-field);
210
210
  --color-search-signal: var(--search-signal);
211
+ --color-foyer: var(--foyer);
212
+ --color-foyer-field: var(--foyer-field);
213
+ --color-foyer-signal: var(--foyer-signal);
211
214
  --color-ds: var(--ds);
212
215
  --color-ds-field: var(--ds-field);
213
216
  --color-ds-signal: var(--ds-signal);
@@ -235,7 +238,7 @@
235
238
  * --tone its mid tone, between the two (Run, the end of the chart ramp)
236
239
  * --primary derived from them — the mid tone on light, the signal on dark
237
240
  *
238
- * Pick the product with `data-product="cloud|cms|lite|browser|search|ds"` on
241
+ * Pick the product with `data-product="cloud|cms|lite|browser|search|foyer|ds"` on
239
242
  * <html> or on any subtree (a marketing card can wear another product's
240
243
  * colours inside a page). No attribute = Spunto Cloud — dusk violet and amber
241
244
  * since 2026-10-26 (Browser's pair, Browser being on its way out); its former green is kept as `data-product="sprout"`, a
@@ -261,6 +264,9 @@
261
264
  --search-field: oklch(0.28 0.05 208);
262
265
  --search-signal: oklch(0.87 0.10 192);
263
266
  --search: oklch(0.49 0.09 212);
267
+ --foyer-field: oklch(0.27 0.075 32);
268
+ --foyer-signal: oklch(0.88 0.15 85);
269
+ --foyer: oklch(0.64 0.19 42);
264
270
  --ds-field: oklch(0.22 0.012 165);
265
271
  --ds-signal: oklch(0.96 0.01 150);
266
272
  --ds: oklch(0.30 0.02 165);
@@ -563,6 +569,60 @@
563
569
  --sidebar-ring: oklch(0.87 0.10 192);
564
570
  --flame: oklch(0.87 0.10 192);
565
571
  }
572
+ /* Foyer — braise / miel. Menus, recettes et stock de la cuisine d'un foyer (foyer.spunto.net) : une appli de la
573
+ maison, pas un tableau de bord, d'où la seule exception de la famille — elle teinte aussi les surfaces (fond
574
+ crème chaud en clair, brun de braise en sombre) au lieu de garder le fond quasi neutre de l'univers. */
575
+ [data-product="foyer"] {
576
+ --field: oklch(0.27 0.075 32);
577
+ --signal: oklch(0.88 0.15 85);
578
+ --tone: oklch(0.64 0.19 42);
579
+ --primary: oklch(0.64 0.19 42);
580
+ --primary-foreground: oklch(0.99 0.01 80);
581
+ --ring: oklch(0.64 0.19 42);
582
+ --accent: oklch(0.95 0.04 65);
583
+ --accent-foreground: oklch(0.38 0.11 40);
584
+ --sidebar-primary: oklch(0.64 0.19 42);
585
+ --sidebar-primary-foreground: oklch(0.99 0.01 80);
586
+ --sidebar-accent: oklch(0.935 0.045 65);
587
+ --sidebar-accent-foreground: oklch(0.36 0.11 40);
588
+ --sidebar-ring: oklch(0.64 0.19 42);
589
+ --flame: oklch(0.64 0.19 42);
590
+ --background: oklch(0.985 0.013 80);
591
+ --card: oklch(0.996 0.006 80);
592
+ --popover: oklch(0.996 0.006 80);
593
+ --secondary: oklch(0.95 0.02 75);
594
+ --muted: oklch(0.955 0.018 75);
595
+ --border: oklch(0.905 0.022 70);
596
+ --input: oklch(0.905 0.022 70);
597
+ --sidebar: oklch(0.97 0.02 75);
598
+ --sidebar-border: oklch(0.905 0.022 70);
599
+ }
600
+ .dark [data-product="foyer"],
601
+ .dark[data-product="foyer"] {
602
+ --field: oklch(0.27 0.075 32);
603
+ --signal: oklch(0.88 0.15 85);
604
+ --tone: oklch(0.64 0.19 42);
605
+ --primary: oklch(0.88 0.15 85);
606
+ --primary-foreground: oklch(0.27 0.075 32);
607
+ --ring: oklch(0.88 0.15 85);
608
+ --accent: oklch(0.29 0.05 40);
609
+ --accent-foreground: oklch(0.95 0.02 80);
610
+ --sidebar-primary: oklch(0.88 0.15 85);
611
+ --sidebar-primary-foreground: oklch(0.27 0.075 32);
612
+ --sidebar-accent: oklch(0.27 0.045 40);
613
+ --sidebar-accent-foreground: oklch(0.95 0.02 80);
614
+ --sidebar-ring: oklch(0.88 0.15 85);
615
+ --flame: oklch(0.88 0.15 85);
616
+ --background: oklch(0.175 0.018 40);
617
+ --card: oklch(0.205 0.02 40);
618
+ --popover: oklch(0.205 0.02 40);
619
+ --muted: oklch(0.24 0.022 40);
620
+ --secondary: oklch(0.24 0.022 40);
621
+ --border: oklch(0.3 0.025 40);
622
+ --input: oklch(0.3 0.025 40);
623
+ --sidebar: oklch(0.155 0.016 40);
624
+ --sidebar-border: oklch(0.28 0.022 40);
625
+ }
566
626
  /* @spunto/design-system — graphite / paper */
567
627
  [data-product="ds"] {
568
628
  --field: oklch(0.22 0.012 165);