@vellira-ui/tokens 2.23.0 → 2.25.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.
Files changed (98) hide show
  1. package/dist/css/tokens.css +174 -123
  2. package/dist/dark/components/button.d.ts +5 -5
  3. package/dist/dark/components/button.js +4 -4
  4. package/dist/dark/components/checkbox.d.ts +6 -6
  5. package/dist/dark/components/dropdown.d.ts +6 -6
  6. package/dist/dark/components/formField.d.ts +3 -3
  7. package/dist/dark/components/input.d.ts +8 -7
  8. package/dist/dark/components/input.d.ts.map +1 -1
  9. package/dist/dark/components/input.js +2 -1
  10. package/dist/dark/components/menu.d.ts +3 -3
  11. package/dist/dark/components/modal.d.ts +3 -3
  12. package/dist/dark/components/radio.d.ts +21 -5
  13. package/dist/dark/components/radio.d.ts.map +1 -1
  14. package/dist/dark/components/radio.js +20 -4
  15. package/dist/dark/components/select.d.ts +6 -6
  16. package/dist/dark/components/select.js +4 -4
  17. package/dist/dark/components/tabs.d.ts +3 -3
  18. package/dist/dark/components/tooltip.d.ts +1 -1
  19. package/dist/dark/semantic/border.d.ts +2 -1
  20. package/dist/dark/semantic/border.d.ts.map +1 -1
  21. package/dist/dark/semantic/border.js +2 -1
  22. package/dist/dark/semantic/control.d.ts +7 -2
  23. package/dist/dark/semantic/control.d.ts.map +1 -1
  24. package/dist/dark/semantic/control.js +7 -2
  25. package/dist/dark/semantic/status.d.ts +1 -1
  26. package/dist/dark/semantic/status.js +1 -1
  27. package/dist/dark/semantic/surface.d.ts +2 -1
  28. package/dist/dark/semantic/surface.d.ts.map +1 -1
  29. package/dist/dark/semantic/surface.js +2 -1
  30. package/dist/dark/semantic/text.d.ts +1 -1
  31. package/dist/dark/semantic/text.js +1 -1
  32. package/dist/dark/theme.d.ts +7 -4
  33. package/dist/dark/theme.d.ts.map +1 -1
  34. package/dist/generated/token-types.d.ts +8 -8
  35. package/dist/generated/token-types.d.ts.map +1 -1
  36. package/dist/generated/token-types.js +72 -0
  37. package/dist/highContrast/components/button.d.ts +4 -4
  38. package/dist/highContrast/components/button.d.ts.map +1 -1
  39. package/dist/highContrast/components/button.js +4 -5
  40. package/dist/highContrast/components/checkbox.d.ts +6 -6
  41. package/dist/highContrast/components/formField.d.ts +1 -1
  42. package/dist/highContrast/components/formField.js +1 -1
  43. package/dist/highContrast/components/input.d.ts +3 -2
  44. package/dist/highContrast/components/input.d.ts.map +1 -1
  45. package/dist/highContrast/components/input.js +1 -0
  46. package/dist/highContrast/components/radio.d.ts +24 -8
  47. package/dist/highContrast/components/radio.d.ts.map +1 -1
  48. package/dist/highContrast/components/radio.js +23 -7
  49. package/dist/highContrast/components/select.d.ts +3 -3
  50. package/dist/highContrast/components/select.js +1 -1
  51. package/dist/highContrast/components/tabs.d.ts +1 -1
  52. package/dist/highContrast/components/tooltip.d.ts +1 -1
  53. package/dist/highContrast/semantic/action.d.ts +1 -1
  54. package/dist/highContrast/semantic/action.js +7 -7
  55. package/dist/highContrast/semantic/control.d.ts +11 -6
  56. package/dist/highContrast/semantic/control.d.ts.map +1 -1
  57. package/dist/highContrast/semantic/control.js +9 -4
  58. package/dist/highContrast/semantic/navigation.d.ts +1 -1
  59. package/dist/highContrast/semantic/status.d.ts +2 -2
  60. package/dist/highContrast/semantic/status.js +2 -2
  61. package/dist/highContrast/semantic/surface.d.ts +2 -1
  62. package/dist/highContrast/semantic/surface.d.ts.map +1 -1
  63. package/dist/highContrast/semantic/surface.js +2 -1
  64. package/dist/highContrast/semantic/text.d.ts +2 -1
  65. package/dist/highContrast/semantic/text.d.ts.map +1 -1
  66. package/dist/highContrast/semantic/text.js +3 -3
  67. package/dist/highContrast/theme.d.ts +7 -4
  68. package/dist/highContrast/theme.d.ts.map +1 -1
  69. package/dist/index.d.ts +6 -4
  70. package/dist/index.d.ts.map +1 -1
  71. package/dist/light/components/checkbox.d.ts +5 -5
  72. package/dist/light/components/input.d.ts +2 -1
  73. package/dist/light/components/input.d.ts.map +1 -1
  74. package/dist/light/components/input.js +2 -1
  75. package/dist/light/components/radio.d.ts +20 -4
  76. package/dist/light/components/radio.d.ts.map +1 -1
  77. package/dist/light/components/radio.js +17 -1
  78. package/dist/light/components/select.d.ts +5 -5
  79. package/dist/light/components/select.js +3 -3
  80. package/dist/light/components/tabs.d.ts +1 -1
  81. package/dist/light/components/tooltip.d.ts +1 -1
  82. package/dist/light/semantic/action.js +17 -17
  83. package/dist/light/semantic/control.d.ts +11 -6
  84. package/dist/light/semantic/control.d.ts.map +1 -1
  85. package/dist/light/semantic/control.js +10 -5
  86. package/dist/light/semantic/status.d.ts +1 -1
  87. package/dist/light/semantic/status.js +1 -1
  88. package/dist/light/semantic/text.d.ts +2 -2
  89. package/dist/light/semantic/text.js +2 -2
  90. package/dist/light/theme.d.ts +7 -4
  91. package/dist/light/theme.d.ts.map +1 -1
  92. package/dist/primitives/colors.d.ts +1 -0
  93. package/dist/primitives/colors.d.ts.map +1 -1
  94. package/dist/primitives/colors.js +1 -0
  95. package/dist/tokens/typography.d.ts +6 -4
  96. package/dist/tokens/typography.d.ts.map +1 -1
  97. package/dist/tokens/typography.js +6 -4
  98. package/package.json +1 -1
@@ -107,6 +107,7 @@ export const colorTokenPaths = [
107
107
  'colors.vellira.600',
108
108
  'colors.vellira.700',
109
109
  'colors.vellira.800',
110
+ 'colors.vellira.850',
110
111
  'colors.vellira.900',
111
112
  'colors.vellira.950',
112
113
  'colors.warning.50',
@@ -189,6 +190,9 @@ export const semanticTokenPaths = [
189
190
  'semantic.border.muted',
190
191
  'semantic.border.strong',
191
192
  'semantic.border.subtle',
193
+ 'semantic.control.active.bg',
194
+ 'semantic.control.active.border',
195
+ 'semantic.control.active.fg',
192
196
  'semantic.control.default.bg',
193
197
  'semantic.control.default.border',
194
198
  'semantic.control.default.fg',
@@ -270,6 +274,7 @@ export const semanticTokenPaths = [
270
274
  'semantic.surface.subtle',
271
275
  'semantic.text.brand',
272
276
  'semantic.text.disabled',
277
+ 'semantic.text.elevated',
273
278
  'semantic.text.hover',
274
279
  'semantic.text.inverse',
275
280
  'semantic.text.muted',
@@ -486,6 +491,7 @@ export const componentTokenPaths = [
486
491
  'components.input.hover.fg',
487
492
  'components.input.hover.icon',
488
493
  'components.input.hover.placeholder',
494
+ 'components.input.icon.brand',
489
495
  'components.input.icon.danger',
490
496
  'components.input.icon.default',
491
497
  'components.input.icon.inverse',
@@ -534,6 +540,9 @@ export const componentTokenPaths = [
534
540
  'components.radio.checked.default.bg',
535
541
  'components.radio.checked.default.border',
536
542
  'components.radio.checked.default.fg',
543
+ 'components.radio.checked.disabled.bg',
544
+ 'components.radio.checked.disabled.border',
545
+ 'components.radio.checked.disabled.fg',
537
546
  'components.radio.checked.hover.bg',
538
547
  'components.radio.checked.hover.border',
539
548
  'components.radio.checked.hover.fg',
@@ -546,10 +555,17 @@ export const componentTokenPaths = [
546
555
  'components.radio.disabled.bg',
547
556
  'components.radio.disabled.border',
548
557
  'components.radio.disabled.fg',
558
+ 'components.radio.focus.border',
549
559
  'components.radio.focus.ring',
550
560
  'components.radio.hover.bg',
551
561
  'components.radio.hover.border',
552
562
  'components.radio.hover.fg',
563
+ 'components.radio.invalid.bg',
564
+ 'components.radio.invalid.border',
565
+ 'components.radio.invalid.fg',
566
+ 'components.radio.pressed.bg',
567
+ 'components.radio.pressed.border',
568
+ 'components.radio.pressed.fg',
553
569
  'components.select.dropdown.bg',
554
570
  'components.select.dropdown.border',
555
571
  'components.select.dropdown.fg',
@@ -662,6 +678,8 @@ export const baseTokenPaths = [
662
678
  'tokens.typography.lineHeight.md',
663
679
  'tokens.typography.lineHeight.sm',
664
680
  'tokens.typography.lineHeight.xl',
681
+ 'tokens.typography.lineHeight.xs',
682
+ 'tokens.typography.lineHeight.xxl',
665
683
  'tokens.typography.size.lg',
666
684
  'tokens.typography.size.md',
667
685
  'tokens.typography.size.sm',
@@ -782,6 +800,7 @@ export const tokenPaths = [
782
800
  'colors.vellira.600',
783
801
  'colors.vellira.700',
784
802
  'colors.vellira.800',
803
+ 'colors.vellira.850',
785
804
  'colors.vellira.900',
786
805
  'colors.vellira.950',
787
806
  'colors.warning.50',
@@ -1002,6 +1021,7 @@ export const tokenPaths = [
1002
1021
  'components.input.hover.fg',
1003
1022
  'components.input.hover.icon',
1004
1023
  'components.input.hover.placeholder',
1024
+ 'components.input.icon.brand',
1005
1025
  'components.input.icon.danger',
1006
1026
  'components.input.icon.default',
1007
1027
  'components.input.icon.inverse',
@@ -1050,6 +1070,9 @@ export const tokenPaths = [
1050
1070
  'components.radio.checked.default.bg',
1051
1071
  'components.radio.checked.default.border',
1052
1072
  'components.radio.checked.default.fg',
1073
+ 'components.radio.checked.disabled.bg',
1074
+ 'components.radio.checked.disabled.border',
1075
+ 'components.radio.checked.disabled.fg',
1053
1076
  'components.radio.checked.hover.bg',
1054
1077
  'components.radio.checked.hover.border',
1055
1078
  'components.radio.checked.hover.fg',
@@ -1062,10 +1085,17 @@ export const tokenPaths = [
1062
1085
  'components.radio.disabled.bg',
1063
1086
  'components.radio.disabled.border',
1064
1087
  'components.radio.disabled.fg',
1088
+ 'components.radio.focus.border',
1065
1089
  'components.radio.focus.ring',
1066
1090
  'components.radio.hover.bg',
1067
1091
  'components.radio.hover.border',
1068
1092
  'components.radio.hover.fg',
1093
+ 'components.radio.invalid.bg',
1094
+ 'components.radio.invalid.border',
1095
+ 'components.radio.invalid.fg',
1096
+ 'components.radio.pressed.bg',
1097
+ 'components.radio.pressed.border',
1098
+ 'components.radio.pressed.fg',
1069
1099
  'components.select.dropdown.bg',
1070
1100
  'components.select.dropdown.border',
1071
1101
  'components.select.dropdown.fg',
@@ -1199,6 +1229,9 @@ export const tokenPaths = [
1199
1229
  'semantic.border.muted',
1200
1230
  'semantic.border.strong',
1201
1231
  'semantic.border.subtle',
1232
+ 'semantic.control.active.bg',
1233
+ 'semantic.control.active.border',
1234
+ 'semantic.control.active.fg',
1202
1235
  'semantic.control.default.bg',
1203
1236
  'semantic.control.default.border',
1204
1237
  'semantic.control.default.fg',
@@ -1280,6 +1313,7 @@ export const tokenPaths = [
1280
1313
  'semantic.surface.subtle',
1281
1314
  'semantic.text.brand',
1282
1315
  'semantic.text.disabled',
1316
+ 'semantic.text.elevated',
1283
1317
  'semantic.text.hover',
1284
1318
  'semantic.text.inverse',
1285
1319
  'semantic.text.muted',
@@ -1331,6 +1365,8 @@ export const tokenPaths = [
1331
1365
  'tokens.typography.lineHeight.md',
1332
1366
  'tokens.typography.lineHeight.sm',
1333
1367
  'tokens.typography.lineHeight.xl',
1368
+ 'tokens.typography.lineHeight.xs',
1369
+ 'tokens.typography.lineHeight.xxl',
1334
1370
  'tokens.typography.size.lg',
1335
1371
  'tokens.typography.size.md',
1336
1372
  'tokens.typography.size.sm',
@@ -1368,6 +1404,8 @@ export const baseCssVariableNames = [
1368
1404
  '--line-height-md',
1369
1405
  '--line-height-sm',
1370
1406
  '--line-height-xl',
1407
+ '--line-height-xs',
1408
+ '--line-height-xxl',
1371
1409
  '--radius-full',
1372
1410
  '--radius-lg',
1373
1411
  '--radius-md',
@@ -1697,6 +1735,7 @@ export const themeCssVariableNames = [
1697
1735
  '--color-vellira-600',
1698
1736
  '--color-vellira-700',
1699
1737
  '--color-vellira-800',
1738
+ '--color-vellira-850',
1700
1739
  '--color-vellira-900',
1701
1740
  '--color-vellira-950',
1702
1741
  '--color-warning-50',
@@ -1710,6 +1749,9 @@ export const themeCssVariableNames = [
1710
1749
  '--color-warning-800',
1711
1750
  '--color-warning-900',
1712
1751
  '--color-warning-950',
1752
+ '--control-active-bg',
1753
+ '--control-active-border',
1754
+ '--control-active-fg',
1713
1755
  '--control-default-bg',
1714
1756
  '--control-default-border',
1715
1757
  '--control-default-fg',
@@ -1814,6 +1856,7 @@ export const themeCssVariableNames = [
1814
1856
  '--input-hover-fg',
1815
1857
  '--input-hover-icon',
1816
1858
  '--input-hover-placeholder',
1859
+ '--input-icon-brand',
1817
1860
  '--input-icon-danger',
1818
1861
  '--input-icon-default',
1819
1862
  '--input-icon-inverse',
@@ -1884,6 +1927,9 @@ export const themeCssVariableNames = [
1884
1927
  '--radio-checked-default-bg',
1885
1928
  '--radio-checked-default-border',
1886
1929
  '--radio-checked-default-fg',
1930
+ '--radio-checked-disabled-bg',
1931
+ '--radio-checked-disabled-border',
1932
+ '--radio-checked-disabled-fg',
1887
1933
  '--radio-checked-hover-bg',
1888
1934
  '--radio-checked-hover-border',
1889
1935
  '--radio-checked-hover-fg',
@@ -1896,10 +1942,17 @@ export const themeCssVariableNames = [
1896
1942
  '--radio-disabled-bg',
1897
1943
  '--radio-disabled-border',
1898
1944
  '--radio-disabled-fg',
1945
+ '--radio-focus-border',
1899
1946
  '--radio-focus-ring',
1900
1947
  '--radio-hover-bg',
1901
1948
  '--radio-hover-border',
1902
1949
  '--radio-hover-fg',
1950
+ '--radio-invalid-bg',
1951
+ '--radio-invalid-border',
1952
+ '--radio-invalid-fg',
1953
+ '--radio-pressed-bg',
1954
+ '--radio-pressed-border',
1955
+ '--radio-pressed-fg',
1903
1956
  '--select-dropdown-bg',
1904
1957
  '--select-dropdown-border',
1905
1958
  '--select-dropdown-fg',
@@ -1992,6 +2045,7 @@ export const themeCssVariableNames = [
1992
2045
  '--tabs-trigger-hover-fg',
1993
2046
  '--text-brand',
1994
2047
  '--text-disabled',
2048
+ '--text-elevated',
1995
2049
  '--text-hover',
1996
2050
  '--text-inverse',
1997
2051
  '--text-muted',
@@ -2306,6 +2360,7 @@ export const cssVariableNames = [
2306
2360
  '--color-vellira-600',
2307
2361
  '--color-vellira-700',
2308
2362
  '--color-vellira-800',
2363
+ '--color-vellira-850',
2309
2364
  '--color-vellira-900',
2310
2365
  '--color-vellira-950',
2311
2366
  '--color-warning-50',
@@ -2319,6 +2374,9 @@ export const cssVariableNames = [
2319
2374
  '--color-warning-800',
2320
2375
  '--color-warning-900',
2321
2376
  '--color-warning-950',
2377
+ '--control-active-bg',
2378
+ '--control-active-border',
2379
+ '--control-active-fg',
2322
2380
  '--control-default-bg',
2323
2381
  '--control-default-border',
2324
2382
  '--control-default-fg',
@@ -2438,6 +2496,7 @@ export const cssVariableNames = [
2438
2496
  '--input-hover-fg',
2439
2497
  '--input-hover-icon',
2440
2498
  '--input-hover-placeholder',
2499
+ '--input-icon-brand',
2441
2500
  '--input-icon-danger',
2442
2501
  '--input-icon-default',
2443
2502
  '--input-icon-inverse',
@@ -2456,6 +2515,8 @@ export const cssVariableNames = [
2456
2515
  '--line-height-md',
2457
2516
  '--line-height-sm',
2458
2517
  '--line-height-xl',
2518
+ '--line-height-xs',
2519
+ '--line-height-xxl',
2459
2520
  '--menu-group-label-fg',
2460
2521
  '--menu-item-active-bg',
2461
2522
  '--menu-item-active-fg',
@@ -2512,6 +2573,9 @@ export const cssVariableNames = [
2512
2573
  '--radio-checked-default-bg',
2513
2574
  '--radio-checked-default-border',
2514
2575
  '--radio-checked-default-fg',
2576
+ '--radio-checked-disabled-bg',
2577
+ '--radio-checked-disabled-border',
2578
+ '--radio-checked-disabled-fg',
2515
2579
  '--radio-checked-hover-bg',
2516
2580
  '--radio-checked-hover-border',
2517
2581
  '--radio-checked-hover-fg',
@@ -2524,10 +2588,17 @@ export const cssVariableNames = [
2524
2588
  '--radio-disabled-bg',
2525
2589
  '--radio-disabled-border',
2526
2590
  '--radio-disabled-fg',
2591
+ '--radio-focus-border',
2527
2592
  '--radio-focus-ring',
2528
2593
  '--radio-hover-bg',
2529
2594
  '--radio-hover-border',
2530
2595
  '--radio-hover-fg',
2596
+ '--radio-invalid-bg',
2597
+ '--radio-invalid-border',
2598
+ '--radio-invalid-fg',
2599
+ '--radio-pressed-bg',
2600
+ '--radio-pressed-border',
2601
+ '--radio-pressed-fg',
2531
2602
  '--radius-full',
2532
2603
  '--radius-lg',
2533
2604
  '--radius-md',
@@ -2640,6 +2711,7 @@ export const cssVariableNames = [
2640
2711
  '--tabs-trigger-hover-fg',
2641
2712
  '--text-brand',
2642
2713
  '--text-disabled',
2714
+ '--text-elevated',
2643
2715
  '--text-hover',
2644
2716
  '--text-inverse',
2645
2717
  '--text-muted',
@@ -183,12 +183,12 @@ export declare const button: {
183
183
  readonly bg: string;
184
184
  };
185
185
  readonly hover: {
186
- readonly bg: "#111827";
186
+ readonly bg: string;
187
187
  readonly fg: "#FDA4AF";
188
188
  readonly border: "#FDA4AF";
189
189
  };
190
190
  readonly pressed: {
191
- readonly bg: "#111827";
191
+ readonly bg: string;
192
192
  readonly fg: "#9F1239";
193
193
  readonly border: "#9F1239";
194
194
  };
@@ -200,12 +200,12 @@ export declare const button: {
200
200
  readonly bg: string;
201
201
  };
202
202
  readonly hover: {
203
- readonly bg: "#111827";
203
+ readonly bg: string;
204
204
  readonly fg: "#FDA4AF";
205
205
  readonly border: "transparent";
206
206
  };
207
207
  readonly pressed: {
208
- readonly bg: "#111827";
208
+ readonly bg: string;
209
209
  readonly fg: "#9F1239";
210
210
  readonly border: "transparent";
211
211
  };
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/highContrast/components/button.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8KT,CAAC"}
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/highContrast/components/button.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8KT,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import { action } from '../semantic/action.js';
2
2
  import { border } from '../semantic/border.js';
3
- import { status } from '../semantic/status.js';
4
3
  import { surface } from '../semantic/surface.js';
5
4
  import { text } from '../semantic/text.js';
6
5
  const transparent = {
@@ -143,12 +142,12 @@ export const button = {
143
142
  border: action.danger.muted.border,
144
143
  },
145
144
  hover: {
146
- bg: status.error.bg,
145
+ bg: surface.danger,
147
146
  fg: action.danger.subtle.bg,
148
147
  border: action.danger.subtle.border,
149
148
  },
150
149
  pressed: {
151
- bg: status.error.bg,
150
+ bg: surface.danger,
152
151
  fg: action.danger.active.bg,
153
152
  border: action.danger.active.border,
154
153
  },
@@ -160,12 +159,12 @@ export const button = {
160
159
  border: 'transparent',
161
160
  },
162
161
  hover: {
163
- bg: status.error.bg,
162
+ bg: surface.danger,
164
163
  fg: action.danger.subtle.bg,
165
164
  border: 'transparent',
166
165
  },
167
166
  pressed: {
168
- bg: status.error.bg,
167
+ bg: surface.danger,
169
168
  fg: action.danger.active.bg,
170
169
  border: 'transparent',
171
170
  },
@@ -1,28 +1,28 @@
1
1
  export declare const checkbox: {
2
2
  readonly default: {
3
- readonly bg: "#000000";
3
+ readonly bg: "#1F2937";
4
4
  readonly fg: "#FFFFFF";
5
5
  readonly border: "#4B5563";
6
6
  };
7
7
  readonly hover: {
8
8
  readonly bg: "#111827";
9
- readonly fg: "#000000";
9
+ readonly fg: "#B8A8FF";
10
10
  readonly border: "#7C5CFF";
11
11
  };
12
12
  readonly checked: {
13
13
  readonly default: {
14
- readonly bg: "#7C5CFF";
14
+ readonly bg: "#9B7CFF";
15
15
  readonly fg: "#FFFFFF";
16
- readonly border: "#7C5CFF";
16
+ readonly border: "#9B7CFF";
17
17
  };
18
18
  readonly hover: {
19
19
  readonly bg: "#0369A1";
20
- readonly fg: "#000000";
20
+ readonly fg: "#F9FAFB";
21
21
  readonly border: "#0369A1";
22
22
  };
23
23
  readonly pressed: {
24
24
  readonly bg: "#402C9F";
25
- readonly fg: "#000000";
25
+ readonly fg: "#F9FAFB";
26
26
  readonly border: "#402C9F";
27
27
  };
28
28
  };
@@ -3,7 +3,7 @@ export declare const formField: {
3
3
  readonly fg: "#EEE8FA";
4
4
  };
5
5
  readonly description: {
6
- readonly fg: "#E5E7EB";
6
+ readonly fg: "#9CA3AF";
7
7
  };
8
8
  readonly helperText: {
9
9
  readonly default: {
@@ -5,7 +5,7 @@ export const formField = {
5
5
  fg: text.secondary,
6
6
  },
7
7
  description: {
8
- fg: text.muted,
8
+ fg: text.elevated,
9
9
  },
10
10
  helperText: {
11
11
  default: {
@@ -29,7 +29,7 @@ export declare const input: {
29
29
  readonly icon: "#D1D5DB";
30
30
  };
31
31
  readonly error: {
32
- readonly border: "#FB7185";
32
+ readonly border: "#F43F5E";
33
33
  readonly ring: "#FB7185";
34
34
  };
35
35
  readonly success: {
@@ -51,13 +51,14 @@ export declare const input: {
51
51
  readonly danger: "#F43F5E";
52
52
  readonly muted: "#9CA3AF";
53
53
  readonly inverse: "#1A1A1A";
54
+ readonly brand: "#9B7CFF";
54
55
  };
55
56
  readonly clearButton: {
56
57
  readonly fg: "#FB7185";
57
58
  readonly hoverFg: "#FB7185";
58
59
  readonly hoverBg: string;
59
60
  readonly focusBg: "#FFFFFF";
60
- readonly pressedBg: "#111827";
61
+ readonly pressedBg: "#6B7280";
61
62
  };
62
63
  };
63
64
  //# sourceMappingURL=input.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/highContrast/components/input.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqER,CAAC"}
1
+ {"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/highContrast/components/input.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsER,CAAC"}
@@ -58,6 +58,7 @@ export const input = {
58
58
  danger: icons.danger,
59
59
  muted: icons.muted,
60
60
  inverse: icons.inverse,
61
+ brand: icons.brand,
61
62
  },
62
63
  clearButton: {
63
64
  fg: status.error.fg,
@@ -1,38 +1,54 @@
1
1
  export declare const radio: {
2
2
  readonly default: {
3
- readonly bg: "#000000";
4
- readonly fg: "#FFFFFF";
3
+ readonly bg: "#1F2937";
4
+ readonly fg: "#F9FAFB";
5
5
  readonly border: "#FFFFFF";
6
6
  };
7
7
  readonly hover: {
8
8
  readonly bg: "#111827";
9
9
  readonly fg: "#B8A8FF";
10
- readonly border: "#B8A8FF";
10
+ readonly border: "#7C5CFF";
11
+ };
12
+ readonly pressed: {
13
+ readonly bg: "#E9E6FF";
14
+ readonly fg: "#342580";
15
+ readonly border: "#402C9F";
11
16
  };
12
17
  readonly checked: {
13
18
  readonly default: {
19
+ readonly fg: "#B8A8FF";
14
20
  readonly bg: "#9B7CFF";
15
- readonly fg: "#7C5CFF";
16
- readonly border: "#B8A8FF";
21
+ readonly border: "#9B7CFF";
17
22
  };
18
23
  readonly hover: {
19
- readonly fg: "#FFFFFF";
24
+ readonly fg: "#B8A8FF";
20
25
  readonly bg: "#0369A1";
21
26
  readonly border: "#0369A1";
22
27
  };
23
28
  readonly pressed: {
24
- readonly fg: "#FFFFFF";
29
+ readonly fg: "#B8A8FF";
25
30
  readonly bg: "#402C9F";
26
31
  readonly border: "#402C9F";
27
32
  };
33
+ readonly disabled: {
34
+ readonly bg: "#111827";
35
+ readonly fg: "#6B7280";
36
+ readonly border: "#4B5563";
37
+ };
28
38
  };
29
39
  readonly focus: {
30
40
  readonly ring: "#F59E0B";
41
+ readonly border: "#FBBF24";
42
+ };
43
+ readonly invalid: {
44
+ readonly bg: "#000000";
45
+ readonly fg: "#F9FAFB";
46
+ readonly border: "#F43F5E";
31
47
  };
32
48
  readonly disabled: {
33
49
  readonly bg: "#111827";
34
50
  readonly fg: "#6B7280";
35
- readonly border: "#FFFFFF";
51
+ readonly border: "#4B5563";
36
52
  };
37
53
  };
38
54
  //# sourceMappingURL=radio.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"radio.d.ts","sourceRoot":"","sources":["../../../src/highContrast/components/radio.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BR,CAAC"}
1
+ {"version":3,"file":"radio.d.ts","sourceRoot":"","sources":["../../../src/highContrast/components/radio.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkDR,CAAC"}
@@ -1,32 +1,48 @@
1
1
  import { border } from '../semantic/border.js';
2
2
  import { control } from '../semantic/control.js';
3
3
  import { focus } from '../semantic/focus.js';
4
+ import { status } from '../semantic/status.js';
4
5
  import { surface } from '../semantic/surface.js';
5
6
  import { text } from '../semantic/text.js';
6
7
  export const radio = {
7
8
  default: {
8
- bg: surface.default,
9
- fg: text.primary,
9
+ bg: surface.muted,
10
+ fg: text.inverse,
10
11
  border: border.default,
11
12
  },
12
- hover: control.radioHover,
13
+ hover: control.hover,
14
+ pressed: control.active,
13
15
  checked: {
14
- default: control.selected.radioDefault,
16
+ default: {
17
+ ...control.selected.default,
18
+ fg: text.brand,
19
+ },
15
20
  hover: {
16
21
  ...control.selected.hover,
17
- fg: text.primary,
22
+ fg: text.brand,
18
23
  },
19
24
  pressed: {
20
25
  ...control.selected.active,
21
- fg: text.primary,
26
+ fg: text.brand,
27
+ },
28
+ disabled: {
29
+ bg: surface.subtle,
30
+ fg: text.disabled,
31
+ border: border.disabled,
22
32
  },
23
33
  },
24
34
  focus: {
25
35
  ring: focus.ring,
36
+ border: border.focus,
37
+ },
38
+ invalid: {
39
+ bg: surface.default,
40
+ fg: text.inverse,
41
+ border: status.error.border,
26
42
  },
27
43
  disabled: {
28
44
  bg: surface.subtle,
29
45
  fg: text.disabled,
30
- border: border.default,
46
+ border: border.disabled,
31
47
  },
32
48
  };
@@ -17,7 +17,7 @@ export declare const select: {
17
17
  readonly ring: "#F59E0B";
18
18
  };
19
19
  readonly disabled: {
20
- readonly bg: "#111827";
20
+ readonly bg: "#1F2937";
21
21
  readonly fg: "#6B7280";
22
22
  readonly border: "#4B5563";
23
23
  };
@@ -26,7 +26,7 @@ export declare const select: {
26
26
  };
27
27
  readonly error: {
28
28
  readonly border: "#FB7185";
29
- readonly ring: "#111827";
29
+ readonly ring: "#E11D48";
30
30
  };
31
31
  };
32
32
  readonly dropdown: {
@@ -50,7 +50,7 @@ export declare const select: {
50
50
  readonly fg: "#000000";
51
51
  };
52
52
  readonly selected: {
53
- readonly bg: "#7C5CFF";
53
+ readonly bg: "#9B7CFF";
54
54
  readonly fg: "#FFFFFF";
55
55
  };
56
56
  readonly disabled: {
@@ -24,7 +24,7 @@ export const select = {
24
24
  ring: focus.ring,
25
25
  },
26
26
  disabled: {
27
- bg: surface.subtle,
27
+ bg: surface.disabled,
28
28
  fg: text.disabled,
29
29
  border: border.disabled,
30
30
  },
@@ -35,7 +35,7 @@ export declare const tabs: {
35
35
  };
36
36
  readonly hover: {
37
37
  readonly bg: "#FBBF24";
38
- readonly fg: "#000000";
38
+ readonly fg: "#F9FAFB";
39
39
  readonly border: "transparent";
40
40
  };
41
41
  readonly active: {
@@ -1,7 +1,7 @@
1
1
  export declare const tooltip: {
2
2
  readonly content: {
3
3
  readonly bg: "#FFFFFF";
4
- readonly fg: "#000000";
4
+ readonly fg: "#F9FAFB";
5
5
  readonly border: "#FFFFFF";
6
6
  };
7
7
  readonly arrow: {
@@ -22,7 +22,7 @@ export declare const action: {
22
22
  };
23
23
  readonly subtle: {
24
24
  readonly bg: "#D4CCFF";
25
- readonly fg: "#000000";
25
+ readonly fg: "#F9FAFB";
26
26
  readonly border: "#D4CCFF";
27
27
  };
28
28
  };