@filipgutica/design-system 1.0.5 → 1.0.6

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 CHANGED
@@ -11,7 +11,7 @@ Filip's design language for any framework: the spec, the tokens, the component c
11
11
  | Path | What it holds |
12
12
  | --- | --- |
13
13
  | `language/` | The payload: `DESIGN.md`, `components.md`, `decisions.md`, `visualizations.md`, `tokens.css`, the catalogue (`components.html`), `implementations.json` (each component's Vue and React version), example pages, visualization helpers, and the Graphite Indigo editor theme |
14
- | `tokens/graphite-indigo.json` | The Graphite Indigo token values, the only place a value lives, and each token's role |
14
+ | `tokens/core.json`, `tokens/themes/*.json` | The token values, the only place a value lives, and each token's role. Core holds every token; each theme file holds only its name, a note, its hue pair, and optional fonts |
15
15
  | `scripts/build-tokens.mjs` | The token generator: writes `language/tokens.css` and `dist/` |
16
16
  | `scripts/build-site.mjs` | The site build: writes `site/` for GitHub Pages from `components.html`, the tokens, and `package.json` |
17
17
  | `dist/` | Generated token files for the class flavour, theme overrides, JSON, and JavaScript |
@@ -31,8 +31,8 @@ npm install @filipgutica/design-system
31
31
  | Import | What it is |
32
32
  | --- | --- |
33
33
  | `@filipgutica/design-system/tokens.css` | The tokens with their standalone names. Dark mode follows `prefers-color-scheme`; set `data-theme="light"` or `"dark"` on `<html>` to override it. |
34
- | `@filipgutica/design-system/class/base.css`, `class/themes/*.css` | The same values with `@filipgutica/ui`'s names, for apps that toggle a `.dark` class on `<html>`. Use one flavour per app. |
35
- | `@filipgutica/design-system/themes/*.css` | A theme's identity inputs (hue pair and fonts), loaded after `tokens.css`. |
34
+ | `@filipgutica/design-system/class/base.css`, `class/themes/*.css` | The same values with `@filipgutica/ui`'s names, for apps that toggle a `.dark` class on `<html>`. Use one flavour per app. The class flavour carries the default theme, Graphite Indigo, only. |
35
+ | `@filipgutica/design-system/themes/*.css` | A theme's identity inputs (hue pair and fonts): `graphite-indigo` (the default, already in `tokens.css`), `mauve`, or `pine`. Load one after `tokens.css`, on `:root`. |
36
36
  | `@filipgutica/design-system/fonts.css` | IBM Plex Sans and Mono. |
37
37
  | `@filipgutica/design-system` | `tokens` (resolved values per theme and mode) and `cssVar(name)`, with types. |
38
38
  | `@filipgutica/design-system/tokens.json` | The resolved values as JSON. |
@@ -1,4 +1,4 @@
1
- /* Generated from tokens/graphite-indigo.json by scripts/build-tokens.mjs in @filipgutica/design-system. Do not edit.
1
+ /* Generated from tokens/core.json and tokens/themes/graphite-indigo.json by scripts/build-tokens.mjs in @filipgutica/design-system. Do not edit.
2
2
  * Base tokens for the class flavour: toggle .dark on <html> for dark mode.
3
3
  * Keep exactly one :root.dark block: sites copy it into a <noscript> prefers-color-scheme rule. */
4
4
 
@@ -1,4 +1,4 @@
1
- /* Generated from tokens/graphite-indigo.json by scripts/build-tokens.mjs in @filipgutica/design-system. Do not edit.
1
+ /* Generated from tokens/core.json and tokens/themes/graphite-indigo.json by scripts/build-tokens.mjs in @filipgutica/design-system. Do not edit.
2
2
  * Opt-in Graphite Indigo roles for the class flavour. Import after class/base.css (theme.css in @filipgutica/ui).
3
3
  * Dark mode uses the same .dark class as the base. Keep exactly one :root.dark block:
4
4
  * sites copy it into a <noscript> prefers-color-scheme rule. */
@@ -1,5 +1,7 @@
1
- /* Generated from tokens/graphite-indigo.json by scripts/build-tokens.mjs in @filipgutica/design-system. Do not edit.
2
- * The graphite-indigo identity inputs for tokens.css. Load after tokens.css. */
1
+ /* Generated from tokens/themes/graphite-indigo.json by scripts/build-tokens.mjs in @filipgutica/design-system. Do not edit.
2
+ * The Graphite Indigo identity inputs for tokens.css. Load after tokens.css, on :root only: the tokens that
3
+ * follow the hue resolve on :root, so a theme scoped to an element below it changes the hue there, but
4
+ * the accent, focus ring, and selection keep the default theme's colours. */
3
5
 
4
6
  :root {
5
7
  --color-project: #4b45d1;
@@ -0,0 +1,11 @@
1
+ /* Generated from tokens/themes/mauve.json by scripts/build-tokens.mjs in @filipgutica/design-system. Do not edit.
2
+ * The Mauve identity inputs for tokens.css. Load after tokens.css, on :root only: the tokens that
3
+ * follow the hue resolve on :root, so a theme scoped to an element below it changes the hue there, but
4
+ * the accent, focus ring, and selection keep the default theme's colours. */
5
+
6
+ :root {
7
+ --color-project: #6c5267;
8
+ --color-project-dark: #d1b3c8;
9
+ --font-ui: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
10
+ --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
11
+ }
@@ -0,0 +1,11 @@
1
+ /* Generated from tokens/themes/pine.json by scripts/build-tokens.mjs in @filipgutica/design-system. Do not edit.
2
+ * The Pine identity inputs for tokens.css. Load after tokens.css, on :root only: the tokens that
3
+ * follow the hue resolve on :root, so a theme scoped to an element below it changes the hue there, but
4
+ * the accent, focus ring, and selection keep the default theme's colours. */
5
+
6
+ :root {
7
+ --color-project: #00543f;
8
+ --color-project-dark: #3fe0c0;
9
+ --font-ui: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
10
+ --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
11
+ }
package/dist/tokens.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Generated from tokens/graphite-indigo.json by scripts/build-tokens.mjs. Do not edit.
1
+ // Generated from tokens/core.json and tokens/themes/ by scripts/build-tokens.mjs. Do not edit.
2
2
  /** A token name: its CSS variable in tokens.css without the leading dashes. */
3
3
  export type TokenName =
4
4
  | 'color-project'
@@ -106,7 +106,7 @@ export type TokenName =
106
106
  | 'duration'
107
107
  | 'ease-out'
108
108
 
109
- export type ThemeName = 'graphite-indigo'
109
+ export type ThemeName = 'graphite-indigo' | 'mauve' | 'pine'
110
110
 
111
111
  /** Resolved values, as getComputedStyle reports them on the root element. */
112
112
  export declare const tokens: {
package/dist/tokens.js CHANGED
@@ -1,4 +1,4 @@
1
- // Generated from tokens/graphite-indigo.json by scripts/build-tokens.mjs. Do not edit.
1
+ // Generated from tokens/core.json and tokens/themes/ by scripts/build-tokens.mjs. Do not edit.
2
2
  export const tokens = {
3
3
  "themes": {
4
4
  "graphite-indigo": {
@@ -214,6 +214,434 @@ export const tokens = {
214
214
  "duration": "180ms",
215
215
  "ease-out": "cubic-bezier(0.2, 0.8, 0.2, 1)"
216
216
  }
217
+ },
218
+ "mauve": {
219
+ "light": {
220
+ "color-project": "#6c5267",
221
+ "color-project-dark": "#d1b3c8",
222
+ "font-ui": "\"IBM Plex Sans\", -apple-system, BlinkMacSystemFont, \"SF Pro Text\", \"Segoe UI\", system-ui, sans-serif",
223
+ "font-mono": "\"IBM Plex Mono\", ui-monospace, \"SF Mono\", SFMono-Regular, Menlo, Consolas, monospace",
224
+ "color-bg": "#f4f5f6",
225
+ "color-surface": "#e9ebed",
226
+ "color-surface-raised": "#fbfbfc",
227
+ "color-surface-muted": "#e2e5e8",
228
+ "color-well": "#e2e5e8",
229
+ "color-field-bg": "#fbfbfc",
230
+ "color-field-edge": "#d3d8dd",
231
+ "shadow-field": "none",
232
+ "color-control-thumb": "#fbfbfc",
233
+ "color-nav-current": "color-mix(in srgb, #6c5267 14%, #fbfbfc)",
234
+ "color-nav-current-text": "#6c5267",
235
+ "color-segmented-current-text": "#6c5267",
236
+ "color-row-hover": "#e2e5e8",
237
+ "color-row-selected": "#fbfbfc",
238
+ "color-border-subtle": "#d3d8dd",
239
+ "color-border": "#6d747b",
240
+ "color-text": "#101315",
241
+ "color-muted": "#50575e",
242
+ "color-overlay": "rgb(0 0 0 / 42%)",
243
+ "color-accent": "#6c5267",
244
+ "color-accent-text": "#f4f5f6",
245
+ "color-accent-hover": "#101315",
246
+ "color-button-hover": "color-mix(in srgb, #6c5267 85%, #101315)",
247
+ "color-link": "#0b5f7c",
248
+ "color-focus": "#6c5267",
249
+ "focus-width": "2px",
250
+ "focus-offset": "3px",
251
+ "color-success": "#157249",
252
+ "color-warning": "#86532e",
253
+ "color-error": "#bd342b",
254
+ "color-info": "#175cd3",
255
+ "color-success-surface": "#d9e5e1",
256
+ "color-warning-surface": "#e7e2de",
257
+ "color-error-surface": "#efe4e4",
258
+ "color-info-surface": "#d9e3f2",
259
+ "color-command-bg": "color-mix(in srgb, #6c5267 25%, #101010)",
260
+ "color-command-border": "transparent",
261
+ "color-terminal": "#0a0c0e",
262
+ "color-terminal-text": "#e6e9eb",
263
+ "color-terminal-border": "#2a3036",
264
+ "color-terminal-caption": "#13171a",
265
+ "color-terminal-caption-text": "#c9d0d6",
266
+ "shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
267
+ "color-code": "#e9ebed",
268
+ "color-code-text": "#101315",
269
+ "color-syntax-keyword": "#715b42",
270
+ "color-syntax-string": "#346347",
271
+ "color-syntax-number": "#86532e",
272
+ "color-syntax-comment": "#626772",
273
+ "text-xs": "0.75rem",
274
+ "text-sm": "0.8125rem",
275
+ "text-md": "0.875rem",
276
+ "text-lg": "1rem",
277
+ "text-xl": "1.25rem",
278
+ "text-2xl": "1.5rem",
279
+ "text-3xl": "2.75rem",
280
+ "text-reading": "1rem",
281
+ "text-display": "3.5rem",
282
+ "text-display-sm": "2.125rem",
283
+ "leading-tight": "1.25",
284
+ "leading": "1.6",
285
+ "weight-regular": "400",
286
+ "weight-medium": "500",
287
+ "weight-semibold": "600",
288
+ "tracking-tight": "-0.03em",
289
+ "text-code": "0.84375rem",
290
+ "space-1": "0.25rem",
291
+ "space-2": "0.5rem",
292
+ "space-3": "0.75rem",
293
+ "space-4": "1rem",
294
+ "space-5": "1.25rem",
295
+ "space-6": "1.5rem",
296
+ "space-8": "2rem",
297
+ "space-12": "3rem",
298
+ "space-16": "4rem",
299
+ "space-20": "5rem",
300
+ "space-24": "6rem",
301
+ "control-sm": "2rem",
302
+ "control-md": "2.25rem",
303
+ "control-lg": "2.75rem",
304
+ "row": "2.25rem",
305
+ "measure": "68ch",
306
+ "page-max": "960px",
307
+ "page-wide": "1120px",
308
+ "sidebar": "224px",
309
+ "radius-inline": "6px",
310
+ "radius-control": "999px",
311
+ "radius-panel": "16px",
312
+ "radius-field": "10px",
313
+ "radius-pill": "999px",
314
+ "shadow-raise": "0 1px 2px rgb(16 24 40 / 12%), 0 0 0 1px rgb(16 24 40 / 6%)",
315
+ "shadow-surface": "0 1px 2px rgb(16 24 40 / 6%), 0 0 0 1px rgb(16 24 40 / 6%)",
316
+ "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(130 142 158 / 35%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 80%)",
317
+ "shadow-dialog": "0 8px 24px rgb(16 16 24 / 12%), 0 0 0 1px #d3d8dd",
318
+ "shadow-nav-current": "0 1px 3px rgb(130 142 158 / 40%)",
319
+ "shadow-field-focus": "inset 0 0 0 2px color-mix(in srgb, #6c5267 18%, transparent)",
320
+ "shadow-field-focus-invalid": "inset 0 0 0 2px color-mix(in srgb, #bd342b 18%, transparent)",
321
+ "duration-fast": "120ms",
322
+ "duration": "180ms",
323
+ "ease-out": "cubic-bezier(0.2, 0.8, 0.2, 1)"
324
+ },
325
+ "dark": {
326
+ "color-project": "#d1b3c8",
327
+ "color-project-dark": "#d1b3c8",
328
+ "font-ui": "\"IBM Plex Sans\", -apple-system, BlinkMacSystemFont, \"SF Pro Text\", \"Segoe UI\", system-ui, sans-serif",
329
+ "font-mono": "\"IBM Plex Mono\", ui-monospace, \"SF Mono\", SFMono-Regular, Menlo, Consolas, monospace",
330
+ "color-bg": "#0d1012",
331
+ "color-surface": "#13171a",
332
+ "color-surface-raised": "#181d21",
333
+ "color-surface-muted": "#20262b",
334
+ "color-well": "color-mix(in srgb, #0d1012 87.5%, black)",
335
+ "color-field-bg": "color-mix(in srgb, #0d1012 87.5%, black)",
336
+ "color-field-edge": "#262d33",
337
+ "shadow-field": "inset 1.2px 1.2px 3.6px rgb(0 0 0 / 55%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 5%)",
338
+ "color-control-thumb": "color-mix(in srgb, #181d21 88%, white)",
339
+ "color-nav-current": "color-mix(in srgb, #d1b3c8 20%, transparent)",
340
+ "color-nav-current-text": "#d1b3c8",
341
+ "color-segmented-current-text": "#d1b3c8",
342
+ "color-row-hover": "#20262b",
343
+ "color-row-selected": "#181d21",
344
+ "color-border-subtle": "#262d33",
345
+ "color-border": "#78818a",
346
+ "color-text": "#e6e9eb",
347
+ "color-muted": "#9aa3ab",
348
+ "color-overlay": "rgb(0 0 0 / 62%)",
349
+ "color-accent": "#d1b3c8",
350
+ "color-accent-text": "#0d1012",
351
+ "color-accent-hover": "#e6e9eb",
352
+ "color-button-hover": "color-mix(in srgb, #d1b3c8 85%, #e6e9eb)",
353
+ "color-link": "#67c1df",
354
+ "color-focus": "#d1b3c8",
355
+ "focus-width": "2px",
356
+ "focus-offset": "3px",
357
+ "color-success": "#4cc38a",
358
+ "color-warning": "#e2a54b",
359
+ "color-error": "#f0776c",
360
+ "color-info": "#84adff",
361
+ "color-success-surface": "#172d25",
362
+ "color-warning-surface": "#2f281b",
363
+ "color-error-surface": "#312020",
364
+ "color-info-surface": "#202938",
365
+ "color-command-bg": "color-mix(in srgb, #d1b3c8 16%, black)",
366
+ "color-command-border": "color-mix(in srgb, #d1b3c8 28%, black)",
367
+ "color-terminal": "#0a0c0e",
368
+ "color-terminal-text": "#e6e9eb",
369
+ "color-terminal-border": "#2a3036",
370
+ "color-terminal-caption": "#13171a",
371
+ "color-terminal-caption-text": "#c9d0d6",
372
+ "shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
373
+ "color-code": "#13171a",
374
+ "color-code-text": "#e6e9eb",
375
+ "color-syntax-keyword": "#d8c2a5",
376
+ "color-syntax-string": "#a8bd9c",
377
+ "color-syntax-number": "#d5b98c",
378
+ "color-syntax-comment": "#a0a6b1",
379
+ "text-xs": "0.75rem",
380
+ "text-sm": "0.8125rem",
381
+ "text-md": "0.875rem",
382
+ "text-lg": "1rem",
383
+ "text-xl": "1.25rem",
384
+ "text-2xl": "1.5rem",
385
+ "text-3xl": "2.75rem",
386
+ "text-reading": "1rem",
387
+ "text-display": "3.5rem",
388
+ "text-display-sm": "2.125rem",
389
+ "leading-tight": "1.25",
390
+ "leading": "1.6",
391
+ "weight-regular": "400",
392
+ "weight-medium": "500",
393
+ "weight-semibold": "600",
394
+ "tracking-tight": "-0.03em",
395
+ "text-code": "0.84375rem",
396
+ "space-1": "0.25rem",
397
+ "space-2": "0.5rem",
398
+ "space-3": "0.75rem",
399
+ "space-4": "1rem",
400
+ "space-5": "1.25rem",
401
+ "space-6": "1.5rem",
402
+ "space-8": "2rem",
403
+ "space-12": "3rem",
404
+ "space-16": "4rem",
405
+ "space-20": "5rem",
406
+ "space-24": "6rem",
407
+ "control-sm": "2rem",
408
+ "control-md": "2.25rem",
409
+ "control-lg": "2.75rem",
410
+ "row": "2.25rem",
411
+ "measure": "68ch",
412
+ "page-max": "960px",
413
+ "page-wide": "1120px",
414
+ "sidebar": "224px",
415
+ "radius-inline": "6px",
416
+ "radius-control": "999px",
417
+ "radius-panel": "16px",
418
+ "radius-field": "10px",
419
+ "radius-pill": "999px",
420
+ "shadow-raise": "inset 0 1px 0 rgb(255 255 255 / 7%), 0 1px 2px rgb(0 0 0 / 45%)",
421
+ "shadow-surface": "0 0 0 1px rgb(255 255 255 / 6%)",
422
+ "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(0 0 0 / 55%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 5%)",
423
+ "shadow-dialog": "0 8px 24px rgb(0 0 0 / 45%), 0 0 0 1px #262d33",
424
+ "shadow-nav-current": "0 1px 2px rgb(0 0 0 / 25%)",
425
+ "shadow-field-focus": "inset 0 0 0 2px color-mix(in srgb, #d1b3c8 18%, transparent)",
426
+ "shadow-field-focus-invalid": "inset 0 0 0 2px color-mix(in srgb, #f0776c 18%, transparent)",
427
+ "duration-fast": "120ms",
428
+ "duration": "180ms",
429
+ "ease-out": "cubic-bezier(0.2, 0.8, 0.2, 1)"
430
+ }
431
+ },
432
+ "pine": {
433
+ "light": {
434
+ "color-project": "#00543f",
435
+ "color-project-dark": "#3fe0c0",
436
+ "font-ui": "\"IBM Plex Sans\", -apple-system, BlinkMacSystemFont, \"SF Pro Text\", \"Segoe UI\", system-ui, sans-serif",
437
+ "font-mono": "\"IBM Plex Mono\", ui-monospace, \"SF Mono\", SFMono-Regular, Menlo, Consolas, monospace",
438
+ "color-bg": "#f4f5f6",
439
+ "color-surface": "#e9ebed",
440
+ "color-surface-raised": "#fbfbfc",
441
+ "color-surface-muted": "#e2e5e8",
442
+ "color-well": "#e2e5e8",
443
+ "color-field-bg": "#fbfbfc",
444
+ "color-field-edge": "#d3d8dd",
445
+ "shadow-field": "none",
446
+ "color-control-thumb": "#fbfbfc",
447
+ "color-nav-current": "color-mix(in srgb, #00543f 14%, #fbfbfc)",
448
+ "color-nav-current-text": "#00543f",
449
+ "color-segmented-current-text": "#00543f",
450
+ "color-row-hover": "#e2e5e8",
451
+ "color-row-selected": "#fbfbfc",
452
+ "color-border-subtle": "#d3d8dd",
453
+ "color-border": "#6d747b",
454
+ "color-text": "#101315",
455
+ "color-muted": "#50575e",
456
+ "color-overlay": "rgb(0 0 0 / 42%)",
457
+ "color-accent": "#00543f",
458
+ "color-accent-text": "#f4f5f6",
459
+ "color-accent-hover": "#101315",
460
+ "color-button-hover": "color-mix(in srgb, #00543f 85%, #101315)",
461
+ "color-link": "#0b5f7c",
462
+ "color-focus": "#00543f",
463
+ "focus-width": "2px",
464
+ "focus-offset": "3px",
465
+ "color-success": "#157249",
466
+ "color-warning": "#86532e",
467
+ "color-error": "#bd342b",
468
+ "color-info": "#175cd3",
469
+ "color-success-surface": "#d9e5e1",
470
+ "color-warning-surface": "#e7e2de",
471
+ "color-error-surface": "#efe4e4",
472
+ "color-info-surface": "#d9e3f2",
473
+ "color-command-bg": "color-mix(in srgb, #00543f 25%, #101010)",
474
+ "color-command-border": "transparent",
475
+ "color-terminal": "#0a0c0e",
476
+ "color-terminal-text": "#e6e9eb",
477
+ "color-terminal-border": "#2a3036",
478
+ "color-terminal-caption": "#13171a",
479
+ "color-terminal-caption-text": "#c9d0d6",
480
+ "shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
481
+ "color-code": "#e9ebed",
482
+ "color-code-text": "#101315",
483
+ "color-syntax-keyword": "#715b42",
484
+ "color-syntax-string": "#346347",
485
+ "color-syntax-number": "#86532e",
486
+ "color-syntax-comment": "#626772",
487
+ "text-xs": "0.75rem",
488
+ "text-sm": "0.8125rem",
489
+ "text-md": "0.875rem",
490
+ "text-lg": "1rem",
491
+ "text-xl": "1.25rem",
492
+ "text-2xl": "1.5rem",
493
+ "text-3xl": "2.75rem",
494
+ "text-reading": "1rem",
495
+ "text-display": "3.5rem",
496
+ "text-display-sm": "2.125rem",
497
+ "leading-tight": "1.25",
498
+ "leading": "1.6",
499
+ "weight-regular": "400",
500
+ "weight-medium": "500",
501
+ "weight-semibold": "600",
502
+ "tracking-tight": "-0.03em",
503
+ "text-code": "0.84375rem",
504
+ "space-1": "0.25rem",
505
+ "space-2": "0.5rem",
506
+ "space-3": "0.75rem",
507
+ "space-4": "1rem",
508
+ "space-5": "1.25rem",
509
+ "space-6": "1.5rem",
510
+ "space-8": "2rem",
511
+ "space-12": "3rem",
512
+ "space-16": "4rem",
513
+ "space-20": "5rem",
514
+ "space-24": "6rem",
515
+ "control-sm": "2rem",
516
+ "control-md": "2.25rem",
517
+ "control-lg": "2.75rem",
518
+ "row": "2.25rem",
519
+ "measure": "68ch",
520
+ "page-max": "960px",
521
+ "page-wide": "1120px",
522
+ "sidebar": "224px",
523
+ "radius-inline": "6px",
524
+ "radius-control": "999px",
525
+ "radius-panel": "16px",
526
+ "radius-field": "10px",
527
+ "radius-pill": "999px",
528
+ "shadow-raise": "0 1px 2px rgb(16 24 40 / 12%), 0 0 0 1px rgb(16 24 40 / 6%)",
529
+ "shadow-surface": "0 1px 2px rgb(16 24 40 / 6%), 0 0 0 1px rgb(16 24 40 / 6%)",
530
+ "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(130 142 158 / 35%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 80%)",
531
+ "shadow-dialog": "0 8px 24px rgb(16 16 24 / 12%), 0 0 0 1px #d3d8dd",
532
+ "shadow-nav-current": "0 1px 3px rgb(130 142 158 / 40%)",
533
+ "shadow-field-focus": "inset 0 0 0 2px color-mix(in srgb, #00543f 18%, transparent)",
534
+ "shadow-field-focus-invalid": "inset 0 0 0 2px color-mix(in srgb, #bd342b 18%, transparent)",
535
+ "duration-fast": "120ms",
536
+ "duration": "180ms",
537
+ "ease-out": "cubic-bezier(0.2, 0.8, 0.2, 1)"
538
+ },
539
+ "dark": {
540
+ "color-project": "#3fe0c0",
541
+ "color-project-dark": "#3fe0c0",
542
+ "font-ui": "\"IBM Plex Sans\", -apple-system, BlinkMacSystemFont, \"SF Pro Text\", \"Segoe UI\", system-ui, sans-serif",
543
+ "font-mono": "\"IBM Plex Mono\", ui-monospace, \"SF Mono\", SFMono-Regular, Menlo, Consolas, monospace",
544
+ "color-bg": "#0d1012",
545
+ "color-surface": "#13171a",
546
+ "color-surface-raised": "#181d21",
547
+ "color-surface-muted": "#20262b",
548
+ "color-well": "color-mix(in srgb, #0d1012 87.5%, black)",
549
+ "color-field-bg": "color-mix(in srgb, #0d1012 87.5%, black)",
550
+ "color-field-edge": "#262d33",
551
+ "shadow-field": "inset 1.2px 1.2px 3.6px rgb(0 0 0 / 55%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 5%)",
552
+ "color-control-thumb": "color-mix(in srgb, #181d21 88%, white)",
553
+ "color-nav-current": "color-mix(in srgb, #3fe0c0 20%, transparent)",
554
+ "color-nav-current-text": "#3fe0c0",
555
+ "color-segmented-current-text": "#3fe0c0",
556
+ "color-row-hover": "#20262b",
557
+ "color-row-selected": "#181d21",
558
+ "color-border-subtle": "#262d33",
559
+ "color-border": "#78818a",
560
+ "color-text": "#e6e9eb",
561
+ "color-muted": "#9aa3ab",
562
+ "color-overlay": "rgb(0 0 0 / 62%)",
563
+ "color-accent": "#3fe0c0",
564
+ "color-accent-text": "#0d1012",
565
+ "color-accent-hover": "#e6e9eb",
566
+ "color-button-hover": "color-mix(in srgb, #3fe0c0 85%, #e6e9eb)",
567
+ "color-link": "#67c1df",
568
+ "color-focus": "#3fe0c0",
569
+ "focus-width": "2px",
570
+ "focus-offset": "3px",
571
+ "color-success": "#4cc38a",
572
+ "color-warning": "#e2a54b",
573
+ "color-error": "#f0776c",
574
+ "color-info": "#84adff",
575
+ "color-success-surface": "#172d25",
576
+ "color-warning-surface": "#2f281b",
577
+ "color-error-surface": "#312020",
578
+ "color-info-surface": "#202938",
579
+ "color-command-bg": "color-mix(in srgb, #3fe0c0 16%, black)",
580
+ "color-command-border": "color-mix(in srgb, #3fe0c0 28%, black)",
581
+ "color-terminal": "#0a0c0e",
582
+ "color-terminal-text": "#e6e9eb",
583
+ "color-terminal-border": "#2a3036",
584
+ "color-terminal-caption": "#13171a",
585
+ "color-terminal-caption-text": "#c9d0d6",
586
+ "shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
587
+ "color-code": "#13171a",
588
+ "color-code-text": "#e6e9eb",
589
+ "color-syntax-keyword": "#d8c2a5",
590
+ "color-syntax-string": "#a8bd9c",
591
+ "color-syntax-number": "#d5b98c",
592
+ "color-syntax-comment": "#a0a6b1",
593
+ "text-xs": "0.75rem",
594
+ "text-sm": "0.8125rem",
595
+ "text-md": "0.875rem",
596
+ "text-lg": "1rem",
597
+ "text-xl": "1.25rem",
598
+ "text-2xl": "1.5rem",
599
+ "text-3xl": "2.75rem",
600
+ "text-reading": "1rem",
601
+ "text-display": "3.5rem",
602
+ "text-display-sm": "2.125rem",
603
+ "leading-tight": "1.25",
604
+ "leading": "1.6",
605
+ "weight-regular": "400",
606
+ "weight-medium": "500",
607
+ "weight-semibold": "600",
608
+ "tracking-tight": "-0.03em",
609
+ "text-code": "0.84375rem",
610
+ "space-1": "0.25rem",
611
+ "space-2": "0.5rem",
612
+ "space-3": "0.75rem",
613
+ "space-4": "1rem",
614
+ "space-5": "1.25rem",
615
+ "space-6": "1.5rem",
616
+ "space-8": "2rem",
617
+ "space-12": "3rem",
618
+ "space-16": "4rem",
619
+ "space-20": "5rem",
620
+ "space-24": "6rem",
621
+ "control-sm": "2rem",
622
+ "control-md": "2.25rem",
623
+ "control-lg": "2.75rem",
624
+ "row": "2.25rem",
625
+ "measure": "68ch",
626
+ "page-max": "960px",
627
+ "page-wide": "1120px",
628
+ "sidebar": "224px",
629
+ "radius-inline": "6px",
630
+ "radius-control": "999px",
631
+ "radius-panel": "16px",
632
+ "radius-field": "10px",
633
+ "radius-pill": "999px",
634
+ "shadow-raise": "inset 0 1px 0 rgb(255 255 255 / 7%), 0 1px 2px rgb(0 0 0 / 45%)",
635
+ "shadow-surface": "0 0 0 1px rgb(255 255 255 / 6%)",
636
+ "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(0 0 0 / 55%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 5%)",
637
+ "shadow-dialog": "0 8px 24px rgb(0 0 0 / 45%), 0 0 0 1px #262d33",
638
+ "shadow-nav-current": "0 1px 2px rgb(0 0 0 / 25%)",
639
+ "shadow-field-focus": "inset 0 0 0 2px color-mix(in srgb, #3fe0c0 18%, transparent)",
640
+ "shadow-field-focus-invalid": "inset 0 0 0 2px color-mix(in srgb, #f0776c 18%, transparent)",
641
+ "duration-fast": "120ms",
642
+ "duration": "180ms",
643
+ "ease-out": "cubic-bezier(0.2, 0.8, 0.2, 1)"
644
+ }
217
645
  }
218
646
  }
219
647
  }
package/dist/tokens.json CHANGED
@@ -213,6 +213,434 @@
213
213
  "duration": "180ms",
214
214
  "ease-out": "cubic-bezier(0.2, 0.8, 0.2, 1)"
215
215
  }
216
+ },
217
+ "mauve": {
218
+ "light": {
219
+ "color-project": "#6c5267",
220
+ "color-project-dark": "#d1b3c8",
221
+ "font-ui": "\"IBM Plex Sans\", -apple-system, BlinkMacSystemFont, \"SF Pro Text\", \"Segoe UI\", system-ui, sans-serif",
222
+ "font-mono": "\"IBM Plex Mono\", ui-monospace, \"SF Mono\", SFMono-Regular, Menlo, Consolas, monospace",
223
+ "color-bg": "#f4f5f6",
224
+ "color-surface": "#e9ebed",
225
+ "color-surface-raised": "#fbfbfc",
226
+ "color-surface-muted": "#e2e5e8",
227
+ "color-well": "#e2e5e8",
228
+ "color-field-bg": "#fbfbfc",
229
+ "color-field-edge": "#d3d8dd",
230
+ "shadow-field": "none",
231
+ "color-control-thumb": "#fbfbfc",
232
+ "color-nav-current": "color-mix(in srgb, #6c5267 14%, #fbfbfc)",
233
+ "color-nav-current-text": "#6c5267",
234
+ "color-segmented-current-text": "#6c5267",
235
+ "color-row-hover": "#e2e5e8",
236
+ "color-row-selected": "#fbfbfc",
237
+ "color-border-subtle": "#d3d8dd",
238
+ "color-border": "#6d747b",
239
+ "color-text": "#101315",
240
+ "color-muted": "#50575e",
241
+ "color-overlay": "rgb(0 0 0 / 42%)",
242
+ "color-accent": "#6c5267",
243
+ "color-accent-text": "#f4f5f6",
244
+ "color-accent-hover": "#101315",
245
+ "color-button-hover": "color-mix(in srgb, #6c5267 85%, #101315)",
246
+ "color-link": "#0b5f7c",
247
+ "color-focus": "#6c5267",
248
+ "focus-width": "2px",
249
+ "focus-offset": "3px",
250
+ "color-success": "#157249",
251
+ "color-warning": "#86532e",
252
+ "color-error": "#bd342b",
253
+ "color-info": "#175cd3",
254
+ "color-success-surface": "#d9e5e1",
255
+ "color-warning-surface": "#e7e2de",
256
+ "color-error-surface": "#efe4e4",
257
+ "color-info-surface": "#d9e3f2",
258
+ "color-command-bg": "color-mix(in srgb, #6c5267 25%, #101010)",
259
+ "color-command-border": "transparent",
260
+ "color-terminal": "#0a0c0e",
261
+ "color-terminal-text": "#e6e9eb",
262
+ "color-terminal-border": "#2a3036",
263
+ "color-terminal-caption": "#13171a",
264
+ "color-terminal-caption-text": "#c9d0d6",
265
+ "shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
266
+ "color-code": "#e9ebed",
267
+ "color-code-text": "#101315",
268
+ "color-syntax-keyword": "#715b42",
269
+ "color-syntax-string": "#346347",
270
+ "color-syntax-number": "#86532e",
271
+ "color-syntax-comment": "#626772",
272
+ "text-xs": "0.75rem",
273
+ "text-sm": "0.8125rem",
274
+ "text-md": "0.875rem",
275
+ "text-lg": "1rem",
276
+ "text-xl": "1.25rem",
277
+ "text-2xl": "1.5rem",
278
+ "text-3xl": "2.75rem",
279
+ "text-reading": "1rem",
280
+ "text-display": "3.5rem",
281
+ "text-display-sm": "2.125rem",
282
+ "leading-tight": "1.25",
283
+ "leading": "1.6",
284
+ "weight-regular": "400",
285
+ "weight-medium": "500",
286
+ "weight-semibold": "600",
287
+ "tracking-tight": "-0.03em",
288
+ "text-code": "0.84375rem",
289
+ "space-1": "0.25rem",
290
+ "space-2": "0.5rem",
291
+ "space-3": "0.75rem",
292
+ "space-4": "1rem",
293
+ "space-5": "1.25rem",
294
+ "space-6": "1.5rem",
295
+ "space-8": "2rem",
296
+ "space-12": "3rem",
297
+ "space-16": "4rem",
298
+ "space-20": "5rem",
299
+ "space-24": "6rem",
300
+ "control-sm": "2rem",
301
+ "control-md": "2.25rem",
302
+ "control-lg": "2.75rem",
303
+ "row": "2.25rem",
304
+ "measure": "68ch",
305
+ "page-max": "960px",
306
+ "page-wide": "1120px",
307
+ "sidebar": "224px",
308
+ "radius-inline": "6px",
309
+ "radius-control": "999px",
310
+ "radius-panel": "16px",
311
+ "radius-field": "10px",
312
+ "radius-pill": "999px",
313
+ "shadow-raise": "0 1px 2px rgb(16 24 40 / 12%), 0 0 0 1px rgb(16 24 40 / 6%)",
314
+ "shadow-surface": "0 1px 2px rgb(16 24 40 / 6%), 0 0 0 1px rgb(16 24 40 / 6%)",
315
+ "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(130 142 158 / 35%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 80%)",
316
+ "shadow-dialog": "0 8px 24px rgb(16 16 24 / 12%), 0 0 0 1px #d3d8dd",
317
+ "shadow-nav-current": "0 1px 3px rgb(130 142 158 / 40%)",
318
+ "shadow-field-focus": "inset 0 0 0 2px color-mix(in srgb, #6c5267 18%, transparent)",
319
+ "shadow-field-focus-invalid": "inset 0 0 0 2px color-mix(in srgb, #bd342b 18%, transparent)",
320
+ "duration-fast": "120ms",
321
+ "duration": "180ms",
322
+ "ease-out": "cubic-bezier(0.2, 0.8, 0.2, 1)"
323
+ },
324
+ "dark": {
325
+ "color-project": "#d1b3c8",
326
+ "color-project-dark": "#d1b3c8",
327
+ "font-ui": "\"IBM Plex Sans\", -apple-system, BlinkMacSystemFont, \"SF Pro Text\", \"Segoe UI\", system-ui, sans-serif",
328
+ "font-mono": "\"IBM Plex Mono\", ui-monospace, \"SF Mono\", SFMono-Regular, Menlo, Consolas, monospace",
329
+ "color-bg": "#0d1012",
330
+ "color-surface": "#13171a",
331
+ "color-surface-raised": "#181d21",
332
+ "color-surface-muted": "#20262b",
333
+ "color-well": "color-mix(in srgb, #0d1012 87.5%, black)",
334
+ "color-field-bg": "color-mix(in srgb, #0d1012 87.5%, black)",
335
+ "color-field-edge": "#262d33",
336
+ "shadow-field": "inset 1.2px 1.2px 3.6px rgb(0 0 0 / 55%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 5%)",
337
+ "color-control-thumb": "color-mix(in srgb, #181d21 88%, white)",
338
+ "color-nav-current": "color-mix(in srgb, #d1b3c8 20%, transparent)",
339
+ "color-nav-current-text": "#d1b3c8",
340
+ "color-segmented-current-text": "#d1b3c8",
341
+ "color-row-hover": "#20262b",
342
+ "color-row-selected": "#181d21",
343
+ "color-border-subtle": "#262d33",
344
+ "color-border": "#78818a",
345
+ "color-text": "#e6e9eb",
346
+ "color-muted": "#9aa3ab",
347
+ "color-overlay": "rgb(0 0 0 / 62%)",
348
+ "color-accent": "#d1b3c8",
349
+ "color-accent-text": "#0d1012",
350
+ "color-accent-hover": "#e6e9eb",
351
+ "color-button-hover": "color-mix(in srgb, #d1b3c8 85%, #e6e9eb)",
352
+ "color-link": "#67c1df",
353
+ "color-focus": "#d1b3c8",
354
+ "focus-width": "2px",
355
+ "focus-offset": "3px",
356
+ "color-success": "#4cc38a",
357
+ "color-warning": "#e2a54b",
358
+ "color-error": "#f0776c",
359
+ "color-info": "#84adff",
360
+ "color-success-surface": "#172d25",
361
+ "color-warning-surface": "#2f281b",
362
+ "color-error-surface": "#312020",
363
+ "color-info-surface": "#202938",
364
+ "color-command-bg": "color-mix(in srgb, #d1b3c8 16%, black)",
365
+ "color-command-border": "color-mix(in srgb, #d1b3c8 28%, black)",
366
+ "color-terminal": "#0a0c0e",
367
+ "color-terminal-text": "#e6e9eb",
368
+ "color-terminal-border": "#2a3036",
369
+ "color-terminal-caption": "#13171a",
370
+ "color-terminal-caption-text": "#c9d0d6",
371
+ "shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
372
+ "color-code": "#13171a",
373
+ "color-code-text": "#e6e9eb",
374
+ "color-syntax-keyword": "#d8c2a5",
375
+ "color-syntax-string": "#a8bd9c",
376
+ "color-syntax-number": "#d5b98c",
377
+ "color-syntax-comment": "#a0a6b1",
378
+ "text-xs": "0.75rem",
379
+ "text-sm": "0.8125rem",
380
+ "text-md": "0.875rem",
381
+ "text-lg": "1rem",
382
+ "text-xl": "1.25rem",
383
+ "text-2xl": "1.5rem",
384
+ "text-3xl": "2.75rem",
385
+ "text-reading": "1rem",
386
+ "text-display": "3.5rem",
387
+ "text-display-sm": "2.125rem",
388
+ "leading-tight": "1.25",
389
+ "leading": "1.6",
390
+ "weight-regular": "400",
391
+ "weight-medium": "500",
392
+ "weight-semibold": "600",
393
+ "tracking-tight": "-0.03em",
394
+ "text-code": "0.84375rem",
395
+ "space-1": "0.25rem",
396
+ "space-2": "0.5rem",
397
+ "space-3": "0.75rem",
398
+ "space-4": "1rem",
399
+ "space-5": "1.25rem",
400
+ "space-6": "1.5rem",
401
+ "space-8": "2rem",
402
+ "space-12": "3rem",
403
+ "space-16": "4rem",
404
+ "space-20": "5rem",
405
+ "space-24": "6rem",
406
+ "control-sm": "2rem",
407
+ "control-md": "2.25rem",
408
+ "control-lg": "2.75rem",
409
+ "row": "2.25rem",
410
+ "measure": "68ch",
411
+ "page-max": "960px",
412
+ "page-wide": "1120px",
413
+ "sidebar": "224px",
414
+ "radius-inline": "6px",
415
+ "radius-control": "999px",
416
+ "radius-panel": "16px",
417
+ "radius-field": "10px",
418
+ "radius-pill": "999px",
419
+ "shadow-raise": "inset 0 1px 0 rgb(255 255 255 / 7%), 0 1px 2px rgb(0 0 0 / 45%)",
420
+ "shadow-surface": "0 0 0 1px rgb(255 255 255 / 6%)",
421
+ "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(0 0 0 / 55%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 5%)",
422
+ "shadow-dialog": "0 8px 24px rgb(0 0 0 / 45%), 0 0 0 1px #262d33",
423
+ "shadow-nav-current": "0 1px 2px rgb(0 0 0 / 25%)",
424
+ "shadow-field-focus": "inset 0 0 0 2px color-mix(in srgb, #d1b3c8 18%, transparent)",
425
+ "shadow-field-focus-invalid": "inset 0 0 0 2px color-mix(in srgb, #f0776c 18%, transparent)",
426
+ "duration-fast": "120ms",
427
+ "duration": "180ms",
428
+ "ease-out": "cubic-bezier(0.2, 0.8, 0.2, 1)"
429
+ }
430
+ },
431
+ "pine": {
432
+ "light": {
433
+ "color-project": "#00543f",
434
+ "color-project-dark": "#3fe0c0",
435
+ "font-ui": "\"IBM Plex Sans\", -apple-system, BlinkMacSystemFont, \"SF Pro Text\", \"Segoe UI\", system-ui, sans-serif",
436
+ "font-mono": "\"IBM Plex Mono\", ui-monospace, \"SF Mono\", SFMono-Regular, Menlo, Consolas, monospace",
437
+ "color-bg": "#f4f5f6",
438
+ "color-surface": "#e9ebed",
439
+ "color-surface-raised": "#fbfbfc",
440
+ "color-surface-muted": "#e2e5e8",
441
+ "color-well": "#e2e5e8",
442
+ "color-field-bg": "#fbfbfc",
443
+ "color-field-edge": "#d3d8dd",
444
+ "shadow-field": "none",
445
+ "color-control-thumb": "#fbfbfc",
446
+ "color-nav-current": "color-mix(in srgb, #00543f 14%, #fbfbfc)",
447
+ "color-nav-current-text": "#00543f",
448
+ "color-segmented-current-text": "#00543f",
449
+ "color-row-hover": "#e2e5e8",
450
+ "color-row-selected": "#fbfbfc",
451
+ "color-border-subtle": "#d3d8dd",
452
+ "color-border": "#6d747b",
453
+ "color-text": "#101315",
454
+ "color-muted": "#50575e",
455
+ "color-overlay": "rgb(0 0 0 / 42%)",
456
+ "color-accent": "#00543f",
457
+ "color-accent-text": "#f4f5f6",
458
+ "color-accent-hover": "#101315",
459
+ "color-button-hover": "color-mix(in srgb, #00543f 85%, #101315)",
460
+ "color-link": "#0b5f7c",
461
+ "color-focus": "#00543f",
462
+ "focus-width": "2px",
463
+ "focus-offset": "3px",
464
+ "color-success": "#157249",
465
+ "color-warning": "#86532e",
466
+ "color-error": "#bd342b",
467
+ "color-info": "#175cd3",
468
+ "color-success-surface": "#d9e5e1",
469
+ "color-warning-surface": "#e7e2de",
470
+ "color-error-surface": "#efe4e4",
471
+ "color-info-surface": "#d9e3f2",
472
+ "color-command-bg": "color-mix(in srgb, #00543f 25%, #101010)",
473
+ "color-command-border": "transparent",
474
+ "color-terminal": "#0a0c0e",
475
+ "color-terminal-text": "#e6e9eb",
476
+ "color-terminal-border": "#2a3036",
477
+ "color-terminal-caption": "#13171a",
478
+ "color-terminal-caption-text": "#c9d0d6",
479
+ "shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
480
+ "color-code": "#e9ebed",
481
+ "color-code-text": "#101315",
482
+ "color-syntax-keyword": "#715b42",
483
+ "color-syntax-string": "#346347",
484
+ "color-syntax-number": "#86532e",
485
+ "color-syntax-comment": "#626772",
486
+ "text-xs": "0.75rem",
487
+ "text-sm": "0.8125rem",
488
+ "text-md": "0.875rem",
489
+ "text-lg": "1rem",
490
+ "text-xl": "1.25rem",
491
+ "text-2xl": "1.5rem",
492
+ "text-3xl": "2.75rem",
493
+ "text-reading": "1rem",
494
+ "text-display": "3.5rem",
495
+ "text-display-sm": "2.125rem",
496
+ "leading-tight": "1.25",
497
+ "leading": "1.6",
498
+ "weight-regular": "400",
499
+ "weight-medium": "500",
500
+ "weight-semibold": "600",
501
+ "tracking-tight": "-0.03em",
502
+ "text-code": "0.84375rem",
503
+ "space-1": "0.25rem",
504
+ "space-2": "0.5rem",
505
+ "space-3": "0.75rem",
506
+ "space-4": "1rem",
507
+ "space-5": "1.25rem",
508
+ "space-6": "1.5rem",
509
+ "space-8": "2rem",
510
+ "space-12": "3rem",
511
+ "space-16": "4rem",
512
+ "space-20": "5rem",
513
+ "space-24": "6rem",
514
+ "control-sm": "2rem",
515
+ "control-md": "2.25rem",
516
+ "control-lg": "2.75rem",
517
+ "row": "2.25rem",
518
+ "measure": "68ch",
519
+ "page-max": "960px",
520
+ "page-wide": "1120px",
521
+ "sidebar": "224px",
522
+ "radius-inline": "6px",
523
+ "radius-control": "999px",
524
+ "radius-panel": "16px",
525
+ "radius-field": "10px",
526
+ "radius-pill": "999px",
527
+ "shadow-raise": "0 1px 2px rgb(16 24 40 / 12%), 0 0 0 1px rgb(16 24 40 / 6%)",
528
+ "shadow-surface": "0 1px 2px rgb(16 24 40 / 6%), 0 0 0 1px rgb(16 24 40 / 6%)",
529
+ "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(130 142 158 / 35%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 80%)",
530
+ "shadow-dialog": "0 8px 24px rgb(16 16 24 / 12%), 0 0 0 1px #d3d8dd",
531
+ "shadow-nav-current": "0 1px 3px rgb(130 142 158 / 40%)",
532
+ "shadow-field-focus": "inset 0 0 0 2px color-mix(in srgb, #00543f 18%, transparent)",
533
+ "shadow-field-focus-invalid": "inset 0 0 0 2px color-mix(in srgb, #bd342b 18%, transparent)",
534
+ "duration-fast": "120ms",
535
+ "duration": "180ms",
536
+ "ease-out": "cubic-bezier(0.2, 0.8, 0.2, 1)"
537
+ },
538
+ "dark": {
539
+ "color-project": "#3fe0c0",
540
+ "color-project-dark": "#3fe0c0",
541
+ "font-ui": "\"IBM Plex Sans\", -apple-system, BlinkMacSystemFont, \"SF Pro Text\", \"Segoe UI\", system-ui, sans-serif",
542
+ "font-mono": "\"IBM Plex Mono\", ui-monospace, \"SF Mono\", SFMono-Regular, Menlo, Consolas, monospace",
543
+ "color-bg": "#0d1012",
544
+ "color-surface": "#13171a",
545
+ "color-surface-raised": "#181d21",
546
+ "color-surface-muted": "#20262b",
547
+ "color-well": "color-mix(in srgb, #0d1012 87.5%, black)",
548
+ "color-field-bg": "color-mix(in srgb, #0d1012 87.5%, black)",
549
+ "color-field-edge": "#262d33",
550
+ "shadow-field": "inset 1.2px 1.2px 3.6px rgb(0 0 0 / 55%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 5%)",
551
+ "color-control-thumb": "color-mix(in srgb, #181d21 88%, white)",
552
+ "color-nav-current": "color-mix(in srgb, #3fe0c0 20%, transparent)",
553
+ "color-nav-current-text": "#3fe0c0",
554
+ "color-segmented-current-text": "#3fe0c0",
555
+ "color-row-hover": "#20262b",
556
+ "color-row-selected": "#181d21",
557
+ "color-border-subtle": "#262d33",
558
+ "color-border": "#78818a",
559
+ "color-text": "#e6e9eb",
560
+ "color-muted": "#9aa3ab",
561
+ "color-overlay": "rgb(0 0 0 / 62%)",
562
+ "color-accent": "#3fe0c0",
563
+ "color-accent-text": "#0d1012",
564
+ "color-accent-hover": "#e6e9eb",
565
+ "color-button-hover": "color-mix(in srgb, #3fe0c0 85%, #e6e9eb)",
566
+ "color-link": "#67c1df",
567
+ "color-focus": "#3fe0c0",
568
+ "focus-width": "2px",
569
+ "focus-offset": "3px",
570
+ "color-success": "#4cc38a",
571
+ "color-warning": "#e2a54b",
572
+ "color-error": "#f0776c",
573
+ "color-info": "#84adff",
574
+ "color-success-surface": "#172d25",
575
+ "color-warning-surface": "#2f281b",
576
+ "color-error-surface": "#312020",
577
+ "color-info-surface": "#202938",
578
+ "color-command-bg": "color-mix(in srgb, #3fe0c0 16%, black)",
579
+ "color-command-border": "color-mix(in srgb, #3fe0c0 28%, black)",
580
+ "color-terminal": "#0a0c0e",
581
+ "color-terminal-text": "#e6e9eb",
582
+ "color-terminal-border": "#2a3036",
583
+ "color-terminal-caption": "#13171a",
584
+ "color-terminal-caption-text": "#c9d0d6",
585
+ "shadow-nav-current-dark": "0 1px 2px rgb(0 0 0 / 25%)",
586
+ "color-code": "#13171a",
587
+ "color-code-text": "#e6e9eb",
588
+ "color-syntax-keyword": "#d8c2a5",
589
+ "color-syntax-string": "#a8bd9c",
590
+ "color-syntax-number": "#d5b98c",
591
+ "color-syntax-comment": "#a0a6b1",
592
+ "text-xs": "0.75rem",
593
+ "text-sm": "0.8125rem",
594
+ "text-md": "0.875rem",
595
+ "text-lg": "1rem",
596
+ "text-xl": "1.25rem",
597
+ "text-2xl": "1.5rem",
598
+ "text-3xl": "2.75rem",
599
+ "text-reading": "1rem",
600
+ "text-display": "3.5rem",
601
+ "text-display-sm": "2.125rem",
602
+ "leading-tight": "1.25",
603
+ "leading": "1.6",
604
+ "weight-regular": "400",
605
+ "weight-medium": "500",
606
+ "weight-semibold": "600",
607
+ "tracking-tight": "-0.03em",
608
+ "text-code": "0.84375rem",
609
+ "space-1": "0.25rem",
610
+ "space-2": "0.5rem",
611
+ "space-3": "0.75rem",
612
+ "space-4": "1rem",
613
+ "space-5": "1.25rem",
614
+ "space-6": "1.5rem",
615
+ "space-8": "2rem",
616
+ "space-12": "3rem",
617
+ "space-16": "4rem",
618
+ "space-20": "5rem",
619
+ "space-24": "6rem",
620
+ "control-sm": "2rem",
621
+ "control-md": "2.25rem",
622
+ "control-lg": "2.75rem",
623
+ "row": "2.25rem",
624
+ "measure": "68ch",
625
+ "page-max": "960px",
626
+ "page-wide": "1120px",
627
+ "sidebar": "224px",
628
+ "radius-inline": "6px",
629
+ "radius-control": "999px",
630
+ "radius-panel": "16px",
631
+ "radius-field": "10px",
632
+ "radius-pill": "999px",
633
+ "shadow-raise": "inset 0 1px 0 rgb(255 255 255 / 7%), 0 1px 2px rgb(0 0 0 / 45%)",
634
+ "shadow-surface": "0 0 0 1px rgb(255 255 255 / 6%)",
635
+ "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(0 0 0 / 55%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 5%)",
636
+ "shadow-dialog": "0 8px 24px rgb(0 0 0 / 45%), 0 0 0 1px #262d33",
637
+ "shadow-nav-current": "0 1px 2px rgb(0 0 0 / 25%)",
638
+ "shadow-field-focus": "inset 0 0 0 2px color-mix(in srgb, #3fe0c0 18%, transparent)",
639
+ "shadow-field-focus-invalid": "inset 0 0 0 2px color-mix(in srgb, #f0776c 18%, transparent)",
640
+ "duration-fast": "120ms",
641
+ "duration": "180ms",
642
+ "ease-out": "cubic-bezier(0.2, 0.8, 0.2, 1)"
643
+ }
216
644
  }
217
645
  }
218
646
  }
@@ -39,7 +39,7 @@ Center the **container**, not every sentence. Align header, content, images, and
39
39
 
40
40
  ## Files and examples
41
41
 
42
- - `tokens.css`: the values of the Graphite Indigo theme, generated from the token source (`tokens/graphite-indigo.json`) in `@filipgutica/design-system`. To change a value, edit the JSON there and run `pnpm tokens:build`; do not edit `tokens.css` by hand. The identity inputs sit in one block at the top. Each line's `ui:` comment lists the library variables that carry that value, the line's own name first.
42
+ - `tokens.css`: the values of the default theme, Graphite Indigo, generated from the token source (`tokens/core.json` and `tokens/themes/graphite-indigo.json`) in `@filipgutica/design-system`. Other themes ship as `themes/<id>.css`, which set only the identity inputs; load one after `tokens.css`, on `:root`. To change a value, edit the JSON there and run `pnpm tokens:build`; do not edit `tokens.css` by hand. The identity inputs sit in one block at the top. Each line's `ui:` comment lists the library variables that carry that value, the line's own name first.
43
43
  - `components.md`: one spec for each component, with anatomy, states, Do and Don't lines, keyboard and screen-reader behavior, motion, and forced colors. Read it for any component work.
44
44
  - `components.html`: every component in each of its states, in plain HTML and CSS on `tokens.css`. Copy component markup and styles from there.
45
45
  - `decisions.md`: the choices behind the components, and the options they replaced.
@@ -22,6 +22,7 @@ Each entry records a choice this language made, the options it rejected, and why
22
22
  | Segmented label | Core | The selected label reads at 4.5:1 on its thumb, and an icon at 3:1 (`--color-segmented-current-text`): `--color-accent`, or the first of `--color-text`, black, and white that reads. | Accent at 3:1 for labels too, which let some hues' text fall below 4.5:1. | label contrast: `tests/catalogue/catalogue.spec.ts` "contrast: every selected segmented label on its thumb reaches 4.5:1"; icon at 3:1: no test yet |
23
23
  | Phone drawer trigger | Core | A page-level contents drawer opens from a soft secondary button with a three-line menu glyph and a label. The no-JavaScript fallback keeps a chevron, because it opens in place. The site shell opens its drawer from the header's icon-only Menu button instead (see Phone header). | A down chevron promised a dropdown, but the trigger opens a side drawer. | No test yet |
24
24
  | Shape follows role | Core | A pill acts, or sets a value in place with every option shown, on one line (`--radius-control`); a select, which opens a list, is a one-line non-action control. Small state marks are pills (`--radius-pill`). Places and picked rows are 6px (`--radius-inline`). Typed fields, controls whose label wraps, and one-line controls that are not actions are 10px (`--radius-field`). Containers are 16px (`--radius-panel`). A pill never holds text that can wrap, and nested rectangles are concentric. The token names predate the rule: they say inline, control, and field, where the uses are rows, pills, and typed fields. The names stay, because a rename breaks every page that uses them. | One shape for every control. All pills put wrapping labels in pills, which the toggle card, fields, and the raised pill row already rejected; all rectangles lose the shape that marks an action. A list of components for each token with no reason: a new component had no rule to pick from, and a reader took a 6px row beside a pill for an error. | rendered corners by role: `tests/catalogue/catalogue.spec.ts` "each component renders the corner radius of its role, and no other part has one", "the DESIGN.md shape table names each role token with its value"; slider track and thumb, and select picker: `tests/design-foundations.test.mjs` "the slider track, slider thumb, and select picker take their role’s corners"; no literal radius: `tests/design-foundations.test.mjs` "no page or the report stylesheet writes a literal corner radius" |
25
+ | Themes | Core | A theme sets only identity inputs: a hue for light and for dark, and optionally its two fonts. Shape, spacing, states, and status colours stay core, so actions are pills in every theme. Every theme passes the contrast guards in both modes. Graphite Indigo is the default; Pine and Mauve (the quiet theme) ship beside it. | The action shape as a theme input (a pill, the 10px field corner, or the 6px row corner): each rounded choice gives actions another role's shape, a select's at 10px and a tab's or row's at 6px, so shape stops telling an action from a field. Radix Themes and shadcn scale every corner together, and Primer, Carbon, Polaris, and Spectrum keep shape core; revisit it as a whole radius scale when a theme needs one. A grey-blue quiet theme (Slate): it sat beside the muted text and the info blue, so its selection read as metadata and its primary button looked disabled. | Per-theme contrast guards (`tests/design-foundations.test.mjs`), the catalogue's rendered recipes in every theme, and the Themes page tests |
25
26
  | Navigation row corners | Core | Navigation rows, header and strip rows, list-selection rows, collapsible group labels, and tabs take 6px corners (`--radius-inline`), except rows inside a floating menu (see Floating-menu rows). The owner chose the more rectangular rows from the Gate M mockup (2026-11-09). | 10px (`--radius-field`), the previous corners, shared with fields. | 6px corners: `tests/catalogue/catalogue.spec.ts` "each component renders the corner radius of its role, and no other part has one"; Foundations swatch: `tests/design-foundations.test.mjs` "the Foundations current-row swatch and radius list follow the navigation row radius" |
26
27
  | Floating-menu rows | Core | Rows inside a floating menu, such as the project menu, are concentric with the 16px menu: `calc(var(--radius-panel) - var(--space-1))`, 12px, as select picker rows are. The owner approved it from the DS-3b comparison. | 6px like rail rows: a 6px row inside a 16px panel looks pinched. | 12px corners: `tests/catalogue/catalogue.spec.ts` "each component renders the corner radius of its role, and no other part has one" |
27
28
  | One-line non-action controls | Core | A one-line control that is not an action takes the 10px field corner (`--radius-field`), as a select does: the select, the project-menu trigger, the labelled contents trigger and its no-JavaScript summary ("On this page"), and the skip link. The project trigger keeps the quiet-action tint. The icon-only Menu button stays round. The owner chose it on 2026-11-10. | The pill (`--radius-control`): a pill means an action, and these controls open a menu or list, pick a value, or move focus. 16px (`--radius-panel`), like the menu and other floating layers: on a one-line control 40 to 44px tall it reads almost as a pill. | 10px corners: `tests/catalogue/catalogue.spec.ts` "each component renders the corner radius of its role, and no other part has one" |
@@ -1,11 +1,13 @@
1
1
  /*
2
- * Design language tokens. Generated from tokens/graphite-indigo.json by scripts/build-tokens.mjs in
3
- * @filipgutica/design-system: edit the JSON and run `pnpm tokens:build`. Do not edit this file.
2
+ * Design language tokens. Generated from tokens/core.json and tokens/themes/graphite-indigo.json
3
+ * by scripts/build-tokens.mjs in @filipgutica/design-system: edit the JSON and run
4
+ * `pnpm tokens:build`. Do not edit this file.
4
5
  * DESIGN.md names these tokens; it never repeats their values.
5
6
  *
6
- * Two layers. The identity block at the top of :root is the project's own: its hue
7
- * pair and fonts. A new project keeps this file unchanged and sets those lines on
8
- * :root in its own stylesheet, loaded after this one. The dark blocks switch
7
+ * Two layers. The identity block at the top of :root is the theme's own: its hue
8
+ * pair and fonts. This file carries the default theme. Another theme keeps this file
9
+ * unchanged and loads its themes/<id>.css after it, on :root; a new project can set
10
+ * those lines on :root in its own stylesheet the same way. The dark blocks switch
9
11
  * --color-project to --color-project-dark, so the override needs no dark rule. Check
10
12
  * --color-accent-text at 4.5:1 on the new hue and override it too when it falls short.
11
13
  * The terminal plate tokens also belong to the identity layer; every other line is core.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@filipgutica/design-system",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Filip's design language, tokens, and component catalogue for any framework",
5
5
  "type": "module",
6
6
  "sideEffects": [