@dataimago/tokens 0.1.0-alpha.3 → 0.1.0-alpha.31

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.
@@ -0,0 +1,783 @@
1
+ {
2
+ "global": {
3
+ "color": {
4
+ "surface": {
5
+ "page": {
6
+ "value": "#ededeb",
7
+ "type": "color"
8
+ },
9
+ "page-scrolled": {
10
+ "value": "#ededeb",
11
+ "type": "color"
12
+ },
13
+ "elevated": {
14
+ "value": "#f7f7f6",
15
+ "type": "color"
16
+ },
17
+ "figure-plate": {
18
+ "value": "#f7f7f6",
19
+ "type": "color"
20
+ },
21
+ "sunken": {
22
+ "value": "#f7f7f6",
23
+ "type": "color"
24
+ },
25
+ "navbar": {
26
+ "value": "#ededeb",
27
+ "type": "color"
28
+ },
29
+ "navbar-scrolled": {
30
+ "value": "#ededeb",
31
+ "type": "color"
32
+ },
33
+ "code": {
34
+ "value": "#f7f7f6",
35
+ "type": "color"
36
+ },
37
+ "scrim": {
38
+ "value": "rgba(20, 20, 16, 0.85)",
39
+ "type": "color"
40
+ },
41
+ "scrim-solid": {
42
+ "value": "rgba(20, 20, 16, 0.92)",
43
+ "type": "color"
44
+ }
45
+ },
46
+ "border": {
47
+ "subtle": {
48
+ "value": "rgba(12, 10, 9, 0.45)",
49
+ "type": "color"
50
+ },
51
+ "moderate": {
52
+ "value": "rgba(12, 10, 9, 0.60)",
53
+ "type": "color"
54
+ },
55
+ "strong": {
56
+ "value": "rgba(12, 10, 9, 0.75)",
57
+ "type": "color"
58
+ },
59
+ "card": {
60
+ "value": "rgba(12, 10, 9, 0.60)",
61
+ "type": "color"
62
+ },
63
+ "figure-frame": {
64
+ "value": "#6a6a6a",
65
+ "type": "color"
66
+ },
67
+ "code": {
68
+ "value": "#d6d3d1",
69
+ "type": "color"
70
+ },
71
+ "on-scrim-focus": {
72
+ "value": "#3498DB",
73
+ "type": "color"
74
+ }
75
+ },
76
+ "content": {
77
+ "primary": {
78
+ "value": "#14140f",
79
+ "type": "color"
80
+ },
81
+ "secondary": {
82
+ "value": "#6a6a6a",
83
+ "type": "color"
84
+ },
85
+ "muted": {
86
+ "value": "#706964",
87
+ "type": "color"
88
+ },
89
+ "inverse": {
90
+ "value": "#fdf9f2",
91
+ "type": "color"
92
+ },
93
+ "on-scrim": {
94
+ "value": "#f7f7f6",
95
+ "type": "color"
96
+ }
97
+ },
98
+ "interactive": {
99
+ "primary": {
100
+ "value": "#434739",
101
+ "type": "color"
102
+ },
103
+ "hover": {
104
+ "value": "#363a2e",
105
+ "type": "color"
106
+ },
107
+ "accent": {
108
+ "value": "#1f618d",
109
+ "type": "color"
110
+ },
111
+ "focus": {
112
+ "value": "#434739",
113
+ "type": "color"
114
+ }
115
+ },
116
+ "state": {
117
+ "success": {
118
+ "value": "#007a58",
119
+ "type": "color"
120
+ },
121
+ "warning": {
122
+ "value": "#906306",
123
+ "type": "color"
124
+ },
125
+ "error": {
126
+ "value": "#a4262c",
127
+ "type": "color"
128
+ },
129
+ "info": {
130
+ "value": "#1f618d",
131
+ "type": "color"
132
+ }
133
+ },
134
+ "presentation": {
135
+ "accent": {
136
+ "value": "#3498DB",
137
+ "type": "color"
138
+ },
139
+ "accent-hover": {
140
+ "value": "#2980B9",
141
+ "type": "color"
142
+ }
143
+ },
144
+ "vertical-accent": {
145
+ "$comment": {
146
+ "value": "Per-vertical brand accents — each Level-2 property's identity color, distinct from the house interactive.accent (the L1 sky-blue hub color). Mode-aware (light/dark stops) like interactive.accent. Used for app icons, navbar-logo emphasis, and per-vertical theming. Contrast vs surface.page verified WCAG: light values are the on-light marks, dark values the on-dark marks. dataimago (L1 hub) intentionally has no vertical accent — it uses interactive.accent + ink.",
147
+ "type": "other"
148
+ },
149
+ "dissertation": {
150
+ "value": "#B87333",
151
+ "type": "color"
152
+ },
153
+ "rpkg": {
154
+ "value": "#3B82F6",
155
+ "type": "color"
156
+ },
157
+ "SGPc": {
158
+ "value": "#5A6310",
159
+ "type": "color"
160
+ }
161
+ },
162
+ "brand-mark": {
163
+ "$comment": {
164
+ "value": "Brand-MARK colors (the dataimago monogram / wordmark logo treatment) — distinct from the interactive.accent role. The signature monogram red is a wide-gamut PILOT (see wiki/decisions/p3-oklch-color.md). It is mode-aware for AA-normal headroom: a single red cannot clear 4.5:1 on BOTH the light page (#ededeb) and ink-900 — light needs a deep red, dark needs a bright one. LIGHT uses the deepened #cc0000 (faithful P3, contrast-first); DARK keeps the vivid display-P3 primary red (#ff0000 fallback → color(display-p3 1 0 0)), where #ff0000 already passes AA-normal. Vivid override authored in tools/color-converter.mjs (dark-only for the red), emitted as a `#hex → color(display-p3 …)` cascade in the -p3 build.",
165
+ "type": "other"
166
+ },
167
+ "red": {
168
+ "value": "#cc0000",
169
+ "type": "color"
170
+ }
171
+ },
172
+ "dataviz": {
173
+ "okabe-ito": {
174
+ "orange": {
175
+ "value": "#E69F00",
176
+ "type": "color"
177
+ },
178
+ "sky-blue": {
179
+ "value": "#56B4E9",
180
+ "type": "color"
181
+ },
182
+ "bluish-green": {
183
+ "value": "#009E73",
184
+ "type": "color"
185
+ },
186
+ "yellow": {
187
+ "value": "#F0E442",
188
+ "type": "color"
189
+ },
190
+ "blue": {
191
+ "value": "#0072B2",
192
+ "type": "color"
193
+ },
194
+ "vermillion": {
195
+ "value": "#D55E00",
196
+ "type": "color"
197
+ },
198
+ "reddish-purple": {
199
+ "value": "#CC79A7",
200
+ "type": "color"
201
+ },
202
+ "black": {
203
+ "value": "#000000",
204
+ "type": "color"
205
+ }
206
+ },
207
+ "categorical": {
208
+ "1": {
209
+ "value": "#E69F00",
210
+ "type": "color"
211
+ },
212
+ "2": {
213
+ "value": "#56B4E9",
214
+ "type": "color"
215
+ },
216
+ "3": {
217
+ "value": "#009E73",
218
+ "type": "color"
219
+ },
220
+ "4": {
221
+ "value": "#F0E442",
222
+ "type": "color"
223
+ },
224
+ "5": {
225
+ "value": "#0072B2",
226
+ "type": "color"
227
+ },
228
+ "6": {
229
+ "value": "#D55E00",
230
+ "type": "color"
231
+ },
232
+ "7": {
233
+ "value": "#CC79A7",
234
+ "type": "color"
235
+ },
236
+ "8": {
237
+ "value": "#000000",
238
+ "type": "color"
239
+ }
240
+ },
241
+ "uncertainty": {
242
+ "outer": {
243
+ "value": "#D6D6D6",
244
+ "type": "color"
245
+ },
246
+ "union": {
247
+ "value": "#9E9E9E",
248
+ "type": "color"
249
+ },
250
+ "inner": {
251
+ "value": "#333333",
252
+ "type": "color"
253
+ }
254
+ },
255
+ "sgpc-bucket": {
256
+ "very-low": {
257
+ "value": "#D55E00",
258
+ "type": "color"
259
+ },
260
+ "low": {
261
+ "value": "#E69F00",
262
+ "type": "color"
263
+ },
264
+ "typical": {
265
+ "value": "#56B4E9",
266
+ "type": "color"
267
+ },
268
+ "high": {
269
+ "value": "#009E73",
270
+ "type": "color"
271
+ },
272
+ "very-high": {
273
+ "value": "#0072B2",
274
+ "type": "color"
275
+ }
276
+ }
277
+ }
278
+ },
279
+ "shadow": {
280
+ "sm": {
281
+ "value": "0 1px 2px 0 rgb(0 0 0 / 0.05)",
282
+ "type": "other"
283
+ },
284
+ "md": {
285
+ "value": "0 4px 6px -1px rgb(0 0 0 / 0.1)",
286
+ "type": "other"
287
+ },
288
+ "lg": {
289
+ "value": "0 10px 15px -3px rgb(0 0 0 / 0.1)",
290
+ "type": "other"
291
+ },
292
+ "xl": {
293
+ "value": "0 20px 25px -5px rgb(0 0 0 / 0.1)",
294
+ "type": "other"
295
+ }
296
+ },
297
+ "border": {
298
+ "subtle": {
299
+ "value": "rgba(20, 20, 16, 0.47)",
300
+ "type": "color"
301
+ },
302
+ "moderate": {
303
+ "value": "rgba(20, 20, 16, 0.63)",
304
+ "type": "color"
305
+ },
306
+ "focus": {
307
+ "value": "#3498DB",
308
+ "type": "color"
309
+ }
310
+ },
311
+ "transition": {
312
+ "quick": {
313
+ "value": "0.15s ease",
314
+ "type": "duration"
315
+ },
316
+ "standard": {
317
+ "value": "0.25s ease-in-out",
318
+ "type": "duration"
319
+ },
320
+ "smooth": {
321
+ "value": "0.35s ease",
322
+ "type": "duration"
323
+ },
324
+ "logo": {
325
+ "value": "0.3s",
326
+ "type": "duration"
327
+ }
328
+ },
329
+ "font": {
330
+ "family": {
331
+ "sans": {
332
+ "value": "Noto Sans, Noto Sans Math, system-ui, sans-serif",
333
+ "type": "other"
334
+ },
335
+ "mono": {
336
+ "value": "Noto Sans Mono, SF Mono, Monaco, Inconsolata, monospace",
337
+ "type": "other"
338
+ },
339
+ "display": {
340
+ "value": "var(--font-family-display-editorial)",
341
+ "type": "other"
342
+ },
343
+ "display-editorial": {
344
+ "value": "Josefin Sans, Noto Sans, Noto Sans Math, system-ui, sans-serif",
345
+ "type": "other"
346
+ },
347
+ "display-documentation": {
348
+ "value": "Noto Sans, Noto Sans Math, system-ui, sans-serif",
349
+ "type": "other"
350
+ },
351
+ "brand": {
352
+ "value": "Futura, system-ui, sans-serif",
353
+ "type": "other"
354
+ },
355
+ "math": {
356
+ "value": "Noto Sans Math, math",
357
+ "type": "other"
358
+ }
359
+ },
360
+ "size": {
361
+ "micro": {
362
+ "value": "0.75rem",
363
+ "type": "dimension"
364
+ },
365
+ "small": {
366
+ "value": "0.875rem",
367
+ "type": "dimension"
368
+ },
369
+ "base": {
370
+ "value": "1rem",
371
+ "type": "dimension"
372
+ },
373
+ "readable": {
374
+ "value": "1.125rem",
375
+ "type": "dimension"
376
+ },
377
+ "emphasis": {
378
+ "value": "1.25rem",
379
+ "type": "dimension"
380
+ },
381
+ "heading-small": {
382
+ "value": "1.5rem",
383
+ "type": "dimension"
384
+ },
385
+ "heading-medium": {
386
+ "value": "1.875rem",
387
+ "type": "dimension"
388
+ },
389
+ "heading-large": {
390
+ "value": "2.25rem",
391
+ "type": "dimension"
392
+ },
393
+ "heading-xl": {
394
+ "value": "3rem",
395
+ "type": "dimension"
396
+ }
397
+ },
398
+ "weight": {
399
+ "extralight": {
400
+ "value": "200",
401
+ "type": "number"
402
+ },
403
+ "light": {
404
+ "value": "300",
405
+ "type": "number"
406
+ },
407
+ "normal": {
408
+ "value": "400",
409
+ "type": "number"
410
+ },
411
+ "medium": {
412
+ "value": "500",
413
+ "type": "number"
414
+ },
415
+ "semibold": {
416
+ "value": "600",
417
+ "type": "number"
418
+ },
419
+ "bold": {
420
+ "value": "700",
421
+ "type": "number"
422
+ },
423
+ "heading": {
424
+ "_invariant": {
425
+ "value": "Heading-weight cluster — 400 floor for all Josefin Sans headings (see wiki/decisions/josefin-weight-floor.md). Sub-400 weights (200, 300) are bound to the opt-in .di-numeric-display utility class, never the default for prose-tier headings. Per wiki/decisions/h1-weight-medium.md the prose-correct band for editorial headings is 400–500.",
426
+ "type": "other"
427
+ },
428
+ "h1": {
429
+ "value": "var(--font-weight-medium)",
430
+ "type": "other"
431
+ },
432
+ "h2": {
433
+ "value": "var(--font-weight-medium)",
434
+ "type": "other"
435
+ },
436
+ "h3": {
437
+ "value": "var(--font-weight-normal)",
438
+ "type": "other"
439
+ },
440
+ "h4": {
441
+ "value": "var(--font-weight-light)",
442
+ "type": "other"
443
+ },
444
+ "h5": {
445
+ "value": "var(--font-weight-light)",
446
+ "type": "other"
447
+ },
448
+ "h6": {
449
+ "value": "var(--font-weight-light)",
450
+ "type": "other"
451
+ },
452
+ "subtitle": {
453
+ "value": "var(--font-weight-semibold)",
454
+ "type": "other"
455
+ }
456
+ }
457
+ },
458
+ "style": {
459
+ "normal": {
460
+ "value": "normal",
461
+ "type": "other"
462
+ },
463
+ "italic": {
464
+ "value": "italic",
465
+ "type": "other"
466
+ },
467
+ "oblique": {
468
+ "value": "oblique",
469
+ "type": "other"
470
+ }
471
+ },
472
+ "lineHeight": {
473
+ "tight": {
474
+ "value": "1.25",
475
+ "type": "number"
476
+ },
477
+ "normal": {
478
+ "value": "1.5",
479
+ "type": "number"
480
+ },
481
+ "relaxed": {
482
+ "value": "1.625",
483
+ "type": "number"
484
+ }
485
+ },
486
+ "feature-settings": {
487
+ "_invariant": {
488
+ "value": "OpenType feature settings cluster — display rules apply lining figures (lnum) so numerals render uniform-baseline at heading scale; body rules retain old-style figures where they belong (in-line numerical mentions in prose). See wiki/decisions/display-lining-figures.md.",
489
+ "type": "other"
490
+ },
491
+ "display": {
492
+ "value": "\"lnum\"",
493
+ "type": "other"
494
+ },
495
+ "body": {
496
+ "value": "\"normal\"",
497
+ "type": "other"
498
+ }
499
+ }
500
+ },
501
+ "spacing": {
502
+ "xs": {
503
+ "value": "0.25rem",
504
+ "type": "dimension"
505
+ },
506
+ "sm": {
507
+ "value": "0.5rem",
508
+ "type": "dimension"
509
+ },
510
+ "md": {
511
+ "value": "1rem",
512
+ "type": "dimension"
513
+ },
514
+ "lg": {
515
+ "value": "1.5rem",
516
+ "type": "dimension"
517
+ },
518
+ "xl": {
519
+ "value": "2rem",
520
+ "type": "dimension"
521
+ },
522
+ "2xl": {
523
+ "value": "3rem",
524
+ "type": "dimension"
525
+ },
526
+ "3xl": {
527
+ "value": "4rem",
528
+ "type": "dimension"
529
+ }
530
+ },
531
+ "radius": {
532
+ "sm": {
533
+ "value": "0.25rem",
534
+ "type": "dimension"
535
+ },
536
+ "md": {
537
+ "value": "0.5rem",
538
+ "type": "dimension"
539
+ },
540
+ "lg": {
541
+ "value": "0.75rem",
542
+ "type": "dimension"
543
+ },
544
+ "xl": {
545
+ "value": "1rem",
546
+ "type": "dimension"
547
+ },
548
+ "full": {
549
+ "value": "9999px",
550
+ "type": "dimension"
551
+ }
552
+ }
553
+ },
554
+ "dark": {
555
+ "color": {
556
+ "surface": {
557
+ "page": {
558
+ "value": "#141410",
559
+ "type": "color"
560
+ },
561
+ "page-scrolled": {
562
+ "value": "#141410",
563
+ "type": "color"
564
+ },
565
+ "elevated": {
566
+ "value": "#1c1917",
567
+ "type": "color"
568
+ },
569
+ "figure-plate": {
570
+ "value": "#dcdcda",
571
+ "type": "color"
572
+ },
573
+ "sunken": {
574
+ "value": "#0c0a09",
575
+ "type": "color"
576
+ },
577
+ "navbar": {
578
+ "value": "#141410",
579
+ "type": "color"
580
+ },
581
+ "navbar-scrolled": {
582
+ "value": "#141410",
583
+ "type": "color"
584
+ },
585
+ "code": {
586
+ "value": "#1c1917",
587
+ "type": "color"
588
+ },
589
+ "scrim": {
590
+ "value": "rgba(20, 20, 16, 0.85)",
591
+ "type": "color"
592
+ },
593
+ "scrim-solid": {
594
+ "value": "rgba(20, 20, 16, 0.92)",
595
+ "type": "color"
596
+ }
597
+ },
598
+ "border": {
599
+ "subtle": {
600
+ "value": "rgba(253, 249, 242, 0.45)",
601
+ "type": "color"
602
+ },
603
+ "moderate": {
604
+ "value": "rgba(253, 249, 242, 0.60)",
605
+ "type": "color"
606
+ },
607
+ "strong": {
608
+ "value": "rgba(253, 249, 242, 0.75)",
609
+ "type": "color"
610
+ },
611
+ "card": {
612
+ "value": "rgba(253, 249, 242, 0.60)",
613
+ "type": "color"
614
+ },
615
+ "figure-frame": {
616
+ "value": "#6a6a6a",
617
+ "type": "color"
618
+ },
619
+ "code": {
620
+ "value": "#292524",
621
+ "type": "color"
622
+ },
623
+ "on-scrim-focus": {
624
+ "value": "#3498DB",
625
+ "type": "color"
626
+ }
627
+ },
628
+ "content": {
629
+ "primary": {
630
+ "value": "#fdf9f2",
631
+ "type": "color"
632
+ },
633
+ "secondary": {
634
+ "value": "#a8a29e",
635
+ "type": "color"
636
+ },
637
+ "muted": {
638
+ "value": "#89827d",
639
+ "type": "color"
640
+ },
641
+ "inverse": {
642
+ "value": "#0c0a09",
643
+ "type": "color"
644
+ },
645
+ "on-scrim": {
646
+ "value": "#f7f7f6",
647
+ "type": "color"
648
+ }
649
+ },
650
+ "interactive": {
651
+ "primary": {
652
+ "value": "#98a384",
653
+ "type": "color"
654
+ },
655
+ "hover": {
656
+ "value": "#7e8a6b",
657
+ "type": "color"
658
+ },
659
+ "accent": {
660
+ "value": "#3498DB",
661
+ "type": "color"
662
+ },
663
+ "focus": {
664
+ "value": "#98a384",
665
+ "type": "color"
666
+ }
667
+ },
668
+ "state": {
669
+ "success": {
670
+ "value": "#009E73",
671
+ "type": "color"
672
+ },
673
+ "warning": {
674
+ "value": "#E69F00",
675
+ "type": "color"
676
+ },
677
+ "error": {
678
+ "value": "#ef5350",
679
+ "type": "color"
680
+ },
681
+ "info": {
682
+ "value": "#3498DB",
683
+ "type": "color"
684
+ }
685
+ },
686
+ "presentation": {
687
+ "accent": {
688
+ "value": "#3498DB",
689
+ "type": "color"
690
+ },
691
+ "accent-hover": {
692
+ "value": "#2980B9",
693
+ "type": "color"
694
+ }
695
+ },
696
+ "vertical-accent": {
697
+ "dissertation": {
698
+ "value": "#CE8E5C",
699
+ "type": "color"
700
+ },
701
+ "rpkg": {
702
+ "value": "#60A5FA",
703
+ "type": "color"
704
+ },
705
+ "SGPc": {
706
+ "value": "#B2BF22",
707
+ "type": "color"
708
+ }
709
+ },
710
+ "brand-mark": {
711
+ "red": {
712
+ "value": "#ff0000",
713
+ "type": "color"
714
+ }
715
+ },
716
+ "dataviz": {
717
+ "okabe-ito": {
718
+ "black": {
719
+ "value": "#FDF9F2",
720
+ "type": "color"
721
+ }
722
+ },
723
+ "categorical": {
724
+ "8": {
725
+ "value": "#FDF9F2",
726
+ "type": "color"
727
+ }
728
+ },
729
+ "uncertainty": {
730
+ "outer": {
731
+ "value": "#333333",
732
+ "type": "color"
733
+ },
734
+ "union": {
735
+ "value": "#6B6B6B",
736
+ "type": "color"
737
+ },
738
+ "inner": {
739
+ "value": "#D6D6D6",
740
+ "type": "color"
741
+ }
742
+ }
743
+ }
744
+ },
745
+ "border": {
746
+ "subtle": {
747
+ "value": "rgba(237, 237, 235, 0.47)",
748
+ "type": "color"
749
+ },
750
+ "moderate": {
751
+ "value": "rgba(237, 237, 235, 0.63)",
752
+ "type": "color"
753
+ },
754
+ "focus": {
755
+ "value": "#4FC3F7",
756
+ "type": "color"
757
+ }
758
+ }
759
+ },
760
+ "$themes": [
761
+ {
762
+ "id": "light",
763
+ "name": "Light",
764
+ "selectedTokenSets": {
765
+ "global": "enabled"
766
+ }
767
+ },
768
+ {
769
+ "id": "dark",
770
+ "name": "Dark",
771
+ "selectedTokenSets": {
772
+ "global": "enabled",
773
+ "dark": "enabled"
774
+ }
775
+ }
776
+ ],
777
+ "$metadata": {
778
+ "tokenSetOrder": [
779
+ "global",
780
+ "dark"
781
+ ]
782
+ }
783
+ }