@podoba/tokens 0.0.1

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 ADDED
@@ -0,0 +1,18 @@
1
+ # @podoba/tokens
2
+
3
+ Design tokens for podoba. Static, framework-agnostic.
4
+
5
+ ```ts
6
+ import "@podoba/tokens/variables.css"; // CSS custom properties → apply on :root
7
+ import tokens from "@podoba/tokens/tokens.json"; // raw DTCG, if you need to introspect
8
+ ```
9
+
10
+ - **`variables.css`** — the compiled CSS custom properties (`--color-brand-primary`, …). This is what apps load.
11
+ - **`tokens.json`** — the DTCG source (W3C Design Tokens format).
12
+
13
+ ## Not here on purpose
14
+
15
+ The **theme-resolution cascade** (`theme-resolver.ts` in `@app/tokens`) is authoring
16
+ machinery that imports `@app/schema`'s token model. It stays in GS and *generates* the
17
+ files above. Keeping it out is what lets `@podoba/tokens` be dependency-free and truly
18
+ app-agnostic. See [../../EXTRACTION.md](../../EXTRACTION.md).
package/package.json ADDED
@@ -0,0 +1,24 @@
1
+ {
2
+ "name": "@podoba/tokens",
3
+ "version": "0.0.1",
4
+ "type": "module",
5
+ "description": "podoba design tokens — static DTCG tokens.json + generated CSS custom properties. Framework-agnostic.",
6
+ "main": "./src/index.ts",
7
+ "types": "./src/index.ts",
8
+ "exports": {
9
+ ".": "./src/index.ts",
10
+ "./variables.css": "./src/variables.css",
11
+ "./tokens.json": "./src/tokens.json"
12
+ },
13
+ "files": ["src"],
14
+ "publishConfig": {
15
+ "access": "public"
16
+ },
17
+ "scripts": {
18
+ "typecheck": "tsc --build"
19
+ },
20
+ "devDependencies": {
21
+ "typescript": "catalog:",
22
+ "@types/bun": "catalog:"
23
+ }
24
+ }
package/src/index.ts ADDED
@@ -0,0 +1,13 @@
1
+ // @podoba/tokens — design tokens for the universal design system.
2
+ //
3
+ // This package ships the *output* of GS's token pipeline, not the authoring
4
+ // machinery. The theme-resolution cascade in @app/tokens (theme-resolver.ts)
5
+ // imports @app/schema's token model and stays a GS concern — it generates
6
+ // `variables.css` and writes it here. Consumers only ever need:
7
+ //
8
+ // import "@podoba/tokens/variables.css"; // the CSS custom properties
9
+ // import tokens from "@podoba/tokens/tokens.json"; // raw DTCG (optional)
10
+ //
11
+ // See ../../EXTRACTION.md → "Coupling to sever #1".
12
+
13
+ export {};
@@ -0,0 +1,1156 @@
1
+ {
2
+ "color": {
3
+ "accent": {
4
+ "green-light": {
5
+ "$type": "color",
6
+ "$value": "#b1fed4",
7
+ "$description": "Accent green-light — gs status-badge mint (color.green.light).",
8
+ "$extensions": {
9
+ "graphicstandard": {
10
+ "family": "color",
11
+ "layer": "semantic",
12
+ "value": {
13
+ "kind": "color",
14
+ "value": [
15
+ {
16
+ "themeKey": "light",
17
+ "online": {
18
+ "colorSpace": "hex",
19
+ "hex": "#b1fed4"
20
+ }
21
+ }
22
+ ]
23
+ }
24
+ }
25
+ }
26
+ },
27
+ "mint": {
28
+ "$type": "color",
29
+ "$value": "#dff6ec",
30
+ "$description": "Accent mint — positive / \"new\" tag fill (gs brand-subtle).",
31
+ "$extensions": {
32
+ "graphicstandard": {
33
+ "family": "color",
34
+ "layer": "semantic",
35
+ "value": {
36
+ "kind": "color",
37
+ "value": [
38
+ {
39
+ "themeKey": "light",
40
+ "online": {
41
+ "colorSpace": "hex",
42
+ "hex": "#dff6ec"
43
+ }
44
+ }
45
+ ]
46
+ }
47
+ }
48
+ }
49
+ },
50
+ "pink": {
51
+ "$type": "color",
52
+ "$value": "#ff69b4",
53
+ "$description": "Accent pink — avatar / profile accent.",
54
+ "$extensions": {
55
+ "graphicstandard": {
56
+ "family": "color",
57
+ "layer": "semantic",
58
+ "value": {
59
+ "kind": "color",
60
+ "value": [
61
+ {
62
+ "themeKey": "light",
63
+ "online": {
64
+ "colorSpace": "hex",
65
+ "hex": "#ff69b4"
66
+ }
67
+ }
68
+ ]
69
+ }
70
+ }
71
+ }
72
+ },
73
+ "strong": {
74
+ "$type": "color",
75
+ "$value": "#4bcf9f",
76
+ "$description": "Accent strong — deeper green for hover / pressed states of the brand-green accent.",
77
+ "$extensions": {
78
+ "graphicstandard": {
79
+ "family": "color",
80
+ "layer": "semantic",
81
+ "value": {
82
+ "kind": "color",
83
+ "value": [
84
+ {
85
+ "themeKey": "light",
86
+ "online": {
87
+ "colorSpace": "hex",
88
+ "hex": "#4bcf9f"
89
+ }
90
+ }
91
+ ]
92
+ }
93
+ }
94
+ }
95
+ },
96
+ "yellow": {
97
+ "$type": "color",
98
+ "$value": "#ffcc6a",
99
+ "$description": "Accent yellow — highlight tile / tag fill (gs alert).",
100
+ "$extensions": {
101
+ "graphicstandard": {
102
+ "family": "color",
103
+ "layer": "semantic",
104
+ "value": {
105
+ "kind": "color",
106
+ "value": [
107
+ {
108
+ "themeKey": "light",
109
+ "online": {
110
+ "colorSpace": "hex",
111
+ "hex": "#ffcc6a"
112
+ }
113
+ }
114
+ ]
115
+ }
116
+ }
117
+ }
118
+ }
119
+ },
120
+ "border": {
121
+ "DEFAULT": {
122
+ "$type": "color",
123
+ "$value": "#eceae1",
124
+ "$description": "Border — neutral-100.",
125
+ "$extensions": {
126
+ "graphicstandard": {
127
+ "family": "color",
128
+ "layer": "semantic",
129
+ "value": {
130
+ "kind": "color",
131
+ "value": [
132
+ {
133
+ "themeKey": "light",
134
+ "online": {
135
+ "colorSpace": "hex",
136
+ "hex": "#eceae1"
137
+ }
138
+ }
139
+ ]
140
+ }
141
+ }
142
+ }
143
+ }
144
+ },
145
+ "brand": {
146
+ "green": {
147
+ "$type": "color",
148
+ "$value": "#75e7b8",
149
+ "$description": "Brand green — the bright gs brand mint (large fills / illustrative).",
150
+ "$extensions": {
151
+ "graphicstandard": {
152
+ "family": "color",
153
+ "layer": "semantic",
154
+ "value": {
155
+ "kind": "color",
156
+ "value": [
157
+ {
158
+ "themeKey": "light",
159
+ "online": {
160
+ "colorSpace": "hex",
161
+ "hex": "#75e7b8"
162
+ }
163
+ }
164
+ ]
165
+ }
166
+ }
167
+ }
168
+ },
169
+ "primary": {
170
+ "$type": "color",
171
+ "$value": "#0d0d0d",
172
+ "$description": "Brand black — primary / interactive.",
173
+ "$extensions": {
174
+ "graphicstandard": {
175
+ "family": "color",
176
+ "layer": "semantic",
177
+ "value": {
178
+ "kind": "color",
179
+ "value": [
180
+ {
181
+ "themeKey": "light",
182
+ "online": {
183
+ "colorSpace": "hex",
184
+ "hex": "#0d0d0d"
185
+ }
186
+ }
187
+ ]
188
+ }
189
+ }
190
+ }
191
+ },
192
+ "secondary": {
193
+ "$type": "color",
194
+ "$value": "#6eddb1",
195
+ "$description": "Brand green — accent.",
196
+ "$extensions": {
197
+ "graphicstandard": {
198
+ "family": "color",
199
+ "layer": "semantic",
200
+ "value": {
201
+ "kind": "color",
202
+ "value": [
203
+ {
204
+ "themeKey": "light",
205
+ "online": {
206
+ "colorSpace": "hex",
207
+ "hex": "#6eddb1"
208
+ }
209
+ }
210
+ ]
211
+ }
212
+ }
213
+ }
214
+ }
215
+ },
216
+ "danger": {
217
+ "DEFAULT": {
218
+ "$type": "color",
219
+ "$value": "#dc2626",
220
+ "$description": "Danger — error.",
221
+ "$extensions": {
222
+ "graphicstandard": {
223
+ "family": "color",
224
+ "layer": "semantic",
225
+ "value": {
226
+ "kind": "color",
227
+ "value": [
228
+ {
229
+ "themeKey": "light",
230
+ "online": {
231
+ "colorSpace": "hex",
232
+ "hex": "#dc2626"
233
+ }
234
+ }
235
+ ]
236
+ }
237
+ }
238
+ }
239
+ },
240
+ "fg": {
241
+ "$type": "color",
242
+ "$value": "#ffffff",
243
+ "$description": "Danger foreground — text on danger.",
244
+ "$extensions": {
245
+ "graphicstandard": {
246
+ "family": "color",
247
+ "layer": "semantic",
248
+ "value": {
249
+ "kind": "color",
250
+ "value": [
251
+ {
252
+ "themeKey": "light",
253
+ "online": {
254
+ "colorSpace": "hex",
255
+ "hex": "#ffffff"
256
+ }
257
+ }
258
+ ]
259
+ }
260
+ }
261
+ }
262
+ }
263
+ },
264
+ "fg": {
265
+ "DEFAULT": {
266
+ "$type": "color",
267
+ "$value": "#0d0d0d",
268
+ "$description": "Foreground — primary text (brand black).",
269
+ "$extensions": {
270
+ "graphicstandard": {
271
+ "family": "color",
272
+ "layer": "semantic",
273
+ "value": {
274
+ "kind": "color",
275
+ "value": [
276
+ {
277
+ "themeKey": "light",
278
+ "online": {
279
+ "colorSpace": "hex",
280
+ "hex": "#0d0d0d"
281
+ }
282
+ }
283
+ ]
284
+ }
285
+ }
286
+ }
287
+ },
288
+ "inverted": {
289
+ "$type": "color",
290
+ "$value": "#ffffff",
291
+ "$description": "Foreground inverted — text on dark.",
292
+ "$extensions": {
293
+ "graphicstandard": {
294
+ "family": "color",
295
+ "layer": "semantic",
296
+ "value": {
297
+ "kind": "color",
298
+ "value": [
299
+ {
300
+ "themeKey": "light",
301
+ "online": {
302
+ "colorSpace": "hex",
303
+ "hex": "#ffffff"
304
+ }
305
+ }
306
+ ]
307
+ }
308
+ }
309
+ }
310
+ },
311
+ "muted": {
312
+ "$type": "color",
313
+ "$value": "#7d786f",
314
+ "$description": "Foreground muted — secondary text (gs text-muted; WCAG AA on white + surface-muted).",
315
+ "$extensions": {
316
+ "graphicstandard": {
317
+ "family": "color",
318
+ "layer": "semantic",
319
+ "value": {
320
+ "kind": "color",
321
+ "value": [
322
+ {
323
+ "themeKey": "light",
324
+ "online": {
325
+ "colorSpace": "hex",
326
+ "hex": "#7d786f"
327
+ }
328
+ }
329
+ ]
330
+ }
331
+ }
332
+ }
333
+ },
334
+ "subtle": {
335
+ "$type": "color",
336
+ "$value": "#aba89c",
337
+ "$description": "Foreground subtle — tertiary lead-in text inside large display stats (decorative scale only — below AA for body text).",
338
+ "$extensions": {
339
+ "graphicstandard": {
340
+ "family": "color",
341
+ "layer": "semantic",
342
+ "value": {
343
+ "kind": "color",
344
+ "value": [
345
+ {
346
+ "themeKey": "light",
347
+ "online": {
348
+ "colorSpace": "hex",
349
+ "hex": "#aba89c"
350
+ }
351
+ }
352
+ ]
353
+ }
354
+ }
355
+ }
356
+ }
357
+ },
358
+ "neutral": {
359
+ "600": {
360
+ "$type": "color",
361
+ "$value": "#333333",
362
+ "$description": "Neutral-600 — gs primary-button hover fill.",
363
+ "$extensions": {
364
+ "graphicstandard": {
365
+ "family": "color",
366
+ "layer": "semantic",
367
+ "value": {
368
+ "kind": "color",
369
+ "value": [
370
+ {
371
+ "themeKey": "light",
372
+ "online": {
373
+ "colorSpace": "hex",
374
+ "hex": "#333333"
375
+ }
376
+ }
377
+ ]
378
+ }
379
+ }
380
+ }
381
+ }
382
+ },
383
+ "ring": {
384
+ "DEFAULT": {
385
+ "$type": "color",
386
+ "$value": "#0d0d0d",
387
+ "$description": "Focus ring — interactive primary (black).",
388
+ "$extensions": {
389
+ "graphicstandard": {
390
+ "family": "color",
391
+ "layer": "semantic",
392
+ "value": {
393
+ "kind": "color",
394
+ "value": [
395
+ {
396
+ "themeKey": "light",
397
+ "online": {
398
+ "colorSpace": "hex",
399
+ "hex": "#0d0d0d"
400
+ }
401
+ }
402
+ ]
403
+ }
404
+ }
405
+ }
406
+ }
407
+ },
408
+ "success": {
409
+ "DEFAULT": {
410
+ "$type": "color",
411
+ "$value": "#4bcf9f",
412
+ "$description": "Success — positive state / progress (gs accent-strong green; pairs with dark fg).",
413
+ "$extensions": {
414
+ "graphicstandard": {
415
+ "family": "color",
416
+ "layer": "semantic",
417
+ "value": {
418
+ "kind": "color",
419
+ "value": [
420
+ {
421
+ "themeKey": "light",
422
+ "online": {
423
+ "colorSpace": "hex",
424
+ "hex": "#4bcf9f"
425
+ }
426
+ }
427
+ ]
428
+ }
429
+ }
430
+ }
431
+ },
432
+ "fg": {
433
+ "$type": "color",
434
+ "$value": "#0d0d0d",
435
+ "$description": "Success foreground — dark text on the green success fill (gs green chips use brand black).",
436
+ "$extensions": {
437
+ "graphicstandard": {
438
+ "family": "color",
439
+ "layer": "semantic",
440
+ "value": {
441
+ "kind": "color",
442
+ "value": [
443
+ {
444
+ "themeKey": "light",
445
+ "online": {
446
+ "colorSpace": "hex",
447
+ "hex": "#0d0d0d"
448
+ }
449
+ }
450
+ ]
451
+ }
452
+ }
453
+ }
454
+ }
455
+ },
456
+ "surface": {
457
+ "DEFAULT": {
458
+ "$type": "color",
459
+ "$value": "#ffffff",
460
+ "$description": "Surface — canvas.",
461
+ "$extensions": {
462
+ "graphicstandard": {
463
+ "family": "color",
464
+ "layer": "semantic",
465
+ "value": {
466
+ "kind": "color",
467
+ "value": [
468
+ {
469
+ "themeKey": "light",
470
+ "online": {
471
+ "colorSpace": "hex",
472
+ "hex": "#ffffff"
473
+ }
474
+ }
475
+ ]
476
+ }
477
+ }
478
+ }
479
+ },
480
+ "card": {
481
+ "$type": "color",
482
+ "$value": "#f7f6f2",
483
+ "$description": "Surface card — cream tile / dashboard card fill.",
484
+ "$extensions": {
485
+ "graphicstandard": {
486
+ "family": "color",
487
+ "layer": "semantic",
488
+ "value": {
489
+ "kind": "color",
490
+ "value": [
491
+ {
492
+ "themeKey": "light",
493
+ "online": {
494
+ "colorSpace": "hex",
495
+ "hex": "#f7f6f2"
496
+ }
497
+ }
498
+ ]
499
+ }
500
+ }
501
+ }
502
+ },
503
+ "inverted": {
504
+ "$type": "color",
505
+ "$value": "#242423",
506
+ "$description": "Surface inverted — dark tile / pill-button fill (pairs with fg.inverted).",
507
+ "$extensions": {
508
+ "graphicstandard": {
509
+ "family": "color",
510
+ "layer": "semantic",
511
+ "value": {
512
+ "kind": "color",
513
+ "value": [
514
+ {
515
+ "themeKey": "light",
516
+ "online": {
517
+ "colorSpace": "hex",
518
+ "hex": "#242423"
519
+ }
520
+ }
521
+ ]
522
+ }
523
+ }
524
+ }
525
+ },
526
+ "muted": {
527
+ "$type": "color",
528
+ "$value": "#eceae1",
529
+ "$description": "Surface muted — hover / active / panel-strong.",
530
+ "$extensions": {
531
+ "graphicstandard": {
532
+ "family": "color",
533
+ "layer": "semantic",
534
+ "value": {
535
+ "kind": "color",
536
+ "value": [
537
+ {
538
+ "themeKey": "light",
539
+ "online": {
540
+ "colorSpace": "hex",
541
+ "hex": "#eceae1"
542
+ }
543
+ }
544
+ ]
545
+ }
546
+ }
547
+ }
548
+ },
549
+ "placeholder": {
550
+ "$type": "color",
551
+ "$value": "#333333",
552
+ "$description": "Surface placeholder — media / thumbnail placeholder block.",
553
+ "$extensions": {
554
+ "graphicstandard": {
555
+ "family": "color",
556
+ "layer": "semantic",
557
+ "value": {
558
+ "kind": "color",
559
+ "value": [
560
+ {
561
+ "themeKey": "light",
562
+ "online": {
563
+ "colorSpace": "hex",
564
+ "hex": "#333333"
565
+ }
566
+ }
567
+ ]
568
+ }
569
+ }
570
+ }
571
+ }
572
+ }
573
+ },
574
+ "font": {
575
+ "mono": {
576
+ "$type": "typography",
577
+ "$value": "'GT America Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace",
578
+ "$description": "Mono font stack — GT America Mono with system fallback.",
579
+ "$extensions": {
580
+ "graphicstandard": {
581
+ "family": "typography",
582
+ "layer": "semantic",
583
+ "value": {
584
+ "kind": "scalar",
585
+ "value": "'GT America Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace"
586
+ }
587
+ }
588
+ }
589
+ },
590
+ "sans": {
591
+ "$type": "typography",
592
+ "$value": "'GT America', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif",
593
+ "$description": "Sans font stack — GT America with system fallback.",
594
+ "$extensions": {
595
+ "graphicstandard": {
596
+ "family": "typography",
597
+ "layer": "semantic",
598
+ "value": {
599
+ "kind": "scalar",
600
+ "value": "'GT America', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif"
601
+ }
602
+ }
603
+ }
604
+ },
605
+ "size": {
606
+ "body": {
607
+ "$type": "dimension",
608
+ "$value": "1rem",
609
+ "$description": "Font size — body (16px); size-only.",
610
+ "$extensions": {
611
+ "graphicstandard": {
612
+ "family": "dimension",
613
+ "layer": "semantic",
614
+ "value": {
615
+ "kind": "scalar",
616
+ "value": "1rem"
617
+ }
618
+ }
619
+ }
620
+ },
621
+ "callout": {
622
+ "$type": "dimension",
623
+ "$value": "0.9375rem",
624
+ "$description": "Font size — callout (15px); size-only.",
625
+ "$extensions": {
626
+ "graphicstandard": {
627
+ "family": "dimension",
628
+ "layer": "semantic",
629
+ "value": {
630
+ "kind": "scalar",
631
+ "value": "0.9375rem"
632
+ }
633
+ }
634
+ }
635
+ },
636
+ "caption": {
637
+ "$type": "dimension",
638
+ "$value": "0.6875rem",
639
+ "$description": "Font size — caption (11px); size-only.",
640
+ "$extensions": {
641
+ "graphicstandard": {
642
+ "family": "dimension",
643
+ "layer": "semantic",
644
+ "value": {
645
+ "kind": "scalar",
646
+ "value": "0.6875rem"
647
+ }
648
+ }
649
+ }
650
+ },
651
+ "compact": {
652
+ "$type": "dimension",
653
+ "$value": "0.8125rem",
654
+ "$description": "Font size compact — 13px dense UI text (nav links, tabs).",
655
+ "$extensions": {
656
+ "graphicstandard": {
657
+ "family": "dimension",
658
+ "layer": "semantic",
659
+ "value": {
660
+ "kind": "scalar",
661
+ "value": "0.8125rem"
662
+ }
663
+ }
664
+ }
665
+ },
666
+ "display": {
667
+ "$type": "dimension",
668
+ "$value": "1.75rem",
669
+ "$description": "Font size — display (28px); size-only.",
670
+ "$extensions": {
671
+ "graphicstandard": {
672
+ "family": "dimension",
673
+ "layer": "semantic",
674
+ "value": {
675
+ "kind": "scalar",
676
+ "value": "1.75rem"
677
+ }
678
+ }
679
+ }
680
+ },
681
+ "heading1": {
682
+ "$type": "dimension",
683
+ "$value": "1.75rem",
684
+ "$description": "Font size — heading 1 (28px).",
685
+ "$extensions": {
686
+ "graphicstandard": {
687
+ "family": "dimension",
688
+ "layer": "semantic",
689
+ "value": {
690
+ "kind": "scalar",
691
+ "value": "1.75rem"
692
+ }
693
+ }
694
+ }
695
+ },
696
+ "heading2": {
697
+ "$type": "dimension",
698
+ "$value": "1.375rem",
699
+ "$description": "Font size — heading 2 (22px).",
700
+ "$extensions": {
701
+ "graphicstandard": {
702
+ "family": "dimension",
703
+ "layer": "semantic",
704
+ "value": {
705
+ "kind": "scalar",
706
+ "value": "1.375rem"
707
+ }
708
+ }
709
+ }
710
+ },
711
+ "heading3": {
712
+ "$type": "dimension",
713
+ "$value": "1.25rem",
714
+ "$description": "Font size — heading 3 (20px).",
715
+ "$extensions": {
716
+ "graphicstandard": {
717
+ "family": "dimension",
718
+ "layer": "semantic",
719
+ "value": {
720
+ "kind": "scalar",
721
+ "value": "1.25rem"
722
+ }
723
+ }
724
+ }
725
+ },
726
+ "heading4": {
727
+ "$type": "dimension",
728
+ "$value": "1.125rem",
729
+ "$description": "Font size — heading 4 (18px).",
730
+ "$extensions": {
731
+ "graphicstandard": {
732
+ "family": "dimension",
733
+ "layer": "semantic",
734
+ "value": {
735
+ "kind": "scalar",
736
+ "value": "1.125rem"
737
+ }
738
+ }
739
+ }
740
+ },
741
+ "heading5": {
742
+ "$type": "dimension",
743
+ "$value": "1rem",
744
+ "$description": "Font size — heading 5 (16px).",
745
+ "$extensions": {
746
+ "graphicstandard": {
747
+ "family": "dimension",
748
+ "layer": "semantic",
749
+ "value": {
750
+ "kind": "scalar",
751
+ "value": "1rem"
752
+ }
753
+ }
754
+ }
755
+ },
756
+ "headline": {
757
+ "$type": "dimension",
758
+ "$value": "1.375rem",
759
+ "$description": "Font size — headline (22px); size-only.",
760
+ "$extensions": {
761
+ "graphicstandard": {
762
+ "family": "dimension",
763
+ "layer": "semantic",
764
+ "value": {
765
+ "kind": "scalar",
766
+ "value": "1.375rem"
767
+ }
768
+ }
769
+ }
770
+ },
771
+ "label": {
772
+ "$type": "dimension",
773
+ "$value": "0.75rem",
774
+ "$description": "Font size — label (12px); size-only.",
775
+ "$extensions": {
776
+ "graphicstandard": {
777
+ "family": "dimension",
778
+ "layer": "semantic",
779
+ "value": {
780
+ "kind": "scalar",
781
+ "value": "0.75rem"
782
+ }
783
+ }
784
+ }
785
+ },
786
+ "micro": {
787
+ "$type": "dimension",
788
+ "$value": "0.625rem",
789
+ "$description": "Font size — micro (10px); size-only.",
790
+ "$extensions": {
791
+ "graphicstandard": {
792
+ "family": "dimension",
793
+ "layer": "semantic",
794
+ "value": {
795
+ "kind": "scalar",
796
+ "value": "0.625rem"
797
+ }
798
+ }
799
+ }
800
+ },
801
+ "subtitle": {
802
+ "$type": "dimension",
803
+ "$value": "1.125rem",
804
+ "$description": "Font size — subtitle (18px); size-only.",
805
+ "$extensions": {
806
+ "graphicstandard": {
807
+ "family": "dimension",
808
+ "layer": "semantic",
809
+ "value": {
810
+ "kind": "scalar",
811
+ "value": "1.125rem"
812
+ }
813
+ }
814
+ }
815
+ },
816
+ "title": {
817
+ "$type": "dimension",
818
+ "$value": "1.25rem",
819
+ "$description": "Font size — title (20px); size-only.",
820
+ "$extensions": {
821
+ "graphicstandard": {
822
+ "family": "dimension",
823
+ "layer": "semantic",
824
+ "value": {
825
+ "kind": "scalar",
826
+ "value": "1.25rem"
827
+ }
828
+ }
829
+ }
830
+ }
831
+ }
832
+ },
833
+ "line-height": {
834
+ "heading1": {
835
+ "$type": "dimension",
836
+ "$value": "30px",
837
+ "$description": "Line height — heading 1.",
838
+ "$extensions": {
839
+ "graphicstandard": {
840
+ "family": "dimension",
841
+ "layer": "semantic",
842
+ "value": {
843
+ "kind": "scalar",
844
+ "value": "30px"
845
+ }
846
+ }
847
+ }
848
+ },
849
+ "heading2": {
850
+ "$type": "dimension",
851
+ "$value": "24px",
852
+ "$description": "Line height — heading 2.",
853
+ "$extensions": {
854
+ "graphicstandard": {
855
+ "family": "dimension",
856
+ "layer": "semantic",
857
+ "value": {
858
+ "kind": "scalar",
859
+ "value": "24px"
860
+ }
861
+ }
862
+ }
863
+ },
864
+ "heading3": {
865
+ "$type": "dimension",
866
+ "$value": "22px",
867
+ "$description": "Line height — heading 3.",
868
+ "$extensions": {
869
+ "graphicstandard": {
870
+ "family": "dimension",
871
+ "layer": "semantic",
872
+ "value": {
873
+ "kind": "scalar",
874
+ "value": "22px"
875
+ }
876
+ }
877
+ }
878
+ },
879
+ "heading4": {
880
+ "$type": "dimension",
881
+ "$value": "22px",
882
+ "$description": "Line height — heading 4.",
883
+ "$extensions": {
884
+ "graphicstandard": {
885
+ "family": "dimension",
886
+ "layer": "semantic",
887
+ "value": {
888
+ "kind": "scalar",
889
+ "value": "22px"
890
+ }
891
+ }
892
+ }
893
+ },
894
+ "heading5": {
895
+ "$type": "dimension",
896
+ "$value": "20px",
897
+ "$description": "Line height — heading 5.",
898
+ "$extensions": {
899
+ "graphicstandard": {
900
+ "family": "dimension",
901
+ "layer": "semantic",
902
+ "value": {
903
+ "kind": "scalar",
904
+ "value": "20px"
905
+ }
906
+ }
907
+ }
908
+ }
909
+ },
910
+ "radius": {
911
+ "2xl": {
912
+ "$type": "dimension",
913
+ "$value": "1rem",
914
+ "$description": "Radius — 2xl.",
915
+ "$extensions": {
916
+ "graphicstandard": {
917
+ "family": "radius",
918
+ "layer": "semantic",
919
+ "value": {
920
+ "kind": "scalar",
921
+ "value": "1rem"
922
+ }
923
+ }
924
+ }
925
+ },
926
+ "lg": {
927
+ "$type": "dimension",
928
+ "$value": "0.5rem",
929
+ "$description": "Radius — large.",
930
+ "$extensions": {
931
+ "graphicstandard": {
932
+ "family": "radius",
933
+ "layer": "semantic",
934
+ "value": {
935
+ "kind": "scalar",
936
+ "value": "0.5rem"
937
+ }
938
+ }
939
+ }
940
+ },
941
+ "md": {
942
+ "$type": "dimension",
943
+ "$value": "0.375rem",
944
+ "$description": "Radius — medium.",
945
+ "$extensions": {
946
+ "graphicstandard": {
947
+ "family": "radius",
948
+ "layer": "semantic",
949
+ "value": {
950
+ "kind": "scalar",
951
+ "value": "0.375rem"
952
+ }
953
+ }
954
+ }
955
+ },
956
+ "panel": {
957
+ "$type": "dimension",
958
+ "$value": "1.1rem",
959
+ "$description": "Radius — panel / card (gs panel-lg).",
960
+ "$extensions": {
961
+ "graphicstandard": {
962
+ "family": "radius",
963
+ "layer": "semantic",
964
+ "value": {
965
+ "kind": "scalar",
966
+ "value": "1.1rem"
967
+ }
968
+ }
969
+ }
970
+ },
971
+ "sm": {
972
+ "$type": "dimension",
973
+ "$value": "0.125rem",
974
+ "$description": "Radius — small.",
975
+ "$extensions": {
976
+ "graphicstandard": {
977
+ "family": "radius",
978
+ "layer": "semantic",
979
+ "value": {
980
+ "kind": "scalar",
981
+ "value": "0.125rem"
982
+ }
983
+ }
984
+ }
985
+ },
986
+ "xl": {
987
+ "$type": "dimension",
988
+ "$value": "0.75rem",
989
+ "$description": "Radius — extra large.",
990
+ "$extensions": {
991
+ "graphicstandard": {
992
+ "family": "radius",
993
+ "layer": "semantic",
994
+ "value": {
995
+ "kind": "scalar",
996
+ "value": "0.75rem"
997
+ }
998
+ }
999
+ }
1000
+ }
1001
+ },
1002
+ "space": {
1003
+ "lg": {
1004
+ "$type": "dimension",
1005
+ "$value": "1.5rem",
1006
+ "$description": "Spacing — lg.",
1007
+ "$extensions": {
1008
+ "graphicstandard": {
1009
+ "family": "spacing",
1010
+ "layer": "semantic",
1011
+ "value": {
1012
+ "kind": "scalar",
1013
+ "value": "1.5rem"
1014
+ }
1015
+ }
1016
+ }
1017
+ },
1018
+ "md": {
1019
+ "$type": "dimension",
1020
+ "$value": "1rem",
1021
+ "$description": "Spacing — md.",
1022
+ "$extensions": {
1023
+ "graphicstandard": {
1024
+ "family": "spacing",
1025
+ "layer": "semantic",
1026
+ "value": {
1027
+ "kind": "scalar",
1028
+ "value": "1rem"
1029
+ }
1030
+ }
1031
+ }
1032
+ },
1033
+ "nav-x": {
1034
+ "$type": "dimension",
1035
+ "$value": "0.8125rem",
1036
+ "$description": "Spacing — horizontal padding of topbar nav pills (13px).",
1037
+ "$extensions": {
1038
+ "graphicstandard": {
1039
+ "family": "spacing",
1040
+ "layer": "semantic",
1041
+ "value": {
1042
+ "kind": "scalar",
1043
+ "value": "0.8125rem"
1044
+ }
1045
+ }
1046
+ }
1047
+ },
1048
+ "sm": {
1049
+ "$type": "dimension",
1050
+ "$value": "0.5rem",
1051
+ "$description": "Spacing — sm.",
1052
+ "$extensions": {
1053
+ "graphicstandard": {
1054
+ "family": "spacing",
1055
+ "layer": "semantic",
1056
+ "value": {
1057
+ "kind": "scalar",
1058
+ "value": "0.5rem"
1059
+ }
1060
+ }
1061
+ }
1062
+ },
1063
+ "xl": {
1064
+ "$type": "dimension",
1065
+ "$value": "2rem",
1066
+ "$description": "Spacing — xl.",
1067
+ "$extensions": {
1068
+ "graphicstandard": {
1069
+ "family": "spacing",
1070
+ "layer": "semantic",
1071
+ "value": {
1072
+ "kind": "scalar",
1073
+ "value": "2rem"
1074
+ }
1075
+ }
1076
+ }
1077
+ },
1078
+ "xs": {
1079
+ "$type": "dimension",
1080
+ "$value": "0.25rem",
1081
+ "$description": "Spacing — xs.",
1082
+ "$extensions": {
1083
+ "graphicstandard": {
1084
+ "family": "spacing",
1085
+ "layer": "semantic",
1086
+ "value": {
1087
+ "kind": "scalar",
1088
+ "value": "0.25rem"
1089
+ }
1090
+ }
1091
+ }
1092
+ }
1093
+ },
1094
+ "tracking": {
1095
+ "normal": {
1096
+ "$type": "dimension",
1097
+ "$value": "-0.13px",
1098
+ "$description": "Letter spacing — normal (gs body default).",
1099
+ "$extensions": {
1100
+ "graphicstandard": {
1101
+ "family": "dimension",
1102
+ "layer": "semantic",
1103
+ "value": {
1104
+ "kind": "scalar",
1105
+ "value": "-0.13px"
1106
+ }
1107
+ }
1108
+ }
1109
+ },
1110
+ "tight": {
1111
+ "$type": "dimension",
1112
+ "$value": "-0.2px",
1113
+ "$description": "Letter spacing — tight (gs headings).",
1114
+ "$extensions": {
1115
+ "graphicstandard": {
1116
+ "family": "dimension",
1117
+ "layer": "semantic",
1118
+ "value": {
1119
+ "kind": "scalar",
1120
+ "value": "-0.2px"
1121
+ }
1122
+ }
1123
+ }
1124
+ },
1125
+ "wide": {
1126
+ "$type": "dimension",
1127
+ "$value": "-0.56px",
1128
+ "$description": "Letter spacing — wide display (gs).",
1129
+ "$extensions": {
1130
+ "graphicstandard": {
1131
+ "family": "dimension",
1132
+ "layer": "semantic",
1133
+ "value": {
1134
+ "kind": "scalar",
1135
+ "value": "-0.56px"
1136
+ }
1137
+ }
1138
+ }
1139
+ },
1140
+ "wider": {
1141
+ "$type": "dimension",
1142
+ "$value": "-0.6px",
1143
+ "$description": "Letter spacing — wider display (gs).",
1144
+ "$extensions": {
1145
+ "graphicstandard": {
1146
+ "family": "dimension",
1147
+ "layer": "semantic",
1148
+ "value": {
1149
+ "kind": "scalar",
1150
+ "value": "-0.6px"
1151
+ }
1152
+ }
1153
+ }
1154
+ }
1155
+ }
1156
+ }
@@ -0,0 +1,68 @@
1
+ /* AUTO-GENERATED by @tools/sync-tokens — DO NOT EDIT BY HAND. */
2
+ /* Source of truth: the API → packages/tokens/src/tokens.json. */
3
+ /* Regenerate: bun --filter @tools/sync-tokens start */
4
+
5
+ :root {
6
+ --color-accent-green-light: #b1fed4;
7
+ --color-accent-mint: #dff6ec;
8
+ --color-accent-pink: #ff69b4;
9
+ --color-accent-strong: #4bcf9f;
10
+ --color-accent-yellow: #ffcc6a;
11
+ --color-border: #eceae1;
12
+ --color-brand-green: #75e7b8;
13
+ --color-brand-primary: #0d0d0d;
14
+ --color-brand-secondary: #6eddb1;
15
+ --color-danger: #dc2626;
16
+ --color-danger-fg: #ffffff;
17
+ --color-fg: #0d0d0d;
18
+ --color-fg-inverted: #ffffff;
19
+ --color-fg-muted: #7d786f;
20
+ --color-fg-subtle: #aba89c;
21
+ --color-neutral-600: #333333;
22
+ --color-ring: #0d0d0d;
23
+ --color-success: #4bcf9f;
24
+ --color-success-fg: #0d0d0d;
25
+ --color-surface: #ffffff;
26
+ --color-surface-card: #f7f6f2;
27
+ --color-surface-inverted: #242423;
28
+ --color-surface-muted: #eceae1;
29
+ --color-surface-placeholder: #333333;
30
+ --font-mono: 'GT America Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
31
+ --font-sans: 'GT America', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
32
+ --font-size-body: 1rem;
33
+ --font-size-callout: 0.9375rem;
34
+ --font-size-caption: 0.6875rem;
35
+ --font-size-compact: 0.8125rem;
36
+ --font-size-display: 1.75rem;
37
+ --font-size-heading1: 1.75rem;
38
+ --font-size-heading2: 1.375rem;
39
+ --font-size-heading3: 1.25rem;
40
+ --font-size-heading4: 1.125rem;
41
+ --font-size-heading5: 1rem;
42
+ --font-size-headline: 1.375rem;
43
+ --font-size-label: 0.75rem;
44
+ --font-size-micro: 0.625rem;
45
+ --font-size-subtitle: 1.125rem;
46
+ --font-size-title: 1.25rem;
47
+ --line-height-heading1: 30px;
48
+ --line-height-heading2: 24px;
49
+ --line-height-heading3: 22px;
50
+ --line-height-heading4: 22px;
51
+ --line-height-heading5: 20px;
52
+ --radius-2xl: 1rem;
53
+ --radius-lg: 0.5rem;
54
+ --radius-md: 0.375rem;
55
+ --radius-panel: 1.1rem;
56
+ --radius-sm: 0.125rem;
57
+ --radius-xl: 0.75rem;
58
+ --space-lg: 1.5rem;
59
+ --space-md: 1rem;
60
+ --space-nav-x: 0.8125rem;
61
+ --space-sm: 0.5rem;
62
+ --space-xl: 2rem;
63
+ --space-xs: 0.25rem;
64
+ --tracking-normal: -0.13px;
65
+ --tracking-tight: -0.2px;
66
+ --tracking-wide: -0.56px;
67
+ --tracking-wider: -0.6px;
68
+ }