@phcdevworks/spectre-tokens 4.11.0 → 4.13.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/dist/index.cjs CHANGED
@@ -45,6 +45,7 @@ var coreTokens = {
45
45
  "warning": "{colors.warning.600}",
46
46
  "danger": "{colors.error.600}",
47
47
  "cta": "{colors.brand.600}",
48
+ "accent": "{colors.accent.600}",
48
49
  "thickness": "0.25rem"
49
50
  }
50
51
  },
@@ -99,6 +100,7 @@ var coreTokens = {
99
100
  "warning": "{colors.warning.600}",
100
101
  "danger": "{colors.error.600}",
101
102
  "cta": "{colors.brand.600}",
103
+ "accent": "{colors.accent.600}",
102
104
  "thickness": "0.25rem"
103
105
  }
104
106
  },
@@ -126,6 +128,7 @@ var coreTokens = {
126
128
  "warning": "{colors.warning.600}",
127
129
  "danger": "{colors.error.600}",
128
130
  "cta": "{colors.brand.600}",
131
+ "accent": "{colors.accent.600}",
129
132
  "thickness": "0.25rem"
130
133
  }
131
134
  },
@@ -147,6 +150,7 @@ var coreTokens = {
147
150
  "warning": "{colors.warning.600}",
148
151
  "danger": "{colors.error.600}",
149
152
  "cta": "{colors.brand.600}",
153
+ "accent": "{colors.accent.600}",
150
154
  "thickness": "0.25rem"
151
155
  }
152
156
  },
@@ -170,6 +174,7 @@ var coreTokens = {
170
174
  "warning": "{colors.warning.600}",
171
175
  "danger": "{colors.error.600}",
172
176
  "cta": "{colors.brand.600}",
177
+ "accent": "{colors.accent.600}",
173
178
  "thickness": "0.25rem"
174
179
  }
175
180
  },
@@ -191,7 +196,29 @@ var coreTokens = {
191
196
  "warning": "{colors.warning.600}",
192
197
  "danger": "{colors.error.600}",
193
198
  "cta": "{colors.brand.600}",
199
+ "accent": "{colors.accent.600}",
194
200
  "thickness": "0.25rem"
201
+ },
202
+ "light": {
203
+ "bg": "{colors.neutral.100}",
204
+ "text": "{colors.neutral.700}",
205
+ "heading": "{colors.neutral.900}",
206
+ "muted": "{colors.neutral.600}",
207
+ "link": "{colors.neutral.700}",
208
+ "linkHover": "{colors.brand.700}",
209
+ "border": "{colors.neutral.200}",
210
+ "divider": "{colors.neutral.200}",
211
+ "chipBg": "{colors.neutral.200}",
212
+ "accent": {
213
+ "neutral": "{colors.neutral.600}",
214
+ "brand": "{colors.brand.600}",
215
+ "info": "{colors.info.600}",
216
+ "success": "{colors.success.600}",
217
+ "warning": "{colors.warning.600}",
218
+ "danger": "{colors.error.600}",
219
+ "cta": "{colors.brand.600}",
220
+ "accent": "{colors.accent.600}"
221
+ }
195
222
  }
196
223
  },
197
224
  "modal": {
@@ -207,6 +234,7 @@ var coreTokens = {
207
234
  "warning": "{colors.warning.600}",
208
235
  "danger": "{colors.error.600}",
209
236
  "cta": "{colors.brand.600}",
237
+ "accent": "{colors.accent.600}",
210
238
  "thickness": "0.25rem"
211
239
  }
212
240
  },
@@ -249,6 +277,7 @@ var coreTokens = {
249
277
  "warning": "{colors.warning.600}",
250
278
  "danger": "{colors.error.600}",
251
279
  "cta": "{colors.brand.600}",
280
+ "accent": "{colors.accent.600}",
252
281
  "thickness": "0.25rem"
253
282
  }
254
283
  },
@@ -264,6 +293,7 @@ var coreTokens = {
264
293
  "warning": "{colors.warning.600}",
265
294
  "danger": "{colors.error.600}",
266
295
  "cta": "{colors.brand.600}",
296
+ "accent": "{colors.accent.600}",
267
297
  "thickness": "0.25rem"
268
298
  }
269
299
  },
@@ -287,6 +317,7 @@ var coreTokens = {
287
317
  "warning": "{colors.warning.600}",
288
318
  "danger": "{colors.error.600}",
289
319
  "cta": "{colors.brand.600}",
320
+ "accent": "{colors.accent.600}",
290
321
  "thickness": "0.25rem"
291
322
  },
292
323
  "header": "{colors.neutral.500}",
@@ -376,6 +407,7 @@ var coreTokens = {
376
407
  "warning": "{colors.warning.600}",
377
408
  "danger": "{colors.error.600}",
378
409
  "cta": "{colors.brand.600}",
410
+ "accent": "{colors.accent.600}",
379
411
  "thickness": "0.25rem"
380
412
  }
381
413
  },
@@ -430,6 +462,13 @@ var coreTokens = {
430
462
  "bg": "{colors.error.100}",
431
463
  "text": "{colors.error.800}"
432
464
  }
465
+ },
466
+ "caption": {
467
+ "text": "{colors.neutral.600}"
468
+ },
469
+ "footer": {
470
+ "bg": "{colors.neutral.50}",
471
+ "text": "{colors.neutral.900}"
433
472
  }
434
473
  },
435
474
  "alert": {
@@ -500,6 +539,28 @@ var coreTokens = {
500
539
  "text": "{colors.white}"
501
540
  }
502
541
  },
542
+ "tone": {
543
+ "brand": {
544
+ "active": {
545
+ "bg": "{colors.brand.600}",
546
+ "text": "{colors.white}"
547
+ },
548
+ "done": {
549
+ "bg": "{colors.success.700}",
550
+ "text": "{colors.white}"
551
+ }
552
+ },
553
+ "accent": {
554
+ "active": {
555
+ "bg": "{colors.accent.600}",
556
+ "text": "{colors.white}"
557
+ },
558
+ "done": {
559
+ "bg": "{colors.accent.800}",
560
+ "text": "{colors.white}"
561
+ }
562
+ }
563
+ },
503
564
  "connector": "{colors.neutral.200}",
504
565
  "label": {
505
566
  "text": "{colors.neutral.700}"
@@ -630,7 +691,31 @@ var coreTokens = {
630
691
  "bg": "{colors.warning.100}",
631
692
  "text": "{colors.warning.900}"
632
693
  },
633
- "hr": "{colors.neutral.200}"
694
+ "hr": "{colors.neutral.200}",
695
+ "kbd": {
696
+ "bg": "{colors.neutral.100}",
697
+ "border": "{colors.neutral.300}",
698
+ "text": "{colors.neutral.900}"
699
+ },
700
+ "del": {
701
+ "bg": "{colors.error.100}",
702
+ "text": "{colors.error.800}"
703
+ },
704
+ "ins": {
705
+ "bg": "{colors.success.100}",
706
+ "text": "{colors.success.800}"
707
+ },
708
+ "marker": "{colors.neutral.600}",
709
+ "markerAccent": "{colors.accent.600}",
710
+ "figcaption": {
711
+ "text": "{colors.neutral.600}"
712
+ },
713
+ "dt": {
714
+ "text": "{colors.neutral.900}"
715
+ },
716
+ "dd": {
717
+ "text": "{colors.neutral.700}"
718
+ }
634
719
  },
635
720
  "externalAuthButton": {
636
721
  "bg": "{colors.white}",
@@ -671,7 +756,16 @@ var coreTokens = {
671
756
  "borderInvalid": "{colors.error.500}",
672
757
  "bgInvalid": "{colors.error.50}",
673
758
  "borderSuccess": "{colors.success.500}",
674
- "bgSuccess": "{colors.success.50}"
759
+ "bgSuccess": "{colors.success.50}",
760
+ "option": {
761
+ "hoverBg": "{colors.neutral.100}",
762
+ "selectedBg": "{colors.info.50}",
763
+ "selectedText": "{colors.info.800}",
764
+ "disabledText": "{colors.neutral.400}"
765
+ },
766
+ "optgroup": {
767
+ "labelText": "{colors.neutral.600}"
768
+ }
675
769
  },
676
770
  "textarea": {
677
771
  "bg": "{colors.white}",
@@ -694,6 +788,101 @@ var coreTokens = {
694
788
  "text": "{colors.neutral.900}",
695
789
  "disabledText": "{colors.neutral.400}",
696
790
  "requiredIndicatorText": "{colors.error.600}"
791
+ },
792
+ "skeleton": {
793
+ "base": "{colors.neutral.200}",
794
+ "shimmer": "{colors.neutral.100}"
795
+ },
796
+ "selection": {
797
+ "bg": "{colors.brand.100}",
798
+ "text": "{colors.neutral.900}"
799
+ },
800
+ "caret": {
801
+ "color": "{colors.brand.600}"
802
+ },
803
+ "scrollbar": {
804
+ "track": "{colors.neutral.100}",
805
+ "thumb": "{colors.neutral.400}",
806
+ "thumbHover": "{colors.neutral.500}"
807
+ },
808
+ "chart": {
809
+ "bg": "{colors.white}",
810
+ "grid": "{colors.neutral.200}",
811
+ "axis": "{colors.neutral.500}",
812
+ "label": "{colors.neutral.600}",
813
+ "series": {
814
+ "1": "{colors.brand.600}",
815
+ "2": "{colors.palette.amber.600}",
816
+ "3": "{colors.palette.violet.800}",
817
+ "4": "{colors.palette.cyan.600}",
818
+ "5": "{colors.palette.pink.600}",
819
+ "6": "{colors.palette.emerald.800}",
820
+ "7": "{colors.palette.lime.700}",
821
+ "8": "{colors.palette.orange.800}"
822
+ },
823
+ "sequential": {
824
+ "1": "{colors.brand.100}",
825
+ "2": "{colors.brand.200}",
826
+ "3": "{colors.brand.300}",
827
+ "4": "{colors.brand.400}",
828
+ "5": "{colors.brand.600}",
829
+ "6": "{colors.brand.800}",
830
+ "7": "{colors.brand.900}"
831
+ },
832
+ "diverging": {
833
+ "1": "{colors.palette.red.700}",
834
+ "2": "{colors.palette.red.400}",
835
+ "3": "{colors.palette.red.200}",
836
+ "4": "{colors.neutral.200}",
837
+ "5": "{colors.palette.blue.200}",
838
+ "6": "{colors.palette.blue.400}",
839
+ "7": "{colors.palette.blue.700}"
840
+ }
841
+ },
842
+ "quote": {
843
+ "text": "{colors.neutral.700}",
844
+ "attributionName": "{colors.neutral.900}",
845
+ "attributionRole": "{colors.neutral.600}",
846
+ "mark": "{colors.accent.600}",
847
+ "border": "{colors.neutral.300}",
848
+ "accent": {
849
+ "neutral": "{colors.neutral.600}",
850
+ "brand": "{colors.brand.600}",
851
+ "info": "{colors.info.600}",
852
+ "success": "{colors.success.600}",
853
+ "warning": "{colors.warning.600}",
854
+ "danger": "{colors.error.600}",
855
+ "cta": "{colors.brand.600}",
856
+ "accent": "{colors.accent.600}",
857
+ "thickness": "0.25rem"
858
+ }
859
+ },
860
+ "meter": {
861
+ "track": "{colors.neutral.200}",
862
+ "fill": {
863
+ "optimum": "{colors.success.700}",
864
+ "suboptimum": "{colors.warning.700}",
865
+ "critical": "{colors.error.600}"
866
+ }
867
+ },
868
+ "code": {
869
+ "syntax": {
870
+ "keyword": "{colors.accent.700}",
871
+ "string": "{colors.success.800}",
872
+ "number": "{colors.warning.800}",
873
+ "comment": "{colors.neutral.600}",
874
+ "function": "{colors.brand.700}",
875
+ "variable": "{colors.error.700}",
876
+ "type": "{colors.info.700}",
877
+ "operator": "{colors.neutral.700}",
878
+ "punctuation": "{colors.neutral.600}",
879
+ "tag": "{colors.palette.pink.700}",
880
+ "attribute": "{colors.palette.teal.800}"
881
+ }
882
+ },
883
+ "proofing": {
884
+ "spelling": "{colors.error.600}",
885
+ "grammar": "{colors.info.600}"
697
886
  }
698
887
  },
699
888
  "buttons": {
@@ -811,6 +1000,18 @@ var coreTokens = {
811
1000
  "focusRing": "{colors.accent.500} / 0.4",
812
1001
  "focusVisible": "{colors.accent.500} / 0.4"
813
1002
  },
1003
+ "accentOutline": {
1004
+ "bg": "{colors.white}",
1005
+ "bgHover": "{colors.accent.50}",
1006
+ "bgActive": "{colors.accent.100}",
1007
+ "bgDisabled": "{colors.neutral.50}",
1008
+ "text": "{colors.accent.700}",
1009
+ "textDisabled": "{colors.neutral.400}",
1010
+ "border": "{colors.accent.700}",
1011
+ "borderDisabled": "{colors.neutral.200}",
1012
+ "focusRing": "{colors.accent.500} / 0.4",
1013
+ "focusVisible": "{colors.accent.500} / 0.4"
1014
+ },
814
1015
  "inverse": {
815
1016
  "bg": "{colors.white} / 0.12",
816
1017
  "bgHover": "{colors.white} / 0.2",
@@ -858,6 +1059,40 @@ var coreTokens = {
858
1059
  "text": "{colors.neutral.400}"
859
1060
  }
860
1061
  },
1062
+ "control": {
1063
+ "sm": {
1064
+ "height": "2rem",
1065
+ "paddingInline": "0.75rem",
1066
+ "iconSize": "{icons.sm}"
1067
+ },
1068
+ "md": {
1069
+ "height": "2.5rem",
1070
+ "paddingInline": "1rem",
1071
+ "iconSize": "{icons.md}"
1072
+ },
1073
+ "lg": {
1074
+ "height": "3rem",
1075
+ "paddingInline": "1.25rem",
1076
+ "iconSize": "{icons.lg}"
1077
+ },
1078
+ "compact": {
1079
+ "sm": {
1080
+ "height": "1.5rem",
1081
+ "paddingInline": "0.5rem",
1082
+ "iconSize": "{icons.xs}"
1083
+ },
1084
+ "md": {
1085
+ "height": "2rem",
1086
+ "paddingInline": "0.75rem",
1087
+ "iconSize": "{icons.sm}"
1088
+ },
1089
+ "lg": {
1090
+ "height": "2.5rem",
1091
+ "paddingInline": "1rem",
1092
+ "iconSize": "{icons.md}"
1093
+ }
1094
+ }
1095
+ },
861
1096
  "modes": {
862
1097
  "default": {
863
1098
  "surface": {
@@ -878,14 +1113,16 @@ var coreTokens = {
878
1113
  "muted": "{colors.neutral.600}",
879
1114
  "subtle": "{colors.neutral.500}",
880
1115
  "meta": "{colors.neutral.500}",
881
- "brand": "{colors.brand.600}"
1116
+ "brand": "{colors.brand.600}",
1117
+ "accent": "{colors.accent.600}"
882
1118
  },
883
1119
  "onSurface": {
884
1120
  "default": "{colors.neutral.900}",
885
1121
  "muted": "{colors.neutral.600}",
886
1122
  "subtle": "{colors.neutral.500}",
887
1123
  "meta": "{colors.neutral.500}",
888
- "brand": "{colors.brand.600}"
1124
+ "brand": "{colors.brand.600}",
1125
+ "accent": "{colors.accent.600}"
889
1126
  }
890
1127
  },
891
1128
  "forms": {
@@ -906,7 +1143,8 @@ var coreTokens = {
906
1143
  "success": "{colors.success.600}",
907
1144
  "warning": "{colors.warning.600}",
908
1145
  "danger": "{colors.error.600}",
909
- "cta": "{colors.brand.600}"
1146
+ "cta": "{colors.brand.600}",
1147
+ "accent": "{colors.accent.600}"
910
1148
  }
911
1149
  },
912
1150
  "choiceCard": {
@@ -951,7 +1189,8 @@ var coreTokens = {
951
1189
  "success": "{colors.success.600}",
952
1190
  "warning": "{colors.warning.600}",
953
1191
  "danger": "{colors.error.600}",
954
- "cta": "{colors.brand.600}"
1192
+ "cta": "{colors.brand.600}",
1193
+ "accent": "{colors.accent.600}"
955
1194
  }
956
1195
  },
957
1196
  "iconBox": {
@@ -977,7 +1216,8 @@ var coreTokens = {
977
1216
  "success": "{colors.success.600}",
978
1217
  "warning": "{colors.warning.600}",
979
1218
  "danger": "{colors.error.600}",
980
- "cta": "{colors.brand.600}"
1219
+ "cta": "{colors.brand.600}",
1220
+ "accent": "{colors.accent.600}"
981
1221
  }
982
1222
  },
983
1223
  "pricingCard": {
@@ -997,7 +1237,8 @@ var coreTokens = {
997
1237
  "success": "{colors.success.600}",
998
1238
  "warning": "{colors.warning.600}",
999
1239
  "danger": "{colors.error.600}",
1000
- "cta": "{colors.brand.600}"
1240
+ "cta": "{colors.brand.600}",
1241
+ "accent": "{colors.accent.600}"
1001
1242
  }
1002
1243
  },
1003
1244
  "rating": {
@@ -1019,7 +1260,8 @@ var coreTokens = {
1019
1260
  "success": "{colors.success.600}",
1020
1261
  "warning": "{colors.warning.600}",
1021
1262
  "danger": "{colors.error.600}",
1022
- "cta": "{colors.brand.600}"
1263
+ "cta": "{colors.brand.600}",
1264
+ "accent": "{colors.accent.600}"
1023
1265
  }
1024
1266
  },
1025
1267
  "footer": {
@@ -1039,7 +1281,29 @@ var coreTokens = {
1039
1281
  "success": "{colors.success.600}",
1040
1282
  "warning": "{colors.warning.600}",
1041
1283
  "danger": "{colors.error.600}",
1042
- "cta": "{colors.brand.600}"
1284
+ "cta": "{colors.brand.600}",
1285
+ "accent": "{colors.accent.600}"
1286
+ },
1287
+ "light": {
1288
+ "bg": "{colors.neutral.100}",
1289
+ "text": "{colors.neutral.700}",
1290
+ "heading": "{colors.neutral.900}",
1291
+ "muted": "{colors.neutral.600}",
1292
+ "link": "{colors.neutral.700}",
1293
+ "linkHover": "{colors.brand.700}",
1294
+ "border": "{colors.neutral.200}",
1295
+ "divider": "{colors.neutral.200}",
1296
+ "chipBg": "{colors.neutral.200}",
1297
+ "accent": {
1298
+ "neutral": "{colors.neutral.600}",
1299
+ "brand": "{colors.brand.600}",
1300
+ "info": "{colors.info.600}",
1301
+ "success": "{colors.success.600}",
1302
+ "warning": "{colors.warning.600}",
1303
+ "danger": "{colors.error.600}",
1304
+ "cta": "{colors.brand.600}",
1305
+ "accent": "{colors.accent.600}"
1306
+ }
1043
1307
  }
1044
1308
  },
1045
1309
  "modal": {
@@ -1054,7 +1318,8 @@ var coreTokens = {
1054
1318
  "success": "{colors.success.600}",
1055
1319
  "warning": "{colors.warning.600}",
1056
1320
  "danger": "{colors.error.600}",
1057
- "cta": "{colors.brand.600}"
1321
+ "cta": "{colors.brand.600}",
1322
+ "accent": "{colors.accent.600}"
1058
1323
  }
1059
1324
  },
1060
1325
  "toast": {
@@ -1095,7 +1360,8 @@ var coreTokens = {
1095
1360
  "success": "{colors.success.600}",
1096
1361
  "warning": "{colors.warning.600}",
1097
1362
  "danger": "{colors.error.600}",
1098
- "cta": "{colors.brand.600}"
1363
+ "cta": "{colors.brand.600}",
1364
+ "accent": "{colors.accent.600}"
1099
1365
  }
1100
1366
  },
1101
1367
  "tooltip": {
@@ -1109,7 +1375,8 @@ var coreTokens = {
1109
1375
  "success": "{colors.success.600}",
1110
1376
  "warning": "{colors.warning.600}",
1111
1377
  "danger": "{colors.error.600}",
1112
- "cta": "{colors.brand.600}"
1378
+ "cta": "{colors.brand.600}",
1379
+ "accent": "{colors.accent.600}"
1113
1380
  }
1114
1381
  },
1115
1382
  "dropdown": {
@@ -1131,7 +1398,8 @@ var coreTokens = {
1131
1398
  "success": "{colors.success.600}",
1132
1399
  "warning": "{colors.warning.600}",
1133
1400
  "danger": "{colors.error.600}",
1134
- "cta": "{colors.brand.600}"
1401
+ "cta": "{colors.brand.600}",
1402
+ "accent": "{colors.accent.600}"
1135
1403
  },
1136
1404
  "header": "{colors.neutral.500}",
1137
1405
  "divider": "{colors.neutral.200}"
@@ -1220,6 +1488,7 @@ var coreTokens = {
1220
1488
  "warning": "{colors.warning.600}",
1221
1489
  "danger": "{colors.error.600}",
1222
1490
  "cta": "{colors.brand.600}",
1491
+ "accent": "{colors.accent.600}",
1223
1492
  "thickness": "0.25rem"
1224
1493
  }
1225
1494
  },
@@ -1274,6 +1543,13 @@ var coreTokens = {
1274
1543
  "bg": "{colors.error.100}",
1275
1544
  "text": "{colors.error.800}"
1276
1545
  }
1546
+ },
1547
+ "caption": {
1548
+ "text": "{colors.neutral.600}"
1549
+ },
1550
+ "footer": {
1551
+ "bg": "{colors.neutral.50}",
1552
+ "text": "{colors.neutral.900}"
1277
1553
  }
1278
1554
  },
1279
1555
  "alert": {
@@ -1344,6 +1620,28 @@ var coreTokens = {
1344
1620
  "text": "{colors.white}"
1345
1621
  }
1346
1622
  },
1623
+ "tone": {
1624
+ "brand": {
1625
+ "active": {
1626
+ "bg": "{colors.brand.600}",
1627
+ "text": "{colors.white}"
1628
+ },
1629
+ "done": {
1630
+ "bg": "{colors.success.700}",
1631
+ "text": "{colors.white}"
1632
+ }
1633
+ },
1634
+ "accent": {
1635
+ "active": {
1636
+ "bg": "{colors.accent.600}",
1637
+ "text": "{colors.white}"
1638
+ },
1639
+ "done": {
1640
+ "bg": "{colors.accent.800}",
1641
+ "text": "{colors.white}"
1642
+ }
1643
+ }
1644
+ },
1347
1645
  "connector": "{colors.neutral.200}",
1348
1646
  "label": {
1349
1647
  "text": "{colors.neutral.700}"
@@ -1470,7 +1768,31 @@ var coreTokens = {
1470
1768
  "bg": "{colors.warning.100}",
1471
1769
  "text": "{colors.warning.900}"
1472
1770
  },
1473
- "hr": "{colors.neutral.200}"
1771
+ "hr": "{colors.neutral.200}",
1772
+ "kbd": {
1773
+ "bg": "{colors.neutral.100}",
1774
+ "border": "{colors.neutral.300}",
1775
+ "text": "{colors.neutral.900}"
1776
+ },
1777
+ "del": {
1778
+ "bg": "{colors.error.100}",
1779
+ "text": "{colors.error.800}"
1780
+ },
1781
+ "ins": {
1782
+ "bg": "{colors.success.100}",
1783
+ "text": "{colors.success.800}"
1784
+ },
1785
+ "marker": "{colors.neutral.600}",
1786
+ "markerAccent": "{colors.accent.600}",
1787
+ "figcaption": {
1788
+ "text": "{colors.neutral.600}"
1789
+ },
1790
+ "dt": {
1791
+ "text": "{colors.neutral.900}"
1792
+ },
1793
+ "dd": {
1794
+ "text": "{colors.neutral.700}"
1795
+ }
1474
1796
  },
1475
1797
  "externalAuthButton": {
1476
1798
  "bg": "{colors.white}",
@@ -1507,7 +1829,16 @@ var coreTokens = {
1507
1829
  "placeholderText": "{colors.neutral.500}",
1508
1830
  "disabledBg": "{colors.neutral.50}",
1509
1831
  "disabledBorder": "{colors.neutral.200}",
1510
- "focusBorder": "{colors.info.500}"
1832
+ "focusBorder": "{colors.info.500}",
1833
+ "option": {
1834
+ "hoverBg": "{colors.neutral.100}",
1835
+ "selectedBg": "{colors.info.50}",
1836
+ "selectedText": "{colors.info.800}",
1837
+ "disabledText": "{colors.neutral.400}"
1838
+ },
1839
+ "optgroup": {
1840
+ "labelText": "{colors.neutral.600}"
1841
+ }
1511
1842
  },
1512
1843
  "textarea": {
1513
1844
  "bg": "{colors.white}",
@@ -1526,6 +1857,100 @@ var coreTokens = {
1526
1857
  "text": "{colors.neutral.900}",
1527
1858
  "disabledText": "{colors.neutral.400}",
1528
1859
  "requiredIndicatorText": "{colors.error.600}"
1860
+ },
1861
+ "skeleton": {
1862
+ "base": "{colors.neutral.200}",
1863
+ "shimmer": "{colors.neutral.100}"
1864
+ },
1865
+ "selection": {
1866
+ "bg": "{colors.brand.100}",
1867
+ "text": "{colors.neutral.900}"
1868
+ },
1869
+ "caret": {
1870
+ "color": "{colors.brand.600}"
1871
+ },
1872
+ "scrollbar": {
1873
+ "track": "{colors.neutral.100}",
1874
+ "thumb": "{colors.neutral.400}",
1875
+ "thumbHover": "{colors.neutral.500}"
1876
+ },
1877
+ "chart": {
1878
+ "bg": "{colors.white}",
1879
+ "grid": "{colors.neutral.200}",
1880
+ "axis": "{colors.neutral.500}",
1881
+ "label": "{colors.neutral.600}",
1882
+ "series": {
1883
+ "1": "{colors.brand.600}",
1884
+ "2": "{colors.palette.amber.600}",
1885
+ "3": "{colors.palette.violet.800}",
1886
+ "4": "{colors.palette.cyan.600}",
1887
+ "5": "{colors.palette.pink.600}",
1888
+ "6": "{colors.palette.emerald.800}",
1889
+ "7": "{colors.palette.lime.700}",
1890
+ "8": "{colors.palette.orange.800}"
1891
+ },
1892
+ "sequential": {
1893
+ "1": "{colors.brand.100}",
1894
+ "2": "{colors.brand.200}",
1895
+ "3": "{colors.brand.300}",
1896
+ "4": "{colors.brand.400}",
1897
+ "5": "{colors.brand.600}",
1898
+ "6": "{colors.brand.800}",
1899
+ "7": "{colors.brand.900}"
1900
+ },
1901
+ "diverging": {
1902
+ "1": "{colors.palette.red.700}",
1903
+ "2": "{colors.palette.red.400}",
1904
+ "3": "{colors.palette.red.200}",
1905
+ "4": "{colors.neutral.200}",
1906
+ "5": "{colors.palette.blue.200}",
1907
+ "6": "{colors.palette.blue.400}",
1908
+ "7": "{colors.palette.blue.700}"
1909
+ }
1910
+ },
1911
+ "quote": {
1912
+ "text": "{colors.neutral.700}",
1913
+ "attributionName": "{colors.neutral.900}",
1914
+ "attributionRole": "{colors.neutral.600}",
1915
+ "mark": "{colors.accent.600}",
1916
+ "border": "{colors.neutral.300}",
1917
+ "accent": {
1918
+ "neutral": "{colors.neutral.600}",
1919
+ "brand": "{colors.brand.600}",
1920
+ "info": "{colors.info.600}",
1921
+ "success": "{colors.success.600}",
1922
+ "warning": "{colors.warning.600}",
1923
+ "danger": "{colors.error.600}",
1924
+ "cta": "{colors.brand.600}",
1925
+ "accent": "{colors.accent.600}"
1926
+ }
1927
+ },
1928
+ "meter": {
1929
+ "track": "{colors.neutral.200}",
1930
+ "fill": {
1931
+ "optimum": "{colors.success.700}",
1932
+ "suboptimum": "{colors.warning.700}",
1933
+ "critical": "{colors.error.600}"
1934
+ }
1935
+ },
1936
+ "code": {
1937
+ "syntax": {
1938
+ "keyword": "{colors.accent.700}",
1939
+ "string": "{colors.success.800}",
1940
+ "number": "{colors.warning.800}",
1941
+ "comment": "{colors.neutral.600}",
1942
+ "function": "{colors.brand.700}",
1943
+ "variable": "{colors.error.700}",
1944
+ "type": "{colors.info.700}",
1945
+ "operator": "{colors.neutral.700}",
1946
+ "punctuation": "{colors.neutral.600}",
1947
+ "tag": "{colors.palette.pink.700}",
1948
+ "attribute": "{colors.palette.teal.800}"
1949
+ }
1950
+ },
1951
+ "proofing": {
1952
+ "spelling": "{colors.error.600}",
1953
+ "grammar": "{colors.info.600}"
1529
1954
  }
1530
1955
  }
1531
1956
  },
@@ -1548,14 +1973,16 @@ var coreTokens = {
1548
1973
  "muted": "{colors.neutral.300}",
1549
1974
  "subtle": "{colors.neutral.400}",
1550
1975
  "meta": "{colors.neutral.400}",
1551
- "brand": "{colors.brand.400}"
1976
+ "brand": "{colors.brand.400}",
1977
+ "accent": "{colors.accent.400}"
1552
1978
  },
1553
1979
  "onSurface": {
1554
1980
  "default": "{colors.neutral.100}",
1555
1981
  "muted": "{colors.neutral.300}",
1556
1982
  "subtle": "{colors.neutral.400}",
1557
1983
  "meta": "{colors.neutral.400}",
1558
- "brand": "{colors.brand.400}"
1984
+ "brand": "{colors.brand.400}",
1985
+ "accent": "{colors.accent.400}"
1559
1986
  }
1560
1987
  },
1561
1988
  "forms": {
@@ -1576,7 +2003,8 @@ var coreTokens = {
1576
2003
  "success": "{colors.success.400}",
1577
2004
  "warning": "{colors.warning.400}",
1578
2005
  "danger": "{colors.error.400}",
1579
- "cta": "{colors.brand.400}"
2006
+ "cta": "{colors.brand.400}",
2007
+ "accent": "{colors.accent.400}"
1580
2008
  }
1581
2009
  },
1582
2010
  "choiceCard": {
@@ -1624,7 +2052,8 @@ var coreTokens = {
1624
2052
  "success": "{colors.success.400}",
1625
2053
  "warning": "{colors.warning.400}",
1626
2054
  "danger": "{colors.error.400}",
1627
- "cta": "{colors.brand.400}"
2055
+ "cta": "{colors.brand.400}",
2056
+ "accent": "{colors.accent.400}"
1628
2057
  }
1629
2058
  },
1630
2059
  "iconBox": {
@@ -1650,7 +2079,8 @@ var coreTokens = {
1650
2079
  "success": "{colors.success.400}",
1651
2080
  "warning": "{colors.warning.400}",
1652
2081
  "danger": "{colors.error.400}",
1653
- "cta": "{colors.brand.400}"
2082
+ "cta": "{colors.brand.400}",
2083
+ "accent": "{colors.accent.400}"
1654
2084
  }
1655
2085
  },
1656
2086
  "pricingCard": {
@@ -1670,7 +2100,8 @@ var coreTokens = {
1670
2100
  "success": "{colors.success.400}",
1671
2101
  "warning": "{colors.warning.400}",
1672
2102
  "danger": "{colors.error.400}",
1673
- "cta": "{colors.brand.400}"
2103
+ "cta": "{colors.brand.400}",
2104
+ "accent": "{colors.accent.400}"
1674
2105
  }
1675
2106
  },
1676
2107
  "rating": {
@@ -1692,7 +2123,8 @@ var coreTokens = {
1692
2123
  "success": "{colors.success.400}",
1693
2124
  "warning": "{colors.warning.400}",
1694
2125
  "danger": "{colors.error.400}",
1695
- "cta": "{colors.brand.400}"
2126
+ "cta": "{colors.brand.400}",
2127
+ "accent": "{colors.accent.400}"
1696
2128
  }
1697
2129
  },
1698
2130
  "footer": {
@@ -1712,7 +2144,29 @@ var coreTokens = {
1712
2144
  "success": "{colors.success.400}",
1713
2145
  "warning": "{colors.warning.400}",
1714
2146
  "danger": "{colors.error.400}",
1715
- "cta": "{colors.brand.400}"
2147
+ "cta": "{colors.brand.400}",
2148
+ "accent": "{colors.accent.400}"
2149
+ },
2150
+ "light": {
2151
+ "bg": "{colors.neutral.200}",
2152
+ "text": "{colors.neutral.800}",
2153
+ "heading": "{colors.neutral.900}",
2154
+ "muted": "{colors.neutral.600}",
2155
+ "link": "{colors.neutral.700}",
2156
+ "linkHover": "{colors.brand.700}",
2157
+ "border": "{colors.neutral.300}",
2158
+ "divider": "{colors.neutral.300}",
2159
+ "chipBg": "{colors.neutral.300}",
2160
+ "accent": {
2161
+ "neutral": "{colors.neutral.600}",
2162
+ "brand": "{colors.brand.600}",
2163
+ "info": "{colors.info.600}",
2164
+ "success": "{colors.success.600}",
2165
+ "warning": "{colors.warning.600}",
2166
+ "danger": "{colors.error.600}",
2167
+ "cta": "{colors.brand.600}",
2168
+ "accent": "{colors.accent.600}"
2169
+ }
1716
2170
  }
1717
2171
  },
1718
2172
  "modal": {
@@ -1727,7 +2181,8 @@ var coreTokens = {
1727
2181
  "success": "{colors.success.400}",
1728
2182
  "warning": "{colors.warning.400}",
1729
2183
  "danger": "{colors.error.400}",
1730
- "cta": "{colors.brand.400}"
2184
+ "cta": "{colors.brand.400}",
2185
+ "accent": "{colors.accent.400}"
1731
2186
  }
1732
2187
  },
1733
2188
  "toast": {
@@ -1768,7 +2223,8 @@ var coreTokens = {
1768
2223
  "success": "{colors.success.400}",
1769
2224
  "warning": "{colors.warning.400}",
1770
2225
  "danger": "{colors.error.400}",
1771
- "cta": "{colors.brand.400}"
2226
+ "cta": "{colors.brand.400}",
2227
+ "accent": "{colors.accent.400}"
1772
2228
  }
1773
2229
  },
1774
2230
  "tooltip": {
@@ -1782,7 +2238,8 @@ var coreTokens = {
1782
2238
  "success": "{colors.success.400}",
1783
2239
  "warning": "{colors.warning.400}",
1784
2240
  "danger": "{colors.error.400}",
1785
- "cta": "{colors.brand.400}"
2241
+ "cta": "{colors.brand.400}",
2242
+ "accent": "{colors.accent.400}"
1786
2243
  }
1787
2244
  },
1788
2245
  "dropdown": {
@@ -1804,7 +2261,8 @@ var coreTokens = {
1804
2261
  "success": "{colors.success.400}",
1805
2262
  "warning": "{colors.warning.400}",
1806
2263
  "danger": "{colors.error.400}",
1807
- "cta": "{colors.brand.400}"
2264
+ "cta": "{colors.brand.400}",
2265
+ "accent": "{colors.accent.400}"
1808
2266
  },
1809
2267
  "header": "{colors.neutral.500}",
1810
2268
  "divider": "{colors.neutral.700}"
@@ -1893,6 +2351,7 @@ var coreTokens = {
1893
2351
  "warning": "{colors.warning.400}",
1894
2352
  "danger": "{colors.error.400}",
1895
2353
  "cta": "{colors.brand.400}",
2354
+ "accent": "{colors.accent.400}",
1896
2355
  "thickness": "0.25rem"
1897
2356
  }
1898
2357
  },
@@ -1947,6 +2406,13 @@ var coreTokens = {
1947
2406
  "bg": "{colors.error.900}",
1948
2407
  "text": "{colors.error.200}"
1949
2408
  }
2409
+ },
2410
+ "caption": {
2411
+ "text": "{colors.neutral.300}"
2412
+ },
2413
+ "footer": {
2414
+ "bg": "{colors.neutral.800}",
2415
+ "text": "{colors.neutral.100}"
1950
2416
  }
1951
2417
  },
1952
2418
  "alert": {
@@ -2017,6 +2483,28 @@ var coreTokens = {
2017
2483
  "text": "{colors.white}"
2018
2484
  }
2019
2485
  },
2486
+ "tone": {
2487
+ "brand": {
2488
+ "active": {
2489
+ "bg": "{colors.brand.600}",
2490
+ "text": "{colors.white}"
2491
+ },
2492
+ "done": {
2493
+ "bg": "{colors.success.700}",
2494
+ "text": "{colors.white}"
2495
+ }
2496
+ },
2497
+ "accent": {
2498
+ "active": {
2499
+ "bg": "{colors.accent.600}",
2500
+ "text": "{colors.white}"
2501
+ },
2502
+ "done": {
2503
+ "bg": "{colors.accent.800}",
2504
+ "text": "{colors.white}"
2505
+ }
2506
+ }
2507
+ },
2020
2508
  "connector": "{colors.neutral.700}",
2021
2509
  "label": {
2022
2510
  "text": "{colors.neutral.300}"
@@ -2143,7 +2631,31 @@ var coreTokens = {
2143
2631
  "bg": "{colors.warning.900}",
2144
2632
  "text": "{colors.warning.200}"
2145
2633
  },
2146
- "hr": "{colors.neutral.700}"
2634
+ "hr": "{colors.neutral.700}",
2635
+ "kbd": {
2636
+ "bg": "{colors.neutral.800}",
2637
+ "border": "{colors.neutral.600}",
2638
+ "text": "{colors.neutral.50}"
2639
+ },
2640
+ "del": {
2641
+ "bg": "{colors.error.900}",
2642
+ "text": "{colors.error.200}"
2643
+ },
2644
+ "ins": {
2645
+ "bg": "{colors.success.900}",
2646
+ "text": "{colors.success.200}"
2647
+ },
2648
+ "marker": "{colors.neutral.400}",
2649
+ "markerAccent": "{colors.accent.400}",
2650
+ "figcaption": {
2651
+ "text": "{colors.neutral.300}"
2652
+ },
2653
+ "dt": {
2654
+ "text": "{colors.neutral.50}"
2655
+ },
2656
+ "dd": {
2657
+ "text": "{colors.neutral.300}"
2658
+ }
2147
2659
  },
2148
2660
  "externalAuthButton": {
2149
2661
  "bg": "{colors.neutral.800}",
@@ -2180,7 +2692,16 @@ var coreTokens = {
2180
2692
  "placeholderText": "{colors.neutral.400}",
2181
2693
  "disabledBg": "{colors.neutral.900}",
2182
2694
  "disabledBorder": "{colors.neutral.700}",
2183
- "focusBorder": "{colors.info.400}"
2695
+ "focusBorder": "{colors.info.400}",
2696
+ "option": {
2697
+ "hoverBg": "{colors.neutral.700}",
2698
+ "selectedBg": "{colors.info.900}",
2699
+ "selectedText": "{colors.info.100}",
2700
+ "disabledText": "{colors.neutral.500}"
2701
+ },
2702
+ "optgroup": {
2703
+ "labelText": "{colors.neutral.300}"
2704
+ }
2184
2705
  },
2185
2706
  "textarea": {
2186
2707
  "bg": "{colors.neutral.800}",
@@ -2199,34 +2720,1148 @@ var coreTokens = {
2199
2720
  "text": "{colors.neutral.50}",
2200
2721
  "disabledText": "{colors.neutral.600}",
2201
2722
  "requiredIndicatorText": "{colors.error.400}"
2723
+ },
2724
+ "skeleton": {
2725
+ "base": "{colors.neutral.700}",
2726
+ "shimmer": "{colors.neutral.600}"
2727
+ },
2728
+ "selection": {
2729
+ "bg": "{colors.brand.800}",
2730
+ "text": "{colors.white}"
2731
+ },
2732
+ "caret": {
2733
+ "color": "{colors.brand.400}"
2734
+ },
2735
+ "scrollbar": {
2736
+ "track": "{colors.neutral.900}",
2737
+ "thumb": "{colors.neutral.600}",
2738
+ "thumbHover": "{colors.neutral.500}"
2739
+ },
2740
+ "chart": {
2741
+ "bg": "{colors.neutral.800}",
2742
+ "grid": "{colors.neutral.700}",
2743
+ "axis": "{colors.neutral.400}",
2744
+ "label": "{colors.neutral.300}",
2745
+ "series": {
2746
+ "1": "{colors.brand.400}",
2747
+ "2": "{colors.palette.amber.300}",
2748
+ "3": "{colors.palette.violet.400}",
2749
+ "4": "{colors.palette.cyan.300}",
2750
+ "5": "{colors.palette.pink.300}",
2751
+ "6": "{colors.palette.teal.400}",
2752
+ "7": "{colors.palette.lime.300}",
2753
+ "8": "{colors.palette.orange.400}"
2754
+ },
2755
+ "sequential": {
2756
+ "1": "{colors.brand.900}",
2757
+ "2": "{colors.brand.800}",
2758
+ "3": "{colors.brand.700}",
2759
+ "4": "{colors.brand.500}",
2760
+ "5": "{colors.brand.400}",
2761
+ "6": "{colors.brand.300}",
2762
+ "7": "{colors.brand.100}"
2763
+ },
2764
+ "diverging": {
2765
+ "1": "{colors.palette.red.300}",
2766
+ "2": "{colors.palette.red.500}",
2767
+ "3": "{colors.palette.red.800}",
2768
+ "4": "{colors.neutral.600}",
2769
+ "5": "{colors.palette.blue.800}",
2770
+ "6": "{colors.palette.blue.500}",
2771
+ "7": "{colors.palette.blue.300}"
2772
+ }
2773
+ },
2774
+ "quote": {
2775
+ "text": "{colors.neutral.200}",
2776
+ "attributionName": "{colors.neutral.100}",
2777
+ "attributionRole": "{colors.neutral.300}",
2778
+ "mark": "{colors.accent.400}",
2779
+ "border": "{colors.neutral.600}",
2780
+ "accent": {
2781
+ "neutral": "{colors.neutral.400}",
2782
+ "brand": "{colors.brand.400}",
2783
+ "info": "{colors.info.400}",
2784
+ "success": "{colors.success.400}",
2785
+ "warning": "{colors.warning.400}",
2786
+ "danger": "{colors.error.400}",
2787
+ "cta": "{colors.brand.400}",
2788
+ "accent": "{colors.accent.400}"
2789
+ }
2790
+ },
2791
+ "meter": {
2792
+ "track": "{colors.neutral.700}",
2793
+ "fill": {
2794
+ "optimum": "{colors.success.400}",
2795
+ "suboptimum": "{colors.warning.400}",
2796
+ "critical": "{colors.error.400}"
2797
+ }
2798
+ },
2799
+ "code": {
2800
+ "syntax": {
2801
+ "keyword": "{colors.accent.300}",
2802
+ "string": "{colors.success.300}",
2803
+ "number": "{colors.warning.300}",
2804
+ "comment": "{colors.neutral.400}",
2805
+ "function": "{colors.brand.300}",
2806
+ "variable": "{colors.error.300}",
2807
+ "type": "{colors.info.300}",
2808
+ "operator": "{colors.neutral.200}",
2809
+ "punctuation": "{colors.neutral.300}",
2810
+ "tag": "{colors.palette.pink.300}",
2811
+ "attribute": "{colors.palette.teal.300}"
2812
+ }
2813
+ },
2814
+ "proofing": {
2815
+ "spelling": "{colors.error.400}",
2816
+ "grammar": "{colors.info.400}"
2202
2817
  }
2203
2818
  }
2204
- }
2205
- },
2206
- "colors": {
2207
- "brand": {
2208
- "50": "#eef4ff",
2209
- "100": "#d9e7ff",
2210
- "200": "#b9d2ff",
2211
- "300": "#8ab6ff",
2212
- "400": "#5a92ff",
2213
- "500": "#336df4",
2214
- "600": "#1f57db",
2215
- "700": "#1946b4",
2216
- "800": "#173b8f",
2217
- "900": "#16336f"
2218
- },
2219
- "neutral": {
2220
- "50": "#f7f8fb",
2221
- "100": "#eef1f6",
2222
- "200": "#d9dfeb",
2223
- "300": "#b7c1d4",
2224
- "400": "#8a96ad",
2225
- "500": "#657287",
2226
- "600": "#4b576a",
2227
- "700": "#374253",
2228
- "800": "#222b38",
2229
- "900": "#141b24"
2819
+ },
2820
+ "highContrast": {
2821
+ "surface": {
2822
+ "page": "{colors.white}",
2823
+ "card": "{colors.white}",
2824
+ "input": "{colors.white}",
2825
+ "overlay": "{colors.black} / 0.6",
2826
+ "subtle": "{colors.neutral.50}",
2827
+ "hero": "linear-gradient(135deg, {colors.indigo.500} 0%, {colors.violet.600} 100%)",
2828
+ "hover": "{colors.neutral.100}",
2829
+ "selected": "{colors.info.50}",
2830
+ "active": "{colors.neutral.200}",
2831
+ "divider": "{colors.neutral.700}"
2832
+ },
2833
+ "text": {
2834
+ "onPage": {
2835
+ "default": "{colors.neutral.900}",
2836
+ "muted": "{colors.neutral.600}",
2837
+ "subtle": "{colors.neutral.600}",
2838
+ "meta": "{colors.neutral.600}",
2839
+ "brand": "{colors.brand.700}",
2840
+ "accent": "{colors.accent.700}"
2841
+ },
2842
+ "onSurface": {
2843
+ "default": "{colors.neutral.900}",
2844
+ "muted": "{colors.neutral.600}",
2845
+ "subtle": "{colors.neutral.600}",
2846
+ "meta": "{colors.neutral.600}",
2847
+ "brand": "{colors.brand.700}",
2848
+ "accent": "{colors.accent.700}"
2849
+ }
2850
+ },
2851
+ "forms": {
2852
+ "default": {
2853
+ "bg": "{colors.white}",
2854
+ "text": "{colors.neutral.900}",
2855
+ "placeholder": "{colors.neutral.600}"
2856
+ },
2857
+ "valid": {
2858
+ "border": "{colors.success.700}",
2859
+ "bg": "{colors.success.50}",
2860
+ "text": "{colors.success.900}"
2861
+ },
2862
+ "invalid": {
2863
+ "border": "{colors.error.700}",
2864
+ "bg": "{colors.error.50}",
2865
+ "text": "{colors.error.800}"
2866
+ }
2867
+ },
2868
+ "component": {
2869
+ "card": {
2870
+ "text": "{colors.neutral.900}",
2871
+ "textMuted": "{colors.neutral.600}",
2872
+ "accent": {
2873
+ "neutral": "{colors.neutral.600}",
2874
+ "brand": "{colors.brand.600}",
2875
+ "info": "{colors.info.600}",
2876
+ "success": "{colors.success.600}",
2877
+ "warning": "{colors.warning.600}",
2878
+ "danger": "{colors.error.600}",
2879
+ "cta": "{colors.brand.600}",
2880
+ "accent": "{colors.accent.600}"
2881
+ }
2882
+ },
2883
+ "choiceCard": {
2884
+ "bg": "{colors.white}",
2885
+ "text": "{colors.neutral.900}",
2886
+ "border": "{colors.neutral.700}",
2887
+ "hoverBorder": "{colors.neutral.700}",
2888
+ "selectedBg": "{colors.info.50}",
2889
+ "selectedBorder": "{colors.brand.600}",
2890
+ "disabledBg": "{colors.neutral.50}",
2891
+ "disabledText": "{colors.neutral.400}",
2892
+ "focusRing": "{buttons.primary.focusRing}"
2893
+ },
2894
+ "input": {
2895
+ "text": "{colors.neutral.900}",
2896
+ "placeholder": "{colors.neutral.600}"
2897
+ },
2898
+ "button": {
2899
+ "textDefault": "{colors.neutral.900}",
2900
+ "textOnPrimary": "{colors.white}"
2901
+ },
2902
+ "badge": {
2903
+ "neutralBg": "{colors.neutral.100}",
2904
+ "neutralBgHover": "{colors.neutral.200}",
2905
+ "neutralText": "{colors.neutral.700}",
2906
+ "brandBg": "{colors.brand.100}",
2907
+ "brandBgHover": "{colors.brand.200}",
2908
+ "brandText": "{colors.brand.900}",
2909
+ "infoBg": "{colors.info.100}",
2910
+ "infoBgHover": "{colors.info.200}",
2911
+ "infoText": "{colors.info.800}",
2912
+ "successBg": "{colors.success.100}",
2913
+ "successText": "{colors.success.900}",
2914
+ "warningBg": "{colors.warning.100}",
2915
+ "warningText": "{colors.warning.900}",
2916
+ "dangerBg": "{colors.error.100}",
2917
+ "dangerText": "{colors.error.900}",
2918
+ "accent": {
2919
+ "neutral": "{colors.neutral.600}",
2920
+ "brand": "{colors.brand.600}",
2921
+ "info": "{colors.info.600}",
2922
+ "success": "{colors.success.600}",
2923
+ "warning": "{colors.warning.600}",
2924
+ "danger": "{colors.error.600}",
2925
+ "cta": "{colors.brand.600}",
2926
+ "accent": "{colors.accent.600}"
2927
+ }
2928
+ },
2929
+ "iconBox": {
2930
+ "bg": "{colors.white}",
2931
+ "border": "{colors.neutral.700}",
2932
+ "iconDefault": "{colors.info.700}",
2933
+ "iconSuccess": "{colors.success.600}",
2934
+ "iconWarning": "{colors.warning.600}",
2935
+ "iconDanger": "{colors.error.800}"
2936
+ },
2937
+ "testimonial": {
2938
+ "bg": "{colors.white}",
2939
+ "bgHover": "{colors.neutral.50}",
2940
+ "border": "{colors.neutral.700}",
2941
+ "text": "{colors.neutral.700}",
2942
+ "authorName": "{colors.neutral.900}",
2943
+ "authorTitle": "{colors.neutral.700}",
2944
+ "quoteMark": "{colors.neutral.700}",
2945
+ "accent": {
2946
+ "neutral": "{colors.neutral.600}",
2947
+ "brand": "{colors.brand.600}",
2948
+ "info": "{colors.info.600}",
2949
+ "success": "{colors.success.600}",
2950
+ "warning": "{colors.warning.600}",
2951
+ "danger": "{colors.error.600}",
2952
+ "cta": "{colors.brand.600}",
2953
+ "accent": "{colors.accent.600}"
2954
+ }
2955
+ },
2956
+ "pricingCard": {
2957
+ "bg": "{colors.white}",
2958
+ "bgHover": "{colors.neutral.50}",
2959
+ "border": "{colors.neutral.700}",
2960
+ "featuredBg": "{colors.info.700}",
2961
+ "featuredText": "{colors.white}",
2962
+ "featuredBadgeBg": "{colors.warning.500}",
2963
+ "featuredBadgeText": "{colors.neutral.900}",
2964
+ "price": "{colors.neutral.900}",
2965
+ "priceDescription": "{colors.neutral.700}",
2966
+ "accent": {
2967
+ "neutral": "{colors.neutral.600}",
2968
+ "brand": "{colors.brand.600}",
2969
+ "info": "{colors.info.600}",
2970
+ "success": "{colors.success.600}",
2971
+ "warning": "{colors.warning.600}",
2972
+ "danger": "{colors.error.600}",
2973
+ "cta": "{colors.brand.600}",
2974
+ "accent": "{colors.accent.600}"
2975
+ }
2976
+ },
2977
+ "rating": {
2978
+ "starFilled": "{colors.warning.500}",
2979
+ "starEmpty": "{colors.neutral.200}",
2980
+ "text": "{colors.neutral.600}"
2981
+ },
2982
+ "nav": {
2983
+ "bg": "{colors.white}",
2984
+ "text": "{colors.neutral.900}",
2985
+ "link": "{colors.neutral.700}",
2986
+ "linkHover": "{colors.brand.600}",
2987
+ "linkActive": "{colors.brand.700}",
2988
+ "border": "{colors.neutral.700}",
2989
+ "accent": {
2990
+ "neutral": "{colors.neutral.600}",
2991
+ "brand": "{colors.brand.600}",
2992
+ "info": "{colors.info.600}",
2993
+ "success": "{colors.success.600}",
2994
+ "warning": "{colors.warning.600}",
2995
+ "danger": "{colors.error.600}",
2996
+ "cta": "{colors.brand.600}",
2997
+ "accent": "{colors.accent.600}"
2998
+ }
2999
+ },
3000
+ "footer": {
3001
+ "bg": "{colors.neutral.900}",
3002
+ "text": "{colors.neutral.50}",
3003
+ "heading": "{colors.white}",
3004
+ "muted": "{colors.neutral.300}",
3005
+ "link": "{colors.neutral.300}",
3006
+ "linkHover": "{colors.brand.300}",
3007
+ "border": "{colors.neutral.700}",
3008
+ "divider": "{colors.neutral.800}",
3009
+ "chipBg": "{colors.neutral.800}",
3010
+ "accent": {
3011
+ "neutral": "{colors.neutral.600}",
3012
+ "brand": "{colors.brand.600}",
3013
+ "info": "{colors.info.600}",
3014
+ "success": "{colors.success.600}",
3015
+ "warning": "{colors.warning.600}",
3016
+ "danger": "{colors.error.600}",
3017
+ "cta": "{colors.brand.600}",
3018
+ "accent": "{colors.accent.600}"
3019
+ },
3020
+ "light": {
3021
+ "bg": "{colors.neutral.100}",
3022
+ "text": "{colors.neutral.700}",
3023
+ "heading": "{colors.neutral.900}",
3024
+ "muted": "{colors.neutral.700}",
3025
+ "link": "{colors.neutral.700}",
3026
+ "linkHover": "{colors.brand.700}",
3027
+ "border": "{colors.neutral.700}",
3028
+ "divider": "{colors.neutral.700}",
3029
+ "chipBg": "{colors.neutral.200}",
3030
+ "accent": {
3031
+ "neutral": "{colors.neutral.600}",
3032
+ "brand": "{colors.brand.600}",
3033
+ "info": "{colors.info.600}",
3034
+ "success": "{colors.success.600}",
3035
+ "warning": "{colors.warning.600}",
3036
+ "danger": "{colors.error.600}",
3037
+ "cta": "{colors.brand.600}",
3038
+ "accent": "{colors.accent.600}"
3039
+ }
3040
+ }
3041
+ },
3042
+ "modal": {
3043
+ "bg": "{colors.white}",
3044
+ "shadow": "0 20px 48px -12px {colors.black} / 0.20",
3045
+ "border": "{colors.neutral.700}",
3046
+ "overlay": "{colors.black} / 0.6",
3047
+ "accent": {
3048
+ "neutral": "{colors.neutral.600}",
3049
+ "brand": "{colors.brand.600}",
3050
+ "info": "{colors.info.600}",
3051
+ "success": "{colors.success.600}",
3052
+ "warning": "{colors.warning.600}",
3053
+ "danger": "{colors.error.600}",
3054
+ "cta": "{colors.brand.600}",
3055
+ "accent": "{colors.accent.600}"
3056
+ }
3057
+ },
3058
+ "toast": {
3059
+ "neutral": {
3060
+ "bg": "{colors.neutral.50}",
3061
+ "text": "{colors.neutral.800}",
3062
+ "border": "{colors.neutral.700}",
3063
+ "icon": "{colors.neutral.600}"
3064
+ },
3065
+ "success": {
3066
+ "bg": "{colors.success.50}",
3067
+ "text": "{colors.success.900}",
3068
+ "border": "{colors.success.600}",
3069
+ "icon": "{colors.success.600}"
3070
+ },
3071
+ "warning": {
3072
+ "bg": "{colors.warning.50}",
3073
+ "text": "{colors.warning.900}",
3074
+ "border": "{colors.warning.600}",
3075
+ "icon": "{colors.warning.600}"
3076
+ },
3077
+ "danger": {
3078
+ "bg": "{colors.error.50}",
3079
+ "text": "{colors.error.800}",
3080
+ "border": "{colors.error.600}",
3081
+ "icon": "{colors.error.600}"
3082
+ },
3083
+ "info": {
3084
+ "bg": "{colors.info.50}",
3085
+ "text": "{colors.info.800}",
3086
+ "border": "{colors.info.600}",
3087
+ "icon": "{colors.info.600}"
3088
+ },
3089
+ "accent": {
3090
+ "neutral": "{colors.neutral.600}",
3091
+ "brand": "{colors.brand.600}",
3092
+ "info": "{colors.info.600}",
3093
+ "success": "{colors.success.600}",
3094
+ "warning": "{colors.warning.600}",
3095
+ "danger": "{colors.error.600}",
3096
+ "cta": "{colors.brand.600}",
3097
+ "accent": "{colors.accent.600}"
3098
+ }
3099
+ },
3100
+ "tooltip": {
3101
+ "bg": "{colors.neutral.900}",
3102
+ "text": "{colors.white}",
3103
+ "border": "{colors.neutral.700}",
3104
+ "accent": {
3105
+ "neutral": "{colors.neutral.600}",
3106
+ "brand": "{colors.brand.600}",
3107
+ "info": "{colors.info.600}",
3108
+ "success": "{colors.success.600}",
3109
+ "warning": "{colors.warning.600}",
3110
+ "danger": "{colors.error.600}",
3111
+ "cta": "{colors.brand.600}",
3112
+ "accent": "{colors.accent.600}"
3113
+ }
3114
+ },
3115
+ "dropdown": {
3116
+ "bg": "{colors.white}",
3117
+ "border": "{colors.neutral.700}",
3118
+ "item": {
3119
+ "default": "transparent",
3120
+ "hover": "{colors.neutral.100}",
3121
+ "active": "{colors.info.50}",
3122
+ "text": "{colors.neutral.900}",
3123
+ "disabledText": "{colors.neutral.400}",
3124
+ "selectedBg": "{colors.info.100}",
3125
+ "selectedText": "{colors.info.800}"
3126
+ },
3127
+ "accent": {
3128
+ "neutral": "{colors.neutral.600}",
3129
+ "brand": "{colors.brand.600}",
3130
+ "info": "{colors.info.600}",
3131
+ "success": "{colors.success.600}",
3132
+ "warning": "{colors.warning.600}",
3133
+ "danger": "{colors.error.600}",
3134
+ "cta": "{colors.brand.600}",
3135
+ "accent": "{colors.accent.600}"
3136
+ },
3137
+ "header": "{colors.neutral.500}",
3138
+ "divider": "{colors.neutral.700}"
3139
+ },
3140
+ "tabs": {
3141
+ "list": {
3142
+ "bg": "{colors.white}",
3143
+ "border": "{colors.neutral.700}"
3144
+ },
3145
+ "item": {
3146
+ "text": "{colors.neutral.600}",
3147
+ "hover": {
3148
+ "bg": "{colors.neutral.100}"
3149
+ },
3150
+ "active": {
3151
+ "text": "{colors.neutral.900}",
3152
+ "indicator": "{colors.brand.600}"
3153
+ },
3154
+ "focus": {
3155
+ "ringColor": "{buttons.primary.focusRing}"
3156
+ },
3157
+ "disabled": {
3158
+ "text": "{colors.neutral.400}"
3159
+ }
3160
+ },
3161
+ "pill": {
3162
+ "active": {
3163
+ "bg": "{colors.brand.700}",
3164
+ "text": "{colors.white}"
3165
+ }
3166
+ },
3167
+ "panel": {
3168
+ "bg": "{colors.white}"
3169
+ }
3170
+ },
3171
+ "accordion": {
3172
+ "bg": "{colors.white}",
3173
+ "text": "{colors.neutral.900}",
3174
+ "border": "{colors.neutral.700}",
3175
+ "header": {
3176
+ "hoverBg": "{colors.neutral.50}"
3177
+ },
3178
+ "icon": {
3179
+ "collapsed": "{colors.neutral.500}",
3180
+ "expanded": "{colors.neutral.900}"
3181
+ }
3182
+ },
3183
+ "breadcrumb": {
3184
+ "item": {
3185
+ "text": "{colors.neutral.600}",
3186
+ "hover": {
3187
+ "text": "{colors.brand.600}"
3188
+ },
3189
+ "active": {
3190
+ "text": "{colors.neutral.900}"
3191
+ }
3192
+ },
3193
+ "separator": "{colors.neutral.400}"
3194
+ },
3195
+ "listGroup": {
3196
+ "bg": "{colors.white}",
3197
+ "border": "{colors.neutral.700}",
3198
+ "text": "{colors.neutral.700}",
3199
+ "heading": "{colors.neutral.900}",
3200
+ "muted": "{colors.neutral.500}",
3201
+ "item": {
3202
+ "hover": {
3203
+ "bg": "{colors.neutral.50}"
3204
+ },
3205
+ "active": {
3206
+ "bg": "{colors.brand.700}",
3207
+ "text": "{colors.white}"
3208
+ },
3209
+ "selected": {
3210
+ "bg": "{colors.info.50}"
3211
+ },
3212
+ "disabled": {
3213
+ "text": "{colors.neutral.400}"
3214
+ }
3215
+ },
3216
+ "accent": {
3217
+ "neutral": "{colors.neutral.600}",
3218
+ "brand": "{colors.brand.600}",
3219
+ "info": "{colors.info.600}",
3220
+ "success": "{colors.success.600}",
3221
+ "warning": "{colors.warning.600}",
3222
+ "danger": "{colors.error.600}",
3223
+ "cta": "{colors.brand.600}",
3224
+ "accent": "{colors.accent.600}",
3225
+ "thickness": "0.25rem"
3226
+ }
3227
+ },
3228
+ "offcanvas": {
3229
+ "bg": "{colors.white}",
3230
+ "text": "{colors.neutral.900}",
3231
+ "border": "{colors.neutral.700}",
3232
+ "overlay": "{colors.black} / 0.6"
3233
+ },
3234
+ "carousel": {
3235
+ "indicator": {
3236
+ "default": "{colors.white} / 0.5",
3237
+ "active": "{colors.white}"
3238
+ },
3239
+ "control": {
3240
+ "icon": "{colors.white}",
3241
+ "bg": "{colors.black} / 0.3"
3242
+ },
3243
+ "caption": {
3244
+ "bg": "{colors.black} / 0.4",
3245
+ "text": "{colors.white}"
3246
+ }
3247
+ },
3248
+ "table": {
3249
+ "header": {
3250
+ "bg": "{colors.neutral.50}",
3251
+ "text": "{colors.neutral.700}"
3252
+ },
3253
+ "text": "{colors.neutral.900}",
3254
+ "divider": "{colors.neutral.700}",
3255
+ "stripeBg": "{colors.neutral.50}",
3256
+ "hoverBg": "{colors.neutral.100}",
3257
+ "selectedBg": "{colors.info.50}",
3258
+ "row": {
3259
+ "neutral": {
3260
+ "bg": "{colors.neutral.100}",
3261
+ "text": "{colors.neutral.700}"
3262
+ },
3263
+ "info": {
3264
+ "bg": "{colors.info.100}",
3265
+ "text": "{colors.info.800}"
3266
+ },
3267
+ "success": {
3268
+ "bg": "{colors.success.100}",
3269
+ "text": "{colors.success.900}"
3270
+ },
3271
+ "warning": {
3272
+ "bg": "{colors.warning.100}",
3273
+ "text": "{colors.warning.900}"
3274
+ },
3275
+ "danger": {
3276
+ "bg": "{colors.error.100}",
3277
+ "text": "{colors.error.900}"
3278
+ }
3279
+ },
3280
+ "caption": {
3281
+ "text": "{colors.neutral.700}"
3282
+ },
3283
+ "footer": {
3284
+ "bg": "{colors.neutral.50}",
3285
+ "text": "{colors.neutral.900}"
3286
+ }
3287
+ },
3288
+ "alert": {
3289
+ "neutral": {
3290
+ "bg": "{colors.neutral.100}",
3291
+ "text": "{colors.neutral.700}",
3292
+ "border": "{colors.neutral.700}",
3293
+ "icon": "{colors.neutral.600}"
3294
+ },
3295
+ "brand": {
3296
+ "bg": "{colors.brand.50}",
3297
+ "text": "{colors.brand.700}",
3298
+ "border": "{colors.brand.600}",
3299
+ "icon": "{colors.brand.600}"
3300
+ },
3301
+ "info": {
3302
+ "bg": "{colors.info.50}",
3303
+ "text": "{colors.info.700}",
3304
+ "border": "{colors.info.600}",
3305
+ "icon": "{colors.info.600}"
3306
+ },
3307
+ "success": {
3308
+ "bg": "{colors.success.50}",
3309
+ "text": "{colors.success.900}",
3310
+ "border": "{colors.success.600}",
3311
+ "icon": "{colors.success.600}"
3312
+ },
3313
+ "warning": {
3314
+ "bg": "{colors.warning.50}",
3315
+ "text": "{colors.warning.900}",
3316
+ "border": "{colors.warning.600}",
3317
+ "icon": "{colors.warning.600}"
3318
+ },
3319
+ "danger": {
3320
+ "bg": "{colors.error.50}",
3321
+ "text": "{colors.error.800}",
3322
+ "border": "{colors.error.600}",
3323
+ "icon": "{colors.error.600}"
3324
+ }
3325
+ },
3326
+ "pagination": {
3327
+ "item": {
3328
+ "text": "{colors.neutral.700}",
3329
+ "hover": {
3330
+ "bg": "{colors.neutral.100}"
3331
+ },
3332
+ "active": {
3333
+ "bg": "{colors.brand.700}",
3334
+ "text": "{colors.white}"
3335
+ },
3336
+ "disabled": {
3337
+ "text": "{colors.neutral.400}"
3338
+ }
3339
+ }
3340
+ },
3341
+ "stepper": {
3342
+ "step": {
3343
+ "pending": {
3344
+ "bg": "{colors.neutral.200}",
3345
+ "text": "{colors.neutral.700}"
3346
+ },
3347
+ "active": {
3348
+ "bg": "{colors.brand.700}",
3349
+ "text": "{colors.white}"
3350
+ },
3351
+ "done": {
3352
+ "bg": "{colors.success.800}",
3353
+ "text": "{colors.white}"
3354
+ }
3355
+ },
3356
+ "tone": {
3357
+ "brand": {
3358
+ "active": {
3359
+ "bg": "{colors.brand.700}",
3360
+ "text": "{colors.white}"
3361
+ },
3362
+ "done": {
3363
+ "bg": "{colors.success.800}",
3364
+ "text": "{colors.white}"
3365
+ }
3366
+ },
3367
+ "accent": {
3368
+ "active": {
3369
+ "bg": "{colors.accent.700}",
3370
+ "text": "{colors.white}"
3371
+ },
3372
+ "done": {
3373
+ "bg": "{colors.accent.900}",
3374
+ "text": "{colors.white}"
3375
+ }
3376
+ }
3377
+ },
3378
+ "connector": "{colors.neutral.200}",
3379
+ "label": {
3380
+ "text": "{colors.neutral.700}"
3381
+ }
3382
+ },
3383
+ "popover": {
3384
+ "bg": "{colors.white}",
3385
+ "text": "{colors.neutral.900}",
3386
+ "muted": "{colors.neutral.600}",
3387
+ "border": "{colors.neutral.700}",
3388
+ "shadow": "0 12px 32px -8px {colors.black} / 0.18",
3389
+ "arrow": "{colors.white}"
3390
+ },
3391
+ "progress": {
3392
+ "track": {
3393
+ "bg": "{colors.neutral.200}"
3394
+ },
3395
+ "indicator": {
3396
+ "neutral": "{colors.neutral.600}",
3397
+ "brand": "{colors.brand.600}",
3398
+ "info": "{colors.info.600}",
3399
+ "success": "{colors.success.600}",
3400
+ "warning": "{colors.warning.600}",
3401
+ "danger": "{colors.error.600}"
3402
+ },
3403
+ "label": {
3404
+ "text": "{colors.neutral.700}"
3405
+ }
3406
+ },
3407
+ "loadingIndicator": {
3408
+ "default": "{colors.neutral.600}",
3409
+ "muted": "{colors.neutral.400}",
3410
+ "inverse": "{colors.white}",
3411
+ "brand": "{colors.brand.600}",
3412
+ "info": "{colors.info.600}",
3413
+ "success": "{colors.success.600}",
3414
+ "warning": "{colors.warning.600}",
3415
+ "danger": "{colors.error.600}"
3416
+ },
3417
+ "switch": {
3418
+ "trackBg": "{colors.neutral.300}",
3419
+ "trackCheckedBg": "{colors.info.600}",
3420
+ "thumbBg": "{colors.white}",
3421
+ "trackDisabledBg": "{colors.neutral.100}",
3422
+ "thumbDisabledBg": "{colors.neutral.200}",
3423
+ "focusRing": "{buttons.primary.focusRing}"
3424
+ },
3425
+ "range": {
3426
+ "trackBg": "{colors.neutral.200}",
3427
+ "trackFilledBg": "{colors.info.600}",
3428
+ "thumbBg": "{colors.white}",
3429
+ "thumbBorder": "{colors.info.600}",
3430
+ "trackDisabledBg": "{colors.neutral.100}",
3431
+ "thumbDisabledBorder": "{colors.neutral.700}",
3432
+ "focusRing": "{buttons.primary.focusRing}"
3433
+ },
3434
+ "fileInput": {
3435
+ "bg": "{colors.white}",
3436
+ "border": "{colors.neutral.700}",
3437
+ "text": "{colors.neutral.900}",
3438
+ "actionBg": "{colors.neutral.100}",
3439
+ "actionText": "{colors.neutral.700}",
3440
+ "disabledBg": "{colors.neutral.50}",
3441
+ "disabledBorder": "{colors.neutral.700}",
3442
+ "disabledText": "{colors.neutral.400}",
3443
+ "focusBorder": "{colors.info.600}"
3444
+ },
3445
+ "inputGroup": {
3446
+ "addonBg": "{colors.neutral.100}",
3447
+ "addonText": "{colors.neutral.700}",
3448
+ "addonBorder": "{colors.neutral.700}",
3449
+ "focusBorder": "{colors.info.600}",
3450
+ "disabledBg": "{colors.neutral.50}",
3451
+ "disabledText": "{colors.neutral.400}"
3452
+ },
3453
+ "datepicker": {
3454
+ "panel": {
3455
+ "bg": "{colors.white}",
3456
+ "border": "{colors.neutral.700}"
3457
+ },
3458
+ "header": {
3459
+ "text": "{colors.neutral.900}"
3460
+ },
3461
+ "weekday": {
3462
+ "text": "{colors.neutral.400}"
3463
+ }
3464
+ },
3465
+ "day": {
3466
+ "default": {
3467
+ "text": "{colors.neutral.900}",
3468
+ "hover": {
3469
+ "bg": "{colors.neutral.100}"
3470
+ }
3471
+ },
3472
+ "selected": {
3473
+ "bg": "{colors.brand.700}",
3474
+ "text": "{colors.white}"
3475
+ },
3476
+ "today": {
3477
+ "ringColor": "{buttons.primary.focusRing}"
3478
+ },
3479
+ "outsideMonth": {
3480
+ "text": "{colors.neutral.300}"
3481
+ },
3482
+ "disabled": {
3483
+ "text": "{colors.neutral.400}"
3484
+ }
3485
+ },
3486
+ "prose": {
3487
+ "blockquote": {
3488
+ "border": "{colors.neutral.600}",
3489
+ "text": "{colors.neutral.600}"
3490
+ },
3491
+ "code": {
3492
+ "bg": "{colors.neutral.100}",
3493
+ "text": "{colors.neutral.900}"
3494
+ },
3495
+ "codeBlock": {
3496
+ "bg": "{colors.neutral.100}",
3497
+ "text": "{colors.neutral.900}",
3498
+ "border": "{colors.neutral.700}"
3499
+ },
3500
+ "mark": {
3501
+ "bg": "{colors.warning.100}",
3502
+ "text": "{colors.warning.900}"
3503
+ },
3504
+ "hr": "{colors.neutral.700}",
3505
+ "kbd": {
3506
+ "bg": "{colors.neutral.100}",
3507
+ "border": "{colors.neutral.700}",
3508
+ "text": "{colors.neutral.900}"
3509
+ },
3510
+ "del": {
3511
+ "bg": "{colors.error.100}",
3512
+ "text": "{colors.error.900}"
3513
+ },
3514
+ "ins": {
3515
+ "bg": "{colors.success.100}",
3516
+ "text": "{colors.success.900}"
3517
+ },
3518
+ "marker": "{colors.neutral.700}",
3519
+ "markerAccent": "{colors.accent.700}",
3520
+ "figcaption": {
3521
+ "text": "{colors.neutral.700}"
3522
+ },
3523
+ "dt": {
3524
+ "text": "{colors.neutral.900}"
3525
+ },
3526
+ "dd": {
3527
+ "text": "{colors.neutral.700}"
3528
+ }
3529
+ },
3530
+ "externalAuthButton": {
3531
+ "bg": "{colors.white}",
3532
+ "text": "{colors.neutral.900}",
3533
+ "border": "{colors.neutral.700}",
3534
+ "hoverBg": "{colors.neutral.50}",
3535
+ "activeBg": "{colors.neutral.100}",
3536
+ "disabledBg": "{colors.neutral.50}",
3537
+ "disabledText": "{colors.neutral.400}",
3538
+ "focusRing": "{buttons.primary.focusRing}"
3539
+ },
3540
+ "checkbox": {
3541
+ "bg": "{colors.white}",
3542
+ "border": "{colors.neutral.700}",
3543
+ "checkedBg": "{colors.info.700}",
3544
+ "checkedBorder": "{colors.info.600}",
3545
+ "text": "{colors.white}",
3546
+ "disabledBg": "{colors.neutral.50}",
3547
+ "disabledBorder": "{colors.neutral.700}"
3548
+ },
3549
+ "radio": {
3550
+ "bg": "{colors.white}",
3551
+ "border": "{colors.neutral.700}",
3552
+ "checkedBg": "{colors.info.700}",
3553
+ "checkedBorder": "{colors.info.600}",
3554
+ "text": "{colors.white}",
3555
+ "disabledBg": "{colors.neutral.50}",
3556
+ "disabledBorder": "{colors.neutral.700}"
3557
+ },
3558
+ "select": {
3559
+ "bg": "{colors.white}",
3560
+ "border": "{colors.neutral.700}",
3561
+ "text": "{colors.neutral.900}",
3562
+ "placeholderText": "{colors.neutral.600}",
3563
+ "disabledBg": "{colors.neutral.50}",
3564
+ "disabledBorder": "{colors.neutral.700}",
3565
+ "focusBorder": "{colors.info.600}",
3566
+ "option": {
3567
+ "hoverBg": "{colors.neutral.100}",
3568
+ "selectedBg": "{colors.info.50}",
3569
+ "selectedText": "{colors.info.900}",
3570
+ "disabledText": "{colors.neutral.500}"
3571
+ },
3572
+ "optgroup": {
3573
+ "labelText": "{colors.neutral.700}"
3574
+ }
3575
+ },
3576
+ "textarea": {
3577
+ "bg": "{colors.white}",
3578
+ "border": "{colors.neutral.700}",
3579
+ "text": "{colors.neutral.900}",
3580
+ "placeholder": "{colors.neutral.600}",
3581
+ "disabledBg": "{colors.neutral.50}",
3582
+ "disabledBorder": "{colors.neutral.700}",
3583
+ "focusBorder": "{colors.info.600}"
3584
+ },
3585
+ "fieldset": {
3586
+ "border": "{colors.neutral.700}",
3587
+ "legendText": "{colors.neutral.900}"
3588
+ },
3589
+ "label": {
3590
+ "text": "{colors.neutral.900}",
3591
+ "disabledText": "{colors.neutral.400}",
3592
+ "requiredIndicatorText": "{colors.error.600}"
3593
+ },
3594
+ "skeleton": {
3595
+ "base": "{colors.neutral.200}",
3596
+ "shimmer": "{colors.neutral.100}"
3597
+ },
3598
+ "selection": {
3599
+ "bg": "{colors.brand.100}",
3600
+ "text": "{colors.neutral.900}"
3601
+ },
3602
+ "caret": {
3603
+ "color": "{colors.brand.600}"
3604
+ },
3605
+ "scrollbar": {
3606
+ "track": "{colors.neutral.700}",
3607
+ "thumb": "{colors.neutral.400}",
3608
+ "thumbHover": "{colors.neutral.500}"
3609
+ },
3610
+ "chart": {
3611
+ "bg": "{colors.white}",
3612
+ "grid": "{colors.neutral.200}",
3613
+ "axis": "{colors.neutral.500}",
3614
+ "label": "{colors.neutral.600}",
3615
+ "series": {
3616
+ "1": "{colors.brand.600}",
3617
+ "2": "{colors.palette.amber.600}",
3618
+ "3": "{colors.palette.violet.800}",
3619
+ "4": "{colors.palette.cyan.600}",
3620
+ "5": "{colors.palette.pink.600}",
3621
+ "6": "{colors.palette.emerald.800}",
3622
+ "7": "{colors.palette.lime.700}",
3623
+ "8": "{colors.palette.orange.800}"
3624
+ },
3625
+ "sequential": {
3626
+ "1": "{colors.brand.100}",
3627
+ "2": "{colors.brand.200}",
3628
+ "3": "{colors.brand.300}",
3629
+ "4": "{colors.brand.400}",
3630
+ "5": "{colors.brand.600}",
3631
+ "6": "{colors.brand.800}",
3632
+ "7": "{colors.brand.900}"
3633
+ },
3634
+ "diverging": {
3635
+ "1": "{colors.palette.red.700}",
3636
+ "2": "{colors.palette.red.400}",
3637
+ "3": "{colors.palette.red.200}",
3638
+ "4": "{colors.neutral.200}",
3639
+ "5": "{colors.palette.blue.200}",
3640
+ "6": "{colors.palette.blue.400}",
3641
+ "7": "{colors.palette.blue.700}"
3642
+ }
3643
+ },
3644
+ "quote": {
3645
+ "text": "{colors.neutral.900}",
3646
+ "attributionName": "{colors.neutral.900}",
3647
+ "attributionRole": "{colors.neutral.700}",
3648
+ "mark": "{colors.accent.700}",
3649
+ "border": "{colors.neutral.700}",
3650
+ "accent": {
3651
+ "neutral": "{colors.neutral.600}",
3652
+ "brand": "{colors.brand.600}",
3653
+ "info": "{colors.info.600}",
3654
+ "success": "{colors.success.600}",
3655
+ "warning": "{colors.warning.600}",
3656
+ "danger": "{colors.error.600}",
3657
+ "cta": "{colors.brand.600}",
3658
+ "accent": "{colors.accent.600}"
3659
+ }
3660
+ },
3661
+ "meter": {
3662
+ "track": "{colors.neutral.200}",
3663
+ "fill": {
3664
+ "optimum": "{colors.success.800}",
3665
+ "suboptimum": "{colors.warning.800}",
3666
+ "critical": "{colors.error.700}"
3667
+ }
3668
+ },
3669
+ "code": {
3670
+ "syntax": {
3671
+ "keyword": "{colors.accent.800}",
3672
+ "string": "{colors.success.900}",
3673
+ "number": "{colors.warning.900}",
3674
+ "comment": "{colors.neutral.700}",
3675
+ "function": "{colors.brand.800}",
3676
+ "variable": "{colors.error.800}",
3677
+ "type": "{colors.info.800}",
3678
+ "operator": "{colors.neutral.800}",
3679
+ "punctuation": "{colors.neutral.700}",
3680
+ "tag": "{colors.palette.pink.900}",
3681
+ "attribute": "{colors.palette.teal.900}"
3682
+ }
3683
+ },
3684
+ "proofing": {
3685
+ "spelling": "{colors.error.700}",
3686
+ "grammar": "{colors.info.700}"
3687
+ }
3688
+ },
3689
+ "buttons": {
3690
+ "primary": {
3691
+ "bg": "{colors.info.700}",
3692
+ "bgHover": "{colors.info.800}",
3693
+ "bgActive": "{colors.info.900}",
3694
+ "bgDisabled": "{colors.neutral.200}",
3695
+ "text": "{colors.white}",
3696
+ "textDisabled": "{colors.neutral.400}",
3697
+ "focusRing": "{colors.info.500} / 0.4",
3698
+ "focusVisible": "{colors.info.500} / 0.4"
3699
+ },
3700
+ "secondary": {
3701
+ "bg": "{colors.white}",
3702
+ "bgHover": "{colors.neutral.50}",
3703
+ "bgActive": "{colors.neutral.100}",
3704
+ "bgDisabled": "{colors.neutral.50}",
3705
+ "text": "{colors.info.800}",
3706
+ "textDisabled": "{colors.neutral.400}",
3707
+ "border": "{colors.info.800}",
3708
+ "borderDisabled": "{colors.neutral.200}",
3709
+ "focusRing": "{colors.info.500} / 0.4",
3710
+ "focusVisible": "{colors.info.500} / 0.4"
3711
+ },
3712
+ "ghost": {
3713
+ "bg": "transparent",
3714
+ "bgHover": "{colors.info.50}",
3715
+ "bgActive": "{colors.info.100}",
3716
+ "bgDisabled": "transparent",
3717
+ "text": "{colors.info.800}",
3718
+ "textDisabled": "{colors.neutral.400}",
3719
+ "focusRing": "{colors.info.500} / 0.4",
3720
+ "focusVisible": "{colors.info.500} / 0.4"
3721
+ },
3722
+ "danger": {
3723
+ "bg": "{colors.error.800}",
3724
+ "bgHover": "{colors.error.900}",
3725
+ "bgActive": "{colors.error.900}",
3726
+ "bgDisabled": "{colors.error.200}",
3727
+ "text": "{colors.white}",
3728
+ "textDisabled": "{colors.neutral.400}",
3729
+ "focusRing": "{colors.error.500} / 0.4",
3730
+ "focusVisible": "{colors.error.500} / 0.4"
3731
+ },
3732
+ "success": {
3733
+ "bg": "{colors.success.800}",
3734
+ "bgHover": "{colors.success.900}",
3735
+ "bgActive": "{colors.success.900}",
3736
+ "bgDisabled": "{colors.success.200}",
3737
+ "text": "{colors.white}",
3738
+ "textDisabled": "{colors.neutral.400}",
3739
+ "focusRing": "{colors.success.500} / 0.4",
3740
+ "focusVisible": "{colors.success.500} / 0.4"
3741
+ },
3742
+ "warning": {
3743
+ "bg": "{colors.warning.900}",
3744
+ "bgHover": "{colors.palette.amber.950}",
3745
+ "bgActive": "{colors.palette.amber.950}",
3746
+ "bgDisabled": "{colors.warning.200}",
3747
+ "text": "{colors.white}",
3748
+ "textDisabled": "{colors.neutral.400}",
3749
+ "focusRing": "{colors.warning.500} / 0.4",
3750
+ "focusVisible": "{colors.warning.500} / 0.4"
3751
+ },
3752
+ "link": {
3753
+ "bg": "transparent",
3754
+ "bgHover": "transparent",
3755
+ "bgActive": "transparent",
3756
+ "bgDisabled": "transparent",
3757
+ "text": "{colors.info.700}",
3758
+ "textHover": "{colors.info.800}",
3759
+ "textActive": "{colors.info.900}",
3760
+ "textDisabled": "{colors.neutral.400}",
3761
+ "focusRing": "{colors.info.500} / 0.4",
3762
+ "focusVisible": "{colors.info.500} / 0.4"
3763
+ },
3764
+ "light": {
3765
+ "bg": "{colors.neutral.100}",
3766
+ "bgHover": "{colors.neutral.200}",
3767
+ "bgActive": "{colors.neutral.300}",
3768
+ "bgDisabled": "{colors.neutral.50}",
3769
+ "text": "{colors.neutral.900}",
3770
+ "textDisabled": "{colors.neutral.400}",
3771
+ "focusRing": "{colors.neutral.400} / 0.4",
3772
+ "focusVisible": "{colors.neutral.400} / 0.4"
3773
+ },
3774
+ "dark": {
3775
+ "bg": "{colors.neutral.900}",
3776
+ "bgHover": "{colors.neutral.800}",
3777
+ "bgActive": "{colors.neutral.700}",
3778
+ "bgDisabled": "{colors.neutral.200}",
3779
+ "text": "{colors.white}",
3780
+ "textDisabled": "{colors.neutral.400}",
3781
+ "focusRing": "{colors.neutral.500} / 0.4",
3782
+ "focusVisible": "{colors.neutral.500} / 0.4"
3783
+ },
3784
+ "cta": {
3785
+ "bg": "{colors.brand.700}",
3786
+ "bgHover": "{colors.brand.800}",
3787
+ "bgActive": "{colors.brand.900}",
3788
+ "bgDisabled": "{colors.brand.200}",
3789
+ "text": "{colors.white}",
3790
+ "textDisabled": "{colors.neutral.400}",
3791
+ "shadow": "0 4px 14px 0 {colors.brand.500} / 0.39",
3792
+ "focusRing": "{colors.brand.500} / 0.4"
3793
+ },
3794
+ "accent": {
3795
+ "bg": "{colors.accent.700}",
3796
+ "bgHover": "{colors.accent.800}",
3797
+ "bgActive": "{colors.accent.900}",
3798
+ "bgDisabled": "{colors.accent.200}",
3799
+ "text": "{colors.white}",
3800
+ "textDisabled": "{colors.neutral.400}",
3801
+ "focusRing": "{colors.accent.500} / 0.4",
3802
+ "focusVisible": "{colors.accent.500} / 0.4"
3803
+ },
3804
+ "accentOutline": {
3805
+ "bg": "{colors.white}",
3806
+ "bgHover": "{colors.accent.50}",
3807
+ "bgActive": "{colors.accent.100}",
3808
+ "bgDisabled": "{colors.neutral.50}",
3809
+ "text": "{colors.accent.800}",
3810
+ "textDisabled": "{colors.neutral.400}",
3811
+ "border": "{colors.accent.800}",
3812
+ "borderDisabled": "{colors.neutral.200}",
3813
+ "focusRing": "{colors.accent.500} / 0.4",
3814
+ "focusVisible": "{colors.accent.500} / 0.4"
3815
+ },
3816
+ "inverse": {
3817
+ "bg": "{colors.white} / 0.12",
3818
+ "bgHover": "{colors.white} / 0.2",
3819
+ "bgActive": "{colors.white} / 0.28",
3820
+ "bgDisabled": "{colors.white} / 0.08",
3821
+ "text": "{colors.white}",
3822
+ "textDisabled": "{colors.neutral.400}",
3823
+ "border": "{colors.white} / 0.3",
3824
+ "borderDisabled": "{colors.white} / 0.16",
3825
+ "focusRing": "{colors.info.500} / 0.4",
3826
+ "focusVisible": "{colors.info.500} / 0.4"
3827
+ }
3828
+ },
3829
+ "link": {
3830
+ "default": "{colors.brand.700}",
3831
+ "hover": "{colors.brand.800}",
3832
+ "active": "{colors.brand.900}",
3833
+ "visited": "{colors.accent.700}",
3834
+ "onInverse": "{colors.neutral.300}",
3835
+ "onInverseHover": "{colors.brand.300}",
3836
+ "underline": "{colors.brand.700}",
3837
+ "underlineHover": "{colors.brand.800}"
3838
+ }
3839
+ }
3840
+ },
3841
+ "colors": {
3842
+ "brand": {
3843
+ "50": "#eef4ff",
3844
+ "100": "#d9e7ff",
3845
+ "200": "#b9d2ff",
3846
+ "300": "#8ab6ff",
3847
+ "400": "#5a92ff",
3848
+ "500": "#336df4",
3849
+ "600": "#1f57db",
3850
+ "700": "#1946b4",
3851
+ "800": "#173b8f",
3852
+ "900": "#16336f"
3853
+ },
3854
+ "neutral": {
3855
+ "50": "#f7f8fb",
3856
+ "100": "#eef1f6",
3857
+ "200": "#d9dfeb",
3858
+ "300": "#b7c1d4",
3859
+ "400": "#8a96ad",
3860
+ "500": "#657287",
3861
+ "600": "#4b576a",
3862
+ "700": "#374253",
3863
+ "800": "#222b38",
3864
+ "900": "#141b24"
2230
3865
  },
2231
3866
  "accent": {
2232
3867
  "50": "#f6f2ff",
@@ -2756,6 +4391,9 @@ var coreTokens = {
2756
4391
  "72": "4.5rem",
2757
4392
  "80": "5rem",
2758
4393
  "96": "6rem",
4394
+ "128": "8rem",
4395
+ "160": "10rem",
4396
+ "192": "12rem",
2759
4397
  "240": "15rem"
2760
4398
  },
2761
4399
  "radii": {
@@ -2968,6 +4606,34 @@ var coreTokens = {
2968
4606
  "wider": "0.05em",
2969
4607
  "widest": "0.1em"
2970
4608
  },
4609
+ "leading": {
4610
+ "none": "1",
4611
+ "tight": "1.25",
4612
+ "snug": "1.375",
4613
+ "normal": "1.5",
4614
+ "relaxed": "1.625",
4615
+ "loose": "2"
4616
+ },
4617
+ "textDecoration": {
4618
+ "thickness": {
4619
+ "thin": "1px",
4620
+ "base": "2px",
4621
+ "thick": "3px"
4622
+ },
4623
+ "offset": {
4624
+ "sm": "0.125em",
4625
+ "md": "0.2em",
4626
+ "lg": "0.3em"
4627
+ }
4628
+ },
4629
+ "fontWeight": {
4630
+ "normal": 400,
4631
+ "medium": 500,
4632
+ "semibold": 600,
4633
+ "bold": 700,
4634
+ "extrabold": 800,
4635
+ "black": 900
4636
+ },
2971
4637
  "surface": {
2972
4638
  "page": "{colors.neutral.50}",
2973
4639
  "card": "{colors.white}",
@@ -2985,7 +4651,9 @@ var coreTokens = {
2985
4651
  "active": "{colors.brand.800}",
2986
4652
  "visited": "{colors.accent.700}",
2987
4653
  "onInverse": "{colors.neutral.300}",
2988
- "onInverseHover": "{colors.brand.300}"
4654
+ "onInverseHover": "{colors.brand.300}",
4655
+ "underline": "{colors.brand.600} / 0.4",
4656
+ "underlineHover": "{colors.brand.700}"
2989
4657
  },
2990
4658
  "text": {
2991
4659
  "onPage": {
@@ -2993,18 +4661,22 @@ var coreTokens = {
2993
4661
  "muted": "{colors.neutral.600}",
2994
4662
  "subtle": "{colors.neutral.500}",
2995
4663
  "meta": "{colors.neutral.500}",
2996
- "brand": "{colors.brand.600}"
4664
+ "brand": "{colors.brand.600}",
4665
+ "accent": "{colors.accent.600}"
2997
4666
  },
2998
4667
  "onSurface": {
2999
4668
  "default": "{colors.neutral.900}",
3000
4669
  "muted": "{colors.neutral.600}",
3001
4670
  "subtle": "{colors.neutral.500}",
3002
4671
  "meta": "{colors.neutral.500}",
3003
- "brand": "{colors.brand.600}"
4672
+ "brand": "{colors.brand.600}",
4673
+ "accent": "{colors.accent.600}"
3004
4674
  },
3005
4675
  "onInverse": {
3006
4676
  "default": "{colors.neutral.50}",
3007
- "muted": "{colors.neutral.300}"
4677
+ "muted": "{colors.neutral.300}",
4678
+ "brand": "{colors.brand.300}",
4679
+ "accent": "{colors.accent.300}"
3008
4680
  }
3009
4681
  },
3010
4682
  "layout": {
@@ -3012,33 +4684,129 @@ var coreTokens = {
3012
4684
  "padding": {
3013
4685
  "sm": "1.5rem",
3014
4686
  "md": "2rem",
3015
- "lg": "3rem"
4687
+ "lg": "3rem",
4688
+ "xl": "4rem",
4689
+ "2xl": "5rem",
4690
+ "3xl": "6rem",
4691
+ "4xl": "8rem"
3016
4692
  },
3017
4693
  "gap": {
3018
4694
  "sm": "1rem",
3019
4695
  "md": "1.5rem",
3020
- "lg": "2rem"
4696
+ "lg": "2rem",
4697
+ "xl": "2.5rem",
4698
+ "2xl": "3rem",
4699
+ "3xl": "4rem",
4700
+ "4xl": "5rem"
3021
4701
  }
3022
4702
  },
3023
4703
  "stack": {
3024
4704
  "gap": {
3025
4705
  "sm": "0.5rem",
3026
- "md": "0.75rem",
3027
- "lg": "1rem"
4706
+ "md": "1rem",
4707
+ "lg": "1.5rem",
4708
+ "xl": "2.5rem",
4709
+ "2xl": "3rem",
4710
+ "3xl": "4rem",
4711
+ "4xl": "5rem"
3028
4712
  }
3029
4713
  },
3030
4714
  "container": {
3031
4715
  "paddingInline": {
3032
4716
  "sm": "1rem",
3033
4717
  "md": "1.5rem",
3034
- "lg": "2rem"
4718
+ "lg": "2rem",
4719
+ "xl": "2.5rem",
4720
+ "2xl": "3rem",
4721
+ "3xl": "4rem",
4722
+ "4xl": "5rem"
3035
4723
  },
3036
4724
  "maxWidth": "72rem",
3037
4725
  "maxWidthProse": "65ch",
3038
4726
  "maxWidthWide": "80rem"
3039
4727
  },
4728
+ "hero": {
4729
+ "paddingTop": {
4730
+ "sm": "{layout.section.padding.2xl}",
4731
+ "md": "{layout.section.padding.3xl}",
4732
+ "lg": "{layout.section.padding.4xl}"
4733
+ },
4734
+ "paddingBottom": {
4735
+ "sm": "{layout.section.padding.xl}",
4736
+ "md": "{layout.section.padding.2xl}",
4737
+ "lg": "{layout.section.padding.3xl}"
4738
+ }
4739
+ },
3040
4740
  "sidebar": {
3041
4741
  "width": "16rem"
4742
+ },
4743
+ "prose": {
4744
+ "flow": {
4745
+ "listItem": "0.5rem",
4746
+ "headingAfter": "1rem",
4747
+ "paragraph": "1.5rem",
4748
+ "list": "1.5rem",
4749
+ "blockquote": "2rem",
4750
+ "figure": "2rem",
4751
+ "heading": "2.5rem",
4752
+ "hr": "3rem"
4753
+ }
4754
+ },
4755
+ "responsive": {
4756
+ "lg": {
4757
+ "section": {
4758
+ "padding": {
4759
+ "xl": "6rem",
4760
+ "2xl": "8rem",
4761
+ "3xl": "10rem",
4762
+ "4xl": "12rem"
4763
+ },
4764
+ "gap": {
4765
+ "xl": "3rem",
4766
+ "2xl": "4rem",
4767
+ "3xl": "6rem",
4768
+ "4xl": "8rem"
4769
+ }
4770
+ },
4771
+ "stack": {
4772
+ "gap": {
4773
+ "xl": "3rem",
4774
+ "2xl": "4rem",
4775
+ "3xl": "6rem",
4776
+ "4xl": "8rem"
4777
+ }
4778
+ },
4779
+ "container": {
4780
+ "paddingInline": {
4781
+ "xl": "3rem",
4782
+ "2xl": "4rem",
4783
+ "3xl": "6rem",
4784
+ "4xl": "8rem"
4785
+ }
4786
+ }
4787
+ }
4788
+ }
4789
+ },
4790
+ "elevation": {
4791
+ "flat": {
4792
+ "shadow": "{shadows.none}",
4793
+ "surface": "{surface.page}",
4794
+ "zIndex": "{zIndex.base}"
4795
+ },
4796
+ "raised": {
4797
+ "shadow": "{shadows.md}",
4798
+ "surface": "{surface.card}",
4799
+ "zIndex": "{zIndex.base}"
4800
+ },
4801
+ "overlay": {
4802
+ "shadow": "{shadows.lg}",
4803
+ "surface": "{surface.card}",
4804
+ "zIndex": "{zIndex.dropdown}"
4805
+ },
4806
+ "modal": {
4807
+ "shadow": "{shadows.2xl}",
4808
+ "surface": "{surface.card}",
4809
+ "zIndex": "{zIndex.modal}"
3042
4810
  }
3043
4811
  },
3044
4812
  "font": {
@@ -3286,6 +5054,23 @@ var toVariableName = (prefix, ...parts) => {
3286
5054
  return `--${prefix}-${filtered.join("-")}`;
3287
5055
  };
3288
5056
  var isPlainObject = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
5057
+ var kebabCase = (segment) => formatKey(segment.replace(/([a-z0-9])([A-Z])/g, "$1-$2"));
5058
+ var LAYOUT_SCALES = [
5059
+ { path: ["section", "padding"], varParts: ["section", "padding"] },
5060
+ { path: ["section", "gap"], varParts: ["section", "gap"] },
5061
+ { path: ["stack", "gap"], varParts: ["stack", "gap"] },
5062
+ { path: ["container", "paddingInline"], varParts: ["container", "padding-inline"] },
5063
+ { path: ["prose", "flow"], varParts: ["prose", "flow"] }
5064
+ ];
5065
+ var layoutScale = (node, [group, scale]) => {
5066
+ const groupNode = isPlainObject(node) ? node[group] : void 0;
5067
+ const scaleNode = isPlainObject(groupNode) ? groupNode[scale] : void 0;
5068
+ return isPlainObject(scaleNode) ? scaleNode : {};
5069
+ };
5070
+ var layoutResponsive = (layout) => {
5071
+ const responsive = isPlainObject(layout) ? layout.responsive : void 0;
5072
+ return isPlainObject(responsive) ? responsive : {};
5073
+ };
3289
5074
  var resolveTokenReference = (tokens2, reference) => {
3290
5075
  const path = reference.slice(1, -1).split(".");
3291
5076
  let current = tokens2;
@@ -3379,26 +5164,30 @@ var createCssVariableMap = (tokens2, options = {}) => {
3379
5164
  }
3380
5165
  if (baseTokens.layout) {
3381
5166
  const layout = baseTokens.layout;
3382
- if (layout.section?.padding) {
3383
- Object.entries(layout.section.padding).forEach(([key, value]) => {
3384
- assign(toVariableName(prefix, "layout", "section", "padding", key), value);
3385
- });
3386
- }
3387
- if (layout.section?.gap) {
3388
- Object.entries(layout.section.gap).forEach(([key, value]) => {
3389
- assign(toVariableName(prefix, "layout", "section", "gap", key), value);
5167
+ LAYOUT_SCALES.forEach(({ path, varParts }) => {
5168
+ Object.entries(layoutScale(layout, path)).forEach(([key, value]) => {
5169
+ assign(toVariableName(prefix, "layout", ...varParts, kebabCase(key)), value);
3390
5170
  });
3391
- }
3392
- if (layout.stack?.gap) {
3393
- Object.entries(layout.stack.gap).forEach(([key, value]) => {
3394
- assign(toVariableName(prefix, "layout", "stack", "gap", key), value);
5171
+ });
5172
+ const hero = layout.hero;
5173
+ if (hero) {
5174
+ Object.entries(hero).forEach(([edge, steps]) => {
5175
+ Object.entries(steps).forEach(([key, value]) => {
5176
+ const step = value.match(/^\{layout\.section\.padding\.([^}]+)\}$/)?.[1];
5177
+ assign(
5178
+ toVariableName(prefix, "layout", "hero", kebabCase(edge), key),
5179
+ step ? `var(${toVariableName(prefix, "layout", "section", "padding", step)})` : value
5180
+ );
5181
+ });
3395
5182
  });
3396
5183
  }
3397
- if (layout.container?.paddingInline) {
3398
- Object.entries(layout.container.paddingInline).forEach(([key, value]) => {
3399
- assign(toVariableName(prefix, "layout", "container", "padding-inline", key), value);
5184
+ Object.entries(layoutResponsive(layout)).forEach(([breakpoint, scales]) => {
5185
+ LAYOUT_SCALES.forEach(({ path, varParts }) => {
5186
+ Object.entries(layoutScale(scales, path)).forEach(([key, value]) => {
5187
+ assign(toVariableName(prefix, "layout", "responsive", breakpoint, ...varParts, kebabCase(key)), value);
5188
+ });
3400
5189
  });
3401
- }
5190
+ });
3402
5191
  const container = layout.container;
3403
5192
  if (container?.maxWidth) {
3404
5193
  assign(toVariableName(prefix, "layout", "container", "max-width"), container.maxWidth);
@@ -3414,6 +5203,33 @@ var createCssVariableMap = (tokens2, options = {}) => {
3414
5203
  assign(toVariableName(prefix, "layout", "sidebar", "width"), sidebar.width);
3415
5204
  }
3416
5205
  }
5206
+ const control = baseTokens.control;
5207
+ if (isPlainObject(control)) {
5208
+ const assignControlSizes = (sizes, parts) => {
5209
+ Object.entries(sizes).forEach(([size, fields]) => {
5210
+ if (size === "compact" || !isPlainObject(fields)) return;
5211
+ Object.entries(fields).forEach(([field, value]) => {
5212
+ assign(toVariableName(prefix, "control", ...parts, size, kebabCase(field)), value);
5213
+ });
5214
+ });
5215
+ };
5216
+ assignControlSizes(control, []);
5217
+ if (isPlainObject(control.compact)) assignControlSizes(control.compact, ["compact"]);
5218
+ }
5219
+ const elevation = baseTokens.elevation;
5220
+ if (isPlainObject(elevation)) {
5221
+ const elevationVarParts = { shadows: ["shadow"], surface: ["surface"], zIndex: ["z-index"] };
5222
+ Object.entries(elevation).forEach(([level, fields]) => {
5223
+ Object.entries(fields).forEach(([field, value]) => {
5224
+ const [namespace, ...rest] = value.match(/^\{([^}]+)\}$/)?.[1]?.split(".") ?? [];
5225
+ const varParts = namespace ? elevationVarParts[namespace] : void 0;
5226
+ assign(
5227
+ toVariableName(prefix, "elevation", level, kebabCase(field)),
5228
+ varParts ? `var(${toVariableName(prefix, ...varParts, ...rest.map(kebabCase))})` : value
5229
+ );
5230
+ });
5231
+ });
5232
+ }
3417
5233
  const border = baseTokens.border;
3418
5234
  if (border?.width) {
3419
5235
  Object.entries(border.width).forEach(([key, value]) => {
@@ -3434,6 +5250,26 @@ var createCssVariableMap = (tokens2, options = {}) => {
3434
5250
  assign(toVariableName(prefix, "tracking", key), value);
3435
5251
  });
3436
5252
  }
5253
+ const leading = baseTokens.leading;
5254
+ if (leading) {
5255
+ Object.entries(leading).forEach(([key, value]) => {
5256
+ assign(toVariableName(prefix, "leading", key), value);
5257
+ });
5258
+ }
5259
+ const fontWeight = baseTokens.fontWeight;
5260
+ if (fontWeight) {
5261
+ Object.entries(fontWeight).forEach(([key, value]) => {
5262
+ assign(toVariableName(prefix, "font-weight", key), value);
5263
+ });
5264
+ }
5265
+ const textDecoration = baseTokens.textDecoration;
5266
+ if (textDecoration) {
5267
+ Object.entries(textDecoration).forEach(([group, scale]) => {
5268
+ Object.entries(scale).forEach(([key, value]) => {
5269
+ assign(toVariableName(prefix, "text-decoration", group, key), value);
5270
+ });
5271
+ });
5272
+ }
3437
5273
  const icons = baseTokens.icons;
3438
5274
  if (icons) {
3439
5275
  Object.entries(icons).forEach(([key, value]) => {
@@ -3562,6 +5398,7 @@ var generateCssVariables = (tokens2, options = {}) => {
3562
5398
  const declarations = createCssVariableMap(tokens2, { ...options, prefix });
3563
5399
  const defaultMode = tokens2.modes?.default ?? {};
3564
5400
  const darkMode = tokens2.modes?.dark ?? {};
5401
+ const highContrastMode = tokens2.modes?.highContrast ?? {};
3565
5402
  const surfaceAliases = tokens2.surface ?? {};
3566
5403
  const textAliases = tokens2.text ?? {};
3567
5404
  const componentAliases = tokens2.component ?? {};
@@ -3569,6 +5406,7 @@ var generateCssVariables = (tokens2, options = {}) => {
3569
5406
  const componentVarParts = (group, kebabGroup, path) => LEGACY_COMPONENT_PREFIX_GROUPS.has(group) ? ["component", kebabGroup, ...path] : [kebabGroup, ...path];
3570
5407
  const baseLines = [];
3571
5408
  const darkLines = [];
5409
+ const highContrastLines = [];
3572
5410
  const modeScopedNames = /* @__PURE__ */ new Set();
3573
5411
  const addBase = (name, value) => {
3574
5412
  if (value === void 0) return;
@@ -3578,9 +5416,13 @@ var generateCssVariables = (tokens2, options = {}) => {
3578
5416
  const addDark = (name, value) => {
3579
5417
  if (value !== void 0) darkLines.push(` ${name}: ${value};`);
3580
5418
  };
5419
+ const addHighContrast = (name, value) => {
5420
+ if (value !== void 0) highContrastLines.push(` ${name}: ${value};`);
5421
+ };
3581
5422
  const walkSemanticGroup = (namespace, varPartsFor, aliasSrc) => {
3582
5423
  const defaultNode = defaultMode[namespace];
3583
5424
  const darkNode = darkMode[namespace];
5425
+ const highContrastNode = highContrastMode[namespace];
3584
5426
  const paths = /* @__PURE__ */ new Set();
3585
5427
  const collectPaths = (node, path) => {
3586
5428
  if (node === void 0) return;
@@ -3595,6 +5437,7 @@ var generateCssVariables = (tokens2, options = {}) => {
3595
5437
  };
3596
5438
  collectPaths(defaultNode, []);
3597
5439
  collectPaths(darkNode, []);
5440
+ collectPaths(highContrastNode, []);
3598
5441
  collectPaths(aliasSrc, []);
3599
5442
  paths.forEach((joinedPath) => {
3600
5443
  const path = joinedPath.split(".");
@@ -3602,8 +5445,10 @@ var generateCssVariables = (tokens2, options = {}) => {
3602
5445
  const aliasCandidate = getPath(aliasSrc, path);
3603
5446
  const baseValue = pickSemantic(tokens2, getPath(defaultNode, path), aliasCandidate);
3604
5447
  const darkValue = pickSemantic(tokens2, getPath(darkNode, path), getPath(defaultNode, path), aliasCandidate);
5448
+ const highContrastValue = pickSemantic(tokens2, getPath(highContrastNode, path), getPath(defaultNode, path), aliasCandidate);
3605
5449
  addBase(varName, baseValue);
3606
5450
  addDark(varName, darkValue);
5451
+ addHighContrast(varName, highContrastValue);
3607
5452
  });
3608
5453
  };
3609
5454
  const kebabPathSegment = (segment) => formatKey(segment.replace(/([a-z0-9])([A-Z])/g, "$1-$2"));
@@ -3633,22 +5478,95 @@ var generateCssVariables = (tokens2, options = {}) => {
3633
5478
  (path) => ["form", ...path.map(kebabPathSegment)],
3634
5479
  void 0
3635
5480
  );
5481
+ const highContrastLink = getPath(highContrastMode, ["link"]);
3636
5482
  Object.entries(linkTokens).forEach(([key, value]) => {
3637
5483
  const varName = toVariableName(prefix, "link", kebabPathSegment(key));
3638
5484
  const resolved = pickSemantic(tokens2, value);
3639
5485
  addBase(varName, resolved);
3640
5486
  addDark(varName, resolved);
5487
+ addHighContrast(varName, pickSemantic(tokens2, getPath(highContrastLink, [key]), value));
3641
5488
  });
5489
+ const highContrastButtons = getPath(highContrastMode, ["buttons"]);
5490
+ if (isPlainObject(highContrastButtons)) {
5491
+ Object.entries(highContrastButtons).forEach(([variant, states]) => {
5492
+ Object.entries(states).forEach(([state, value]) => {
5493
+ addHighContrast(toVariableName(prefix, "button", variant, state), pickSemantic(tokens2, value));
5494
+ });
5495
+ });
5496
+ }
3642
5497
  const mapLines = Object.entries(declarations).filter(([name]) => !modeScopedNames.has(name)).map(([name, value]) => ` ${name}: ${value};`);
3643
5498
  const rootBlock = `${selector} {
3644
5499
  ${[...baseLines, ...mapLines].join("\n")}
3645
5500
  }`;
3646
- const darkBlock = `${selector}[data-spectre-theme="dark"] {
3647
- ${darkLines.join("\n")}
5501
+ const toEntries = (lines) => new Map(
5502
+ lines.map((line) => {
5503
+ const separator = line.indexOf(":");
5504
+ return [line.slice(0, separator).trim(), line.slice(separator + 1).trim().replace(/;$/, "")];
5505
+ })
5506
+ );
5507
+ const baseEntries = toEntries(baseLines);
5508
+ const darkEntries = toEntries(darkLines);
5509
+ const highContrastEntries = toEntries(highContrastLines);
5510
+ const rootValues = new Map([...Object.entries(declarations), ...baseEntries]);
5511
+ const modeVarying = [.../* @__PURE__ */ new Set([...baseEntries.keys(), ...darkEntries.keys(), ...highContrastEntries.keys()])];
5512
+ const modeVaryingSet = new Set(modeVarying);
5513
+ const dependentLines = [...rootValues].filter(
5514
+ ([name, value]) => !modeVaryingSet.has(name) && Array.from(value.matchAll(/var\((--[a-z0-9-]+)/g)).some((match) => modeVaryingSet.has(match[1]))
5515
+ ).map(([name, value]) => `${name}: ${value};`);
5516
+ const modeLines = (entries) => [
5517
+ ...modeVarying.flatMap((name) => {
5518
+ const value = entries.get(name) ?? rootValues.get(name);
5519
+ return value === void 0 ? [] : [`${name}: ${value};`];
5520
+ }),
5521
+ ...dependentLines
5522
+ ];
5523
+ const themeSelectors = (theme) => [
5524
+ `${selector}[data-spectre-theme="${theme}"]`,
5525
+ `${selector} [data-spectre-theme="${theme}"]`
5526
+ ];
5527
+ const modeBlock = (selectors, lines, indent = "") => `${indent}${selectors.join(`,
5528
+ ${indent}`)} {
5529
+ ${lines.map((line) => `${indent} ${line}`).join("\n")}
5530
+ ${indent}}`;
5531
+ const darkBlock = modeBlock(themeSelectors("dark"), modeLines(darkEntries));
5532
+ const highContrastBlock = modeBlock(themeSelectors("high-contrast"), modeLines(highContrastEntries));
5533
+ const lightBlock = modeBlock([...themeSelectors("light"), ...themeSelectors("system")], modeLines(baseEntries));
5534
+ const systemDarkBlock = `@media (prefers-color-scheme: dark) {
5535
+ ${modeBlock(themeSelectors("system"), modeLines(darkEntries), " ")}
5536
+ }`;
5537
+ const control = tokens2.control;
5538
+ const compact = isPlainObject(control) && isPlainObject(control.compact) ? control.compact : {};
5539
+ const densityLines = Object.entries(compact).flatMap(
5540
+ ([size, fields]) => Object.keys(fields).map((field) => {
5541
+ const name = toVariableName(prefix, "control", size, kebabCase(field));
5542
+ return ` ${name}: var(${toVariableName(prefix, "control", "compact", size, kebabCase(field))});`;
5543
+ })
5544
+ );
5545
+ const densityBlocks = densityLines.length > 0 ? [`[data-spectre-density="compact"] {
5546
+ ${densityLines.join("\n")}
5547
+ }`] : [];
5548
+ const breakpoints = tokens2.breakpoints;
5549
+ const responsiveBlocks = Object.entries(layoutResponsive(tokens2.layout)).map(([breakpoint, scales]) => {
5550
+ const minWidth = breakpoints[breakpoint];
5551
+ if (minWidth === void 0) {
5552
+ throw new Error(`layout.responsive.${breakpoint} does not name a breakpoints entry`);
5553
+ }
5554
+ const lines = LAYOUT_SCALES.flatMap(
5555
+ ({ path, varParts }) => Object.keys(layoutScale(scales, path)).map((key) => {
5556
+ const name = toVariableName(prefix, "layout", ...varParts, kebabCase(key));
5557
+ const source = toVariableName(prefix, "layout", "responsive", breakpoint, ...varParts, kebabCase(key));
5558
+ return ` ${name}: var(${source});`;
5559
+ })
5560
+ );
5561
+ return `@media (min-width: ${resolveValue(tokens2, minWidth)}) {
5562
+ ${selector} {
5563
+ ${lines.join("\n")}
5564
+ }
3648
5565
  }`;
3649
- return `${rootBlock}
3650
- ${darkBlock}
3651
- `;
5566
+ });
5567
+ return [rootBlock, darkBlock, highContrastBlock, lightBlock, systemDarkBlock, ...densityBlocks, ...responsiveBlocks].join(
5568
+ "\n"
5569
+ ) + "\n";
3652
5570
  };
3653
5571
 
3654
5572
  // src/index.ts