@vellira-ui/tokens 2.25.1 → 2.26.1
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 +1222 -872
- package/dist/dark/components/button.d.ts +54 -54
- package/dist/dark/components/button.d.ts.map +1 -1
- package/dist/dark/components/button.js +58 -60
- package/dist/dark/components/checkbox.d.ts +18 -13
- package/dist/dark/components/checkbox.d.ts.map +1 -1
- package/dist/dark/components/checkbox.js +19 -9
- package/dist/dark/components/contextMenu.d.ts +89 -0
- package/dist/dark/components/contextMenu.d.ts.map +1 -0
- package/dist/dark/components/contextMenu.js +52 -0
- package/dist/dark/components/dropdown.d.ts +33 -13
- package/dist/dark/components/dropdown.d.ts.map +1 -1
- package/dist/dark/components/dropdown.js +30 -27
- package/dist/dark/components/formField.d.ts +2 -2
- package/dist/dark/components/formField.js +1 -1
- package/dist/dark/components/index.d.ts +1 -1
- package/dist/dark/components/index.d.ts.map +1 -1
- package/dist/dark/components/index.js +1 -1
- package/dist/dark/components/input.d.ts +26 -26
- package/dist/dark/components/input.js +11 -11
- package/dist/dark/components/modal.d.ts +21 -4
- package/dist/dark/components/modal.d.ts.map +1 -1
- package/dist/dark/components/modal.js +18 -4
- package/dist/dark/components/radio.d.ts +24 -19
- package/dist/dark/components/radio.d.ts.map +1 -1
- package/dist/dark/components/radio.js +19 -19
- package/dist/dark/components/select.d.ts +24 -14
- package/dist/dark/components/select.d.ts.map +1 -1
- package/dist/dark/components/select.js +31 -24
- package/dist/dark/components/tabs.d.ts +17 -12
- package/dist/dark/components/tabs.d.ts.map +1 -1
- package/dist/dark/components/tabs.js +9 -8
- package/dist/dark/components/tooltip.d.ts +2 -1
- package/dist/dark/components/tooltip.d.ts.map +1 -1
- package/dist/dark/components/tooltip.js +7 -7
- package/dist/dark/semantic/action.d.ts +32 -32
- package/dist/dark/semantic/action.d.ts.map +1 -1
- package/dist/dark/semantic/action.js +44 -44
- package/dist/dark/semantic/border.d.ts +5 -5
- package/dist/dark/semantic/border.d.ts.map +1 -1
- package/dist/dark/semantic/border.js +5 -5
- package/dist/dark/semantic/control.d.ts +21 -16
- package/dist/dark/semantic/control.d.ts.map +1 -1
- package/dist/dark/semantic/control.js +24 -19
- package/dist/dark/semantic/divider.d.ts +3 -3
- package/dist/dark/semantic/divider.js +3 -3
- package/dist/dark/semantic/focus.d.ts +6 -2
- package/dist/dark/semantic/focus.d.ts.map +1 -1
- package/dist/dark/semantic/focus.js +6 -2
- package/dist/dark/semantic/icons.d.ts +10 -11
- package/dist/dark/semantic/icons.d.ts.map +1 -1
- package/dist/dark/semantic/icons.js +10 -11
- package/dist/dark/semantic/index.d.ts +3 -0
- package/dist/dark/semantic/index.d.ts.map +1 -1
- package/dist/dark/semantic/index.js +3 -0
- package/dist/dark/{components → semantic}/menu.d.ts +14 -19
- package/dist/dark/semantic/menu.d.ts.map +1 -0
- package/dist/dark/semantic/menu.js +47 -0
- package/dist/dark/semantic/navigation.d.ts +8 -8
- package/dist/dark/semantic/navigation.d.ts.map +1 -1
- package/dist/dark/semantic/navigation.js +5 -4
- package/dist/dark/semantic/overlay.d.ts +17 -0
- package/dist/dark/semantic/overlay.d.ts.map +1 -0
- package/dist/dark/semantic/overlay.js +19 -0
- package/dist/dark/semantic/shadow.d.ts +8 -0
- package/dist/dark/semantic/shadow.d.ts.map +1 -0
- package/dist/dark/semantic/shadow.js +7 -0
- package/dist/dark/semantic/skeleton.d.ts +2 -2
- package/dist/dark/semantic/skeleton.js +2 -2
- package/dist/dark/semantic/status.d.ts +12 -8
- package/dist/dark/semantic/status.d.ts.map +1 -1
- package/dist/dark/semantic/status.js +12 -8
- package/dist/dark/semantic/surface.d.ts +4 -4
- package/dist/dark/semantic/surface.d.ts.map +1 -1
- package/dist/dark/semantic/surface.js +4 -4
- package/dist/dark/semantic/text.d.ts +6 -5
- package/dist/dark/semantic/text.d.ts.map +1 -1
- package/dist/dark/semantic/text.js +6 -5
- package/dist/dark/theme.d.ts +1 -1
- package/dist/generated/token-types.d.ts +5 -5
- package/dist/generated/token-types.d.ts.map +1 -1
- package/dist/generated/token-types.js +569 -132
- package/dist/highContrast/components/button.d.ts +68 -68
- package/dist/highContrast/components/button.d.ts.map +1 -1
- package/dist/highContrast/components/button.js +68 -69
- package/dist/highContrast/components/checkbox.d.ts +20 -15
- package/dist/highContrast/components/checkbox.d.ts.map +1 -1
- package/dist/highContrast/components/checkbox.js +26 -13
- package/dist/highContrast/components/contextMenu.d.ts +89 -0
- package/dist/highContrast/components/contextMenu.d.ts.map +1 -0
- package/dist/highContrast/components/contextMenu.js +52 -0
- package/dist/highContrast/components/dropdown.d.ts +45 -25
- package/dist/highContrast/components/dropdown.d.ts.map +1 -1
- package/dist/highContrast/components/dropdown.js +28 -37
- package/dist/highContrast/components/formField.d.ts +5 -5
- package/dist/highContrast/components/formField.js +2 -2
- package/dist/highContrast/components/index.d.ts +1 -1
- package/dist/highContrast/components/index.d.ts.map +1 -1
- package/dist/highContrast/components/index.js +1 -1
- package/dist/highContrast/components/input.d.ts +29 -29
- package/dist/highContrast/components/input.d.ts.map +1 -1
- package/dist/highContrast/components/input.js +16 -17
- package/dist/highContrast/components/modal.d.ts +22 -5
- package/dist/highContrast/components/modal.d.ts.map +1 -1
- package/dist/highContrast/components/modal.js +19 -6
- package/dist/highContrast/components/radio.d.ts +27 -22
- package/dist/highContrast/components/radio.d.ts.map +1 -1
- package/dist/highContrast/components/radio.js +20 -20
- package/dist/highContrast/components/select.d.ts +27 -17
- package/dist/highContrast/components/select.d.ts.map +1 -1
- package/dist/highContrast/components/select.js +31 -30
- package/dist/highContrast/components/tabs.d.ts +21 -16
- package/dist/highContrast/components/tabs.d.ts.map +1 -1
- package/dist/highContrast/components/tabs.js +18 -15
- package/dist/highContrast/components/tooltip.d.ts +3 -2
- package/dist/highContrast/components/tooltip.d.ts.map +1 -1
- package/dist/highContrast/components/tooltip.js +7 -7
- package/dist/highContrast/semantic/action.d.ts +46 -36
- package/dist/highContrast/semantic/action.d.ts.map +1 -1
- package/dist/highContrast/semantic/action.js +56 -47
- package/dist/highContrast/semantic/border.d.ts +4 -4
- package/dist/highContrast/semantic/border.d.ts.map +1 -1
- package/dist/highContrast/semantic/border.js +4 -4
- package/dist/highContrast/semantic/control.d.ts +23 -28
- package/dist/highContrast/semantic/control.d.ts.map +1 -1
- package/dist/highContrast/semantic/control.js +24 -29
- package/dist/highContrast/semantic/divider.d.ts +2 -2
- package/dist/highContrast/semantic/divider.js +2 -2
- package/dist/highContrast/semantic/focus.d.ts +6 -2
- package/dist/highContrast/semantic/focus.d.ts.map +1 -1
- package/dist/highContrast/semantic/focus.js +6 -2
- package/dist/highContrast/semantic/icons.d.ts +10 -11
- package/dist/highContrast/semantic/icons.d.ts.map +1 -1
- package/dist/highContrast/semantic/icons.js +11 -12
- package/dist/highContrast/semantic/index.d.ts +4 -0
- package/dist/highContrast/semantic/index.d.ts.map +1 -1
- package/dist/highContrast/semantic/index.js +4 -0
- package/dist/highContrast/{components → semantic}/menu.d.ts +20 -25
- package/dist/highContrast/semantic/menu.d.ts.map +1 -0
- package/dist/highContrast/semantic/menu.js +47 -0
- package/dist/highContrast/semantic/navigation.d.ts +14 -25
- package/dist/highContrast/semantic/navigation.d.ts.map +1 -1
- package/dist/highContrast/semantic/navigation.js +12 -23
- package/dist/highContrast/semantic/overlay.d.ts +17 -0
- package/dist/highContrast/semantic/overlay.d.ts.map +1 -0
- package/dist/highContrast/semantic/overlay.js +19 -0
- package/dist/highContrast/semantic/shadow.d.ts +8 -0
- package/dist/highContrast/semantic/shadow.d.ts.map +1 -0
- package/dist/highContrast/semantic/shadow.js +7 -0
- package/dist/highContrast/semantic/skeleton.d.ts +1 -1
- package/dist/highContrast/semantic/skeleton.js +1 -1
- package/dist/highContrast/semantic/status.d.ts +17 -13
- package/dist/highContrast/semantic/status.d.ts.map +1 -1
- package/dist/highContrast/semantic/status.js +17 -13
- package/dist/highContrast/semantic/surface.d.ts +6 -6
- package/dist/highContrast/semantic/surface.d.ts.map +1 -1
- package/dist/highContrast/semantic/surface.js +7 -7
- package/dist/highContrast/semantic/text.d.ts +7 -6
- package/dist/highContrast/semantic/text.d.ts.map +1 -1
- package/dist/highContrast/semantic/text.js +7 -6
- package/dist/highContrast/theme.d.ts +1 -1
- package/dist/light/components/button.d.ts +49 -49
- package/dist/light/components/button.d.ts.map +1 -1
- package/dist/light/components/button.js +62 -64
- package/dist/light/components/checkbox.d.ts +19 -14
- package/dist/light/components/checkbox.d.ts.map +1 -1
- package/dist/light/components/checkbox.js +20 -13
- package/dist/light/components/contextMenu.d.ts +89 -0
- package/dist/light/components/contextMenu.d.ts.map +1 -0
- package/dist/light/components/contextMenu.js +52 -0
- package/dist/light/components/dropdown.d.ts +38 -18
- package/dist/light/components/dropdown.d.ts.map +1 -1
- package/dist/light/components/dropdown.js +21 -31
- package/dist/light/components/formField.d.ts +7 -7
- package/dist/light/components/formField.js +1 -1
- package/dist/light/components/index.d.ts +1 -1
- package/dist/light/components/index.d.ts.map +1 -1
- package/dist/light/components/index.js +1 -1
- package/dist/light/components/input.d.ts +31 -31
- package/dist/light/components/input.d.ts.map +1 -1
- package/dist/light/components/input.js +14 -15
- package/dist/light/components/modal.d.ts +25 -8
- package/dist/light/components/modal.d.ts.map +1 -1
- package/dist/light/components/modal.js +19 -6
- package/dist/light/components/radio.d.ts +23 -18
- package/dist/light/components/radio.d.ts.map +1 -1
- package/dist/light/components/radio.js +21 -21
- package/dist/light/components/select.d.ts +28 -18
- package/dist/light/components/select.d.ts.map +1 -1
- package/dist/light/components/select.js +31 -26
- package/dist/light/components/tabs.d.ts +20 -15
- package/dist/light/components/tabs.d.ts.map +1 -1
- package/dist/light/components/tabs.js +14 -13
- package/dist/light/components/tooltip.d.ts +3 -2
- package/dist/light/components/tooltip.d.ts.map +1 -1
- package/dist/light/components/tooltip.js +7 -7
- package/dist/light/semantic/action.d.ts +30 -28
- package/dist/light/semantic/action.d.ts.map +1 -1
- package/dist/light/semantic/action.js +38 -36
- package/dist/light/semantic/border.d.ts +4 -4
- package/dist/light/semantic/border.d.ts.map +1 -1
- package/dist/light/semantic/border.js +4 -4
- package/dist/light/semantic/control.d.ts +18 -13
- package/dist/light/semantic/control.d.ts.map +1 -1
- package/dist/light/semantic/control.js +18 -13
- package/dist/light/semantic/divider.d.ts +3 -3
- package/dist/light/semantic/divider.js +3 -3
- package/dist/light/semantic/focus.d.ts +6 -2
- package/dist/light/semantic/focus.d.ts.map +1 -1
- package/dist/light/semantic/focus.js +6 -2
- package/dist/light/semantic/icons.d.ts +10 -11
- package/dist/light/semantic/icons.d.ts.map +1 -1
- package/dist/light/semantic/icons.js +10 -11
- package/dist/light/semantic/index.d.ts +3 -0
- package/dist/light/semantic/index.d.ts.map +1 -1
- package/dist/light/semantic/index.js +3 -0
- package/dist/light/{components → semantic}/menu.d.ts +17 -22
- package/dist/light/semantic/menu.d.ts.map +1 -0
- package/dist/light/semantic/menu.js +47 -0
- package/dist/light/semantic/navigation.d.ts +13 -9
- package/dist/light/semantic/navigation.d.ts.map +1 -1
- package/dist/light/semantic/navigation.js +15 -9
- package/dist/light/semantic/overlay.d.ts +17 -0
- package/dist/light/semantic/overlay.d.ts.map +1 -0
- package/dist/light/semantic/overlay.js +19 -0
- package/dist/light/semantic/shadow.d.ts +8 -0
- package/dist/light/semantic/shadow.d.ts.map +1 -0
- package/dist/light/semantic/shadow.js +7 -0
- package/dist/light/semantic/skeleton.d.ts +2 -2
- package/dist/light/semantic/skeleton.js +2 -2
- package/dist/light/semantic/status.d.ts +14 -10
- package/dist/light/semantic/status.d.ts.map +1 -1
- package/dist/light/semantic/status.js +14 -10
- package/dist/light/semantic/surface.d.ts +6 -6
- package/dist/light/semantic/surface.d.ts.map +1 -1
- package/dist/light/semantic/surface.js +7 -7
- package/dist/light/semantic/text.d.ts +7 -5
- package/dist/light/semantic/text.d.ts.map +1 -1
- package/dist/light/semantic/text.js +7 -5
- package/dist/light/theme.d.ts +1 -1
- package/dist/primitives/colors.d.ts +4 -6
- package/dist/primitives/colors.d.ts.map +1 -1
- package/dist/primitives/colors.js +4 -6
- package/package.json +1 -1
- package/dist/dark/components/menu.d.ts.map +0 -1
- package/dist/dark/components/menu.js +0 -47
- package/dist/highContrast/components/menu.d.ts.map +0 -1
- package/dist/highContrast/components/menu.js +0 -48
- package/dist/light/components/menu.d.ts.map +0 -1
- package/dist/light/components/menu.js +0 -48
|
@@ -2,51 +2,51 @@ export declare const button: {
|
|
|
2
2
|
readonly primary: {
|
|
3
3
|
readonly solid: {
|
|
4
4
|
readonly default: {
|
|
5
|
-
readonly bg: "#
|
|
5
|
+
readonly bg: "#7352F8";
|
|
6
6
|
readonly fg: "#FFFFFF";
|
|
7
|
-
readonly border: "#
|
|
7
|
+
readonly border: "#FFFFFF";
|
|
8
8
|
};
|
|
9
9
|
readonly hover: {
|
|
10
|
-
readonly bg: "#
|
|
11
|
-
readonly fg: "#
|
|
12
|
-
readonly border: "#
|
|
10
|
+
readonly bg: "#9B7CFF";
|
|
11
|
+
readonly fg: "#000000";
|
|
12
|
+
readonly border: "#FCD34D";
|
|
13
13
|
};
|
|
14
14
|
readonly pressed: {
|
|
15
|
-
readonly bg: "#
|
|
15
|
+
readonly bg: "#6346E8";
|
|
16
16
|
readonly fg: "#FFFFFF";
|
|
17
|
-
readonly border: "#
|
|
17
|
+
readonly border: "#FCD34D";
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
20
|
readonly outline: {
|
|
21
21
|
readonly default: {
|
|
22
|
+
readonly bg: "transparent";
|
|
22
23
|
readonly fg: "#B8A8FF";
|
|
23
24
|
readonly border: "#B8A8FF";
|
|
24
|
-
readonly bg: string;
|
|
25
25
|
};
|
|
26
26
|
readonly hover: {
|
|
27
|
-
readonly bg: "#
|
|
27
|
+
readonly bg: "#111827";
|
|
28
28
|
readonly fg: "#B8A8FF";
|
|
29
|
-
readonly border: "#
|
|
29
|
+
readonly border: "#FCD34D";
|
|
30
30
|
};
|
|
31
31
|
readonly pressed: {
|
|
32
|
-
readonly bg: "#
|
|
32
|
+
readonly bg: "#21164F";
|
|
33
33
|
readonly fg: "#9B7CFF";
|
|
34
|
-
readonly border: "#
|
|
34
|
+
readonly border: "#FCD34D";
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
37
|
readonly ghost: {
|
|
38
38
|
readonly default: {
|
|
39
39
|
readonly fg: "#B8A8FF";
|
|
40
|
+
readonly bg: "transparent";
|
|
40
41
|
readonly border: "transparent";
|
|
41
|
-
readonly bg: string;
|
|
42
42
|
};
|
|
43
43
|
readonly hover: {
|
|
44
|
-
readonly bg: "#
|
|
45
|
-
readonly fg: "#
|
|
44
|
+
readonly bg: "#111827";
|
|
45
|
+
readonly fg: "#B8A8FF";
|
|
46
46
|
readonly border: "transparent";
|
|
47
47
|
};
|
|
48
48
|
readonly pressed: {
|
|
49
|
-
readonly bg: "#
|
|
49
|
+
readonly bg: "#21164F";
|
|
50
50
|
readonly fg: "#9B7CFF";
|
|
51
51
|
readonly border: "transparent";
|
|
52
52
|
};
|
|
@@ -55,52 +55,52 @@ export declare const button: {
|
|
|
55
55
|
readonly secondary: {
|
|
56
56
|
readonly solid: {
|
|
57
57
|
readonly default: {
|
|
58
|
-
readonly bg: "#
|
|
58
|
+
readonly bg: "#79E8F8";
|
|
59
59
|
readonly fg: "#000000";
|
|
60
|
-
readonly border: "#
|
|
60
|
+
readonly border: "#FFFFFF";
|
|
61
61
|
};
|
|
62
62
|
readonly hover: {
|
|
63
|
-
readonly bg: "#
|
|
63
|
+
readonly bg: "#B4F4FD";
|
|
64
64
|
readonly fg: "#000000";
|
|
65
|
-
readonly border: "#
|
|
65
|
+
readonly border: "#FCD34D";
|
|
66
66
|
};
|
|
67
67
|
readonly pressed: {
|
|
68
|
-
readonly bg: "#
|
|
68
|
+
readonly bg: "#3ED5EE";
|
|
69
69
|
readonly fg: "#000000";
|
|
70
|
-
readonly border: "#
|
|
70
|
+
readonly border: "#FCD34D";
|
|
71
71
|
};
|
|
72
72
|
};
|
|
73
73
|
readonly outline: {
|
|
74
74
|
readonly default: {
|
|
75
|
+
readonly bg: "transparent";
|
|
75
76
|
readonly fg: "#79E8F8";
|
|
76
77
|
readonly border: "#79E8F8";
|
|
77
|
-
readonly bg: string;
|
|
78
78
|
};
|
|
79
79
|
readonly hover: {
|
|
80
|
-
readonly bg: "#
|
|
81
|
-
readonly fg: "#
|
|
82
|
-
readonly border: "#
|
|
80
|
+
readonly bg: "#111827";
|
|
81
|
+
readonly fg: "#3ED5EE";
|
|
82
|
+
readonly border: "#FBBF24";
|
|
83
83
|
};
|
|
84
84
|
readonly pressed: {
|
|
85
|
-
readonly bg: "#
|
|
86
|
-
readonly fg: "#
|
|
87
|
-
readonly border: "#
|
|
85
|
+
readonly bg: "#062F3B";
|
|
86
|
+
readonly fg: "#1FBEDB";
|
|
87
|
+
readonly border: "#F59E0B";
|
|
88
88
|
};
|
|
89
89
|
};
|
|
90
90
|
readonly ghost: {
|
|
91
91
|
readonly default: {
|
|
92
92
|
readonly fg: "#79E8F8";
|
|
93
|
+
readonly bg: "transparent";
|
|
93
94
|
readonly border: "transparent";
|
|
94
|
-
readonly bg: string;
|
|
95
95
|
};
|
|
96
96
|
readonly hover: {
|
|
97
|
-
readonly bg: "#
|
|
98
|
-
readonly fg: "#
|
|
97
|
+
readonly bg: "#111827";
|
|
98
|
+
readonly fg: "#3ED5EE";
|
|
99
99
|
readonly border: "transparent";
|
|
100
100
|
};
|
|
101
101
|
readonly pressed: {
|
|
102
|
-
readonly bg: "#
|
|
103
|
-
readonly fg: "#
|
|
102
|
+
readonly bg: "#062F3B";
|
|
103
|
+
readonly fg: "#1FBEDB";
|
|
104
104
|
readonly border: "transparent";
|
|
105
105
|
};
|
|
106
106
|
};
|
|
@@ -113,47 +113,47 @@ export declare const button: {
|
|
|
113
113
|
readonly border: "#FFFFFF";
|
|
114
114
|
};
|
|
115
115
|
readonly hover: {
|
|
116
|
-
readonly bg: "#
|
|
116
|
+
readonly bg: "#E5E7EB";
|
|
117
117
|
readonly fg: "#000000";
|
|
118
|
-
readonly border: "#
|
|
118
|
+
readonly border: "#FCD34D";
|
|
119
119
|
};
|
|
120
120
|
readonly pressed: {
|
|
121
121
|
readonly bg: "#9CA3AF";
|
|
122
122
|
readonly fg: "#000000";
|
|
123
|
-
readonly border: "#
|
|
123
|
+
readonly border: "#FCD34D";
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
126
|
readonly outline: {
|
|
127
127
|
readonly default: {
|
|
128
|
+
readonly bg: "transparent";
|
|
128
129
|
readonly fg: "#FFFFFF";
|
|
129
|
-
readonly border: "#
|
|
130
|
-
readonly bg: string;
|
|
130
|
+
readonly border: "#9CA3AF";
|
|
131
131
|
};
|
|
132
132
|
readonly hover: {
|
|
133
|
-
readonly bg: "#
|
|
134
|
-
readonly fg: "#
|
|
135
|
-
readonly border: "#
|
|
133
|
+
readonly bg: "#111827";
|
|
134
|
+
readonly fg: "#FFFFFF";
|
|
135
|
+
readonly border: "#FCD34D";
|
|
136
136
|
};
|
|
137
137
|
readonly pressed: {
|
|
138
|
-
readonly bg: "#
|
|
139
|
-
readonly fg: "#
|
|
140
|
-
readonly border: "#
|
|
138
|
+
readonly bg: "#1F2937";
|
|
139
|
+
readonly fg: "#FFFFFF";
|
|
140
|
+
readonly border: "#FCD34D";
|
|
141
141
|
};
|
|
142
142
|
};
|
|
143
143
|
readonly ghost: {
|
|
144
144
|
readonly default: {
|
|
145
145
|
readonly fg: "#FFFFFF";
|
|
146
|
+
readonly bg: "transparent";
|
|
146
147
|
readonly border: "transparent";
|
|
147
|
-
readonly bg: string;
|
|
148
148
|
};
|
|
149
149
|
readonly hover: {
|
|
150
|
-
readonly bg: "#
|
|
151
|
-
readonly fg: "#
|
|
150
|
+
readonly bg: "#111827";
|
|
151
|
+
readonly fg: "#FFFFFF";
|
|
152
152
|
readonly border: "transparent";
|
|
153
153
|
};
|
|
154
154
|
readonly pressed: {
|
|
155
|
-
readonly bg: "#
|
|
156
|
-
readonly fg: "#
|
|
155
|
+
readonly bg: "#1F2937";
|
|
156
|
+
readonly fg: "#FFFFFF";
|
|
157
157
|
readonly border: "transparent";
|
|
158
158
|
};
|
|
159
159
|
};
|
|
@@ -163,56 +163,56 @@ export declare const button: {
|
|
|
163
163
|
readonly default: {
|
|
164
164
|
readonly bg: "#E11D48";
|
|
165
165
|
readonly fg: "#FFFFFF";
|
|
166
|
-
readonly border: "#
|
|
166
|
+
readonly border: "#FFFFFF";
|
|
167
167
|
};
|
|
168
168
|
readonly hover: {
|
|
169
169
|
readonly bg: "#F43F5E";
|
|
170
|
-
readonly fg: "#
|
|
171
|
-
readonly border: "#
|
|
170
|
+
readonly fg: "#000000";
|
|
171
|
+
readonly border: "#FCD34D";
|
|
172
172
|
};
|
|
173
173
|
readonly pressed: {
|
|
174
|
-
readonly bg: "#
|
|
174
|
+
readonly bg: "#BE123C";
|
|
175
175
|
readonly fg: "#FFFFFF";
|
|
176
|
-
readonly border: "#
|
|
176
|
+
readonly border: "#FCD34D";
|
|
177
177
|
};
|
|
178
178
|
};
|
|
179
179
|
readonly outline: {
|
|
180
180
|
readonly default: {
|
|
181
|
+
readonly bg: "transparent";
|
|
181
182
|
readonly fg: "#FB7185";
|
|
182
183
|
readonly border: "#FB7185";
|
|
183
|
-
readonly bg: string;
|
|
184
184
|
};
|
|
185
185
|
readonly hover: {
|
|
186
|
-
readonly bg:
|
|
187
|
-
readonly fg: "#
|
|
188
|
-
readonly border: "#
|
|
186
|
+
readonly bg: "#4C0519";
|
|
187
|
+
readonly fg: "#FECDD3";
|
|
188
|
+
readonly border: "#FCD34D";
|
|
189
189
|
};
|
|
190
190
|
readonly pressed: {
|
|
191
|
-
readonly bg:
|
|
192
|
-
readonly fg: "#
|
|
193
|
-
readonly border: "#
|
|
191
|
+
readonly bg: "#4C0519";
|
|
192
|
+
readonly fg: "#FECDD3";
|
|
193
|
+
readonly border: "#FCD34D";
|
|
194
194
|
};
|
|
195
195
|
};
|
|
196
196
|
readonly ghost: {
|
|
197
197
|
readonly default: {
|
|
198
198
|
readonly fg: "#FB7185";
|
|
199
|
+
readonly bg: "transparent";
|
|
199
200
|
readonly border: "transparent";
|
|
200
|
-
readonly bg: string;
|
|
201
201
|
};
|
|
202
202
|
readonly hover: {
|
|
203
|
-
readonly bg:
|
|
204
|
-
readonly fg: "#
|
|
203
|
+
readonly bg: "#4C0519";
|
|
204
|
+
readonly fg: "#FECDD3";
|
|
205
205
|
readonly border: "transparent";
|
|
206
206
|
};
|
|
207
207
|
readonly pressed: {
|
|
208
|
-
readonly bg:
|
|
209
|
-
readonly fg: "#
|
|
208
|
+
readonly bg: "#4C0519";
|
|
209
|
+
readonly fg: "#FECDD3";
|
|
210
210
|
readonly border: "transparent";
|
|
211
211
|
};
|
|
212
212
|
};
|
|
213
213
|
};
|
|
214
214
|
readonly disabled: {
|
|
215
|
-
readonly bg: "#
|
|
215
|
+
readonly bg: "#111827";
|
|
216
216
|
readonly fg: "#6B7280";
|
|
217
217
|
readonly border: "#4B5563";
|
|
218
218
|
};
|
|
@@ -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":"AAYA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkLT,CAAC"}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import { colors } from '../../primitives/colors.js';
|
|
1
2
|
import { action } from '../semantic/action.js';
|
|
2
3
|
import { border } from '../semantic/border.js';
|
|
4
|
+
import { status } from '../semantic/status.js';
|
|
3
5
|
import { surface } from '../semantic/surface.js';
|
|
4
6
|
import { text } from '../semantic/text.js';
|
|
5
7
|
const transparent = {
|
|
6
8
|
bg: 'transparent',
|
|
9
|
+
border: 'transparent',
|
|
7
10
|
};
|
|
8
11
|
export const button = {
|
|
9
12
|
primary: {
|
|
@@ -14,36 +17,35 @@ export const button = {
|
|
|
14
17
|
},
|
|
15
18
|
outline: {
|
|
16
19
|
default: {
|
|
17
|
-
|
|
18
|
-
fg:
|
|
19
|
-
border:
|
|
20
|
+
bg: 'transparent',
|
|
21
|
+
fg: colors.primary[300],
|
|
22
|
+
border: colors.primary[300],
|
|
20
23
|
},
|
|
21
24
|
hover: {
|
|
22
|
-
bg:
|
|
23
|
-
fg:
|
|
24
|
-
border:
|
|
25
|
+
bg: action.primary.subtle.bg,
|
|
26
|
+
fg: colors.primary[300],
|
|
27
|
+
border: colors.warning[300],
|
|
25
28
|
},
|
|
26
29
|
pressed: {
|
|
27
|
-
bg:
|
|
28
|
-
fg:
|
|
29
|
-
border:
|
|
30
|
+
bg: action.primary.muted.bg,
|
|
31
|
+
fg: colors.primary[400],
|
|
32
|
+
border: colors.warning[300],
|
|
30
33
|
},
|
|
31
34
|
},
|
|
32
35
|
ghost: {
|
|
33
36
|
default: {
|
|
34
37
|
...transparent,
|
|
35
|
-
fg:
|
|
36
|
-
border: 'transparent',
|
|
38
|
+
fg: colors.primary[300],
|
|
37
39
|
},
|
|
38
40
|
hover: {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
41
|
+
...transparent,
|
|
42
|
+
bg: action.primary.subtle.bg,
|
|
43
|
+
fg: colors.primary[300],
|
|
42
44
|
},
|
|
43
45
|
pressed: {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
46
|
+
...transparent,
|
|
47
|
+
bg: action.primary.muted.bg,
|
|
48
|
+
fg: colors.primary[400],
|
|
47
49
|
},
|
|
48
50
|
},
|
|
49
51
|
},
|
|
@@ -55,36 +57,35 @@ export const button = {
|
|
|
55
57
|
},
|
|
56
58
|
outline: {
|
|
57
59
|
default: {
|
|
58
|
-
|
|
59
|
-
fg:
|
|
60
|
-
border:
|
|
60
|
+
bg: 'transparent',
|
|
61
|
+
fg: colors.secondary[300],
|
|
62
|
+
border: colors.secondary[300],
|
|
61
63
|
},
|
|
62
64
|
hover: {
|
|
63
|
-
bg:
|
|
64
|
-
fg:
|
|
65
|
-
border:
|
|
65
|
+
bg: action.secondary.subtle.bg,
|
|
66
|
+
fg: colors.secondary[400],
|
|
67
|
+
border: colors.warning[400],
|
|
66
68
|
},
|
|
67
69
|
pressed: {
|
|
68
|
-
bg:
|
|
69
|
-
fg:
|
|
70
|
-
border:
|
|
70
|
+
bg: action.secondary.muted.bg,
|
|
71
|
+
fg: colors.secondary[500],
|
|
72
|
+
border: colors.warning[500],
|
|
71
73
|
},
|
|
72
74
|
},
|
|
73
75
|
ghost: {
|
|
74
76
|
default: {
|
|
75
77
|
...transparent,
|
|
76
|
-
fg:
|
|
77
|
-
border: 'transparent',
|
|
78
|
+
fg: colors.secondary[300],
|
|
78
79
|
},
|
|
79
80
|
hover: {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
81
|
+
...transparent,
|
|
82
|
+
bg: action.secondary.subtle.bg,
|
|
83
|
+
fg: colors.secondary[400],
|
|
83
84
|
},
|
|
84
85
|
pressed: {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
...transparent,
|
|
87
|
+
bg: action.secondary.muted.bg,
|
|
88
|
+
fg: colors.secondary[500],
|
|
88
89
|
},
|
|
89
90
|
},
|
|
90
91
|
},
|
|
@@ -96,36 +97,35 @@ export const button = {
|
|
|
96
97
|
},
|
|
97
98
|
outline: {
|
|
98
99
|
default: {
|
|
99
|
-
|
|
100
|
-
fg:
|
|
101
|
-
border:
|
|
100
|
+
bg: 'transparent',
|
|
101
|
+
fg: text.primary,
|
|
102
|
+
border: border.default,
|
|
102
103
|
},
|
|
103
104
|
hover: {
|
|
104
|
-
bg:
|
|
105
|
-
fg:
|
|
106
|
-
border:
|
|
105
|
+
bg: action.close.subtle.bg,
|
|
106
|
+
fg: text.primary,
|
|
107
|
+
border: colors.warning[300],
|
|
107
108
|
},
|
|
108
109
|
pressed: {
|
|
109
|
-
bg:
|
|
110
|
-
fg:
|
|
111
|
-
border:
|
|
110
|
+
bg: action.close.muted.bg,
|
|
111
|
+
fg: text.primary,
|
|
112
|
+
border: colors.warning[300],
|
|
112
113
|
},
|
|
113
114
|
},
|
|
114
115
|
ghost: {
|
|
115
116
|
default: {
|
|
116
117
|
...transparent,
|
|
117
|
-
fg:
|
|
118
|
-
border: 'transparent',
|
|
118
|
+
fg: text.primary,
|
|
119
119
|
},
|
|
120
120
|
hover: {
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
121
|
+
...transparent,
|
|
122
|
+
bg: action.close.subtle.bg,
|
|
123
|
+
fg: text.primary,
|
|
124
124
|
},
|
|
125
125
|
pressed: {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
126
|
+
...transparent,
|
|
127
|
+
bg: action.close.muted.bg,
|
|
128
|
+
fg: text.primary,
|
|
129
129
|
},
|
|
130
130
|
},
|
|
131
131
|
},
|
|
@@ -137,41 +137,40 @@ export const button = {
|
|
|
137
137
|
},
|
|
138
138
|
outline: {
|
|
139
139
|
default: {
|
|
140
|
-
|
|
141
|
-
fg:
|
|
142
|
-
border:
|
|
140
|
+
bg: 'transparent',
|
|
141
|
+
fg: status.error.fg,
|
|
142
|
+
border: status.error.border,
|
|
143
143
|
},
|
|
144
144
|
hover: {
|
|
145
|
-
bg:
|
|
146
|
-
fg:
|
|
147
|
-
border:
|
|
145
|
+
bg: status.error.bg,
|
|
146
|
+
fg: status.error.strong,
|
|
147
|
+
border: colors.warning[300],
|
|
148
148
|
},
|
|
149
149
|
pressed: {
|
|
150
|
-
bg:
|
|
151
|
-
fg:
|
|
152
|
-
border:
|
|
150
|
+
bg: action.danger.muted.bg,
|
|
151
|
+
fg: status.error.strong,
|
|
152
|
+
border: colors.warning[300],
|
|
153
153
|
},
|
|
154
154
|
},
|
|
155
155
|
ghost: {
|
|
156
156
|
default: {
|
|
157
157
|
...transparent,
|
|
158
|
-
fg:
|
|
159
|
-
border: 'transparent',
|
|
158
|
+
fg: status.error.fg,
|
|
160
159
|
},
|
|
161
160
|
hover: {
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
161
|
+
...transparent,
|
|
162
|
+
bg: status.error.bg,
|
|
163
|
+
fg: status.error.strong,
|
|
165
164
|
},
|
|
166
165
|
pressed: {
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
166
|
+
...transparent,
|
|
167
|
+
bg: action.danger.muted.bg,
|
|
168
|
+
fg: status.error.strong,
|
|
170
169
|
},
|
|
171
170
|
},
|
|
172
171
|
},
|
|
173
172
|
disabled: {
|
|
174
|
-
bg: surface.
|
|
173
|
+
bg: surface.disabled,
|
|
175
174
|
fg: text.disabled,
|
|
176
175
|
border: border.disabled,
|
|
177
176
|
},
|
|
@@ -1,33 +1,37 @@
|
|
|
1
1
|
export declare const checkbox: {
|
|
2
2
|
readonly default: {
|
|
3
|
-
readonly bg: "#
|
|
3
|
+
readonly bg: "#000000";
|
|
4
4
|
readonly fg: "#FFFFFF";
|
|
5
|
-
readonly border: "#
|
|
5
|
+
readonly border: "#9CA3AF";
|
|
6
6
|
};
|
|
7
7
|
readonly hover: {
|
|
8
|
-
readonly
|
|
9
|
-
readonly
|
|
10
|
-
readonly
|
|
8
|
+
readonly labelFg: "#FCD34D";
|
|
9
|
+
readonly bg: "#374151";
|
|
10
|
+
readonly fg: "#FBBF24";
|
|
11
|
+
readonly border: "#FCD34D";
|
|
11
12
|
};
|
|
12
13
|
readonly checked: {
|
|
13
14
|
readonly default: {
|
|
14
|
-
readonly bg: "#
|
|
15
|
-
readonly fg: "#
|
|
16
|
-
readonly border: "#
|
|
15
|
+
readonly bg: "#FCD34D";
|
|
16
|
+
readonly fg: "#000000";
|
|
17
|
+
readonly border: "#FCD34D";
|
|
18
|
+
readonly labelFg: "#FBBF24";
|
|
17
19
|
};
|
|
18
20
|
readonly hover: {
|
|
19
|
-
readonly bg: "#
|
|
20
|
-
readonly fg: "#
|
|
21
|
-
readonly border: "#
|
|
21
|
+
readonly bg: "#FDE68A";
|
|
22
|
+
readonly fg: "#000000";
|
|
23
|
+
readonly border: "#FDE68A";
|
|
24
|
+
readonly labelFg: "#FCD34D";
|
|
22
25
|
};
|
|
23
26
|
readonly pressed: {
|
|
24
|
-
readonly bg: "#
|
|
25
|
-
readonly fg: "#
|
|
26
|
-
readonly border: "#
|
|
27
|
+
readonly bg: "#FBBF24";
|
|
28
|
+
readonly fg: "#000000";
|
|
29
|
+
readonly border: "#FBBF24";
|
|
30
|
+
readonly labelFg: "#FDE68A";
|
|
27
31
|
};
|
|
28
32
|
};
|
|
29
33
|
readonly focus: {
|
|
30
|
-
readonly ring: "#
|
|
34
|
+
readonly ring: "#FCD34D";
|
|
31
35
|
};
|
|
32
36
|
readonly disabled: {
|
|
33
37
|
readonly bg: "#111827";
|
|
@@ -37,6 +41,7 @@ export declare const checkbox: {
|
|
|
37
41
|
readonly error: {
|
|
38
42
|
readonly fg: "#FB7185";
|
|
39
43
|
readonly border: "#FB7185";
|
|
44
|
+
readonly ring: "#FB7185";
|
|
40
45
|
};
|
|
41
46
|
};
|
|
42
47
|
//# sourceMappingURL=checkbox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/highContrast/components/checkbox.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/highContrast/components/checkbox.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0CX,CAAC"}
|
|
@@ -1,27 +1,40 @@
|
|
|
1
|
-
import { border } from '../semantic/border.js';
|
|
2
1
|
import { control } from '../semantic/control.js';
|
|
3
2
|
import { focus } from '../semantic/focus.js';
|
|
4
3
|
import { status } from '../semantic/status.js';
|
|
5
|
-
import { surface } from '../semantic/surface.js';
|
|
6
4
|
import { text } from '../semantic/text.js';
|
|
7
5
|
export const checkbox = {
|
|
8
6
|
default: control.default,
|
|
9
|
-
hover:
|
|
7
|
+
hover: {
|
|
8
|
+
...control.hover,
|
|
9
|
+
labelFg: text.interactiveHover,
|
|
10
|
+
},
|
|
10
11
|
checked: {
|
|
11
|
-
default:
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
default: {
|
|
13
|
+
bg: control.selected.default.bg,
|
|
14
|
+
fg: control.selected.default.fg,
|
|
15
|
+
border: control.selected.default.border,
|
|
16
|
+
labelFg: text.interactive,
|
|
17
|
+
},
|
|
18
|
+
hover: {
|
|
19
|
+
bg: control.selected.hover.bg,
|
|
20
|
+
fg: control.selected.hover.fg,
|
|
21
|
+
border: control.selected.hover.border,
|
|
22
|
+
labelFg: text.interactiveHover,
|
|
23
|
+
},
|
|
24
|
+
pressed: {
|
|
25
|
+
bg: control.selected.active.bg,
|
|
26
|
+
fg: control.selected.active.fg,
|
|
27
|
+
border: control.selected.active.border,
|
|
28
|
+
labelFg: text.interactiveActive,
|
|
29
|
+
},
|
|
14
30
|
},
|
|
15
31
|
focus: {
|
|
16
|
-
ring: focus.ring,
|
|
17
|
-
},
|
|
18
|
-
disabled: {
|
|
19
|
-
bg: surface.subtle,
|
|
20
|
-
fg: text.disabled,
|
|
21
|
-
border: border.muted,
|
|
32
|
+
ring: focus.ring.color,
|
|
22
33
|
},
|
|
34
|
+
disabled: control.disabled,
|
|
23
35
|
error: {
|
|
24
36
|
fg: status.error.fg,
|
|
25
|
-
border: status.error.
|
|
37
|
+
border: status.error.border,
|
|
38
|
+
ring: status.error.ring,
|
|
26
39
|
},
|
|
27
40
|
};
|