@orange-halo/tokens 1.0.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/contrast-pairs.json +35 -0
- package/contrast.js +59 -0
- package/dist/themes/dark.css +59 -119
- package/dist/themes/dark.json +783 -0
- package/dist/themes/light.css +10 -9
- package/dist/tokens.css +133 -71
- package/dist/tokens.js +119 -55
- package/dist/tokens.json +162 -46
- package/package.json +8 -4
- package/tokens/component.tokens.json +81 -37
- package/tokens/global.tokens.json +836 -156
- package/tokens/semantic.tokens.json +704 -138
- package/tokens/themes/dark.tokens.json +66 -51
- package/tokens/themes/light.tokens.json +0 -57
package/dist/tokens.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$description": "Component Design Tokens — Orange Halo Visual DNA applied. Each component has personality knobs.",
|
|
3
3
|
"color": {
|
|
4
|
-
"$description": "Warm
|
|
4
|
+
"$description": "Warm palette with nostalgic character. Neutrals are always warm; blue is the deliberate accent.",
|
|
5
5
|
"orange": {
|
|
6
6
|
"50": "#fff3e0",
|
|
7
7
|
"100": "#ffe0b2",
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"600": "#b87a24",
|
|
27
27
|
"700": "#8c5e1c",
|
|
28
28
|
"800": "#6b4815",
|
|
29
|
+
"900": "#3d3529",
|
|
29
30
|
"$description": "Warm highlight — golden warmth for accents and feedback"
|
|
30
31
|
},
|
|
31
32
|
"terracotta": {
|
|
@@ -52,33 +53,47 @@
|
|
|
52
53
|
"700": "#3f5c5d",
|
|
53
54
|
"800": "#344a4b",
|
|
54
55
|
"900": "#2a3c3d",
|
|
55
|
-
"$description": "
|
|
56
|
+
"$description": "Reserve palette — not used by semantic tokens"
|
|
56
57
|
},
|
|
57
58
|
"warm": {
|
|
58
59
|
"$description": "Warm neutral scale — cream to walnut, no blue-gray",
|
|
59
60
|
"cream": "#faf7f2",
|
|
60
61
|
"linen": "#f5f0e8",
|
|
62
|
+
"dawn": "#fffbf5",
|
|
63
|
+
"shell": "#fdf6ee",
|
|
64
|
+
"biscuit": "#f8efe4",
|
|
61
65
|
"parchment": "#ede8df",
|
|
62
66
|
"sand": "#e2dcd2",
|
|
63
67
|
"dune": "#c9c1b4",
|
|
68
|
+
"stone": "#a09080",
|
|
69
|
+
"taupe": "#8a7a68",
|
|
64
70
|
"driftwood": "#6b5d4d",
|
|
65
71
|
"bark": "#52463a",
|
|
66
|
-
"
|
|
72
|
+
"hickory": "#4a3f33",
|
|
73
|
+
"chestnut": "#44382c",
|
|
74
|
+
"walnut": "#3d3229",
|
|
75
|
+
"mocha": "#352e28",
|
|
76
|
+
"cocoa": "#2a2420",
|
|
77
|
+
"espresso": "#1f1a17"
|
|
67
78
|
},
|
|
68
79
|
"green": {
|
|
69
80
|
"50": "#f0f7f1",
|
|
70
81
|
"100": "#d9edd9",
|
|
82
|
+
"300": "#7ab87c",
|
|
71
83
|
"500": "#5a9a5c",
|
|
72
84
|
"600": "#4a8a4c",
|
|
73
85
|
"700": "#3d7340",
|
|
86
|
+
"900": "#2a3629",
|
|
74
87
|
"$description": "Success — warm-tinted green"
|
|
75
88
|
},
|
|
76
89
|
"red": {
|
|
77
90
|
"50": "#fdf4f3",
|
|
78
91
|
"100": "#f9e0dc",
|
|
92
|
+
"300": "#e08f8d",
|
|
79
93
|
"500": "#c75450",
|
|
80
94
|
"600": "#b54540",
|
|
81
95
|
"700": "#943836",
|
|
96
|
+
"900": "#3d2a29",
|
|
82
97
|
"$description": "Error — warm-tinted red"
|
|
83
98
|
},
|
|
84
99
|
"blue": {
|
|
@@ -100,7 +115,6 @@
|
|
|
100
115
|
"primaryHover": "#9e3500",
|
|
101
116
|
"primaryActive": "#9e3500",
|
|
102
117
|
"primarySubtle": "#fff3e0",
|
|
103
|
-
"primaryMuted": "#ffe0b2",
|
|
104
118
|
"highlight": "#e8a838",
|
|
105
119
|
"highlightSubtle": "#fdf3d4"
|
|
106
120
|
},
|
|
@@ -110,25 +124,20 @@
|
|
|
110
124
|
"hover": "#354f70",
|
|
111
125
|
"active": "#2e4460",
|
|
112
126
|
"subtle": "#eef4f9",
|
|
113
|
-
"muted": "#d6e4f0",
|
|
114
127
|
"shadow": "#a0b4c8"
|
|
115
128
|
},
|
|
116
129
|
"feedback": {
|
|
117
130
|
"$description": "Feedback colors — warm-tinted",
|
|
118
|
-
"success": "#
|
|
131
|
+
"success": "#3d7340",
|
|
119
132
|
"successSubtle": "#f0f7f1",
|
|
120
|
-
"successMuted": "#d9edd9",
|
|
121
133
|
"error": "#b54540",
|
|
122
134
|
"errorHover": "#943836",
|
|
123
135
|
"errorSubtle": "#fdf4f3",
|
|
124
|
-
"errorMuted": "#f9e0dc",
|
|
125
136
|
"errorShadow": "#b545404d",
|
|
126
137
|
"warning": "#8c5e1c",
|
|
127
138
|
"warningSubtle": "#fefaee",
|
|
128
|
-
"warningMuted": "#fdf3d4",
|
|
129
139
|
"info": "#3d5a80",
|
|
130
|
-
"infoSubtle": "#eef4f9"
|
|
131
|
-
"infoMuted": "#d6e4f0"
|
|
140
|
+
"infoSubtle": "#eef4f9"
|
|
132
141
|
},
|
|
133
142
|
"surface": {
|
|
134
143
|
"$description": "Surface system — designed surfaces, not flat planes",
|
|
@@ -136,7 +145,7 @@
|
|
|
136
145
|
"raised": "#f5f0e8",
|
|
137
146
|
"sunlit": "#faf7f2",
|
|
138
147
|
"inset": "#ede8df",
|
|
139
|
-
"
|
|
148
|
+
"highlight": "#ffffff",
|
|
140
149
|
"overlay": "#3d322966",
|
|
141
150
|
"disabled": "#e2dcd2",
|
|
142
151
|
"hover": "#fff4e6",
|
|
@@ -147,9 +156,8 @@
|
|
|
147
156
|
"default": "#e2dcd2",
|
|
148
157
|
"subtle": "#ede8df",
|
|
149
158
|
"emphasis": "#6b5d4d",
|
|
159
|
+
"strong": "#c9c1b4",
|
|
150
160
|
"hover": "#8b4726",
|
|
151
|
-
"focus": "#c54300",
|
|
152
|
-
"focusInner": "#c54300",
|
|
153
161
|
"disabled": "#ede8df",
|
|
154
162
|
"brand": "#c5430040"
|
|
155
163
|
},
|
|
@@ -161,9 +169,14 @@
|
|
|
161
169
|
"inverse": "#faf7f2",
|
|
162
170
|
"link": "#c54300",
|
|
163
171
|
"linkHover": "#9e3500",
|
|
172
|
+
"linkRaised": "#9e3500",
|
|
164
173
|
"brand": "#c54300",
|
|
165
174
|
"onBrand": "#ffffff",
|
|
166
|
-
"onAccent": "#ffffff"
|
|
175
|
+
"onAccent": "#ffffff",
|
|
176
|
+
"onSuccess": "#ffffff",
|
|
177
|
+
"onError": "#ffffff",
|
|
178
|
+
"onWarning": "#ffffff",
|
|
179
|
+
"onInfo": "#ffffff"
|
|
167
180
|
}
|
|
168
181
|
},
|
|
169
182
|
"font": {
|
|
@@ -207,7 +220,8 @@
|
|
|
207
220
|
"tight": "-0.01em",
|
|
208
221
|
"normal": "0",
|
|
209
222
|
"wide": "0.01em",
|
|
210
|
-
"wider": "0.02em"
|
|
223
|
+
"wider": "0.02em",
|
|
224
|
+
"widest": "0.05em"
|
|
211
225
|
}
|
|
212
226
|
},
|
|
213
227
|
"spacing": {
|
|
@@ -278,7 +292,7 @@
|
|
|
278
292
|
},
|
|
279
293
|
"gradient": {
|
|
280
294
|
"$description": "Soft, nostalgic gradients — never high-contrast or flashy",
|
|
281
|
-
"sunlit": "linear-gradient(180deg, #
|
|
295
|
+
"sunlit": "linear-gradient(180deg, #fffbf5 0%, #fdf6ee 30%, #f8efe4 100%)",
|
|
282
296
|
"warm": "linear-gradient(135deg, #C54300 0%, #FF9800 100%)",
|
|
283
297
|
"nostalgic": "linear-gradient(180deg, #F5F0E8 0%, #EDE8DF 100%)"
|
|
284
298
|
},
|
|
@@ -346,7 +360,25 @@
|
|
|
346
360
|
"0": "0",
|
|
347
361
|
"1": "1px",
|
|
348
362
|
"2": "2px",
|
|
349
|
-
"$description": "Border widths"
|
|
363
|
+
"$description": "Border widths",
|
|
364
|
+
"chunky": "2.5px"
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
"size": {
|
|
368
|
+
"$description": "Fixed layout sizes: content widths and viewport breakpoints",
|
|
369
|
+
"container": {
|
|
370
|
+
"$description": "Content max-widths",
|
|
371
|
+
"sm": "640px",
|
|
372
|
+
"md": "768px",
|
|
373
|
+
"lg": "1024px",
|
|
374
|
+
"xl": "1280px"
|
|
375
|
+
},
|
|
376
|
+
"breakpoint": {
|
|
377
|
+
"$description": "Viewport widths for @media queries. CSS can't read custom properties in a media query, so components write the value; check:tokens fails any (min|max)-width that isn't one of these (or one pixel either side, for adjoining ranges).",
|
|
378
|
+
"xs": "480px",
|
|
379
|
+
"sm": "640px",
|
|
380
|
+
"md": "768px",
|
|
381
|
+
"lg": "1024px"
|
|
350
382
|
}
|
|
351
383
|
},
|
|
352
384
|
"zIndex": {
|
|
@@ -372,7 +404,7 @@
|
|
|
372
404
|
},
|
|
373
405
|
"h2": {
|
|
374
406
|
"fontSize": "2rem",
|
|
375
|
-
"fontWeight": "
|
|
407
|
+
"fontWeight": "700",
|
|
376
408
|
"lineHeight": 1.25,
|
|
377
409
|
"letterSpacing": "-0.01em"
|
|
378
410
|
},
|
|
@@ -384,7 +416,7 @@
|
|
|
384
416
|
},
|
|
385
417
|
"h4": {
|
|
386
418
|
"fontSize": "1.25rem",
|
|
387
|
-
"fontWeight": "
|
|
419
|
+
"fontWeight": "600",
|
|
388
420
|
"lineHeight": 1.35,
|
|
389
421
|
"letterSpacing": "0"
|
|
390
422
|
},
|
|
@@ -401,6 +433,12 @@
|
|
|
401
433
|
},
|
|
402
434
|
"body": {
|
|
403
435
|
"fontFamily": "'Bricolage Grotesque', 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif",
|
|
436
|
+
"xl": {
|
|
437
|
+
"$description": "Lead paragraphs and hero subtitles",
|
|
438
|
+
"fontSize": "1.25rem",
|
|
439
|
+
"fontWeight": "400",
|
|
440
|
+
"lineHeight": 1.5
|
|
441
|
+
},
|
|
404
442
|
"lg": {
|
|
405
443
|
"fontSize": "1.125rem",
|
|
406
444
|
"fontWeight": "400",
|
|
@@ -439,18 +477,51 @@
|
|
|
439
477
|
"letterSpacing": "0.01em"
|
|
440
478
|
}
|
|
441
479
|
},
|
|
480
|
+
"eyebrow": {
|
|
481
|
+
"$description": "Small uppercase line above a heading (set text-transform: uppercase alongside)",
|
|
482
|
+
"fontFamily": "'Bricolage Grotesque', 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif",
|
|
483
|
+
"fontSize": "1rem",
|
|
484
|
+
"fontWeight": "500",
|
|
485
|
+
"letterSpacing": "0.05em"
|
|
486
|
+
},
|
|
487
|
+
"control": {
|
|
488
|
+
"$description": "Buttons, field labels, legends, select triggers and options, choice labels",
|
|
489
|
+
"fontFamily": "'Bricolage Grotesque', 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif",
|
|
490
|
+
"fontWeight": "600",
|
|
491
|
+
"letterSpacing": "0.01em",
|
|
492
|
+
"fontSize": {
|
|
493
|
+
"sm": "1rem",
|
|
494
|
+
"md": "1.125rem",
|
|
495
|
+
"lg": "1.25rem"
|
|
496
|
+
}
|
|
497
|
+
},
|
|
498
|
+
"emphasis": {
|
|
499
|
+
"$description": "Inline emphasis inside body text: links, the selected option",
|
|
500
|
+
"fontWeight": "600"
|
|
501
|
+
},
|
|
442
502
|
"code": {
|
|
443
503
|
"fontFamily": "'JetBrains Mono', 'Fira Code', ui-monospace, monospace",
|
|
444
504
|
"fontSize": "0.875rem",
|
|
445
505
|
"lineHeight": 1.5
|
|
446
506
|
}
|
|
447
507
|
},
|
|
508
|
+
"layout": {
|
|
509
|
+
"$description": "Layout sizes",
|
|
510
|
+
"container": {
|
|
511
|
+
"$description": "Max-width of a centred content column (oh-container, oh-hero)",
|
|
512
|
+
"sm": "640px",
|
|
513
|
+
"md": "768px",
|
|
514
|
+
"lg": "1024px",
|
|
515
|
+
"xl": "1280px"
|
|
516
|
+
}
|
|
517
|
+
},
|
|
448
518
|
"shape": {
|
|
449
519
|
"$description": "Friendly soft corners",
|
|
450
|
-
"
|
|
520
|
+
"control": "10px",
|
|
451
521
|
"container": "10px",
|
|
452
522
|
"large": "14px",
|
|
453
|
-
"
|
|
523
|
+
"compact": "6px",
|
|
524
|
+
"tight": "4px",
|
|
454
525
|
"pill": "9999px"
|
|
455
526
|
},
|
|
456
527
|
"elevation": {
|
|
@@ -465,14 +536,15 @@
|
|
|
465
536
|
"focus": {
|
|
466
537
|
"$description": "Warm, friendly focus ring",
|
|
467
538
|
"ringWidth": "3px",
|
|
468
|
-
"
|
|
539
|
+
"ringOffset": "2px",
|
|
540
|
+
"ringColor": "#c54300",
|
|
469
541
|
"glowColor": "#c5430026"
|
|
470
542
|
},
|
|
471
543
|
"button": {
|
|
472
544
|
"$description": "Button — chunky, tactile, playful with offset shadows",
|
|
473
545
|
"base": {
|
|
474
546
|
"fontFamily": "'Bricolage Grotesque', 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif",
|
|
475
|
-
"fontWeight": "
|
|
547
|
+
"fontWeight": "600",
|
|
476
548
|
"letterSpacing": "0.01em",
|
|
477
549
|
"borderRadius": "10px",
|
|
478
550
|
"borderWidth": "2.5px",
|
|
@@ -485,25 +557,26 @@
|
|
|
485
557
|
]
|
|
486
558
|
},
|
|
487
559
|
"size": {
|
|
560
|
+
"$description": "Matches oh-button.ts, which reads these. Minimum 16px text",
|
|
488
561
|
"sm": {
|
|
489
|
-
"fontSize": "
|
|
490
|
-
"paddingX": "
|
|
562
|
+
"fontSize": "1rem",
|
|
563
|
+
"paddingX": "1rem",
|
|
491
564
|
"paddingY": "0.5rem",
|
|
492
|
-
"minHeight": "
|
|
493
|
-
"gap": "0.
|
|
565
|
+
"minHeight": "40px",
|
|
566
|
+
"gap": "0.5rem"
|
|
494
567
|
},
|
|
495
568
|
"md": {
|
|
496
|
-
"fontSize": "
|
|
497
|
-
"paddingX": "
|
|
498
|
-
"paddingY": "0.
|
|
499
|
-
"minHeight": "
|
|
569
|
+
"fontSize": "1.125rem",
|
|
570
|
+
"paddingX": "1.5rem",
|
|
571
|
+
"paddingY": "0.75rem",
|
|
572
|
+
"minHeight": "48px",
|
|
500
573
|
"gap": "0.5rem"
|
|
501
574
|
},
|
|
502
575
|
"lg": {
|
|
503
|
-
"fontSize": "
|
|
504
|
-
"paddingX": "
|
|
505
|
-
"paddingY": "
|
|
506
|
-
"minHeight": "
|
|
576
|
+
"fontSize": "1.25rem",
|
|
577
|
+
"paddingX": "2rem",
|
|
578
|
+
"paddingY": "1rem",
|
|
579
|
+
"minHeight": "56px",
|
|
507
580
|
"gap": "0.625rem"
|
|
508
581
|
}
|
|
509
582
|
},
|
|
@@ -520,7 +593,7 @@
|
|
|
520
593
|
"secondary": {
|
|
521
594
|
"$description": "Secondary — cream surface with emphasis border",
|
|
522
595
|
"background": "#faf7f2",
|
|
523
|
-
"backgroundHover": "#
|
|
596
|
+
"backgroundHover": "#fff4e6",
|
|
524
597
|
"backgroundActive": "#f0ebe3",
|
|
525
598
|
"color": "#3d3229",
|
|
526
599
|
"borderColor": "#6b5d4d",
|
|
@@ -537,9 +610,8 @@
|
|
|
537
610
|
}
|
|
538
611
|
},
|
|
539
612
|
"focus": {
|
|
540
|
-
"$description": "
|
|
541
|
-
"
|
|
542
|
-
"ringColor": "#c5430059",
|
|
613
|
+
"$description": "Focus is an underline in focus.ringColor; glow is decoration",
|
|
614
|
+
"ringColor": "#c54300",
|
|
543
615
|
"glowColor": "#c5430026"
|
|
544
616
|
}
|
|
545
617
|
},
|
|
@@ -593,7 +665,7 @@
|
|
|
593
665
|
"$description": "Card — raised surface with visible frame",
|
|
594
666
|
"base": {
|
|
595
667
|
"background": "#f5f0e8",
|
|
596
|
-
"borderRadius": "
|
|
668
|
+
"borderRadius": "14px",
|
|
597
669
|
"borderWidth": "1px",
|
|
598
670
|
"borderColor": "#e2dcd2",
|
|
599
671
|
"shadow": "0 2px 8px rgba(61, 50, 41, 0.06), 0 1px 3px rgba(61, 50, 41, 0.08)",
|
|
@@ -612,21 +684,53 @@
|
|
|
612
684
|
"borderColorHover": "#c5430040",
|
|
613
685
|
"shadowHover": "0 4px 16px rgba(61, 50, 41, 0.08), 0 2px 6px rgba(61, 50, 41, 0.06)"
|
|
614
686
|
},
|
|
687
|
+
"raised": {
|
|
688
|
+
"$description": "Raised card (default) — subtle top-lit gradient",
|
|
689
|
+
"gradientStart": "#ffffff",
|
|
690
|
+
"gradientMid": "#faf7f2",
|
|
691
|
+
"gradientEnd": "#f5f0e8",
|
|
692
|
+
"borderColor": "#e2dcd2"
|
|
693
|
+
},
|
|
694
|
+
"flat": {
|
|
695
|
+
"$description": "Flat card — border-led, minimal shadow",
|
|
696
|
+
"gradientStart": "#faf7f2",
|
|
697
|
+
"gradientEnd": "#f5f0e8",
|
|
698
|
+
"borderColor": "#e2dcd2"
|
|
699
|
+
},
|
|
615
700
|
"sunlit": {
|
|
616
701
|
"$description": "Sunlit card — featured with gradient",
|
|
617
|
-
"background": "linear-gradient(180deg, #
|
|
702
|
+
"background": "linear-gradient(180deg, #fffbf5 0%, #fdf6ee 30%, #f8efe4 100%)",
|
|
703
|
+
"gradientStart": "#fffbf5",
|
|
704
|
+
"gradientMid": "#fdf6ee",
|
|
705
|
+
"gradientEnd": "#f8efe4",
|
|
618
706
|
"borderColor": "#c5430040",
|
|
707
|
+
"borderColorHover": "#c5430059",
|
|
619
708
|
"shadow": "0 4px 16px rgba(61, 50, 41, 0.08), 0 2px 6px rgba(61, 50, 41, 0.06)"
|
|
709
|
+
},
|
|
710
|
+
"section": {
|
|
711
|
+
"$description": "Card header and footer",
|
|
712
|
+
"dividerColor": "#e2d5c899",
|
|
713
|
+
"headerGradientStart": "#ffffff80",
|
|
714
|
+
"headerGradientEnd": "#ffffff00"
|
|
715
|
+
}
|
|
716
|
+
},
|
|
717
|
+
"progress": {
|
|
718
|
+
"$description": "Progress — chunky pill track",
|
|
719
|
+
"inverse": {
|
|
720
|
+
"$description": "On brand/accent backgrounds (e.g. journey hero). Fill is cream so it reads at 3.7:1 against the track.",
|
|
721
|
+
"trackBackground": "#ffffff26",
|
|
722
|
+
"trackBorder": "#ffffff4d",
|
|
723
|
+
"fill": "#faf7f2"
|
|
620
724
|
}
|
|
621
725
|
},
|
|
622
726
|
"badge": {
|
|
623
727
|
"$description": "Badge — small status indicators",
|
|
624
728
|
"base": {
|
|
625
729
|
"fontFamily": "'Bricolage Grotesque', 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif",
|
|
626
|
-
"fontSize": "
|
|
730
|
+
"fontSize": "1rem",
|
|
627
731
|
"fontWeight": "500",
|
|
628
732
|
"letterSpacing": "0.01em",
|
|
629
|
-
"borderRadius": "
|
|
733
|
+
"borderRadius": "6px",
|
|
630
734
|
"paddingX": "0.625rem",
|
|
631
735
|
"paddingY": "0.25rem"
|
|
632
736
|
},
|
|
@@ -641,7 +745,7 @@
|
|
|
641
745
|
},
|
|
642
746
|
"success": {
|
|
643
747
|
"background": "#f0f7f1",
|
|
644
|
-
"color": "#
|
|
748
|
+
"color": "#3d7340"
|
|
645
749
|
},
|
|
646
750
|
"error": {
|
|
647
751
|
"background": "#fdf4f3",
|
|
@@ -662,6 +766,18 @@
|
|
|
662
766
|
"color": "#c54300",
|
|
663
767
|
"colorHover": "#9e3500",
|
|
664
768
|
"textDecoration": "underline",
|
|
665
|
-
"textDecorationHover": "none"
|
|
769
|
+
"textDecorationHover": "none",
|
|
770
|
+
"inverse": {
|
|
771
|
+
"$description": "On brand/accent backgrounds",
|
|
772
|
+
"focusBackground": "#0000001a"
|
|
773
|
+
}
|
|
774
|
+
},
|
|
775
|
+
"modal": {
|
|
776
|
+
"$description": "Modal dialog",
|
|
777
|
+
"overlay": "#3d322999"
|
|
778
|
+
},
|
|
779
|
+
"closeButton": {
|
|
780
|
+
"$description": "Icon-only close buttons in alerts and modals",
|
|
781
|
+
"backgroundHover": "#00000014"
|
|
666
782
|
}
|
|
667
783
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orange-halo/tokens",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Design tokens for Orange Halo Design System (W3C Design Token Format)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/tokens.js",
|
|
@@ -9,13 +9,17 @@
|
|
|
9
9
|
"import": "./dist/tokens.js"
|
|
10
10
|
},
|
|
11
11
|
"./css": "./dist/tokens.css",
|
|
12
|
-
"./themes/light": "./dist/themes/light.css",
|
|
13
12
|
"./themes/dark": "./dist/themes/dark.css",
|
|
14
|
-
"./json": "./dist/
|
|
13
|
+
"./themes/dark.json": "./dist/themes/dark.json",
|
|
14
|
+
"./json": "./dist/tokens.json",
|
|
15
|
+
"./contrast": "./contrast.js",
|
|
16
|
+
"./contrast-pairs": "./contrast-pairs.json"
|
|
15
17
|
},
|
|
16
18
|
"files": [
|
|
17
19
|
"dist",
|
|
18
|
-
"tokens"
|
|
20
|
+
"tokens",
|
|
21
|
+
"contrast.js",
|
|
22
|
+
"contrast-pairs.json"
|
|
19
23
|
],
|
|
20
24
|
"devDependencies": {
|
|
21
25
|
"style-dictionary": "^4.2.0"
|