@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.js CHANGED
@@ -17,6 +17,7 @@ var coreTokens = {
17
17
  "warning": "{colors.warning.600}",
18
18
  "danger": "{colors.error.600}",
19
19
  "cta": "{colors.brand.600}",
20
+ "accent": "{colors.accent.600}",
20
21
  "thickness": "0.25rem"
21
22
  }
22
23
  },
@@ -71,6 +72,7 @@ var coreTokens = {
71
72
  "warning": "{colors.warning.600}",
72
73
  "danger": "{colors.error.600}",
73
74
  "cta": "{colors.brand.600}",
75
+ "accent": "{colors.accent.600}",
74
76
  "thickness": "0.25rem"
75
77
  }
76
78
  },
@@ -98,6 +100,7 @@ var coreTokens = {
98
100
  "warning": "{colors.warning.600}",
99
101
  "danger": "{colors.error.600}",
100
102
  "cta": "{colors.brand.600}",
103
+ "accent": "{colors.accent.600}",
101
104
  "thickness": "0.25rem"
102
105
  }
103
106
  },
@@ -119,6 +122,7 @@ var coreTokens = {
119
122
  "warning": "{colors.warning.600}",
120
123
  "danger": "{colors.error.600}",
121
124
  "cta": "{colors.brand.600}",
125
+ "accent": "{colors.accent.600}",
122
126
  "thickness": "0.25rem"
123
127
  }
124
128
  },
@@ -142,6 +146,7 @@ var coreTokens = {
142
146
  "warning": "{colors.warning.600}",
143
147
  "danger": "{colors.error.600}",
144
148
  "cta": "{colors.brand.600}",
149
+ "accent": "{colors.accent.600}",
145
150
  "thickness": "0.25rem"
146
151
  }
147
152
  },
@@ -163,7 +168,29 @@ var coreTokens = {
163
168
  "warning": "{colors.warning.600}",
164
169
  "danger": "{colors.error.600}",
165
170
  "cta": "{colors.brand.600}",
171
+ "accent": "{colors.accent.600}",
166
172
  "thickness": "0.25rem"
173
+ },
174
+ "light": {
175
+ "bg": "{colors.neutral.100}",
176
+ "text": "{colors.neutral.700}",
177
+ "heading": "{colors.neutral.900}",
178
+ "muted": "{colors.neutral.600}",
179
+ "link": "{colors.neutral.700}",
180
+ "linkHover": "{colors.brand.700}",
181
+ "border": "{colors.neutral.200}",
182
+ "divider": "{colors.neutral.200}",
183
+ "chipBg": "{colors.neutral.200}",
184
+ "accent": {
185
+ "neutral": "{colors.neutral.600}",
186
+ "brand": "{colors.brand.600}",
187
+ "info": "{colors.info.600}",
188
+ "success": "{colors.success.600}",
189
+ "warning": "{colors.warning.600}",
190
+ "danger": "{colors.error.600}",
191
+ "cta": "{colors.brand.600}",
192
+ "accent": "{colors.accent.600}"
193
+ }
167
194
  }
168
195
  },
169
196
  "modal": {
@@ -179,6 +206,7 @@ var coreTokens = {
179
206
  "warning": "{colors.warning.600}",
180
207
  "danger": "{colors.error.600}",
181
208
  "cta": "{colors.brand.600}",
209
+ "accent": "{colors.accent.600}",
182
210
  "thickness": "0.25rem"
183
211
  }
184
212
  },
@@ -221,6 +249,7 @@ var coreTokens = {
221
249
  "warning": "{colors.warning.600}",
222
250
  "danger": "{colors.error.600}",
223
251
  "cta": "{colors.brand.600}",
252
+ "accent": "{colors.accent.600}",
224
253
  "thickness": "0.25rem"
225
254
  }
226
255
  },
@@ -236,6 +265,7 @@ var coreTokens = {
236
265
  "warning": "{colors.warning.600}",
237
266
  "danger": "{colors.error.600}",
238
267
  "cta": "{colors.brand.600}",
268
+ "accent": "{colors.accent.600}",
239
269
  "thickness": "0.25rem"
240
270
  }
241
271
  },
@@ -259,6 +289,7 @@ var coreTokens = {
259
289
  "warning": "{colors.warning.600}",
260
290
  "danger": "{colors.error.600}",
261
291
  "cta": "{colors.brand.600}",
292
+ "accent": "{colors.accent.600}",
262
293
  "thickness": "0.25rem"
263
294
  },
264
295
  "header": "{colors.neutral.500}",
@@ -348,6 +379,7 @@ var coreTokens = {
348
379
  "warning": "{colors.warning.600}",
349
380
  "danger": "{colors.error.600}",
350
381
  "cta": "{colors.brand.600}",
382
+ "accent": "{colors.accent.600}",
351
383
  "thickness": "0.25rem"
352
384
  }
353
385
  },
@@ -402,6 +434,13 @@ var coreTokens = {
402
434
  "bg": "{colors.error.100}",
403
435
  "text": "{colors.error.800}"
404
436
  }
437
+ },
438
+ "caption": {
439
+ "text": "{colors.neutral.600}"
440
+ },
441
+ "footer": {
442
+ "bg": "{colors.neutral.50}",
443
+ "text": "{colors.neutral.900}"
405
444
  }
406
445
  },
407
446
  "alert": {
@@ -472,6 +511,28 @@ var coreTokens = {
472
511
  "text": "{colors.white}"
473
512
  }
474
513
  },
514
+ "tone": {
515
+ "brand": {
516
+ "active": {
517
+ "bg": "{colors.brand.600}",
518
+ "text": "{colors.white}"
519
+ },
520
+ "done": {
521
+ "bg": "{colors.success.700}",
522
+ "text": "{colors.white}"
523
+ }
524
+ },
525
+ "accent": {
526
+ "active": {
527
+ "bg": "{colors.accent.600}",
528
+ "text": "{colors.white}"
529
+ },
530
+ "done": {
531
+ "bg": "{colors.accent.800}",
532
+ "text": "{colors.white}"
533
+ }
534
+ }
535
+ },
475
536
  "connector": "{colors.neutral.200}",
476
537
  "label": {
477
538
  "text": "{colors.neutral.700}"
@@ -602,7 +663,31 @@ var coreTokens = {
602
663
  "bg": "{colors.warning.100}",
603
664
  "text": "{colors.warning.900}"
604
665
  },
605
- "hr": "{colors.neutral.200}"
666
+ "hr": "{colors.neutral.200}",
667
+ "kbd": {
668
+ "bg": "{colors.neutral.100}",
669
+ "border": "{colors.neutral.300}",
670
+ "text": "{colors.neutral.900}"
671
+ },
672
+ "del": {
673
+ "bg": "{colors.error.100}",
674
+ "text": "{colors.error.800}"
675
+ },
676
+ "ins": {
677
+ "bg": "{colors.success.100}",
678
+ "text": "{colors.success.800}"
679
+ },
680
+ "marker": "{colors.neutral.600}",
681
+ "markerAccent": "{colors.accent.600}",
682
+ "figcaption": {
683
+ "text": "{colors.neutral.600}"
684
+ },
685
+ "dt": {
686
+ "text": "{colors.neutral.900}"
687
+ },
688
+ "dd": {
689
+ "text": "{colors.neutral.700}"
690
+ }
606
691
  },
607
692
  "externalAuthButton": {
608
693
  "bg": "{colors.white}",
@@ -643,7 +728,16 @@ var coreTokens = {
643
728
  "borderInvalid": "{colors.error.500}",
644
729
  "bgInvalid": "{colors.error.50}",
645
730
  "borderSuccess": "{colors.success.500}",
646
- "bgSuccess": "{colors.success.50}"
731
+ "bgSuccess": "{colors.success.50}",
732
+ "option": {
733
+ "hoverBg": "{colors.neutral.100}",
734
+ "selectedBg": "{colors.info.50}",
735
+ "selectedText": "{colors.info.800}",
736
+ "disabledText": "{colors.neutral.400}"
737
+ },
738
+ "optgroup": {
739
+ "labelText": "{colors.neutral.600}"
740
+ }
647
741
  },
648
742
  "textarea": {
649
743
  "bg": "{colors.white}",
@@ -666,6 +760,101 @@ var coreTokens = {
666
760
  "text": "{colors.neutral.900}",
667
761
  "disabledText": "{colors.neutral.400}",
668
762
  "requiredIndicatorText": "{colors.error.600}"
763
+ },
764
+ "skeleton": {
765
+ "base": "{colors.neutral.200}",
766
+ "shimmer": "{colors.neutral.100}"
767
+ },
768
+ "selection": {
769
+ "bg": "{colors.brand.100}",
770
+ "text": "{colors.neutral.900}"
771
+ },
772
+ "caret": {
773
+ "color": "{colors.brand.600}"
774
+ },
775
+ "scrollbar": {
776
+ "track": "{colors.neutral.100}",
777
+ "thumb": "{colors.neutral.400}",
778
+ "thumbHover": "{colors.neutral.500}"
779
+ },
780
+ "chart": {
781
+ "bg": "{colors.white}",
782
+ "grid": "{colors.neutral.200}",
783
+ "axis": "{colors.neutral.500}",
784
+ "label": "{colors.neutral.600}",
785
+ "series": {
786
+ "1": "{colors.brand.600}",
787
+ "2": "{colors.palette.amber.600}",
788
+ "3": "{colors.palette.violet.800}",
789
+ "4": "{colors.palette.cyan.600}",
790
+ "5": "{colors.palette.pink.600}",
791
+ "6": "{colors.palette.emerald.800}",
792
+ "7": "{colors.palette.lime.700}",
793
+ "8": "{colors.palette.orange.800}"
794
+ },
795
+ "sequential": {
796
+ "1": "{colors.brand.100}",
797
+ "2": "{colors.brand.200}",
798
+ "3": "{colors.brand.300}",
799
+ "4": "{colors.brand.400}",
800
+ "5": "{colors.brand.600}",
801
+ "6": "{colors.brand.800}",
802
+ "7": "{colors.brand.900}"
803
+ },
804
+ "diverging": {
805
+ "1": "{colors.palette.red.700}",
806
+ "2": "{colors.palette.red.400}",
807
+ "3": "{colors.palette.red.200}",
808
+ "4": "{colors.neutral.200}",
809
+ "5": "{colors.palette.blue.200}",
810
+ "6": "{colors.palette.blue.400}",
811
+ "7": "{colors.palette.blue.700}"
812
+ }
813
+ },
814
+ "quote": {
815
+ "text": "{colors.neutral.700}",
816
+ "attributionName": "{colors.neutral.900}",
817
+ "attributionRole": "{colors.neutral.600}",
818
+ "mark": "{colors.accent.600}",
819
+ "border": "{colors.neutral.300}",
820
+ "accent": {
821
+ "neutral": "{colors.neutral.600}",
822
+ "brand": "{colors.brand.600}",
823
+ "info": "{colors.info.600}",
824
+ "success": "{colors.success.600}",
825
+ "warning": "{colors.warning.600}",
826
+ "danger": "{colors.error.600}",
827
+ "cta": "{colors.brand.600}",
828
+ "accent": "{colors.accent.600}",
829
+ "thickness": "0.25rem"
830
+ }
831
+ },
832
+ "meter": {
833
+ "track": "{colors.neutral.200}",
834
+ "fill": {
835
+ "optimum": "{colors.success.700}",
836
+ "suboptimum": "{colors.warning.700}",
837
+ "critical": "{colors.error.600}"
838
+ }
839
+ },
840
+ "code": {
841
+ "syntax": {
842
+ "keyword": "{colors.accent.700}",
843
+ "string": "{colors.success.800}",
844
+ "number": "{colors.warning.800}",
845
+ "comment": "{colors.neutral.600}",
846
+ "function": "{colors.brand.700}",
847
+ "variable": "{colors.error.700}",
848
+ "type": "{colors.info.700}",
849
+ "operator": "{colors.neutral.700}",
850
+ "punctuation": "{colors.neutral.600}",
851
+ "tag": "{colors.palette.pink.700}",
852
+ "attribute": "{colors.palette.teal.800}"
853
+ }
854
+ },
855
+ "proofing": {
856
+ "spelling": "{colors.error.600}",
857
+ "grammar": "{colors.info.600}"
669
858
  }
670
859
  },
671
860
  "buttons": {
@@ -783,6 +972,18 @@ var coreTokens = {
783
972
  "focusRing": "{colors.accent.500} / 0.4",
784
973
  "focusVisible": "{colors.accent.500} / 0.4"
785
974
  },
975
+ "accentOutline": {
976
+ "bg": "{colors.white}",
977
+ "bgHover": "{colors.accent.50}",
978
+ "bgActive": "{colors.accent.100}",
979
+ "bgDisabled": "{colors.neutral.50}",
980
+ "text": "{colors.accent.700}",
981
+ "textDisabled": "{colors.neutral.400}",
982
+ "border": "{colors.accent.700}",
983
+ "borderDisabled": "{colors.neutral.200}",
984
+ "focusRing": "{colors.accent.500} / 0.4",
985
+ "focusVisible": "{colors.accent.500} / 0.4"
986
+ },
786
987
  "inverse": {
787
988
  "bg": "{colors.white} / 0.12",
788
989
  "bgHover": "{colors.white} / 0.2",
@@ -830,6 +1031,40 @@ var coreTokens = {
830
1031
  "text": "{colors.neutral.400}"
831
1032
  }
832
1033
  },
1034
+ "control": {
1035
+ "sm": {
1036
+ "height": "2rem",
1037
+ "paddingInline": "0.75rem",
1038
+ "iconSize": "{icons.sm}"
1039
+ },
1040
+ "md": {
1041
+ "height": "2.5rem",
1042
+ "paddingInline": "1rem",
1043
+ "iconSize": "{icons.md}"
1044
+ },
1045
+ "lg": {
1046
+ "height": "3rem",
1047
+ "paddingInline": "1.25rem",
1048
+ "iconSize": "{icons.lg}"
1049
+ },
1050
+ "compact": {
1051
+ "sm": {
1052
+ "height": "1.5rem",
1053
+ "paddingInline": "0.5rem",
1054
+ "iconSize": "{icons.xs}"
1055
+ },
1056
+ "md": {
1057
+ "height": "2rem",
1058
+ "paddingInline": "0.75rem",
1059
+ "iconSize": "{icons.sm}"
1060
+ },
1061
+ "lg": {
1062
+ "height": "2.5rem",
1063
+ "paddingInline": "1rem",
1064
+ "iconSize": "{icons.md}"
1065
+ }
1066
+ }
1067
+ },
833
1068
  "modes": {
834
1069
  "default": {
835
1070
  "surface": {
@@ -850,14 +1085,16 @@ var coreTokens = {
850
1085
  "muted": "{colors.neutral.600}",
851
1086
  "subtle": "{colors.neutral.500}",
852
1087
  "meta": "{colors.neutral.500}",
853
- "brand": "{colors.brand.600}"
1088
+ "brand": "{colors.brand.600}",
1089
+ "accent": "{colors.accent.600}"
854
1090
  },
855
1091
  "onSurface": {
856
1092
  "default": "{colors.neutral.900}",
857
1093
  "muted": "{colors.neutral.600}",
858
1094
  "subtle": "{colors.neutral.500}",
859
1095
  "meta": "{colors.neutral.500}",
860
- "brand": "{colors.brand.600}"
1096
+ "brand": "{colors.brand.600}",
1097
+ "accent": "{colors.accent.600}"
861
1098
  }
862
1099
  },
863
1100
  "forms": {
@@ -878,7 +1115,8 @@ var coreTokens = {
878
1115
  "success": "{colors.success.600}",
879
1116
  "warning": "{colors.warning.600}",
880
1117
  "danger": "{colors.error.600}",
881
- "cta": "{colors.brand.600}"
1118
+ "cta": "{colors.brand.600}",
1119
+ "accent": "{colors.accent.600}"
882
1120
  }
883
1121
  },
884
1122
  "choiceCard": {
@@ -923,7 +1161,8 @@ var coreTokens = {
923
1161
  "success": "{colors.success.600}",
924
1162
  "warning": "{colors.warning.600}",
925
1163
  "danger": "{colors.error.600}",
926
- "cta": "{colors.brand.600}"
1164
+ "cta": "{colors.brand.600}",
1165
+ "accent": "{colors.accent.600}"
927
1166
  }
928
1167
  },
929
1168
  "iconBox": {
@@ -949,7 +1188,8 @@ var coreTokens = {
949
1188
  "success": "{colors.success.600}",
950
1189
  "warning": "{colors.warning.600}",
951
1190
  "danger": "{colors.error.600}",
952
- "cta": "{colors.brand.600}"
1191
+ "cta": "{colors.brand.600}",
1192
+ "accent": "{colors.accent.600}"
953
1193
  }
954
1194
  },
955
1195
  "pricingCard": {
@@ -969,7 +1209,8 @@ var coreTokens = {
969
1209
  "success": "{colors.success.600}",
970
1210
  "warning": "{colors.warning.600}",
971
1211
  "danger": "{colors.error.600}",
972
- "cta": "{colors.brand.600}"
1212
+ "cta": "{colors.brand.600}",
1213
+ "accent": "{colors.accent.600}"
973
1214
  }
974
1215
  },
975
1216
  "rating": {
@@ -991,7 +1232,8 @@ var coreTokens = {
991
1232
  "success": "{colors.success.600}",
992
1233
  "warning": "{colors.warning.600}",
993
1234
  "danger": "{colors.error.600}",
994
- "cta": "{colors.brand.600}"
1235
+ "cta": "{colors.brand.600}",
1236
+ "accent": "{colors.accent.600}"
995
1237
  }
996
1238
  },
997
1239
  "footer": {
@@ -1011,7 +1253,29 @@ var coreTokens = {
1011
1253
  "success": "{colors.success.600}",
1012
1254
  "warning": "{colors.warning.600}",
1013
1255
  "danger": "{colors.error.600}",
1014
- "cta": "{colors.brand.600}"
1256
+ "cta": "{colors.brand.600}",
1257
+ "accent": "{colors.accent.600}"
1258
+ },
1259
+ "light": {
1260
+ "bg": "{colors.neutral.100}",
1261
+ "text": "{colors.neutral.700}",
1262
+ "heading": "{colors.neutral.900}",
1263
+ "muted": "{colors.neutral.600}",
1264
+ "link": "{colors.neutral.700}",
1265
+ "linkHover": "{colors.brand.700}",
1266
+ "border": "{colors.neutral.200}",
1267
+ "divider": "{colors.neutral.200}",
1268
+ "chipBg": "{colors.neutral.200}",
1269
+ "accent": {
1270
+ "neutral": "{colors.neutral.600}",
1271
+ "brand": "{colors.brand.600}",
1272
+ "info": "{colors.info.600}",
1273
+ "success": "{colors.success.600}",
1274
+ "warning": "{colors.warning.600}",
1275
+ "danger": "{colors.error.600}",
1276
+ "cta": "{colors.brand.600}",
1277
+ "accent": "{colors.accent.600}"
1278
+ }
1015
1279
  }
1016
1280
  },
1017
1281
  "modal": {
@@ -1026,7 +1290,8 @@ var coreTokens = {
1026
1290
  "success": "{colors.success.600}",
1027
1291
  "warning": "{colors.warning.600}",
1028
1292
  "danger": "{colors.error.600}",
1029
- "cta": "{colors.brand.600}"
1293
+ "cta": "{colors.brand.600}",
1294
+ "accent": "{colors.accent.600}"
1030
1295
  }
1031
1296
  },
1032
1297
  "toast": {
@@ -1067,7 +1332,8 @@ var coreTokens = {
1067
1332
  "success": "{colors.success.600}",
1068
1333
  "warning": "{colors.warning.600}",
1069
1334
  "danger": "{colors.error.600}",
1070
- "cta": "{colors.brand.600}"
1335
+ "cta": "{colors.brand.600}",
1336
+ "accent": "{colors.accent.600}"
1071
1337
  }
1072
1338
  },
1073
1339
  "tooltip": {
@@ -1081,7 +1347,8 @@ var coreTokens = {
1081
1347
  "success": "{colors.success.600}",
1082
1348
  "warning": "{colors.warning.600}",
1083
1349
  "danger": "{colors.error.600}",
1084
- "cta": "{colors.brand.600}"
1350
+ "cta": "{colors.brand.600}",
1351
+ "accent": "{colors.accent.600}"
1085
1352
  }
1086
1353
  },
1087
1354
  "dropdown": {
@@ -1103,7 +1370,8 @@ var coreTokens = {
1103
1370
  "success": "{colors.success.600}",
1104
1371
  "warning": "{colors.warning.600}",
1105
1372
  "danger": "{colors.error.600}",
1106
- "cta": "{colors.brand.600}"
1373
+ "cta": "{colors.brand.600}",
1374
+ "accent": "{colors.accent.600}"
1107
1375
  },
1108
1376
  "header": "{colors.neutral.500}",
1109
1377
  "divider": "{colors.neutral.200}"
@@ -1192,6 +1460,7 @@ var coreTokens = {
1192
1460
  "warning": "{colors.warning.600}",
1193
1461
  "danger": "{colors.error.600}",
1194
1462
  "cta": "{colors.brand.600}",
1463
+ "accent": "{colors.accent.600}",
1195
1464
  "thickness": "0.25rem"
1196
1465
  }
1197
1466
  },
@@ -1246,6 +1515,13 @@ var coreTokens = {
1246
1515
  "bg": "{colors.error.100}",
1247
1516
  "text": "{colors.error.800}"
1248
1517
  }
1518
+ },
1519
+ "caption": {
1520
+ "text": "{colors.neutral.600}"
1521
+ },
1522
+ "footer": {
1523
+ "bg": "{colors.neutral.50}",
1524
+ "text": "{colors.neutral.900}"
1249
1525
  }
1250
1526
  },
1251
1527
  "alert": {
@@ -1316,6 +1592,28 @@ var coreTokens = {
1316
1592
  "text": "{colors.white}"
1317
1593
  }
1318
1594
  },
1595
+ "tone": {
1596
+ "brand": {
1597
+ "active": {
1598
+ "bg": "{colors.brand.600}",
1599
+ "text": "{colors.white}"
1600
+ },
1601
+ "done": {
1602
+ "bg": "{colors.success.700}",
1603
+ "text": "{colors.white}"
1604
+ }
1605
+ },
1606
+ "accent": {
1607
+ "active": {
1608
+ "bg": "{colors.accent.600}",
1609
+ "text": "{colors.white}"
1610
+ },
1611
+ "done": {
1612
+ "bg": "{colors.accent.800}",
1613
+ "text": "{colors.white}"
1614
+ }
1615
+ }
1616
+ },
1319
1617
  "connector": "{colors.neutral.200}",
1320
1618
  "label": {
1321
1619
  "text": "{colors.neutral.700}"
@@ -1442,7 +1740,31 @@ var coreTokens = {
1442
1740
  "bg": "{colors.warning.100}",
1443
1741
  "text": "{colors.warning.900}"
1444
1742
  },
1445
- "hr": "{colors.neutral.200}"
1743
+ "hr": "{colors.neutral.200}",
1744
+ "kbd": {
1745
+ "bg": "{colors.neutral.100}",
1746
+ "border": "{colors.neutral.300}",
1747
+ "text": "{colors.neutral.900}"
1748
+ },
1749
+ "del": {
1750
+ "bg": "{colors.error.100}",
1751
+ "text": "{colors.error.800}"
1752
+ },
1753
+ "ins": {
1754
+ "bg": "{colors.success.100}",
1755
+ "text": "{colors.success.800}"
1756
+ },
1757
+ "marker": "{colors.neutral.600}",
1758
+ "markerAccent": "{colors.accent.600}",
1759
+ "figcaption": {
1760
+ "text": "{colors.neutral.600}"
1761
+ },
1762
+ "dt": {
1763
+ "text": "{colors.neutral.900}"
1764
+ },
1765
+ "dd": {
1766
+ "text": "{colors.neutral.700}"
1767
+ }
1446
1768
  },
1447
1769
  "externalAuthButton": {
1448
1770
  "bg": "{colors.white}",
@@ -1479,7 +1801,16 @@ var coreTokens = {
1479
1801
  "placeholderText": "{colors.neutral.500}",
1480
1802
  "disabledBg": "{colors.neutral.50}",
1481
1803
  "disabledBorder": "{colors.neutral.200}",
1482
- "focusBorder": "{colors.info.500}"
1804
+ "focusBorder": "{colors.info.500}",
1805
+ "option": {
1806
+ "hoverBg": "{colors.neutral.100}",
1807
+ "selectedBg": "{colors.info.50}",
1808
+ "selectedText": "{colors.info.800}",
1809
+ "disabledText": "{colors.neutral.400}"
1810
+ },
1811
+ "optgroup": {
1812
+ "labelText": "{colors.neutral.600}"
1813
+ }
1483
1814
  },
1484
1815
  "textarea": {
1485
1816
  "bg": "{colors.white}",
@@ -1498,6 +1829,100 @@ var coreTokens = {
1498
1829
  "text": "{colors.neutral.900}",
1499
1830
  "disabledText": "{colors.neutral.400}",
1500
1831
  "requiredIndicatorText": "{colors.error.600}"
1832
+ },
1833
+ "skeleton": {
1834
+ "base": "{colors.neutral.200}",
1835
+ "shimmer": "{colors.neutral.100}"
1836
+ },
1837
+ "selection": {
1838
+ "bg": "{colors.brand.100}",
1839
+ "text": "{colors.neutral.900}"
1840
+ },
1841
+ "caret": {
1842
+ "color": "{colors.brand.600}"
1843
+ },
1844
+ "scrollbar": {
1845
+ "track": "{colors.neutral.100}",
1846
+ "thumb": "{colors.neutral.400}",
1847
+ "thumbHover": "{colors.neutral.500}"
1848
+ },
1849
+ "chart": {
1850
+ "bg": "{colors.white}",
1851
+ "grid": "{colors.neutral.200}",
1852
+ "axis": "{colors.neutral.500}",
1853
+ "label": "{colors.neutral.600}",
1854
+ "series": {
1855
+ "1": "{colors.brand.600}",
1856
+ "2": "{colors.palette.amber.600}",
1857
+ "3": "{colors.palette.violet.800}",
1858
+ "4": "{colors.palette.cyan.600}",
1859
+ "5": "{colors.palette.pink.600}",
1860
+ "6": "{colors.palette.emerald.800}",
1861
+ "7": "{colors.palette.lime.700}",
1862
+ "8": "{colors.palette.orange.800}"
1863
+ },
1864
+ "sequential": {
1865
+ "1": "{colors.brand.100}",
1866
+ "2": "{colors.brand.200}",
1867
+ "3": "{colors.brand.300}",
1868
+ "4": "{colors.brand.400}",
1869
+ "5": "{colors.brand.600}",
1870
+ "6": "{colors.brand.800}",
1871
+ "7": "{colors.brand.900}"
1872
+ },
1873
+ "diverging": {
1874
+ "1": "{colors.palette.red.700}",
1875
+ "2": "{colors.palette.red.400}",
1876
+ "3": "{colors.palette.red.200}",
1877
+ "4": "{colors.neutral.200}",
1878
+ "5": "{colors.palette.blue.200}",
1879
+ "6": "{colors.palette.blue.400}",
1880
+ "7": "{colors.palette.blue.700}"
1881
+ }
1882
+ },
1883
+ "quote": {
1884
+ "text": "{colors.neutral.700}",
1885
+ "attributionName": "{colors.neutral.900}",
1886
+ "attributionRole": "{colors.neutral.600}",
1887
+ "mark": "{colors.accent.600}",
1888
+ "border": "{colors.neutral.300}",
1889
+ "accent": {
1890
+ "neutral": "{colors.neutral.600}",
1891
+ "brand": "{colors.brand.600}",
1892
+ "info": "{colors.info.600}",
1893
+ "success": "{colors.success.600}",
1894
+ "warning": "{colors.warning.600}",
1895
+ "danger": "{colors.error.600}",
1896
+ "cta": "{colors.brand.600}",
1897
+ "accent": "{colors.accent.600}"
1898
+ }
1899
+ },
1900
+ "meter": {
1901
+ "track": "{colors.neutral.200}",
1902
+ "fill": {
1903
+ "optimum": "{colors.success.700}",
1904
+ "suboptimum": "{colors.warning.700}",
1905
+ "critical": "{colors.error.600}"
1906
+ }
1907
+ },
1908
+ "code": {
1909
+ "syntax": {
1910
+ "keyword": "{colors.accent.700}",
1911
+ "string": "{colors.success.800}",
1912
+ "number": "{colors.warning.800}",
1913
+ "comment": "{colors.neutral.600}",
1914
+ "function": "{colors.brand.700}",
1915
+ "variable": "{colors.error.700}",
1916
+ "type": "{colors.info.700}",
1917
+ "operator": "{colors.neutral.700}",
1918
+ "punctuation": "{colors.neutral.600}",
1919
+ "tag": "{colors.palette.pink.700}",
1920
+ "attribute": "{colors.palette.teal.800}"
1921
+ }
1922
+ },
1923
+ "proofing": {
1924
+ "spelling": "{colors.error.600}",
1925
+ "grammar": "{colors.info.600}"
1501
1926
  }
1502
1927
  }
1503
1928
  },
@@ -1520,14 +1945,16 @@ var coreTokens = {
1520
1945
  "muted": "{colors.neutral.300}",
1521
1946
  "subtle": "{colors.neutral.400}",
1522
1947
  "meta": "{colors.neutral.400}",
1523
- "brand": "{colors.brand.400}"
1948
+ "brand": "{colors.brand.400}",
1949
+ "accent": "{colors.accent.400}"
1524
1950
  },
1525
1951
  "onSurface": {
1526
1952
  "default": "{colors.neutral.100}",
1527
1953
  "muted": "{colors.neutral.300}",
1528
1954
  "subtle": "{colors.neutral.400}",
1529
1955
  "meta": "{colors.neutral.400}",
1530
- "brand": "{colors.brand.400}"
1956
+ "brand": "{colors.brand.400}",
1957
+ "accent": "{colors.accent.400}"
1531
1958
  }
1532
1959
  },
1533
1960
  "forms": {
@@ -1548,7 +1975,8 @@ var coreTokens = {
1548
1975
  "success": "{colors.success.400}",
1549
1976
  "warning": "{colors.warning.400}",
1550
1977
  "danger": "{colors.error.400}",
1551
- "cta": "{colors.brand.400}"
1978
+ "cta": "{colors.brand.400}",
1979
+ "accent": "{colors.accent.400}"
1552
1980
  }
1553
1981
  },
1554
1982
  "choiceCard": {
@@ -1596,7 +2024,8 @@ var coreTokens = {
1596
2024
  "success": "{colors.success.400}",
1597
2025
  "warning": "{colors.warning.400}",
1598
2026
  "danger": "{colors.error.400}",
1599
- "cta": "{colors.brand.400}"
2027
+ "cta": "{colors.brand.400}",
2028
+ "accent": "{colors.accent.400}"
1600
2029
  }
1601
2030
  },
1602
2031
  "iconBox": {
@@ -1622,7 +2051,8 @@ var coreTokens = {
1622
2051
  "success": "{colors.success.400}",
1623
2052
  "warning": "{colors.warning.400}",
1624
2053
  "danger": "{colors.error.400}",
1625
- "cta": "{colors.brand.400}"
2054
+ "cta": "{colors.brand.400}",
2055
+ "accent": "{colors.accent.400}"
1626
2056
  }
1627
2057
  },
1628
2058
  "pricingCard": {
@@ -1642,7 +2072,8 @@ var coreTokens = {
1642
2072
  "success": "{colors.success.400}",
1643
2073
  "warning": "{colors.warning.400}",
1644
2074
  "danger": "{colors.error.400}",
1645
- "cta": "{colors.brand.400}"
2075
+ "cta": "{colors.brand.400}",
2076
+ "accent": "{colors.accent.400}"
1646
2077
  }
1647
2078
  },
1648
2079
  "rating": {
@@ -1664,7 +2095,8 @@ var coreTokens = {
1664
2095
  "success": "{colors.success.400}",
1665
2096
  "warning": "{colors.warning.400}",
1666
2097
  "danger": "{colors.error.400}",
1667
- "cta": "{colors.brand.400}"
2098
+ "cta": "{colors.brand.400}",
2099
+ "accent": "{colors.accent.400}"
1668
2100
  }
1669
2101
  },
1670
2102
  "footer": {
@@ -1684,7 +2116,29 @@ var coreTokens = {
1684
2116
  "success": "{colors.success.400}",
1685
2117
  "warning": "{colors.warning.400}",
1686
2118
  "danger": "{colors.error.400}",
1687
- "cta": "{colors.brand.400}"
2119
+ "cta": "{colors.brand.400}",
2120
+ "accent": "{colors.accent.400}"
2121
+ },
2122
+ "light": {
2123
+ "bg": "{colors.neutral.200}",
2124
+ "text": "{colors.neutral.800}",
2125
+ "heading": "{colors.neutral.900}",
2126
+ "muted": "{colors.neutral.600}",
2127
+ "link": "{colors.neutral.700}",
2128
+ "linkHover": "{colors.brand.700}",
2129
+ "border": "{colors.neutral.300}",
2130
+ "divider": "{colors.neutral.300}",
2131
+ "chipBg": "{colors.neutral.300}",
2132
+ "accent": {
2133
+ "neutral": "{colors.neutral.600}",
2134
+ "brand": "{colors.brand.600}",
2135
+ "info": "{colors.info.600}",
2136
+ "success": "{colors.success.600}",
2137
+ "warning": "{colors.warning.600}",
2138
+ "danger": "{colors.error.600}",
2139
+ "cta": "{colors.brand.600}",
2140
+ "accent": "{colors.accent.600}"
2141
+ }
1688
2142
  }
1689
2143
  },
1690
2144
  "modal": {
@@ -1699,7 +2153,8 @@ var coreTokens = {
1699
2153
  "success": "{colors.success.400}",
1700
2154
  "warning": "{colors.warning.400}",
1701
2155
  "danger": "{colors.error.400}",
1702
- "cta": "{colors.brand.400}"
2156
+ "cta": "{colors.brand.400}",
2157
+ "accent": "{colors.accent.400}"
1703
2158
  }
1704
2159
  },
1705
2160
  "toast": {
@@ -1740,7 +2195,8 @@ var coreTokens = {
1740
2195
  "success": "{colors.success.400}",
1741
2196
  "warning": "{colors.warning.400}",
1742
2197
  "danger": "{colors.error.400}",
1743
- "cta": "{colors.brand.400}"
2198
+ "cta": "{colors.brand.400}",
2199
+ "accent": "{colors.accent.400}"
1744
2200
  }
1745
2201
  },
1746
2202
  "tooltip": {
@@ -1754,7 +2210,8 @@ var coreTokens = {
1754
2210
  "success": "{colors.success.400}",
1755
2211
  "warning": "{colors.warning.400}",
1756
2212
  "danger": "{colors.error.400}",
1757
- "cta": "{colors.brand.400}"
2213
+ "cta": "{colors.brand.400}",
2214
+ "accent": "{colors.accent.400}"
1758
2215
  }
1759
2216
  },
1760
2217
  "dropdown": {
@@ -1776,7 +2233,8 @@ var coreTokens = {
1776
2233
  "success": "{colors.success.400}",
1777
2234
  "warning": "{colors.warning.400}",
1778
2235
  "danger": "{colors.error.400}",
1779
- "cta": "{colors.brand.400}"
2236
+ "cta": "{colors.brand.400}",
2237
+ "accent": "{colors.accent.400}"
1780
2238
  },
1781
2239
  "header": "{colors.neutral.500}",
1782
2240
  "divider": "{colors.neutral.700}"
@@ -1865,6 +2323,7 @@ var coreTokens = {
1865
2323
  "warning": "{colors.warning.400}",
1866
2324
  "danger": "{colors.error.400}",
1867
2325
  "cta": "{colors.brand.400}",
2326
+ "accent": "{colors.accent.400}",
1868
2327
  "thickness": "0.25rem"
1869
2328
  }
1870
2329
  },
@@ -1919,6 +2378,13 @@ var coreTokens = {
1919
2378
  "bg": "{colors.error.900}",
1920
2379
  "text": "{colors.error.200}"
1921
2380
  }
2381
+ },
2382
+ "caption": {
2383
+ "text": "{colors.neutral.300}"
2384
+ },
2385
+ "footer": {
2386
+ "bg": "{colors.neutral.800}",
2387
+ "text": "{colors.neutral.100}"
1922
2388
  }
1923
2389
  },
1924
2390
  "alert": {
@@ -1989,6 +2455,28 @@ var coreTokens = {
1989
2455
  "text": "{colors.white}"
1990
2456
  }
1991
2457
  },
2458
+ "tone": {
2459
+ "brand": {
2460
+ "active": {
2461
+ "bg": "{colors.brand.600}",
2462
+ "text": "{colors.white}"
2463
+ },
2464
+ "done": {
2465
+ "bg": "{colors.success.700}",
2466
+ "text": "{colors.white}"
2467
+ }
2468
+ },
2469
+ "accent": {
2470
+ "active": {
2471
+ "bg": "{colors.accent.600}",
2472
+ "text": "{colors.white}"
2473
+ },
2474
+ "done": {
2475
+ "bg": "{colors.accent.800}",
2476
+ "text": "{colors.white}"
2477
+ }
2478
+ }
2479
+ },
1992
2480
  "connector": "{colors.neutral.700}",
1993
2481
  "label": {
1994
2482
  "text": "{colors.neutral.300}"
@@ -2115,7 +2603,31 @@ var coreTokens = {
2115
2603
  "bg": "{colors.warning.900}",
2116
2604
  "text": "{colors.warning.200}"
2117
2605
  },
2118
- "hr": "{colors.neutral.700}"
2606
+ "hr": "{colors.neutral.700}",
2607
+ "kbd": {
2608
+ "bg": "{colors.neutral.800}",
2609
+ "border": "{colors.neutral.600}",
2610
+ "text": "{colors.neutral.50}"
2611
+ },
2612
+ "del": {
2613
+ "bg": "{colors.error.900}",
2614
+ "text": "{colors.error.200}"
2615
+ },
2616
+ "ins": {
2617
+ "bg": "{colors.success.900}",
2618
+ "text": "{colors.success.200}"
2619
+ },
2620
+ "marker": "{colors.neutral.400}",
2621
+ "markerAccent": "{colors.accent.400}",
2622
+ "figcaption": {
2623
+ "text": "{colors.neutral.300}"
2624
+ },
2625
+ "dt": {
2626
+ "text": "{colors.neutral.50}"
2627
+ },
2628
+ "dd": {
2629
+ "text": "{colors.neutral.300}"
2630
+ }
2119
2631
  },
2120
2632
  "externalAuthButton": {
2121
2633
  "bg": "{colors.neutral.800}",
@@ -2152,7 +2664,16 @@ var coreTokens = {
2152
2664
  "placeholderText": "{colors.neutral.400}",
2153
2665
  "disabledBg": "{colors.neutral.900}",
2154
2666
  "disabledBorder": "{colors.neutral.700}",
2155
- "focusBorder": "{colors.info.400}"
2667
+ "focusBorder": "{colors.info.400}",
2668
+ "option": {
2669
+ "hoverBg": "{colors.neutral.700}",
2670
+ "selectedBg": "{colors.info.900}",
2671
+ "selectedText": "{colors.info.100}",
2672
+ "disabledText": "{colors.neutral.500}"
2673
+ },
2674
+ "optgroup": {
2675
+ "labelText": "{colors.neutral.300}"
2676
+ }
2156
2677
  },
2157
2678
  "textarea": {
2158
2679
  "bg": "{colors.neutral.800}",
@@ -2171,34 +2692,1148 @@ var coreTokens = {
2171
2692
  "text": "{colors.neutral.50}",
2172
2693
  "disabledText": "{colors.neutral.600}",
2173
2694
  "requiredIndicatorText": "{colors.error.400}"
2695
+ },
2696
+ "skeleton": {
2697
+ "base": "{colors.neutral.700}",
2698
+ "shimmer": "{colors.neutral.600}"
2699
+ },
2700
+ "selection": {
2701
+ "bg": "{colors.brand.800}",
2702
+ "text": "{colors.white}"
2703
+ },
2704
+ "caret": {
2705
+ "color": "{colors.brand.400}"
2706
+ },
2707
+ "scrollbar": {
2708
+ "track": "{colors.neutral.900}",
2709
+ "thumb": "{colors.neutral.600}",
2710
+ "thumbHover": "{colors.neutral.500}"
2711
+ },
2712
+ "chart": {
2713
+ "bg": "{colors.neutral.800}",
2714
+ "grid": "{colors.neutral.700}",
2715
+ "axis": "{colors.neutral.400}",
2716
+ "label": "{colors.neutral.300}",
2717
+ "series": {
2718
+ "1": "{colors.brand.400}",
2719
+ "2": "{colors.palette.amber.300}",
2720
+ "3": "{colors.palette.violet.400}",
2721
+ "4": "{colors.palette.cyan.300}",
2722
+ "5": "{colors.palette.pink.300}",
2723
+ "6": "{colors.palette.teal.400}",
2724
+ "7": "{colors.palette.lime.300}",
2725
+ "8": "{colors.palette.orange.400}"
2726
+ },
2727
+ "sequential": {
2728
+ "1": "{colors.brand.900}",
2729
+ "2": "{colors.brand.800}",
2730
+ "3": "{colors.brand.700}",
2731
+ "4": "{colors.brand.500}",
2732
+ "5": "{colors.brand.400}",
2733
+ "6": "{colors.brand.300}",
2734
+ "7": "{colors.brand.100}"
2735
+ },
2736
+ "diverging": {
2737
+ "1": "{colors.palette.red.300}",
2738
+ "2": "{colors.palette.red.500}",
2739
+ "3": "{colors.palette.red.800}",
2740
+ "4": "{colors.neutral.600}",
2741
+ "5": "{colors.palette.blue.800}",
2742
+ "6": "{colors.palette.blue.500}",
2743
+ "7": "{colors.palette.blue.300}"
2744
+ }
2745
+ },
2746
+ "quote": {
2747
+ "text": "{colors.neutral.200}",
2748
+ "attributionName": "{colors.neutral.100}",
2749
+ "attributionRole": "{colors.neutral.300}",
2750
+ "mark": "{colors.accent.400}",
2751
+ "border": "{colors.neutral.600}",
2752
+ "accent": {
2753
+ "neutral": "{colors.neutral.400}",
2754
+ "brand": "{colors.brand.400}",
2755
+ "info": "{colors.info.400}",
2756
+ "success": "{colors.success.400}",
2757
+ "warning": "{colors.warning.400}",
2758
+ "danger": "{colors.error.400}",
2759
+ "cta": "{colors.brand.400}",
2760
+ "accent": "{colors.accent.400}"
2761
+ }
2762
+ },
2763
+ "meter": {
2764
+ "track": "{colors.neutral.700}",
2765
+ "fill": {
2766
+ "optimum": "{colors.success.400}",
2767
+ "suboptimum": "{colors.warning.400}",
2768
+ "critical": "{colors.error.400}"
2769
+ }
2770
+ },
2771
+ "code": {
2772
+ "syntax": {
2773
+ "keyword": "{colors.accent.300}",
2774
+ "string": "{colors.success.300}",
2775
+ "number": "{colors.warning.300}",
2776
+ "comment": "{colors.neutral.400}",
2777
+ "function": "{colors.brand.300}",
2778
+ "variable": "{colors.error.300}",
2779
+ "type": "{colors.info.300}",
2780
+ "operator": "{colors.neutral.200}",
2781
+ "punctuation": "{colors.neutral.300}",
2782
+ "tag": "{colors.palette.pink.300}",
2783
+ "attribute": "{colors.palette.teal.300}"
2784
+ }
2785
+ },
2786
+ "proofing": {
2787
+ "spelling": "{colors.error.400}",
2788
+ "grammar": "{colors.info.400}"
2174
2789
  }
2175
2790
  }
2176
- }
2177
- },
2178
- "colors": {
2179
- "brand": {
2180
- "50": "#eef4ff",
2181
- "100": "#d9e7ff",
2182
- "200": "#b9d2ff",
2183
- "300": "#8ab6ff",
2184
- "400": "#5a92ff",
2185
- "500": "#336df4",
2186
- "600": "#1f57db",
2187
- "700": "#1946b4",
2188
- "800": "#173b8f",
2189
- "900": "#16336f"
2190
- },
2191
- "neutral": {
2192
- "50": "#f7f8fb",
2193
- "100": "#eef1f6",
2194
- "200": "#d9dfeb",
2195
- "300": "#b7c1d4",
2196
- "400": "#8a96ad",
2197
- "500": "#657287",
2198
- "600": "#4b576a",
2199
- "700": "#374253",
2200
- "800": "#222b38",
2201
- "900": "#141b24"
2791
+ },
2792
+ "highContrast": {
2793
+ "surface": {
2794
+ "page": "{colors.white}",
2795
+ "card": "{colors.white}",
2796
+ "input": "{colors.white}",
2797
+ "overlay": "{colors.black} / 0.6",
2798
+ "subtle": "{colors.neutral.50}",
2799
+ "hero": "linear-gradient(135deg, {colors.indigo.500} 0%, {colors.violet.600} 100%)",
2800
+ "hover": "{colors.neutral.100}",
2801
+ "selected": "{colors.info.50}",
2802
+ "active": "{colors.neutral.200}",
2803
+ "divider": "{colors.neutral.700}"
2804
+ },
2805
+ "text": {
2806
+ "onPage": {
2807
+ "default": "{colors.neutral.900}",
2808
+ "muted": "{colors.neutral.600}",
2809
+ "subtle": "{colors.neutral.600}",
2810
+ "meta": "{colors.neutral.600}",
2811
+ "brand": "{colors.brand.700}",
2812
+ "accent": "{colors.accent.700}"
2813
+ },
2814
+ "onSurface": {
2815
+ "default": "{colors.neutral.900}",
2816
+ "muted": "{colors.neutral.600}",
2817
+ "subtle": "{colors.neutral.600}",
2818
+ "meta": "{colors.neutral.600}",
2819
+ "brand": "{colors.brand.700}",
2820
+ "accent": "{colors.accent.700}"
2821
+ }
2822
+ },
2823
+ "forms": {
2824
+ "default": {
2825
+ "bg": "{colors.white}",
2826
+ "text": "{colors.neutral.900}",
2827
+ "placeholder": "{colors.neutral.600}"
2828
+ },
2829
+ "valid": {
2830
+ "border": "{colors.success.700}",
2831
+ "bg": "{colors.success.50}",
2832
+ "text": "{colors.success.900}"
2833
+ },
2834
+ "invalid": {
2835
+ "border": "{colors.error.700}",
2836
+ "bg": "{colors.error.50}",
2837
+ "text": "{colors.error.800}"
2838
+ }
2839
+ },
2840
+ "component": {
2841
+ "card": {
2842
+ "text": "{colors.neutral.900}",
2843
+ "textMuted": "{colors.neutral.600}",
2844
+ "accent": {
2845
+ "neutral": "{colors.neutral.600}",
2846
+ "brand": "{colors.brand.600}",
2847
+ "info": "{colors.info.600}",
2848
+ "success": "{colors.success.600}",
2849
+ "warning": "{colors.warning.600}",
2850
+ "danger": "{colors.error.600}",
2851
+ "cta": "{colors.brand.600}",
2852
+ "accent": "{colors.accent.600}"
2853
+ }
2854
+ },
2855
+ "choiceCard": {
2856
+ "bg": "{colors.white}",
2857
+ "text": "{colors.neutral.900}",
2858
+ "border": "{colors.neutral.700}",
2859
+ "hoverBorder": "{colors.neutral.700}",
2860
+ "selectedBg": "{colors.info.50}",
2861
+ "selectedBorder": "{colors.brand.600}",
2862
+ "disabledBg": "{colors.neutral.50}",
2863
+ "disabledText": "{colors.neutral.400}",
2864
+ "focusRing": "{buttons.primary.focusRing}"
2865
+ },
2866
+ "input": {
2867
+ "text": "{colors.neutral.900}",
2868
+ "placeholder": "{colors.neutral.600}"
2869
+ },
2870
+ "button": {
2871
+ "textDefault": "{colors.neutral.900}",
2872
+ "textOnPrimary": "{colors.white}"
2873
+ },
2874
+ "badge": {
2875
+ "neutralBg": "{colors.neutral.100}",
2876
+ "neutralBgHover": "{colors.neutral.200}",
2877
+ "neutralText": "{colors.neutral.700}",
2878
+ "brandBg": "{colors.brand.100}",
2879
+ "brandBgHover": "{colors.brand.200}",
2880
+ "brandText": "{colors.brand.900}",
2881
+ "infoBg": "{colors.info.100}",
2882
+ "infoBgHover": "{colors.info.200}",
2883
+ "infoText": "{colors.info.800}",
2884
+ "successBg": "{colors.success.100}",
2885
+ "successText": "{colors.success.900}",
2886
+ "warningBg": "{colors.warning.100}",
2887
+ "warningText": "{colors.warning.900}",
2888
+ "dangerBg": "{colors.error.100}",
2889
+ "dangerText": "{colors.error.900}",
2890
+ "accent": {
2891
+ "neutral": "{colors.neutral.600}",
2892
+ "brand": "{colors.brand.600}",
2893
+ "info": "{colors.info.600}",
2894
+ "success": "{colors.success.600}",
2895
+ "warning": "{colors.warning.600}",
2896
+ "danger": "{colors.error.600}",
2897
+ "cta": "{colors.brand.600}",
2898
+ "accent": "{colors.accent.600}"
2899
+ }
2900
+ },
2901
+ "iconBox": {
2902
+ "bg": "{colors.white}",
2903
+ "border": "{colors.neutral.700}",
2904
+ "iconDefault": "{colors.info.700}",
2905
+ "iconSuccess": "{colors.success.600}",
2906
+ "iconWarning": "{colors.warning.600}",
2907
+ "iconDanger": "{colors.error.800}"
2908
+ },
2909
+ "testimonial": {
2910
+ "bg": "{colors.white}",
2911
+ "bgHover": "{colors.neutral.50}",
2912
+ "border": "{colors.neutral.700}",
2913
+ "text": "{colors.neutral.700}",
2914
+ "authorName": "{colors.neutral.900}",
2915
+ "authorTitle": "{colors.neutral.700}",
2916
+ "quoteMark": "{colors.neutral.700}",
2917
+ "accent": {
2918
+ "neutral": "{colors.neutral.600}",
2919
+ "brand": "{colors.brand.600}",
2920
+ "info": "{colors.info.600}",
2921
+ "success": "{colors.success.600}",
2922
+ "warning": "{colors.warning.600}",
2923
+ "danger": "{colors.error.600}",
2924
+ "cta": "{colors.brand.600}",
2925
+ "accent": "{colors.accent.600}"
2926
+ }
2927
+ },
2928
+ "pricingCard": {
2929
+ "bg": "{colors.white}",
2930
+ "bgHover": "{colors.neutral.50}",
2931
+ "border": "{colors.neutral.700}",
2932
+ "featuredBg": "{colors.info.700}",
2933
+ "featuredText": "{colors.white}",
2934
+ "featuredBadgeBg": "{colors.warning.500}",
2935
+ "featuredBadgeText": "{colors.neutral.900}",
2936
+ "price": "{colors.neutral.900}",
2937
+ "priceDescription": "{colors.neutral.700}",
2938
+ "accent": {
2939
+ "neutral": "{colors.neutral.600}",
2940
+ "brand": "{colors.brand.600}",
2941
+ "info": "{colors.info.600}",
2942
+ "success": "{colors.success.600}",
2943
+ "warning": "{colors.warning.600}",
2944
+ "danger": "{colors.error.600}",
2945
+ "cta": "{colors.brand.600}",
2946
+ "accent": "{colors.accent.600}"
2947
+ }
2948
+ },
2949
+ "rating": {
2950
+ "starFilled": "{colors.warning.500}",
2951
+ "starEmpty": "{colors.neutral.200}",
2952
+ "text": "{colors.neutral.600}"
2953
+ },
2954
+ "nav": {
2955
+ "bg": "{colors.white}",
2956
+ "text": "{colors.neutral.900}",
2957
+ "link": "{colors.neutral.700}",
2958
+ "linkHover": "{colors.brand.600}",
2959
+ "linkActive": "{colors.brand.700}",
2960
+ "border": "{colors.neutral.700}",
2961
+ "accent": {
2962
+ "neutral": "{colors.neutral.600}",
2963
+ "brand": "{colors.brand.600}",
2964
+ "info": "{colors.info.600}",
2965
+ "success": "{colors.success.600}",
2966
+ "warning": "{colors.warning.600}",
2967
+ "danger": "{colors.error.600}",
2968
+ "cta": "{colors.brand.600}",
2969
+ "accent": "{colors.accent.600}"
2970
+ }
2971
+ },
2972
+ "footer": {
2973
+ "bg": "{colors.neutral.900}",
2974
+ "text": "{colors.neutral.50}",
2975
+ "heading": "{colors.white}",
2976
+ "muted": "{colors.neutral.300}",
2977
+ "link": "{colors.neutral.300}",
2978
+ "linkHover": "{colors.brand.300}",
2979
+ "border": "{colors.neutral.700}",
2980
+ "divider": "{colors.neutral.800}",
2981
+ "chipBg": "{colors.neutral.800}",
2982
+ "accent": {
2983
+ "neutral": "{colors.neutral.600}",
2984
+ "brand": "{colors.brand.600}",
2985
+ "info": "{colors.info.600}",
2986
+ "success": "{colors.success.600}",
2987
+ "warning": "{colors.warning.600}",
2988
+ "danger": "{colors.error.600}",
2989
+ "cta": "{colors.brand.600}",
2990
+ "accent": "{colors.accent.600}"
2991
+ },
2992
+ "light": {
2993
+ "bg": "{colors.neutral.100}",
2994
+ "text": "{colors.neutral.700}",
2995
+ "heading": "{colors.neutral.900}",
2996
+ "muted": "{colors.neutral.700}",
2997
+ "link": "{colors.neutral.700}",
2998
+ "linkHover": "{colors.brand.700}",
2999
+ "border": "{colors.neutral.700}",
3000
+ "divider": "{colors.neutral.700}",
3001
+ "chipBg": "{colors.neutral.200}",
3002
+ "accent": {
3003
+ "neutral": "{colors.neutral.600}",
3004
+ "brand": "{colors.brand.600}",
3005
+ "info": "{colors.info.600}",
3006
+ "success": "{colors.success.600}",
3007
+ "warning": "{colors.warning.600}",
3008
+ "danger": "{colors.error.600}",
3009
+ "cta": "{colors.brand.600}",
3010
+ "accent": "{colors.accent.600}"
3011
+ }
3012
+ }
3013
+ },
3014
+ "modal": {
3015
+ "bg": "{colors.white}",
3016
+ "shadow": "0 20px 48px -12px {colors.black} / 0.20",
3017
+ "border": "{colors.neutral.700}",
3018
+ "overlay": "{colors.black} / 0.6",
3019
+ "accent": {
3020
+ "neutral": "{colors.neutral.600}",
3021
+ "brand": "{colors.brand.600}",
3022
+ "info": "{colors.info.600}",
3023
+ "success": "{colors.success.600}",
3024
+ "warning": "{colors.warning.600}",
3025
+ "danger": "{colors.error.600}",
3026
+ "cta": "{colors.brand.600}",
3027
+ "accent": "{colors.accent.600}"
3028
+ }
3029
+ },
3030
+ "toast": {
3031
+ "neutral": {
3032
+ "bg": "{colors.neutral.50}",
3033
+ "text": "{colors.neutral.800}",
3034
+ "border": "{colors.neutral.700}",
3035
+ "icon": "{colors.neutral.600}"
3036
+ },
3037
+ "success": {
3038
+ "bg": "{colors.success.50}",
3039
+ "text": "{colors.success.900}",
3040
+ "border": "{colors.success.600}",
3041
+ "icon": "{colors.success.600}"
3042
+ },
3043
+ "warning": {
3044
+ "bg": "{colors.warning.50}",
3045
+ "text": "{colors.warning.900}",
3046
+ "border": "{colors.warning.600}",
3047
+ "icon": "{colors.warning.600}"
3048
+ },
3049
+ "danger": {
3050
+ "bg": "{colors.error.50}",
3051
+ "text": "{colors.error.800}",
3052
+ "border": "{colors.error.600}",
3053
+ "icon": "{colors.error.600}"
3054
+ },
3055
+ "info": {
3056
+ "bg": "{colors.info.50}",
3057
+ "text": "{colors.info.800}",
3058
+ "border": "{colors.info.600}",
3059
+ "icon": "{colors.info.600}"
3060
+ },
3061
+ "accent": {
3062
+ "neutral": "{colors.neutral.600}",
3063
+ "brand": "{colors.brand.600}",
3064
+ "info": "{colors.info.600}",
3065
+ "success": "{colors.success.600}",
3066
+ "warning": "{colors.warning.600}",
3067
+ "danger": "{colors.error.600}",
3068
+ "cta": "{colors.brand.600}",
3069
+ "accent": "{colors.accent.600}"
3070
+ }
3071
+ },
3072
+ "tooltip": {
3073
+ "bg": "{colors.neutral.900}",
3074
+ "text": "{colors.white}",
3075
+ "border": "{colors.neutral.700}",
3076
+ "accent": {
3077
+ "neutral": "{colors.neutral.600}",
3078
+ "brand": "{colors.brand.600}",
3079
+ "info": "{colors.info.600}",
3080
+ "success": "{colors.success.600}",
3081
+ "warning": "{colors.warning.600}",
3082
+ "danger": "{colors.error.600}",
3083
+ "cta": "{colors.brand.600}",
3084
+ "accent": "{colors.accent.600}"
3085
+ }
3086
+ },
3087
+ "dropdown": {
3088
+ "bg": "{colors.white}",
3089
+ "border": "{colors.neutral.700}",
3090
+ "item": {
3091
+ "default": "transparent",
3092
+ "hover": "{colors.neutral.100}",
3093
+ "active": "{colors.info.50}",
3094
+ "text": "{colors.neutral.900}",
3095
+ "disabledText": "{colors.neutral.400}",
3096
+ "selectedBg": "{colors.info.100}",
3097
+ "selectedText": "{colors.info.800}"
3098
+ },
3099
+ "accent": {
3100
+ "neutral": "{colors.neutral.600}",
3101
+ "brand": "{colors.brand.600}",
3102
+ "info": "{colors.info.600}",
3103
+ "success": "{colors.success.600}",
3104
+ "warning": "{colors.warning.600}",
3105
+ "danger": "{colors.error.600}",
3106
+ "cta": "{colors.brand.600}",
3107
+ "accent": "{colors.accent.600}"
3108
+ },
3109
+ "header": "{colors.neutral.500}",
3110
+ "divider": "{colors.neutral.700}"
3111
+ },
3112
+ "tabs": {
3113
+ "list": {
3114
+ "bg": "{colors.white}",
3115
+ "border": "{colors.neutral.700}"
3116
+ },
3117
+ "item": {
3118
+ "text": "{colors.neutral.600}",
3119
+ "hover": {
3120
+ "bg": "{colors.neutral.100}"
3121
+ },
3122
+ "active": {
3123
+ "text": "{colors.neutral.900}",
3124
+ "indicator": "{colors.brand.600}"
3125
+ },
3126
+ "focus": {
3127
+ "ringColor": "{buttons.primary.focusRing}"
3128
+ },
3129
+ "disabled": {
3130
+ "text": "{colors.neutral.400}"
3131
+ }
3132
+ },
3133
+ "pill": {
3134
+ "active": {
3135
+ "bg": "{colors.brand.700}",
3136
+ "text": "{colors.white}"
3137
+ }
3138
+ },
3139
+ "panel": {
3140
+ "bg": "{colors.white}"
3141
+ }
3142
+ },
3143
+ "accordion": {
3144
+ "bg": "{colors.white}",
3145
+ "text": "{colors.neutral.900}",
3146
+ "border": "{colors.neutral.700}",
3147
+ "header": {
3148
+ "hoverBg": "{colors.neutral.50}"
3149
+ },
3150
+ "icon": {
3151
+ "collapsed": "{colors.neutral.500}",
3152
+ "expanded": "{colors.neutral.900}"
3153
+ }
3154
+ },
3155
+ "breadcrumb": {
3156
+ "item": {
3157
+ "text": "{colors.neutral.600}",
3158
+ "hover": {
3159
+ "text": "{colors.brand.600}"
3160
+ },
3161
+ "active": {
3162
+ "text": "{colors.neutral.900}"
3163
+ }
3164
+ },
3165
+ "separator": "{colors.neutral.400}"
3166
+ },
3167
+ "listGroup": {
3168
+ "bg": "{colors.white}",
3169
+ "border": "{colors.neutral.700}",
3170
+ "text": "{colors.neutral.700}",
3171
+ "heading": "{colors.neutral.900}",
3172
+ "muted": "{colors.neutral.500}",
3173
+ "item": {
3174
+ "hover": {
3175
+ "bg": "{colors.neutral.50}"
3176
+ },
3177
+ "active": {
3178
+ "bg": "{colors.brand.700}",
3179
+ "text": "{colors.white}"
3180
+ },
3181
+ "selected": {
3182
+ "bg": "{colors.info.50}"
3183
+ },
3184
+ "disabled": {
3185
+ "text": "{colors.neutral.400}"
3186
+ }
3187
+ },
3188
+ "accent": {
3189
+ "neutral": "{colors.neutral.600}",
3190
+ "brand": "{colors.brand.600}",
3191
+ "info": "{colors.info.600}",
3192
+ "success": "{colors.success.600}",
3193
+ "warning": "{colors.warning.600}",
3194
+ "danger": "{colors.error.600}",
3195
+ "cta": "{colors.brand.600}",
3196
+ "accent": "{colors.accent.600}",
3197
+ "thickness": "0.25rem"
3198
+ }
3199
+ },
3200
+ "offcanvas": {
3201
+ "bg": "{colors.white}",
3202
+ "text": "{colors.neutral.900}",
3203
+ "border": "{colors.neutral.700}",
3204
+ "overlay": "{colors.black} / 0.6"
3205
+ },
3206
+ "carousel": {
3207
+ "indicator": {
3208
+ "default": "{colors.white} / 0.5",
3209
+ "active": "{colors.white}"
3210
+ },
3211
+ "control": {
3212
+ "icon": "{colors.white}",
3213
+ "bg": "{colors.black} / 0.3"
3214
+ },
3215
+ "caption": {
3216
+ "bg": "{colors.black} / 0.4",
3217
+ "text": "{colors.white}"
3218
+ }
3219
+ },
3220
+ "table": {
3221
+ "header": {
3222
+ "bg": "{colors.neutral.50}",
3223
+ "text": "{colors.neutral.700}"
3224
+ },
3225
+ "text": "{colors.neutral.900}",
3226
+ "divider": "{colors.neutral.700}",
3227
+ "stripeBg": "{colors.neutral.50}",
3228
+ "hoverBg": "{colors.neutral.100}",
3229
+ "selectedBg": "{colors.info.50}",
3230
+ "row": {
3231
+ "neutral": {
3232
+ "bg": "{colors.neutral.100}",
3233
+ "text": "{colors.neutral.700}"
3234
+ },
3235
+ "info": {
3236
+ "bg": "{colors.info.100}",
3237
+ "text": "{colors.info.800}"
3238
+ },
3239
+ "success": {
3240
+ "bg": "{colors.success.100}",
3241
+ "text": "{colors.success.900}"
3242
+ },
3243
+ "warning": {
3244
+ "bg": "{colors.warning.100}",
3245
+ "text": "{colors.warning.900}"
3246
+ },
3247
+ "danger": {
3248
+ "bg": "{colors.error.100}",
3249
+ "text": "{colors.error.900}"
3250
+ }
3251
+ },
3252
+ "caption": {
3253
+ "text": "{colors.neutral.700}"
3254
+ },
3255
+ "footer": {
3256
+ "bg": "{colors.neutral.50}",
3257
+ "text": "{colors.neutral.900}"
3258
+ }
3259
+ },
3260
+ "alert": {
3261
+ "neutral": {
3262
+ "bg": "{colors.neutral.100}",
3263
+ "text": "{colors.neutral.700}",
3264
+ "border": "{colors.neutral.700}",
3265
+ "icon": "{colors.neutral.600}"
3266
+ },
3267
+ "brand": {
3268
+ "bg": "{colors.brand.50}",
3269
+ "text": "{colors.brand.700}",
3270
+ "border": "{colors.brand.600}",
3271
+ "icon": "{colors.brand.600}"
3272
+ },
3273
+ "info": {
3274
+ "bg": "{colors.info.50}",
3275
+ "text": "{colors.info.700}",
3276
+ "border": "{colors.info.600}",
3277
+ "icon": "{colors.info.600}"
3278
+ },
3279
+ "success": {
3280
+ "bg": "{colors.success.50}",
3281
+ "text": "{colors.success.900}",
3282
+ "border": "{colors.success.600}",
3283
+ "icon": "{colors.success.600}"
3284
+ },
3285
+ "warning": {
3286
+ "bg": "{colors.warning.50}",
3287
+ "text": "{colors.warning.900}",
3288
+ "border": "{colors.warning.600}",
3289
+ "icon": "{colors.warning.600}"
3290
+ },
3291
+ "danger": {
3292
+ "bg": "{colors.error.50}",
3293
+ "text": "{colors.error.800}",
3294
+ "border": "{colors.error.600}",
3295
+ "icon": "{colors.error.600}"
3296
+ }
3297
+ },
3298
+ "pagination": {
3299
+ "item": {
3300
+ "text": "{colors.neutral.700}",
3301
+ "hover": {
3302
+ "bg": "{colors.neutral.100}"
3303
+ },
3304
+ "active": {
3305
+ "bg": "{colors.brand.700}",
3306
+ "text": "{colors.white}"
3307
+ },
3308
+ "disabled": {
3309
+ "text": "{colors.neutral.400}"
3310
+ }
3311
+ }
3312
+ },
3313
+ "stepper": {
3314
+ "step": {
3315
+ "pending": {
3316
+ "bg": "{colors.neutral.200}",
3317
+ "text": "{colors.neutral.700}"
3318
+ },
3319
+ "active": {
3320
+ "bg": "{colors.brand.700}",
3321
+ "text": "{colors.white}"
3322
+ },
3323
+ "done": {
3324
+ "bg": "{colors.success.800}",
3325
+ "text": "{colors.white}"
3326
+ }
3327
+ },
3328
+ "tone": {
3329
+ "brand": {
3330
+ "active": {
3331
+ "bg": "{colors.brand.700}",
3332
+ "text": "{colors.white}"
3333
+ },
3334
+ "done": {
3335
+ "bg": "{colors.success.800}",
3336
+ "text": "{colors.white}"
3337
+ }
3338
+ },
3339
+ "accent": {
3340
+ "active": {
3341
+ "bg": "{colors.accent.700}",
3342
+ "text": "{colors.white}"
3343
+ },
3344
+ "done": {
3345
+ "bg": "{colors.accent.900}",
3346
+ "text": "{colors.white}"
3347
+ }
3348
+ }
3349
+ },
3350
+ "connector": "{colors.neutral.200}",
3351
+ "label": {
3352
+ "text": "{colors.neutral.700}"
3353
+ }
3354
+ },
3355
+ "popover": {
3356
+ "bg": "{colors.white}",
3357
+ "text": "{colors.neutral.900}",
3358
+ "muted": "{colors.neutral.600}",
3359
+ "border": "{colors.neutral.700}",
3360
+ "shadow": "0 12px 32px -8px {colors.black} / 0.18",
3361
+ "arrow": "{colors.white}"
3362
+ },
3363
+ "progress": {
3364
+ "track": {
3365
+ "bg": "{colors.neutral.200}"
3366
+ },
3367
+ "indicator": {
3368
+ "neutral": "{colors.neutral.600}",
3369
+ "brand": "{colors.brand.600}",
3370
+ "info": "{colors.info.600}",
3371
+ "success": "{colors.success.600}",
3372
+ "warning": "{colors.warning.600}",
3373
+ "danger": "{colors.error.600}"
3374
+ },
3375
+ "label": {
3376
+ "text": "{colors.neutral.700}"
3377
+ }
3378
+ },
3379
+ "loadingIndicator": {
3380
+ "default": "{colors.neutral.600}",
3381
+ "muted": "{colors.neutral.400}",
3382
+ "inverse": "{colors.white}",
3383
+ "brand": "{colors.brand.600}",
3384
+ "info": "{colors.info.600}",
3385
+ "success": "{colors.success.600}",
3386
+ "warning": "{colors.warning.600}",
3387
+ "danger": "{colors.error.600}"
3388
+ },
3389
+ "switch": {
3390
+ "trackBg": "{colors.neutral.300}",
3391
+ "trackCheckedBg": "{colors.info.600}",
3392
+ "thumbBg": "{colors.white}",
3393
+ "trackDisabledBg": "{colors.neutral.100}",
3394
+ "thumbDisabledBg": "{colors.neutral.200}",
3395
+ "focusRing": "{buttons.primary.focusRing}"
3396
+ },
3397
+ "range": {
3398
+ "trackBg": "{colors.neutral.200}",
3399
+ "trackFilledBg": "{colors.info.600}",
3400
+ "thumbBg": "{colors.white}",
3401
+ "thumbBorder": "{colors.info.600}",
3402
+ "trackDisabledBg": "{colors.neutral.100}",
3403
+ "thumbDisabledBorder": "{colors.neutral.700}",
3404
+ "focusRing": "{buttons.primary.focusRing}"
3405
+ },
3406
+ "fileInput": {
3407
+ "bg": "{colors.white}",
3408
+ "border": "{colors.neutral.700}",
3409
+ "text": "{colors.neutral.900}",
3410
+ "actionBg": "{colors.neutral.100}",
3411
+ "actionText": "{colors.neutral.700}",
3412
+ "disabledBg": "{colors.neutral.50}",
3413
+ "disabledBorder": "{colors.neutral.700}",
3414
+ "disabledText": "{colors.neutral.400}",
3415
+ "focusBorder": "{colors.info.600}"
3416
+ },
3417
+ "inputGroup": {
3418
+ "addonBg": "{colors.neutral.100}",
3419
+ "addonText": "{colors.neutral.700}",
3420
+ "addonBorder": "{colors.neutral.700}",
3421
+ "focusBorder": "{colors.info.600}",
3422
+ "disabledBg": "{colors.neutral.50}",
3423
+ "disabledText": "{colors.neutral.400}"
3424
+ },
3425
+ "datepicker": {
3426
+ "panel": {
3427
+ "bg": "{colors.white}",
3428
+ "border": "{colors.neutral.700}"
3429
+ },
3430
+ "header": {
3431
+ "text": "{colors.neutral.900}"
3432
+ },
3433
+ "weekday": {
3434
+ "text": "{colors.neutral.400}"
3435
+ }
3436
+ },
3437
+ "day": {
3438
+ "default": {
3439
+ "text": "{colors.neutral.900}",
3440
+ "hover": {
3441
+ "bg": "{colors.neutral.100}"
3442
+ }
3443
+ },
3444
+ "selected": {
3445
+ "bg": "{colors.brand.700}",
3446
+ "text": "{colors.white}"
3447
+ },
3448
+ "today": {
3449
+ "ringColor": "{buttons.primary.focusRing}"
3450
+ },
3451
+ "outsideMonth": {
3452
+ "text": "{colors.neutral.300}"
3453
+ },
3454
+ "disabled": {
3455
+ "text": "{colors.neutral.400}"
3456
+ }
3457
+ },
3458
+ "prose": {
3459
+ "blockquote": {
3460
+ "border": "{colors.neutral.600}",
3461
+ "text": "{colors.neutral.600}"
3462
+ },
3463
+ "code": {
3464
+ "bg": "{colors.neutral.100}",
3465
+ "text": "{colors.neutral.900}"
3466
+ },
3467
+ "codeBlock": {
3468
+ "bg": "{colors.neutral.100}",
3469
+ "text": "{colors.neutral.900}",
3470
+ "border": "{colors.neutral.700}"
3471
+ },
3472
+ "mark": {
3473
+ "bg": "{colors.warning.100}",
3474
+ "text": "{colors.warning.900}"
3475
+ },
3476
+ "hr": "{colors.neutral.700}",
3477
+ "kbd": {
3478
+ "bg": "{colors.neutral.100}",
3479
+ "border": "{colors.neutral.700}",
3480
+ "text": "{colors.neutral.900}"
3481
+ },
3482
+ "del": {
3483
+ "bg": "{colors.error.100}",
3484
+ "text": "{colors.error.900}"
3485
+ },
3486
+ "ins": {
3487
+ "bg": "{colors.success.100}",
3488
+ "text": "{colors.success.900}"
3489
+ },
3490
+ "marker": "{colors.neutral.700}",
3491
+ "markerAccent": "{colors.accent.700}",
3492
+ "figcaption": {
3493
+ "text": "{colors.neutral.700}"
3494
+ },
3495
+ "dt": {
3496
+ "text": "{colors.neutral.900}"
3497
+ },
3498
+ "dd": {
3499
+ "text": "{colors.neutral.700}"
3500
+ }
3501
+ },
3502
+ "externalAuthButton": {
3503
+ "bg": "{colors.white}",
3504
+ "text": "{colors.neutral.900}",
3505
+ "border": "{colors.neutral.700}",
3506
+ "hoverBg": "{colors.neutral.50}",
3507
+ "activeBg": "{colors.neutral.100}",
3508
+ "disabledBg": "{colors.neutral.50}",
3509
+ "disabledText": "{colors.neutral.400}",
3510
+ "focusRing": "{buttons.primary.focusRing}"
3511
+ },
3512
+ "checkbox": {
3513
+ "bg": "{colors.white}",
3514
+ "border": "{colors.neutral.700}",
3515
+ "checkedBg": "{colors.info.700}",
3516
+ "checkedBorder": "{colors.info.600}",
3517
+ "text": "{colors.white}",
3518
+ "disabledBg": "{colors.neutral.50}",
3519
+ "disabledBorder": "{colors.neutral.700}"
3520
+ },
3521
+ "radio": {
3522
+ "bg": "{colors.white}",
3523
+ "border": "{colors.neutral.700}",
3524
+ "checkedBg": "{colors.info.700}",
3525
+ "checkedBorder": "{colors.info.600}",
3526
+ "text": "{colors.white}",
3527
+ "disabledBg": "{colors.neutral.50}",
3528
+ "disabledBorder": "{colors.neutral.700}"
3529
+ },
3530
+ "select": {
3531
+ "bg": "{colors.white}",
3532
+ "border": "{colors.neutral.700}",
3533
+ "text": "{colors.neutral.900}",
3534
+ "placeholderText": "{colors.neutral.600}",
3535
+ "disabledBg": "{colors.neutral.50}",
3536
+ "disabledBorder": "{colors.neutral.700}",
3537
+ "focusBorder": "{colors.info.600}",
3538
+ "option": {
3539
+ "hoverBg": "{colors.neutral.100}",
3540
+ "selectedBg": "{colors.info.50}",
3541
+ "selectedText": "{colors.info.900}",
3542
+ "disabledText": "{colors.neutral.500}"
3543
+ },
3544
+ "optgroup": {
3545
+ "labelText": "{colors.neutral.700}"
3546
+ }
3547
+ },
3548
+ "textarea": {
3549
+ "bg": "{colors.white}",
3550
+ "border": "{colors.neutral.700}",
3551
+ "text": "{colors.neutral.900}",
3552
+ "placeholder": "{colors.neutral.600}",
3553
+ "disabledBg": "{colors.neutral.50}",
3554
+ "disabledBorder": "{colors.neutral.700}",
3555
+ "focusBorder": "{colors.info.600}"
3556
+ },
3557
+ "fieldset": {
3558
+ "border": "{colors.neutral.700}",
3559
+ "legendText": "{colors.neutral.900}"
3560
+ },
3561
+ "label": {
3562
+ "text": "{colors.neutral.900}",
3563
+ "disabledText": "{colors.neutral.400}",
3564
+ "requiredIndicatorText": "{colors.error.600}"
3565
+ },
3566
+ "skeleton": {
3567
+ "base": "{colors.neutral.200}",
3568
+ "shimmer": "{colors.neutral.100}"
3569
+ },
3570
+ "selection": {
3571
+ "bg": "{colors.brand.100}",
3572
+ "text": "{colors.neutral.900}"
3573
+ },
3574
+ "caret": {
3575
+ "color": "{colors.brand.600}"
3576
+ },
3577
+ "scrollbar": {
3578
+ "track": "{colors.neutral.700}",
3579
+ "thumb": "{colors.neutral.400}",
3580
+ "thumbHover": "{colors.neutral.500}"
3581
+ },
3582
+ "chart": {
3583
+ "bg": "{colors.white}",
3584
+ "grid": "{colors.neutral.200}",
3585
+ "axis": "{colors.neutral.500}",
3586
+ "label": "{colors.neutral.600}",
3587
+ "series": {
3588
+ "1": "{colors.brand.600}",
3589
+ "2": "{colors.palette.amber.600}",
3590
+ "3": "{colors.palette.violet.800}",
3591
+ "4": "{colors.palette.cyan.600}",
3592
+ "5": "{colors.palette.pink.600}",
3593
+ "6": "{colors.palette.emerald.800}",
3594
+ "7": "{colors.palette.lime.700}",
3595
+ "8": "{colors.palette.orange.800}"
3596
+ },
3597
+ "sequential": {
3598
+ "1": "{colors.brand.100}",
3599
+ "2": "{colors.brand.200}",
3600
+ "3": "{colors.brand.300}",
3601
+ "4": "{colors.brand.400}",
3602
+ "5": "{colors.brand.600}",
3603
+ "6": "{colors.brand.800}",
3604
+ "7": "{colors.brand.900}"
3605
+ },
3606
+ "diverging": {
3607
+ "1": "{colors.palette.red.700}",
3608
+ "2": "{colors.palette.red.400}",
3609
+ "3": "{colors.palette.red.200}",
3610
+ "4": "{colors.neutral.200}",
3611
+ "5": "{colors.palette.blue.200}",
3612
+ "6": "{colors.palette.blue.400}",
3613
+ "7": "{colors.palette.blue.700}"
3614
+ }
3615
+ },
3616
+ "quote": {
3617
+ "text": "{colors.neutral.900}",
3618
+ "attributionName": "{colors.neutral.900}",
3619
+ "attributionRole": "{colors.neutral.700}",
3620
+ "mark": "{colors.accent.700}",
3621
+ "border": "{colors.neutral.700}",
3622
+ "accent": {
3623
+ "neutral": "{colors.neutral.600}",
3624
+ "brand": "{colors.brand.600}",
3625
+ "info": "{colors.info.600}",
3626
+ "success": "{colors.success.600}",
3627
+ "warning": "{colors.warning.600}",
3628
+ "danger": "{colors.error.600}",
3629
+ "cta": "{colors.brand.600}",
3630
+ "accent": "{colors.accent.600}"
3631
+ }
3632
+ },
3633
+ "meter": {
3634
+ "track": "{colors.neutral.200}",
3635
+ "fill": {
3636
+ "optimum": "{colors.success.800}",
3637
+ "suboptimum": "{colors.warning.800}",
3638
+ "critical": "{colors.error.700}"
3639
+ }
3640
+ },
3641
+ "code": {
3642
+ "syntax": {
3643
+ "keyword": "{colors.accent.800}",
3644
+ "string": "{colors.success.900}",
3645
+ "number": "{colors.warning.900}",
3646
+ "comment": "{colors.neutral.700}",
3647
+ "function": "{colors.brand.800}",
3648
+ "variable": "{colors.error.800}",
3649
+ "type": "{colors.info.800}",
3650
+ "operator": "{colors.neutral.800}",
3651
+ "punctuation": "{colors.neutral.700}",
3652
+ "tag": "{colors.palette.pink.900}",
3653
+ "attribute": "{colors.palette.teal.900}"
3654
+ }
3655
+ },
3656
+ "proofing": {
3657
+ "spelling": "{colors.error.700}",
3658
+ "grammar": "{colors.info.700}"
3659
+ }
3660
+ },
3661
+ "buttons": {
3662
+ "primary": {
3663
+ "bg": "{colors.info.700}",
3664
+ "bgHover": "{colors.info.800}",
3665
+ "bgActive": "{colors.info.900}",
3666
+ "bgDisabled": "{colors.neutral.200}",
3667
+ "text": "{colors.white}",
3668
+ "textDisabled": "{colors.neutral.400}",
3669
+ "focusRing": "{colors.info.500} / 0.4",
3670
+ "focusVisible": "{colors.info.500} / 0.4"
3671
+ },
3672
+ "secondary": {
3673
+ "bg": "{colors.white}",
3674
+ "bgHover": "{colors.neutral.50}",
3675
+ "bgActive": "{colors.neutral.100}",
3676
+ "bgDisabled": "{colors.neutral.50}",
3677
+ "text": "{colors.info.800}",
3678
+ "textDisabled": "{colors.neutral.400}",
3679
+ "border": "{colors.info.800}",
3680
+ "borderDisabled": "{colors.neutral.200}",
3681
+ "focusRing": "{colors.info.500} / 0.4",
3682
+ "focusVisible": "{colors.info.500} / 0.4"
3683
+ },
3684
+ "ghost": {
3685
+ "bg": "transparent",
3686
+ "bgHover": "{colors.info.50}",
3687
+ "bgActive": "{colors.info.100}",
3688
+ "bgDisabled": "transparent",
3689
+ "text": "{colors.info.800}",
3690
+ "textDisabled": "{colors.neutral.400}",
3691
+ "focusRing": "{colors.info.500} / 0.4",
3692
+ "focusVisible": "{colors.info.500} / 0.4"
3693
+ },
3694
+ "danger": {
3695
+ "bg": "{colors.error.800}",
3696
+ "bgHover": "{colors.error.900}",
3697
+ "bgActive": "{colors.error.900}",
3698
+ "bgDisabled": "{colors.error.200}",
3699
+ "text": "{colors.white}",
3700
+ "textDisabled": "{colors.neutral.400}",
3701
+ "focusRing": "{colors.error.500} / 0.4",
3702
+ "focusVisible": "{colors.error.500} / 0.4"
3703
+ },
3704
+ "success": {
3705
+ "bg": "{colors.success.800}",
3706
+ "bgHover": "{colors.success.900}",
3707
+ "bgActive": "{colors.success.900}",
3708
+ "bgDisabled": "{colors.success.200}",
3709
+ "text": "{colors.white}",
3710
+ "textDisabled": "{colors.neutral.400}",
3711
+ "focusRing": "{colors.success.500} / 0.4",
3712
+ "focusVisible": "{colors.success.500} / 0.4"
3713
+ },
3714
+ "warning": {
3715
+ "bg": "{colors.warning.900}",
3716
+ "bgHover": "{colors.palette.amber.950}",
3717
+ "bgActive": "{colors.palette.amber.950}",
3718
+ "bgDisabled": "{colors.warning.200}",
3719
+ "text": "{colors.white}",
3720
+ "textDisabled": "{colors.neutral.400}",
3721
+ "focusRing": "{colors.warning.500} / 0.4",
3722
+ "focusVisible": "{colors.warning.500} / 0.4"
3723
+ },
3724
+ "link": {
3725
+ "bg": "transparent",
3726
+ "bgHover": "transparent",
3727
+ "bgActive": "transparent",
3728
+ "bgDisabled": "transparent",
3729
+ "text": "{colors.info.700}",
3730
+ "textHover": "{colors.info.800}",
3731
+ "textActive": "{colors.info.900}",
3732
+ "textDisabled": "{colors.neutral.400}",
3733
+ "focusRing": "{colors.info.500} / 0.4",
3734
+ "focusVisible": "{colors.info.500} / 0.4"
3735
+ },
3736
+ "light": {
3737
+ "bg": "{colors.neutral.100}",
3738
+ "bgHover": "{colors.neutral.200}",
3739
+ "bgActive": "{colors.neutral.300}",
3740
+ "bgDisabled": "{colors.neutral.50}",
3741
+ "text": "{colors.neutral.900}",
3742
+ "textDisabled": "{colors.neutral.400}",
3743
+ "focusRing": "{colors.neutral.400} / 0.4",
3744
+ "focusVisible": "{colors.neutral.400} / 0.4"
3745
+ },
3746
+ "dark": {
3747
+ "bg": "{colors.neutral.900}",
3748
+ "bgHover": "{colors.neutral.800}",
3749
+ "bgActive": "{colors.neutral.700}",
3750
+ "bgDisabled": "{colors.neutral.200}",
3751
+ "text": "{colors.white}",
3752
+ "textDisabled": "{colors.neutral.400}",
3753
+ "focusRing": "{colors.neutral.500} / 0.4",
3754
+ "focusVisible": "{colors.neutral.500} / 0.4"
3755
+ },
3756
+ "cta": {
3757
+ "bg": "{colors.brand.700}",
3758
+ "bgHover": "{colors.brand.800}",
3759
+ "bgActive": "{colors.brand.900}",
3760
+ "bgDisabled": "{colors.brand.200}",
3761
+ "text": "{colors.white}",
3762
+ "textDisabled": "{colors.neutral.400}",
3763
+ "shadow": "0 4px 14px 0 {colors.brand.500} / 0.39",
3764
+ "focusRing": "{colors.brand.500} / 0.4"
3765
+ },
3766
+ "accent": {
3767
+ "bg": "{colors.accent.700}",
3768
+ "bgHover": "{colors.accent.800}",
3769
+ "bgActive": "{colors.accent.900}",
3770
+ "bgDisabled": "{colors.accent.200}",
3771
+ "text": "{colors.white}",
3772
+ "textDisabled": "{colors.neutral.400}",
3773
+ "focusRing": "{colors.accent.500} / 0.4",
3774
+ "focusVisible": "{colors.accent.500} / 0.4"
3775
+ },
3776
+ "accentOutline": {
3777
+ "bg": "{colors.white}",
3778
+ "bgHover": "{colors.accent.50}",
3779
+ "bgActive": "{colors.accent.100}",
3780
+ "bgDisabled": "{colors.neutral.50}",
3781
+ "text": "{colors.accent.800}",
3782
+ "textDisabled": "{colors.neutral.400}",
3783
+ "border": "{colors.accent.800}",
3784
+ "borderDisabled": "{colors.neutral.200}",
3785
+ "focusRing": "{colors.accent.500} / 0.4",
3786
+ "focusVisible": "{colors.accent.500} / 0.4"
3787
+ },
3788
+ "inverse": {
3789
+ "bg": "{colors.white} / 0.12",
3790
+ "bgHover": "{colors.white} / 0.2",
3791
+ "bgActive": "{colors.white} / 0.28",
3792
+ "bgDisabled": "{colors.white} / 0.08",
3793
+ "text": "{colors.white}",
3794
+ "textDisabled": "{colors.neutral.400}",
3795
+ "border": "{colors.white} / 0.3",
3796
+ "borderDisabled": "{colors.white} / 0.16",
3797
+ "focusRing": "{colors.info.500} / 0.4",
3798
+ "focusVisible": "{colors.info.500} / 0.4"
3799
+ }
3800
+ },
3801
+ "link": {
3802
+ "default": "{colors.brand.700}",
3803
+ "hover": "{colors.brand.800}",
3804
+ "active": "{colors.brand.900}",
3805
+ "visited": "{colors.accent.700}",
3806
+ "onInverse": "{colors.neutral.300}",
3807
+ "onInverseHover": "{colors.brand.300}",
3808
+ "underline": "{colors.brand.700}",
3809
+ "underlineHover": "{colors.brand.800}"
3810
+ }
3811
+ }
3812
+ },
3813
+ "colors": {
3814
+ "brand": {
3815
+ "50": "#eef4ff",
3816
+ "100": "#d9e7ff",
3817
+ "200": "#b9d2ff",
3818
+ "300": "#8ab6ff",
3819
+ "400": "#5a92ff",
3820
+ "500": "#336df4",
3821
+ "600": "#1f57db",
3822
+ "700": "#1946b4",
3823
+ "800": "#173b8f",
3824
+ "900": "#16336f"
3825
+ },
3826
+ "neutral": {
3827
+ "50": "#f7f8fb",
3828
+ "100": "#eef1f6",
3829
+ "200": "#d9dfeb",
3830
+ "300": "#b7c1d4",
3831
+ "400": "#8a96ad",
3832
+ "500": "#657287",
3833
+ "600": "#4b576a",
3834
+ "700": "#374253",
3835
+ "800": "#222b38",
3836
+ "900": "#141b24"
2202
3837
  },
2203
3838
  "accent": {
2204
3839
  "50": "#f6f2ff",
@@ -2728,6 +4363,9 @@ var coreTokens = {
2728
4363
  "72": "4.5rem",
2729
4364
  "80": "5rem",
2730
4365
  "96": "6rem",
4366
+ "128": "8rem",
4367
+ "160": "10rem",
4368
+ "192": "12rem",
2731
4369
  "240": "15rem"
2732
4370
  },
2733
4371
  "radii": {
@@ -2940,6 +4578,34 @@ var coreTokens = {
2940
4578
  "wider": "0.05em",
2941
4579
  "widest": "0.1em"
2942
4580
  },
4581
+ "leading": {
4582
+ "none": "1",
4583
+ "tight": "1.25",
4584
+ "snug": "1.375",
4585
+ "normal": "1.5",
4586
+ "relaxed": "1.625",
4587
+ "loose": "2"
4588
+ },
4589
+ "textDecoration": {
4590
+ "thickness": {
4591
+ "thin": "1px",
4592
+ "base": "2px",
4593
+ "thick": "3px"
4594
+ },
4595
+ "offset": {
4596
+ "sm": "0.125em",
4597
+ "md": "0.2em",
4598
+ "lg": "0.3em"
4599
+ }
4600
+ },
4601
+ "fontWeight": {
4602
+ "normal": 400,
4603
+ "medium": 500,
4604
+ "semibold": 600,
4605
+ "bold": 700,
4606
+ "extrabold": 800,
4607
+ "black": 900
4608
+ },
2943
4609
  "surface": {
2944
4610
  "page": "{colors.neutral.50}",
2945
4611
  "card": "{colors.white}",
@@ -2957,7 +4623,9 @@ var coreTokens = {
2957
4623
  "active": "{colors.brand.800}",
2958
4624
  "visited": "{colors.accent.700}",
2959
4625
  "onInverse": "{colors.neutral.300}",
2960
- "onInverseHover": "{colors.brand.300}"
4626
+ "onInverseHover": "{colors.brand.300}",
4627
+ "underline": "{colors.brand.600} / 0.4",
4628
+ "underlineHover": "{colors.brand.700}"
2961
4629
  },
2962
4630
  "text": {
2963
4631
  "onPage": {
@@ -2965,18 +4633,22 @@ var coreTokens = {
2965
4633
  "muted": "{colors.neutral.600}",
2966
4634
  "subtle": "{colors.neutral.500}",
2967
4635
  "meta": "{colors.neutral.500}",
2968
- "brand": "{colors.brand.600}"
4636
+ "brand": "{colors.brand.600}",
4637
+ "accent": "{colors.accent.600}"
2969
4638
  },
2970
4639
  "onSurface": {
2971
4640
  "default": "{colors.neutral.900}",
2972
4641
  "muted": "{colors.neutral.600}",
2973
4642
  "subtle": "{colors.neutral.500}",
2974
4643
  "meta": "{colors.neutral.500}",
2975
- "brand": "{colors.brand.600}"
4644
+ "brand": "{colors.brand.600}",
4645
+ "accent": "{colors.accent.600}"
2976
4646
  },
2977
4647
  "onInverse": {
2978
4648
  "default": "{colors.neutral.50}",
2979
- "muted": "{colors.neutral.300}"
4649
+ "muted": "{colors.neutral.300}",
4650
+ "brand": "{colors.brand.300}",
4651
+ "accent": "{colors.accent.300}"
2980
4652
  }
2981
4653
  },
2982
4654
  "layout": {
@@ -2984,33 +4656,129 @@ var coreTokens = {
2984
4656
  "padding": {
2985
4657
  "sm": "1.5rem",
2986
4658
  "md": "2rem",
2987
- "lg": "3rem"
4659
+ "lg": "3rem",
4660
+ "xl": "4rem",
4661
+ "2xl": "5rem",
4662
+ "3xl": "6rem",
4663
+ "4xl": "8rem"
2988
4664
  },
2989
4665
  "gap": {
2990
4666
  "sm": "1rem",
2991
4667
  "md": "1.5rem",
2992
- "lg": "2rem"
4668
+ "lg": "2rem",
4669
+ "xl": "2.5rem",
4670
+ "2xl": "3rem",
4671
+ "3xl": "4rem",
4672
+ "4xl": "5rem"
2993
4673
  }
2994
4674
  },
2995
4675
  "stack": {
2996
4676
  "gap": {
2997
4677
  "sm": "0.5rem",
2998
- "md": "0.75rem",
2999
- "lg": "1rem"
4678
+ "md": "1rem",
4679
+ "lg": "1.5rem",
4680
+ "xl": "2.5rem",
4681
+ "2xl": "3rem",
4682
+ "3xl": "4rem",
4683
+ "4xl": "5rem"
3000
4684
  }
3001
4685
  },
3002
4686
  "container": {
3003
4687
  "paddingInline": {
3004
4688
  "sm": "1rem",
3005
4689
  "md": "1.5rem",
3006
- "lg": "2rem"
4690
+ "lg": "2rem",
4691
+ "xl": "2.5rem",
4692
+ "2xl": "3rem",
4693
+ "3xl": "4rem",
4694
+ "4xl": "5rem"
3007
4695
  },
3008
4696
  "maxWidth": "72rem",
3009
4697
  "maxWidthProse": "65ch",
3010
4698
  "maxWidthWide": "80rem"
3011
4699
  },
4700
+ "hero": {
4701
+ "paddingTop": {
4702
+ "sm": "{layout.section.padding.2xl}",
4703
+ "md": "{layout.section.padding.3xl}",
4704
+ "lg": "{layout.section.padding.4xl}"
4705
+ },
4706
+ "paddingBottom": {
4707
+ "sm": "{layout.section.padding.xl}",
4708
+ "md": "{layout.section.padding.2xl}",
4709
+ "lg": "{layout.section.padding.3xl}"
4710
+ }
4711
+ },
3012
4712
  "sidebar": {
3013
4713
  "width": "16rem"
4714
+ },
4715
+ "prose": {
4716
+ "flow": {
4717
+ "listItem": "0.5rem",
4718
+ "headingAfter": "1rem",
4719
+ "paragraph": "1.5rem",
4720
+ "list": "1.5rem",
4721
+ "blockquote": "2rem",
4722
+ "figure": "2rem",
4723
+ "heading": "2.5rem",
4724
+ "hr": "3rem"
4725
+ }
4726
+ },
4727
+ "responsive": {
4728
+ "lg": {
4729
+ "section": {
4730
+ "padding": {
4731
+ "xl": "6rem",
4732
+ "2xl": "8rem",
4733
+ "3xl": "10rem",
4734
+ "4xl": "12rem"
4735
+ },
4736
+ "gap": {
4737
+ "xl": "3rem",
4738
+ "2xl": "4rem",
4739
+ "3xl": "6rem",
4740
+ "4xl": "8rem"
4741
+ }
4742
+ },
4743
+ "stack": {
4744
+ "gap": {
4745
+ "xl": "3rem",
4746
+ "2xl": "4rem",
4747
+ "3xl": "6rem",
4748
+ "4xl": "8rem"
4749
+ }
4750
+ },
4751
+ "container": {
4752
+ "paddingInline": {
4753
+ "xl": "3rem",
4754
+ "2xl": "4rem",
4755
+ "3xl": "6rem",
4756
+ "4xl": "8rem"
4757
+ }
4758
+ }
4759
+ }
4760
+ }
4761
+ },
4762
+ "elevation": {
4763
+ "flat": {
4764
+ "shadow": "{shadows.none}",
4765
+ "surface": "{surface.page}",
4766
+ "zIndex": "{zIndex.base}"
4767
+ },
4768
+ "raised": {
4769
+ "shadow": "{shadows.md}",
4770
+ "surface": "{surface.card}",
4771
+ "zIndex": "{zIndex.base}"
4772
+ },
4773
+ "overlay": {
4774
+ "shadow": "{shadows.lg}",
4775
+ "surface": "{surface.card}",
4776
+ "zIndex": "{zIndex.dropdown}"
4777
+ },
4778
+ "modal": {
4779
+ "shadow": "{shadows.2xl}",
4780
+ "surface": "{surface.card}",
4781
+ "zIndex": "{zIndex.modal}"
3014
4782
  }
3015
4783
  },
3016
4784
  "font": {
@@ -3258,6 +5026,23 @@ var toVariableName = (prefix, ...parts) => {
3258
5026
  return `--${prefix}-${filtered.join("-")}`;
3259
5027
  };
3260
5028
  var isPlainObject = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
5029
+ var kebabCase = (segment) => formatKey(segment.replace(/([a-z0-9])([A-Z])/g, "$1-$2"));
5030
+ var LAYOUT_SCALES = [
5031
+ { path: ["section", "padding"], varParts: ["section", "padding"] },
5032
+ { path: ["section", "gap"], varParts: ["section", "gap"] },
5033
+ { path: ["stack", "gap"], varParts: ["stack", "gap"] },
5034
+ { path: ["container", "paddingInline"], varParts: ["container", "padding-inline"] },
5035
+ { path: ["prose", "flow"], varParts: ["prose", "flow"] }
5036
+ ];
5037
+ var layoutScale = (node, [group, scale]) => {
5038
+ const groupNode = isPlainObject(node) ? node[group] : void 0;
5039
+ const scaleNode = isPlainObject(groupNode) ? groupNode[scale] : void 0;
5040
+ return isPlainObject(scaleNode) ? scaleNode : {};
5041
+ };
5042
+ var layoutResponsive = (layout) => {
5043
+ const responsive = isPlainObject(layout) ? layout.responsive : void 0;
5044
+ return isPlainObject(responsive) ? responsive : {};
5045
+ };
3261
5046
  var resolveTokenReference = (tokens2, reference) => {
3262
5047
  const path = reference.slice(1, -1).split(".");
3263
5048
  let current = tokens2;
@@ -3351,26 +5136,30 @@ var createCssVariableMap = (tokens2, options = {}) => {
3351
5136
  }
3352
5137
  if (baseTokens.layout) {
3353
5138
  const layout = baseTokens.layout;
3354
- if (layout.section?.padding) {
3355
- Object.entries(layout.section.padding).forEach(([key, value]) => {
3356
- assign(toVariableName(prefix, "layout", "section", "padding", key), value);
3357
- });
3358
- }
3359
- if (layout.section?.gap) {
3360
- Object.entries(layout.section.gap).forEach(([key, value]) => {
3361
- assign(toVariableName(prefix, "layout", "section", "gap", key), value);
5139
+ LAYOUT_SCALES.forEach(({ path, varParts }) => {
5140
+ Object.entries(layoutScale(layout, path)).forEach(([key, value]) => {
5141
+ assign(toVariableName(prefix, "layout", ...varParts, kebabCase(key)), value);
3362
5142
  });
3363
- }
3364
- if (layout.stack?.gap) {
3365
- Object.entries(layout.stack.gap).forEach(([key, value]) => {
3366
- assign(toVariableName(prefix, "layout", "stack", "gap", key), value);
5143
+ });
5144
+ const hero = layout.hero;
5145
+ if (hero) {
5146
+ Object.entries(hero).forEach(([edge, steps]) => {
5147
+ Object.entries(steps).forEach(([key, value]) => {
5148
+ const step = value.match(/^\{layout\.section\.padding\.([^}]+)\}$/)?.[1];
5149
+ assign(
5150
+ toVariableName(prefix, "layout", "hero", kebabCase(edge), key),
5151
+ step ? `var(${toVariableName(prefix, "layout", "section", "padding", step)})` : value
5152
+ );
5153
+ });
3367
5154
  });
3368
5155
  }
3369
- if (layout.container?.paddingInline) {
3370
- Object.entries(layout.container.paddingInline).forEach(([key, value]) => {
3371
- assign(toVariableName(prefix, "layout", "container", "padding-inline", key), value);
5156
+ Object.entries(layoutResponsive(layout)).forEach(([breakpoint, scales]) => {
5157
+ LAYOUT_SCALES.forEach(({ path, varParts }) => {
5158
+ Object.entries(layoutScale(scales, path)).forEach(([key, value]) => {
5159
+ assign(toVariableName(prefix, "layout", "responsive", breakpoint, ...varParts, kebabCase(key)), value);
5160
+ });
3372
5161
  });
3373
- }
5162
+ });
3374
5163
  const container = layout.container;
3375
5164
  if (container?.maxWidth) {
3376
5165
  assign(toVariableName(prefix, "layout", "container", "max-width"), container.maxWidth);
@@ -3386,6 +5175,33 @@ var createCssVariableMap = (tokens2, options = {}) => {
3386
5175
  assign(toVariableName(prefix, "layout", "sidebar", "width"), sidebar.width);
3387
5176
  }
3388
5177
  }
5178
+ const control = baseTokens.control;
5179
+ if (isPlainObject(control)) {
5180
+ const assignControlSizes = (sizes, parts) => {
5181
+ Object.entries(sizes).forEach(([size, fields]) => {
5182
+ if (size === "compact" || !isPlainObject(fields)) return;
5183
+ Object.entries(fields).forEach(([field, value]) => {
5184
+ assign(toVariableName(prefix, "control", ...parts, size, kebabCase(field)), value);
5185
+ });
5186
+ });
5187
+ };
5188
+ assignControlSizes(control, []);
5189
+ if (isPlainObject(control.compact)) assignControlSizes(control.compact, ["compact"]);
5190
+ }
5191
+ const elevation = baseTokens.elevation;
5192
+ if (isPlainObject(elevation)) {
5193
+ const elevationVarParts = { shadows: ["shadow"], surface: ["surface"], zIndex: ["z-index"] };
5194
+ Object.entries(elevation).forEach(([level, fields]) => {
5195
+ Object.entries(fields).forEach(([field, value]) => {
5196
+ const [namespace, ...rest] = value.match(/^\{([^}]+)\}$/)?.[1]?.split(".") ?? [];
5197
+ const varParts = namespace ? elevationVarParts[namespace] : void 0;
5198
+ assign(
5199
+ toVariableName(prefix, "elevation", level, kebabCase(field)),
5200
+ varParts ? `var(${toVariableName(prefix, ...varParts, ...rest.map(kebabCase))})` : value
5201
+ );
5202
+ });
5203
+ });
5204
+ }
3389
5205
  const border = baseTokens.border;
3390
5206
  if (border?.width) {
3391
5207
  Object.entries(border.width).forEach(([key, value]) => {
@@ -3406,6 +5222,26 @@ var createCssVariableMap = (tokens2, options = {}) => {
3406
5222
  assign(toVariableName(prefix, "tracking", key), value);
3407
5223
  });
3408
5224
  }
5225
+ const leading = baseTokens.leading;
5226
+ if (leading) {
5227
+ Object.entries(leading).forEach(([key, value]) => {
5228
+ assign(toVariableName(prefix, "leading", key), value);
5229
+ });
5230
+ }
5231
+ const fontWeight = baseTokens.fontWeight;
5232
+ if (fontWeight) {
5233
+ Object.entries(fontWeight).forEach(([key, value]) => {
5234
+ assign(toVariableName(prefix, "font-weight", key), value);
5235
+ });
5236
+ }
5237
+ const textDecoration = baseTokens.textDecoration;
5238
+ if (textDecoration) {
5239
+ Object.entries(textDecoration).forEach(([group, scale]) => {
5240
+ Object.entries(scale).forEach(([key, value]) => {
5241
+ assign(toVariableName(prefix, "text-decoration", group, key), value);
5242
+ });
5243
+ });
5244
+ }
3409
5245
  const icons = baseTokens.icons;
3410
5246
  if (icons) {
3411
5247
  Object.entries(icons).forEach(([key, value]) => {
@@ -3534,6 +5370,7 @@ var generateCssVariables = (tokens2, options = {}) => {
3534
5370
  const declarations = createCssVariableMap(tokens2, { ...options, prefix });
3535
5371
  const defaultMode = tokens2.modes?.default ?? {};
3536
5372
  const darkMode = tokens2.modes?.dark ?? {};
5373
+ const highContrastMode = tokens2.modes?.highContrast ?? {};
3537
5374
  const surfaceAliases = tokens2.surface ?? {};
3538
5375
  const textAliases = tokens2.text ?? {};
3539
5376
  const componentAliases = tokens2.component ?? {};
@@ -3541,6 +5378,7 @@ var generateCssVariables = (tokens2, options = {}) => {
3541
5378
  const componentVarParts = (group, kebabGroup, path) => LEGACY_COMPONENT_PREFIX_GROUPS.has(group) ? ["component", kebabGroup, ...path] : [kebabGroup, ...path];
3542
5379
  const baseLines = [];
3543
5380
  const darkLines = [];
5381
+ const highContrastLines = [];
3544
5382
  const modeScopedNames = /* @__PURE__ */ new Set();
3545
5383
  const addBase = (name, value) => {
3546
5384
  if (value === void 0) return;
@@ -3550,9 +5388,13 @@ var generateCssVariables = (tokens2, options = {}) => {
3550
5388
  const addDark = (name, value) => {
3551
5389
  if (value !== void 0) darkLines.push(` ${name}: ${value};`);
3552
5390
  };
5391
+ const addHighContrast = (name, value) => {
5392
+ if (value !== void 0) highContrastLines.push(` ${name}: ${value};`);
5393
+ };
3553
5394
  const walkSemanticGroup = (namespace, varPartsFor, aliasSrc) => {
3554
5395
  const defaultNode = defaultMode[namespace];
3555
5396
  const darkNode = darkMode[namespace];
5397
+ const highContrastNode = highContrastMode[namespace];
3556
5398
  const paths = /* @__PURE__ */ new Set();
3557
5399
  const collectPaths = (node, path) => {
3558
5400
  if (node === void 0) return;
@@ -3567,6 +5409,7 @@ var generateCssVariables = (tokens2, options = {}) => {
3567
5409
  };
3568
5410
  collectPaths(defaultNode, []);
3569
5411
  collectPaths(darkNode, []);
5412
+ collectPaths(highContrastNode, []);
3570
5413
  collectPaths(aliasSrc, []);
3571
5414
  paths.forEach((joinedPath) => {
3572
5415
  const path = joinedPath.split(".");
@@ -3574,8 +5417,10 @@ var generateCssVariables = (tokens2, options = {}) => {
3574
5417
  const aliasCandidate = getPath(aliasSrc, path);
3575
5418
  const baseValue = pickSemantic(tokens2, getPath(defaultNode, path), aliasCandidate);
3576
5419
  const darkValue = pickSemantic(tokens2, getPath(darkNode, path), getPath(defaultNode, path), aliasCandidate);
5420
+ const highContrastValue = pickSemantic(tokens2, getPath(highContrastNode, path), getPath(defaultNode, path), aliasCandidate);
3577
5421
  addBase(varName, baseValue);
3578
5422
  addDark(varName, darkValue);
5423
+ addHighContrast(varName, highContrastValue);
3579
5424
  });
3580
5425
  };
3581
5426
  const kebabPathSegment = (segment) => formatKey(segment.replace(/([a-z0-9])([A-Z])/g, "$1-$2"));
@@ -3605,22 +5450,95 @@ var generateCssVariables = (tokens2, options = {}) => {
3605
5450
  (path) => ["form", ...path.map(kebabPathSegment)],
3606
5451
  void 0
3607
5452
  );
5453
+ const highContrastLink = getPath(highContrastMode, ["link"]);
3608
5454
  Object.entries(linkTokens).forEach(([key, value]) => {
3609
5455
  const varName = toVariableName(prefix, "link", kebabPathSegment(key));
3610
5456
  const resolved = pickSemantic(tokens2, value);
3611
5457
  addBase(varName, resolved);
3612
5458
  addDark(varName, resolved);
5459
+ addHighContrast(varName, pickSemantic(tokens2, getPath(highContrastLink, [key]), value));
3613
5460
  });
5461
+ const highContrastButtons = getPath(highContrastMode, ["buttons"]);
5462
+ if (isPlainObject(highContrastButtons)) {
5463
+ Object.entries(highContrastButtons).forEach(([variant, states]) => {
5464
+ Object.entries(states).forEach(([state, value]) => {
5465
+ addHighContrast(toVariableName(prefix, "button", variant, state), pickSemantic(tokens2, value));
5466
+ });
5467
+ });
5468
+ }
3614
5469
  const mapLines = Object.entries(declarations).filter(([name]) => !modeScopedNames.has(name)).map(([name, value]) => ` ${name}: ${value};`);
3615
5470
  const rootBlock = `${selector} {
3616
5471
  ${[...baseLines, ...mapLines].join("\n")}
3617
5472
  }`;
3618
- const darkBlock = `${selector}[data-spectre-theme="dark"] {
3619
- ${darkLines.join("\n")}
5473
+ const toEntries = (lines) => new Map(
5474
+ lines.map((line) => {
5475
+ const separator = line.indexOf(":");
5476
+ return [line.slice(0, separator).trim(), line.slice(separator + 1).trim().replace(/;$/, "")];
5477
+ })
5478
+ );
5479
+ const baseEntries = toEntries(baseLines);
5480
+ const darkEntries = toEntries(darkLines);
5481
+ const highContrastEntries = toEntries(highContrastLines);
5482
+ const rootValues = new Map([...Object.entries(declarations), ...baseEntries]);
5483
+ const modeVarying = [.../* @__PURE__ */ new Set([...baseEntries.keys(), ...darkEntries.keys(), ...highContrastEntries.keys()])];
5484
+ const modeVaryingSet = new Set(modeVarying);
5485
+ const dependentLines = [...rootValues].filter(
5486
+ ([name, value]) => !modeVaryingSet.has(name) && Array.from(value.matchAll(/var\((--[a-z0-9-]+)/g)).some((match) => modeVaryingSet.has(match[1]))
5487
+ ).map(([name, value]) => `${name}: ${value};`);
5488
+ const modeLines = (entries) => [
5489
+ ...modeVarying.flatMap((name) => {
5490
+ const value = entries.get(name) ?? rootValues.get(name);
5491
+ return value === void 0 ? [] : [`${name}: ${value};`];
5492
+ }),
5493
+ ...dependentLines
5494
+ ];
5495
+ const themeSelectors = (theme) => [
5496
+ `${selector}[data-spectre-theme="${theme}"]`,
5497
+ `${selector} [data-spectre-theme="${theme}"]`
5498
+ ];
5499
+ const modeBlock = (selectors, lines, indent = "") => `${indent}${selectors.join(`,
5500
+ ${indent}`)} {
5501
+ ${lines.map((line) => `${indent} ${line}`).join("\n")}
5502
+ ${indent}}`;
5503
+ const darkBlock = modeBlock(themeSelectors("dark"), modeLines(darkEntries));
5504
+ const highContrastBlock = modeBlock(themeSelectors("high-contrast"), modeLines(highContrastEntries));
5505
+ const lightBlock = modeBlock([...themeSelectors("light"), ...themeSelectors("system")], modeLines(baseEntries));
5506
+ const systemDarkBlock = `@media (prefers-color-scheme: dark) {
5507
+ ${modeBlock(themeSelectors("system"), modeLines(darkEntries), " ")}
5508
+ }`;
5509
+ const control = tokens2.control;
5510
+ const compact = isPlainObject(control) && isPlainObject(control.compact) ? control.compact : {};
5511
+ const densityLines = Object.entries(compact).flatMap(
5512
+ ([size, fields]) => Object.keys(fields).map((field) => {
5513
+ const name = toVariableName(prefix, "control", size, kebabCase(field));
5514
+ return ` ${name}: var(${toVariableName(prefix, "control", "compact", size, kebabCase(field))});`;
5515
+ })
5516
+ );
5517
+ const densityBlocks = densityLines.length > 0 ? [`[data-spectre-density="compact"] {
5518
+ ${densityLines.join("\n")}
5519
+ }`] : [];
5520
+ const breakpoints = tokens2.breakpoints;
5521
+ const responsiveBlocks = Object.entries(layoutResponsive(tokens2.layout)).map(([breakpoint, scales]) => {
5522
+ const minWidth = breakpoints[breakpoint];
5523
+ if (minWidth === void 0) {
5524
+ throw new Error(`layout.responsive.${breakpoint} does not name a breakpoints entry`);
5525
+ }
5526
+ const lines = LAYOUT_SCALES.flatMap(
5527
+ ({ path, varParts }) => Object.keys(layoutScale(scales, path)).map((key) => {
5528
+ const name = toVariableName(prefix, "layout", ...varParts, kebabCase(key));
5529
+ const source = toVariableName(prefix, "layout", "responsive", breakpoint, ...varParts, kebabCase(key));
5530
+ return ` ${name}: var(${source});`;
5531
+ })
5532
+ );
5533
+ return `@media (min-width: ${resolveValue(tokens2, minWidth)}) {
5534
+ ${selector} {
5535
+ ${lines.join("\n")}
5536
+ }
3620
5537
  }`;
3621
- return `${rootBlock}
3622
- ${darkBlock}
3623
- `;
5538
+ });
5539
+ return [rootBlock, darkBlock, highContrastBlock, lightBlock, systemDarkBlock, ...densityBlocks, ...responsiveBlocks].join(
5540
+ "\n"
5541
+ ) + "\n";
3624
5542
  };
3625
5543
 
3626
5544
  // src/index.ts