@vellira-ui/tokens 2.23.0 → 2.24.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/css/tokens.css +106 -64
- package/dist/dark/components/checkbox.d.ts +2 -2
- package/dist/dark/components/dropdown.d.ts +1 -1
- package/dist/dark/components/input.d.ts +1 -1
- package/dist/dark/components/menu.d.ts +1 -1
- package/dist/dark/components/radio.d.ts +21 -5
- package/dist/dark/components/radio.d.ts.map +1 -1
- package/dist/dark/components/radio.js +19 -3
- package/dist/dark/semantic/control.d.ts +7 -2
- package/dist/dark/semantic/control.d.ts.map +1 -1
- package/dist/dark/semantic/control.js +7 -2
- package/dist/dark/semantic/status.d.ts +1 -1
- package/dist/dark/semantic/status.js +1 -1
- package/dist/dark/theme.d.ts +5 -3
- package/dist/dark/theme.d.ts.map +1 -1
- package/dist/generated/token-types.d.ts +7 -7
- package/dist/generated/token-types.d.ts.map +1 -1
- package/dist/generated/token-types.js +64 -0
- package/dist/highContrast/components/button.d.ts +4 -4
- package/dist/highContrast/components/button.d.ts.map +1 -1
- package/dist/highContrast/components/button.js +4 -5
- package/dist/highContrast/components/checkbox.d.ts +5 -5
- package/dist/highContrast/components/formField.d.ts +1 -1
- package/dist/highContrast/components/formField.js +1 -1
- package/dist/highContrast/components/input.d.ts +2 -2
- package/dist/highContrast/components/radio.d.ts +23 -7
- package/dist/highContrast/components/radio.d.ts.map +1 -1
- package/dist/highContrast/components/radio.js +22 -6
- package/dist/highContrast/components/select.d.ts +2 -2
- package/dist/highContrast/components/tabs.d.ts +1 -1
- package/dist/highContrast/components/tooltip.d.ts +1 -1
- package/dist/highContrast/semantic/action.d.ts +1 -1
- package/dist/highContrast/semantic/action.js +7 -7
- package/dist/highContrast/semantic/control.d.ts +10 -5
- package/dist/highContrast/semantic/control.d.ts.map +1 -1
- package/dist/highContrast/semantic/control.js +8 -3
- package/dist/highContrast/semantic/navigation.d.ts +1 -1
- package/dist/highContrast/semantic/status.d.ts +2 -2
- package/dist/highContrast/semantic/status.js +2 -2
- package/dist/highContrast/semantic/surface.d.ts +1 -1
- package/dist/highContrast/semantic/surface.js +1 -1
- package/dist/highContrast/semantic/text.d.ts +2 -1
- package/dist/highContrast/semantic/text.d.ts.map +1 -1
- package/dist/highContrast/semantic/text.js +3 -3
- package/dist/highContrast/theme.d.ts +5 -3
- package/dist/highContrast/theme.d.ts.map +1 -1
- package/dist/index.d.ts +5 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/light/components/checkbox.d.ts +2 -2
- package/dist/light/components/radio.d.ts +18 -2
- package/dist/light/components/radio.d.ts.map +1 -1
- package/dist/light/components/radio.js +17 -1
- package/dist/light/components/select.d.ts +1 -1
- package/dist/light/components/tabs.d.ts +1 -1
- package/dist/light/components/tooltip.d.ts +1 -1
- package/dist/light/semantic/action.js +17 -17
- package/dist/light/semantic/control.d.ts +8 -3
- package/dist/light/semantic/control.d.ts.map +1 -1
- package/dist/light/semantic/control.js +8 -3
- package/dist/light/semantic/status.d.ts +1 -1
- package/dist/light/semantic/status.js +1 -1
- package/dist/light/semantic/text.d.ts +2 -2
- package/dist/light/semantic/text.js +2 -2
- package/dist/light/theme.d.ts +5 -3
- package/dist/light/theme.d.ts.map +1 -1
- package/dist/tokens/typography.d.ts +5 -3
- package/dist/tokens/typography.d.ts.map +1 -1
- package/dist/tokens/typography.js +5 -3
- package/package.json +1 -1
|
@@ -189,6 +189,9 @@ export const semanticTokenPaths = [
|
|
|
189
189
|
'semantic.border.muted',
|
|
190
190
|
'semantic.border.strong',
|
|
191
191
|
'semantic.border.subtle',
|
|
192
|
+
'semantic.control.active.bg',
|
|
193
|
+
'semantic.control.active.border',
|
|
194
|
+
'semantic.control.active.fg',
|
|
192
195
|
'semantic.control.default.bg',
|
|
193
196
|
'semantic.control.default.border',
|
|
194
197
|
'semantic.control.default.fg',
|
|
@@ -270,6 +273,7 @@ export const semanticTokenPaths = [
|
|
|
270
273
|
'semantic.surface.subtle',
|
|
271
274
|
'semantic.text.brand',
|
|
272
275
|
'semantic.text.disabled',
|
|
276
|
+
'semantic.text.elevated',
|
|
273
277
|
'semantic.text.hover',
|
|
274
278
|
'semantic.text.inverse',
|
|
275
279
|
'semantic.text.muted',
|
|
@@ -534,6 +538,9 @@ export const componentTokenPaths = [
|
|
|
534
538
|
'components.radio.checked.default.bg',
|
|
535
539
|
'components.radio.checked.default.border',
|
|
536
540
|
'components.radio.checked.default.fg',
|
|
541
|
+
'components.radio.checked.disabled.bg',
|
|
542
|
+
'components.radio.checked.disabled.border',
|
|
543
|
+
'components.radio.checked.disabled.fg',
|
|
537
544
|
'components.radio.checked.hover.bg',
|
|
538
545
|
'components.radio.checked.hover.border',
|
|
539
546
|
'components.radio.checked.hover.fg',
|
|
@@ -546,10 +553,17 @@ export const componentTokenPaths = [
|
|
|
546
553
|
'components.radio.disabled.bg',
|
|
547
554
|
'components.radio.disabled.border',
|
|
548
555
|
'components.radio.disabled.fg',
|
|
556
|
+
'components.radio.focus.border',
|
|
549
557
|
'components.radio.focus.ring',
|
|
550
558
|
'components.radio.hover.bg',
|
|
551
559
|
'components.radio.hover.border',
|
|
552
560
|
'components.radio.hover.fg',
|
|
561
|
+
'components.radio.invalid.bg',
|
|
562
|
+
'components.radio.invalid.border',
|
|
563
|
+
'components.radio.invalid.fg',
|
|
564
|
+
'components.radio.pressed.bg',
|
|
565
|
+
'components.radio.pressed.border',
|
|
566
|
+
'components.radio.pressed.fg',
|
|
553
567
|
'components.select.dropdown.bg',
|
|
554
568
|
'components.select.dropdown.border',
|
|
555
569
|
'components.select.dropdown.fg',
|
|
@@ -662,6 +676,8 @@ export const baseTokenPaths = [
|
|
|
662
676
|
'tokens.typography.lineHeight.md',
|
|
663
677
|
'tokens.typography.lineHeight.sm',
|
|
664
678
|
'tokens.typography.lineHeight.xl',
|
|
679
|
+
'tokens.typography.lineHeight.xs',
|
|
680
|
+
'tokens.typography.lineHeight.xxl',
|
|
665
681
|
'tokens.typography.size.lg',
|
|
666
682
|
'tokens.typography.size.md',
|
|
667
683
|
'tokens.typography.size.sm',
|
|
@@ -1050,6 +1066,9 @@ export const tokenPaths = [
|
|
|
1050
1066
|
'components.radio.checked.default.bg',
|
|
1051
1067
|
'components.radio.checked.default.border',
|
|
1052
1068
|
'components.radio.checked.default.fg',
|
|
1069
|
+
'components.radio.checked.disabled.bg',
|
|
1070
|
+
'components.radio.checked.disabled.border',
|
|
1071
|
+
'components.radio.checked.disabled.fg',
|
|
1053
1072
|
'components.radio.checked.hover.bg',
|
|
1054
1073
|
'components.radio.checked.hover.border',
|
|
1055
1074
|
'components.radio.checked.hover.fg',
|
|
@@ -1062,10 +1081,17 @@ export const tokenPaths = [
|
|
|
1062
1081
|
'components.radio.disabled.bg',
|
|
1063
1082
|
'components.radio.disabled.border',
|
|
1064
1083
|
'components.radio.disabled.fg',
|
|
1084
|
+
'components.radio.focus.border',
|
|
1065
1085
|
'components.radio.focus.ring',
|
|
1066
1086
|
'components.radio.hover.bg',
|
|
1067
1087
|
'components.radio.hover.border',
|
|
1068
1088
|
'components.radio.hover.fg',
|
|
1089
|
+
'components.radio.invalid.bg',
|
|
1090
|
+
'components.radio.invalid.border',
|
|
1091
|
+
'components.radio.invalid.fg',
|
|
1092
|
+
'components.radio.pressed.bg',
|
|
1093
|
+
'components.radio.pressed.border',
|
|
1094
|
+
'components.radio.pressed.fg',
|
|
1069
1095
|
'components.select.dropdown.bg',
|
|
1070
1096
|
'components.select.dropdown.border',
|
|
1071
1097
|
'components.select.dropdown.fg',
|
|
@@ -1199,6 +1225,9 @@ export const tokenPaths = [
|
|
|
1199
1225
|
'semantic.border.muted',
|
|
1200
1226
|
'semantic.border.strong',
|
|
1201
1227
|
'semantic.border.subtle',
|
|
1228
|
+
'semantic.control.active.bg',
|
|
1229
|
+
'semantic.control.active.border',
|
|
1230
|
+
'semantic.control.active.fg',
|
|
1202
1231
|
'semantic.control.default.bg',
|
|
1203
1232
|
'semantic.control.default.border',
|
|
1204
1233
|
'semantic.control.default.fg',
|
|
@@ -1280,6 +1309,7 @@ export const tokenPaths = [
|
|
|
1280
1309
|
'semantic.surface.subtle',
|
|
1281
1310
|
'semantic.text.brand',
|
|
1282
1311
|
'semantic.text.disabled',
|
|
1312
|
+
'semantic.text.elevated',
|
|
1283
1313
|
'semantic.text.hover',
|
|
1284
1314
|
'semantic.text.inverse',
|
|
1285
1315
|
'semantic.text.muted',
|
|
@@ -1331,6 +1361,8 @@ export const tokenPaths = [
|
|
|
1331
1361
|
'tokens.typography.lineHeight.md',
|
|
1332
1362
|
'tokens.typography.lineHeight.sm',
|
|
1333
1363
|
'tokens.typography.lineHeight.xl',
|
|
1364
|
+
'tokens.typography.lineHeight.xs',
|
|
1365
|
+
'tokens.typography.lineHeight.xxl',
|
|
1334
1366
|
'tokens.typography.size.lg',
|
|
1335
1367
|
'tokens.typography.size.md',
|
|
1336
1368
|
'tokens.typography.size.sm',
|
|
@@ -1368,6 +1400,8 @@ export const baseCssVariableNames = [
|
|
|
1368
1400
|
'--line-height-md',
|
|
1369
1401
|
'--line-height-sm',
|
|
1370
1402
|
'--line-height-xl',
|
|
1403
|
+
'--line-height-xs',
|
|
1404
|
+
'--line-height-xxl',
|
|
1371
1405
|
'--radius-full',
|
|
1372
1406
|
'--radius-lg',
|
|
1373
1407
|
'--radius-md',
|
|
@@ -1710,6 +1744,9 @@ export const themeCssVariableNames = [
|
|
|
1710
1744
|
'--color-warning-800',
|
|
1711
1745
|
'--color-warning-900',
|
|
1712
1746
|
'--color-warning-950',
|
|
1747
|
+
'--control-active-bg',
|
|
1748
|
+
'--control-active-border',
|
|
1749
|
+
'--control-active-fg',
|
|
1713
1750
|
'--control-default-bg',
|
|
1714
1751
|
'--control-default-border',
|
|
1715
1752
|
'--control-default-fg',
|
|
@@ -1884,6 +1921,9 @@ export const themeCssVariableNames = [
|
|
|
1884
1921
|
'--radio-checked-default-bg',
|
|
1885
1922
|
'--radio-checked-default-border',
|
|
1886
1923
|
'--radio-checked-default-fg',
|
|
1924
|
+
'--radio-checked-disabled-bg',
|
|
1925
|
+
'--radio-checked-disabled-border',
|
|
1926
|
+
'--radio-checked-disabled-fg',
|
|
1887
1927
|
'--radio-checked-hover-bg',
|
|
1888
1928
|
'--radio-checked-hover-border',
|
|
1889
1929
|
'--radio-checked-hover-fg',
|
|
@@ -1896,10 +1936,17 @@ export const themeCssVariableNames = [
|
|
|
1896
1936
|
'--radio-disabled-bg',
|
|
1897
1937
|
'--radio-disabled-border',
|
|
1898
1938
|
'--radio-disabled-fg',
|
|
1939
|
+
'--radio-focus-border',
|
|
1899
1940
|
'--radio-focus-ring',
|
|
1900
1941
|
'--radio-hover-bg',
|
|
1901
1942
|
'--radio-hover-border',
|
|
1902
1943
|
'--radio-hover-fg',
|
|
1944
|
+
'--radio-invalid-bg',
|
|
1945
|
+
'--radio-invalid-border',
|
|
1946
|
+
'--radio-invalid-fg',
|
|
1947
|
+
'--radio-pressed-bg',
|
|
1948
|
+
'--radio-pressed-border',
|
|
1949
|
+
'--radio-pressed-fg',
|
|
1903
1950
|
'--select-dropdown-bg',
|
|
1904
1951
|
'--select-dropdown-border',
|
|
1905
1952
|
'--select-dropdown-fg',
|
|
@@ -1992,6 +2039,7 @@ export const themeCssVariableNames = [
|
|
|
1992
2039
|
'--tabs-trigger-hover-fg',
|
|
1993
2040
|
'--text-brand',
|
|
1994
2041
|
'--text-disabled',
|
|
2042
|
+
'--text-elevated',
|
|
1995
2043
|
'--text-hover',
|
|
1996
2044
|
'--text-inverse',
|
|
1997
2045
|
'--text-muted',
|
|
@@ -2319,6 +2367,9 @@ export const cssVariableNames = [
|
|
|
2319
2367
|
'--color-warning-800',
|
|
2320
2368
|
'--color-warning-900',
|
|
2321
2369
|
'--color-warning-950',
|
|
2370
|
+
'--control-active-bg',
|
|
2371
|
+
'--control-active-border',
|
|
2372
|
+
'--control-active-fg',
|
|
2322
2373
|
'--control-default-bg',
|
|
2323
2374
|
'--control-default-border',
|
|
2324
2375
|
'--control-default-fg',
|
|
@@ -2456,6 +2507,8 @@ export const cssVariableNames = [
|
|
|
2456
2507
|
'--line-height-md',
|
|
2457
2508
|
'--line-height-sm',
|
|
2458
2509
|
'--line-height-xl',
|
|
2510
|
+
'--line-height-xs',
|
|
2511
|
+
'--line-height-xxl',
|
|
2459
2512
|
'--menu-group-label-fg',
|
|
2460
2513
|
'--menu-item-active-bg',
|
|
2461
2514
|
'--menu-item-active-fg',
|
|
@@ -2512,6 +2565,9 @@ export const cssVariableNames = [
|
|
|
2512
2565
|
'--radio-checked-default-bg',
|
|
2513
2566
|
'--radio-checked-default-border',
|
|
2514
2567
|
'--radio-checked-default-fg',
|
|
2568
|
+
'--radio-checked-disabled-bg',
|
|
2569
|
+
'--radio-checked-disabled-border',
|
|
2570
|
+
'--radio-checked-disabled-fg',
|
|
2515
2571
|
'--radio-checked-hover-bg',
|
|
2516
2572
|
'--radio-checked-hover-border',
|
|
2517
2573
|
'--radio-checked-hover-fg',
|
|
@@ -2524,10 +2580,17 @@ export const cssVariableNames = [
|
|
|
2524
2580
|
'--radio-disabled-bg',
|
|
2525
2581
|
'--radio-disabled-border',
|
|
2526
2582
|
'--radio-disabled-fg',
|
|
2583
|
+
'--radio-focus-border',
|
|
2527
2584
|
'--radio-focus-ring',
|
|
2528
2585
|
'--radio-hover-bg',
|
|
2529
2586
|
'--radio-hover-border',
|
|
2530
2587
|
'--radio-hover-fg',
|
|
2588
|
+
'--radio-invalid-bg',
|
|
2589
|
+
'--radio-invalid-border',
|
|
2590
|
+
'--radio-invalid-fg',
|
|
2591
|
+
'--radio-pressed-bg',
|
|
2592
|
+
'--radio-pressed-border',
|
|
2593
|
+
'--radio-pressed-fg',
|
|
2531
2594
|
'--radius-full',
|
|
2532
2595
|
'--radius-lg',
|
|
2533
2596
|
'--radius-md',
|
|
@@ -2640,6 +2703,7 @@ export const cssVariableNames = [
|
|
|
2640
2703
|
'--tabs-trigger-hover-fg',
|
|
2641
2704
|
'--text-brand',
|
|
2642
2705
|
'--text-disabled',
|
|
2706
|
+
'--text-elevated',
|
|
2643
2707
|
'--text-hover',
|
|
2644
2708
|
'--text-inverse',
|
|
2645
2709
|
'--text-muted',
|
|
@@ -183,12 +183,12 @@ export declare const button: {
|
|
|
183
183
|
readonly bg: string;
|
|
184
184
|
};
|
|
185
185
|
readonly hover: {
|
|
186
|
-
readonly bg:
|
|
186
|
+
readonly bg: string;
|
|
187
187
|
readonly fg: "#FDA4AF";
|
|
188
188
|
readonly border: "#FDA4AF";
|
|
189
189
|
};
|
|
190
190
|
readonly pressed: {
|
|
191
|
-
readonly bg:
|
|
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:
|
|
203
|
+
readonly bg: string;
|
|
204
204
|
readonly fg: "#FDA4AF";
|
|
205
205
|
readonly border: "transparent";
|
|
206
206
|
};
|
|
207
207
|
readonly pressed: {
|
|
208
|
-
readonly bg:
|
|
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":"
|
|
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:
|
|
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:
|
|
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:
|
|
162
|
+
bg: surface.danger,
|
|
164
163
|
fg: action.danger.subtle.bg,
|
|
165
164
|
border: 'transparent',
|
|
166
165
|
},
|
|
167
166
|
pressed: {
|
|
168
|
-
bg:
|
|
167
|
+
bg: surface.danger,
|
|
169
168
|
fg: action.danger.active.bg,
|
|
170
169
|
border: 'transparent',
|
|
171
170
|
},
|
|
@@ -6,23 +6,23 @@ export declare const checkbox: {
|
|
|
6
6
|
};
|
|
7
7
|
readonly hover: {
|
|
8
8
|
readonly bg: "#111827";
|
|
9
|
-
readonly fg: "#
|
|
9
|
+
readonly fg: "#B8A8FF";
|
|
10
10
|
readonly border: "#7C5CFF";
|
|
11
11
|
};
|
|
12
12
|
readonly checked: {
|
|
13
13
|
readonly default: {
|
|
14
|
-
readonly bg: "#
|
|
14
|
+
readonly bg: "#9B7CFF";
|
|
15
15
|
readonly fg: "#FFFFFF";
|
|
16
|
-
readonly border: "#
|
|
16
|
+
readonly border: "#9B7CFF";
|
|
17
17
|
};
|
|
18
18
|
readonly hover: {
|
|
19
19
|
readonly bg: "#0369A1";
|
|
20
|
-
readonly fg: "#
|
|
20
|
+
readonly fg: "#F9FAFB";
|
|
21
21
|
readonly border: "#0369A1";
|
|
22
22
|
};
|
|
23
23
|
readonly pressed: {
|
|
24
24
|
readonly bg: "#402C9F";
|
|
25
|
-
readonly fg: "#
|
|
25
|
+
readonly fg: "#F9FAFB";
|
|
26
26
|
readonly border: "#402C9F";
|
|
27
27
|
};
|
|
28
28
|
};
|
|
@@ -29,7 +29,7 @@ export declare const input: {
|
|
|
29
29
|
readonly icon: "#D1D5DB";
|
|
30
30
|
};
|
|
31
31
|
readonly error: {
|
|
32
|
-
readonly border: "#
|
|
32
|
+
readonly border: "#F43F5E";
|
|
33
33
|
readonly ring: "#FB7185";
|
|
34
34
|
};
|
|
35
35
|
readonly success: {
|
|
@@ -57,7 +57,7 @@ export declare const input: {
|
|
|
57
57
|
readonly hoverFg: "#FB7185";
|
|
58
58
|
readonly hoverBg: string;
|
|
59
59
|
readonly focusBg: "#FFFFFF";
|
|
60
|
-
readonly pressedBg: "#
|
|
60
|
+
readonly pressedBg: "#6B7280";
|
|
61
61
|
};
|
|
62
62
|
};
|
|
63
63
|
//# sourceMappingURL=input.d.ts.map
|
|
@@ -1,38 +1,54 @@
|
|
|
1
1
|
export declare const radio: {
|
|
2
2
|
readonly default: {
|
|
3
3
|
readonly bg: "#000000";
|
|
4
|
-
readonly fg: "#
|
|
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: "#
|
|
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
|
|
16
|
-
readonly border: "#B8A8FF";
|
|
21
|
+
readonly border: "#9B7CFF";
|
|
17
22
|
};
|
|
18
23
|
readonly hover: {
|
|
19
|
-
readonly fg: "#
|
|
24
|
+
readonly fg: "#B8A8FF";
|
|
20
25
|
readonly bg: "#0369A1";
|
|
21
26
|
readonly border: "#0369A1";
|
|
22
27
|
};
|
|
23
28
|
readonly pressed: {
|
|
24
|
-
readonly fg: "#
|
|
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: "#
|
|
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":"
|
|
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
9
|
bg: surface.default,
|
|
9
|
-
fg: text.
|
|
10
|
+
fg: text.inverse,
|
|
10
11
|
border: border.default,
|
|
11
12
|
},
|
|
12
|
-
hover: control.
|
|
13
|
+
hover: control.hover,
|
|
14
|
+
pressed: control.active,
|
|
13
15
|
checked: {
|
|
14
|
-
default:
|
|
16
|
+
default: {
|
|
17
|
+
...control.selected.default,
|
|
18
|
+
fg: text.brand,
|
|
19
|
+
},
|
|
15
20
|
hover: {
|
|
16
21
|
...control.selected.hover,
|
|
17
|
-
fg: text.
|
|
22
|
+
fg: text.brand,
|
|
18
23
|
},
|
|
19
24
|
pressed: {
|
|
20
25
|
...control.selected.active,
|
|
21
|
-
fg: text.
|
|
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.
|
|
46
|
+
border: border.disabled,
|
|
31
47
|
},
|
|
32
48
|
};
|
|
@@ -26,7 +26,7 @@ export declare const select: {
|
|
|
26
26
|
};
|
|
27
27
|
readonly error: {
|
|
28
28
|
readonly border: "#FB7185";
|
|
29
|
-
readonly ring: "#
|
|
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: "#
|
|
53
|
+
readonly bg: "#9B7CFF";
|
|
54
54
|
readonly fg: "#FFFFFF";
|
|
55
55
|
};
|
|
56
56
|
readonly disabled: {
|
|
@@ -31,17 +31,17 @@ export const action = {
|
|
|
31
31
|
secondary: {
|
|
32
32
|
default: {
|
|
33
33
|
bg: colors.secondary[400],
|
|
34
|
-
fg: text.
|
|
34
|
+
fg: text.onInverse,
|
|
35
35
|
border: colors.secondary[400],
|
|
36
36
|
},
|
|
37
37
|
hover: {
|
|
38
38
|
bg: colors.secondary[300],
|
|
39
|
-
fg: text.
|
|
39
|
+
fg: text.onInverse,
|
|
40
40
|
border: colors.secondary[300],
|
|
41
41
|
},
|
|
42
42
|
active: {
|
|
43
43
|
bg: colors.secondary[200],
|
|
44
|
-
fg: text.
|
|
44
|
+
fg: text.onInverse,
|
|
45
45
|
border: colors.secondary[200],
|
|
46
46
|
},
|
|
47
47
|
muted: {
|
|
@@ -51,24 +51,24 @@ export const action = {
|
|
|
51
51
|
},
|
|
52
52
|
subtle: {
|
|
53
53
|
bg: colors.secondary[200],
|
|
54
|
-
fg: text.
|
|
54
|
+
fg: text.onInverse,
|
|
55
55
|
border: colors.secondary[200],
|
|
56
56
|
},
|
|
57
57
|
},
|
|
58
58
|
close: {
|
|
59
59
|
default: {
|
|
60
60
|
bg: colors.mono[50],
|
|
61
|
-
fg: text.
|
|
61
|
+
fg: text.onInverse,
|
|
62
62
|
border: colors.mono[50],
|
|
63
63
|
},
|
|
64
64
|
hover: {
|
|
65
65
|
bg: colors.gray[300],
|
|
66
|
-
fg: text.
|
|
66
|
+
fg: text.onInverse,
|
|
67
67
|
border: colors.gray[300],
|
|
68
68
|
},
|
|
69
69
|
active: {
|
|
70
70
|
bg: colors.gray[400],
|
|
71
|
-
fg: text.
|
|
71
|
+
fg: text.onInverse,
|
|
72
72
|
border: colors.gray[400],
|
|
73
73
|
},
|
|
74
74
|
},
|
|
@@ -6,9 +6,14 @@ export declare const control: {
|
|
|
6
6
|
};
|
|
7
7
|
readonly hover: {
|
|
8
8
|
readonly bg: "#111827";
|
|
9
|
-
readonly fg: "#
|
|
9
|
+
readonly fg: "#B8A8FF";
|
|
10
10
|
readonly border: "#7C5CFF";
|
|
11
11
|
};
|
|
12
|
+
readonly active: {
|
|
13
|
+
readonly bg: "#E9E6FF";
|
|
14
|
+
readonly fg: "#342580";
|
|
15
|
+
readonly border: "#402C9F";
|
|
16
|
+
};
|
|
12
17
|
readonly radioHover: {
|
|
13
18
|
readonly bg: "#111827";
|
|
14
19
|
readonly fg: "#B8A8FF";
|
|
@@ -16,18 +21,18 @@ export declare const control: {
|
|
|
16
21
|
};
|
|
17
22
|
readonly selected: {
|
|
18
23
|
readonly default: {
|
|
19
|
-
readonly bg: "#
|
|
24
|
+
readonly bg: "#9B7CFF";
|
|
20
25
|
readonly fg: "#FFFFFF";
|
|
21
|
-
readonly border: "#
|
|
26
|
+
readonly border: "#9B7CFF";
|
|
22
27
|
};
|
|
23
28
|
readonly hover: {
|
|
24
29
|
readonly bg: "#0369A1";
|
|
25
|
-
readonly fg: "#
|
|
30
|
+
readonly fg: "#F9FAFB";
|
|
26
31
|
readonly border: "#0369A1";
|
|
27
32
|
};
|
|
28
33
|
readonly active: {
|
|
29
34
|
readonly bg: "#402C9F";
|
|
30
|
-
readonly fg: "#
|
|
35
|
+
readonly fg: "#F9FAFB";
|
|
31
36
|
readonly border: "#402C9F";
|
|
32
37
|
};
|
|
33
38
|
readonly muted: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control.d.ts","sourceRoot":"","sources":["../../../src/highContrast/semantic/control.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"control.d.ts","sourceRoot":"","sources":["../../../src/highContrast/semantic/control.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDV,CAAC"}
|
|
@@ -10,9 +10,14 @@ export const control = {
|
|
|
10
10
|
},
|
|
11
11
|
hover: {
|
|
12
12
|
bg: colors.gray[900],
|
|
13
|
-
fg: text.
|
|
13
|
+
fg: text.brand,
|
|
14
14
|
border: colors.primary[500],
|
|
15
15
|
},
|
|
16
|
+
active: {
|
|
17
|
+
bg: colors.primary[100],
|
|
18
|
+
fg: colors.primary[900],
|
|
19
|
+
border: colors.primary[800],
|
|
20
|
+
},
|
|
16
21
|
radioHover: {
|
|
17
22
|
bg: colors.gray[900],
|
|
18
23
|
fg: colors.primary[300],
|
|
@@ -20,9 +25,9 @@ export const control = {
|
|
|
20
25
|
},
|
|
21
26
|
selected: {
|
|
22
27
|
default: {
|
|
23
|
-
bg: colors.primary[
|
|
28
|
+
bg: colors.primary[400],
|
|
24
29
|
fg: text.primary,
|
|
25
|
-
border: colors.primary[
|
|
30
|
+
border: colors.primary[400],
|
|
26
31
|
},
|
|
27
32
|
hover: {
|
|
28
33
|
bg: colors.info[500],
|