@vellira-ui/tokens 2.26.1 → 2.28.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 +890 -365
- package/dist/dark/components/button.d.ts +263 -95
- package/dist/dark/components/button.d.ts.map +1 -1
- package/dist/dark/components/button.js +136 -151
- package/dist/dark/components/checkbox.d.ts +29 -19
- package/dist/dark/components/checkbox.d.ts.map +1 -1
- package/dist/dark/components/checkbox.js +112 -14
- package/dist/dark/components/formField.d.ts +1 -1
- package/dist/dark/components/input.d.ts +3 -3
- package/dist/dark/semantic/icons.d.ts +1 -1
- package/dist/dark/semantic/status.d.ts +4 -4
- package/dist/dark/theme.d.ts +11 -11
- package/dist/generated/token-types.d.ts +4 -4
- package/dist/generated/token-types.d.ts.map +1 -1
- package/dist/generated/token-types.js +964 -264
- package/dist/highContrast/components/button.d.ts +264 -96
- package/dist/highContrast/components/button.d.ts.map +1 -1
- package/dist/highContrast/components/button.js +135 -150
- package/dist/highContrast/components/checkbox.d.ts +29 -19
- package/dist/highContrast/components/checkbox.d.ts.map +1 -1
- package/dist/highContrast/components/checkbox.js +112 -20
- package/dist/highContrast/components/formField.d.ts +1 -1
- package/dist/highContrast/components/input.d.ts +3 -3
- package/dist/highContrast/semantic/action.d.ts +6 -6
- package/dist/highContrast/semantic/action.js +6 -6
- package/dist/highContrast/semantic/icons.d.ts +1 -1
- package/dist/highContrast/semantic/status.d.ts +5 -5
- package/dist/highContrast/theme.d.ts +11 -11
- package/dist/light/components/button.d.ts +264 -96
- package/dist/light/components/button.d.ts.map +1 -1
- package/dist/light/components/button.js +136 -151
- package/dist/light/components/checkbox.d.ts +29 -19
- package/dist/light/components/checkbox.d.ts.map +1 -1
- package/dist/light/components/checkbox.js +112 -14
- package/dist/light/components/formField.d.ts +2 -2
- package/dist/light/components/input.d.ts +3 -3
- package/dist/light/semantic/icons.d.ts +1 -1
- package/dist/light/semantic/status.d.ts +7 -7
- package/dist/light/semantic/status.js +3 -3
- package/dist/light/theme.d.ts +11 -11
- package/dist/primitives/colors.d.ts +11 -11
- package/dist/primitives/colors.js +11 -11
- package/dist/utils/createButtonPalette.d.ts +106 -0
- package/dist/utils/createButtonPalette.d.ts.map +1 -0
- package/dist/utils/createButtonPalette.js +72 -0
- package/dist/utils/createCheckboxPalette.d.ts +19 -0
- package/dist/utils/createCheckboxPalette.d.ts.map +1 -0
- package/dist/utils/createCheckboxPalette.js +6 -0
- package/package.json +1 -1
|
@@ -1,174 +1,159 @@
|
|
|
1
1
|
import { colors } from '../../primitives/colors.js';
|
|
2
|
-
import {
|
|
2
|
+
import { createButtonPalette } from '../../utils/createButtonPalette.js';
|
|
3
3
|
import { border } from '../semantic/border.js';
|
|
4
|
-
import { status } from '../semantic/status.js';
|
|
5
4
|
import { surface } from '../semantic/surface.js';
|
|
6
5
|
import { text } from '../semantic/text.js';
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
default: action.primary.default,
|
|
15
|
-
hover: action.primary.hover,
|
|
16
|
-
pressed: action.primary.active,
|
|
6
|
+
const primary = createButtonPalette({
|
|
7
|
+
ring: colors.primary[400],
|
|
8
|
+
solid: {
|
|
9
|
+
default: {
|
|
10
|
+
bg: colors.primary[600],
|
|
11
|
+
fg: colors.primary[50],
|
|
12
|
+
border: colors.primary[600],
|
|
17
13
|
},
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
border: colors.primary[500],
|
|
23
|
-
},
|
|
24
|
-
hover: {
|
|
25
|
-
bg: surface.elevated,
|
|
26
|
-
fg: colors.primary[200],
|
|
27
|
-
border: colors.primary[400],
|
|
28
|
-
},
|
|
29
|
-
pressed: {
|
|
30
|
-
bg: surface.active,
|
|
31
|
-
fg: colors.primary[100],
|
|
32
|
-
border: colors.primary[500],
|
|
33
|
-
},
|
|
14
|
+
hover: {
|
|
15
|
+
bg: colors.primary[700],
|
|
16
|
+
fg: colors.primary[200],
|
|
17
|
+
border: colors.primary[700],
|
|
34
18
|
},
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
},
|
|
40
|
-
hover: {
|
|
41
|
-
...transparent,
|
|
42
|
-
bg: surface.elevated,
|
|
43
|
-
fg: colors.primary[200],
|
|
44
|
-
},
|
|
45
|
-
pressed: {
|
|
46
|
-
...transparent,
|
|
47
|
-
bg: surface.active,
|
|
48
|
-
fg: colors.primary[100],
|
|
49
|
-
},
|
|
19
|
+
pressed: {
|
|
20
|
+
bg: colors.primary[800],
|
|
21
|
+
fg: colors.primary[300],
|
|
22
|
+
border: colors.primary[800],
|
|
50
23
|
},
|
|
51
24
|
},
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
25
|
+
fg: colors.primary[400],
|
|
26
|
+
bg: colors.primary[950],
|
|
27
|
+
border: colors.primary[300],
|
|
28
|
+
hoverFg: colors.primary[400],
|
|
29
|
+
hoverBg: colors.primary[900],
|
|
30
|
+
hoverBorder: colors.primary[500],
|
|
31
|
+
pressedFg: colors.primary[500],
|
|
32
|
+
pressedBg: colors.primary[800],
|
|
33
|
+
pressedBorder: colors.primary[600],
|
|
34
|
+
});
|
|
35
|
+
const neutral = createButtonPalette({
|
|
36
|
+
ring: colors.vellira[400],
|
|
37
|
+
solid: {
|
|
38
|
+
default: {
|
|
39
|
+
bg: colors.vellira[200],
|
|
40
|
+
fg: colors.vellira[950],
|
|
41
|
+
border: colors.vellira[200],
|
|
57
42
|
},
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
border: colors.secondary[500],
|
|
63
|
-
},
|
|
64
|
-
hover: {
|
|
65
|
-
bg: surface.elevated,
|
|
66
|
-
fg: colors.secondary[200],
|
|
67
|
-
border: colors.secondary[400],
|
|
68
|
-
},
|
|
69
|
-
pressed: {
|
|
70
|
-
bg: surface.active,
|
|
71
|
-
fg: colors.secondary[100],
|
|
72
|
-
border: colors.secondary[500],
|
|
73
|
-
},
|
|
43
|
+
hover: {
|
|
44
|
+
bg: colors.vellira[300],
|
|
45
|
+
fg: colors.vellira[900],
|
|
46
|
+
border: colors.vellira[300],
|
|
74
47
|
},
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
},
|
|
80
|
-
hover: {
|
|
81
|
-
...transparent,
|
|
82
|
-
bg: surface.elevated,
|
|
83
|
-
fg: colors.secondary[200],
|
|
84
|
-
},
|
|
85
|
-
pressed: {
|
|
86
|
-
...transparent,
|
|
87
|
-
bg: surface.active,
|
|
88
|
-
fg: colors.secondary[100],
|
|
89
|
-
},
|
|
48
|
+
pressed: {
|
|
49
|
+
bg: colors.vellira[400],
|
|
50
|
+
fg: colors.vellira[800],
|
|
51
|
+
border: colors.vellira[400],
|
|
90
52
|
},
|
|
91
53
|
},
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
54
|
+
fg: colors.vellira[200],
|
|
55
|
+
bg: colors.vellira[800],
|
|
56
|
+
border: colors.vellira[300],
|
|
57
|
+
hoverFg: colors.vellira[300],
|
|
58
|
+
hoverBg: colors.vellira[700],
|
|
59
|
+
hoverBorder: colors.vellira[400],
|
|
60
|
+
pressedFg: colors.vellira[400],
|
|
61
|
+
pressedBg: colors.vellira[800],
|
|
62
|
+
pressedBorder: colors.vellira[500],
|
|
63
|
+
});
|
|
64
|
+
const success = createButtonPalette({
|
|
65
|
+
ring: colors.success[500],
|
|
66
|
+
solid: {
|
|
67
|
+
default: {
|
|
68
|
+
bg: colors.success[500],
|
|
69
|
+
fg: colors.success[950],
|
|
70
|
+
border: colors.success[500],
|
|
97
71
|
},
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
border: colors.vellira[500],
|
|
103
|
-
},
|
|
104
|
-
hover: {
|
|
105
|
-
bg: surface.elevated,
|
|
106
|
-
fg: colors.vellira[200],
|
|
107
|
-
border: colors.vellira[400],
|
|
108
|
-
},
|
|
109
|
-
pressed: {
|
|
110
|
-
bg: surface.active,
|
|
111
|
-
fg: colors.vellira[100],
|
|
112
|
-
border: colors.vellira[500],
|
|
113
|
-
},
|
|
72
|
+
hover: {
|
|
73
|
+
bg: colors.success[600],
|
|
74
|
+
fg: colors.success[900],
|
|
75
|
+
border: colors.success[600],
|
|
114
76
|
},
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
},
|
|
120
|
-
hover: {
|
|
121
|
-
...transparent,
|
|
122
|
-
bg: surface.elevated,
|
|
123
|
-
fg: colors.vellira[200],
|
|
124
|
-
},
|
|
125
|
-
pressed: {
|
|
126
|
-
...transparent,
|
|
127
|
-
bg: surface.active,
|
|
128
|
-
fg: colors.vellira[100],
|
|
129
|
-
},
|
|
77
|
+
pressed: {
|
|
78
|
+
bg: colors.success[700],
|
|
79
|
+
fg: colors.success[800],
|
|
80
|
+
border: colors.success[700],
|
|
130
81
|
},
|
|
131
82
|
},
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
83
|
+
fg: colors.success[400],
|
|
84
|
+
bg: colors.success[950],
|
|
85
|
+
border: colors.success[500],
|
|
86
|
+
hoverFg: colors.success[500],
|
|
87
|
+
hoverBg: colors.success[900],
|
|
88
|
+
hoverBorder: colors.success[600],
|
|
89
|
+
pressedFg: colors.success[600],
|
|
90
|
+
pressedBg: colors.success[800],
|
|
91
|
+
pressedBorder: colors.success[700],
|
|
92
|
+
});
|
|
93
|
+
const warning = createButtonPalette({
|
|
94
|
+
ring: colors.warning[500],
|
|
95
|
+
solid: {
|
|
96
|
+
default: {
|
|
97
|
+
bg: colors.warning[500],
|
|
98
|
+
fg: colors.warning[950],
|
|
99
|
+
border: colors.warning[500],
|
|
137
100
|
},
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
border: status.error.border,
|
|
143
|
-
},
|
|
144
|
-
hover: {
|
|
145
|
-
bg: status.error.bg,
|
|
146
|
-
fg: colors.error[300],
|
|
147
|
-
border: colors.error[400],
|
|
148
|
-
},
|
|
149
|
-
pressed: {
|
|
150
|
-
bg: surface.danger,
|
|
151
|
-
fg: colors.error[200],
|
|
152
|
-
border: colors.error[500],
|
|
153
|
-
},
|
|
101
|
+
hover: {
|
|
102
|
+
bg: colors.warning[600],
|
|
103
|
+
fg: colors.warning[900],
|
|
104
|
+
border: colors.warning[600],
|
|
154
105
|
},
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
},
|
|
160
|
-
hover: {
|
|
161
|
-
...transparent,
|
|
162
|
-
bg: status.error.bg,
|
|
163
|
-
fg: colors.error[300],
|
|
164
|
-
},
|
|
165
|
-
pressed: {
|
|
166
|
-
...transparent,
|
|
167
|
-
bg: surface.danger,
|
|
168
|
-
fg: colors.error[200],
|
|
169
|
-
},
|
|
106
|
+
pressed: {
|
|
107
|
+
bg: colors.warning[700],
|
|
108
|
+
fg: colors.warning[800],
|
|
109
|
+
border: colors.warning[700],
|
|
170
110
|
},
|
|
171
111
|
},
|
|
112
|
+
fg: colors.warning[400],
|
|
113
|
+
bg: colors.warning[950],
|
|
114
|
+
border: colors.warning[500],
|
|
115
|
+
hoverFg: colors.warning[500],
|
|
116
|
+
hoverBg: colors.warning[900],
|
|
117
|
+
hoverBorder: colors.warning[600],
|
|
118
|
+
pressedFg: colors.warning[600],
|
|
119
|
+
pressedBg: colors.warning[800],
|
|
120
|
+
pressedBorder: colors.warning[700],
|
|
121
|
+
});
|
|
122
|
+
const danger = createButtonPalette({
|
|
123
|
+
ring: colors.error[500],
|
|
124
|
+
solid: {
|
|
125
|
+
default: {
|
|
126
|
+
bg: colors.error[700],
|
|
127
|
+
fg: colors.error[50],
|
|
128
|
+
border: colors.error[700],
|
|
129
|
+
},
|
|
130
|
+
hover: {
|
|
131
|
+
bg: colors.error[800],
|
|
132
|
+
fg: colors.error[200],
|
|
133
|
+
border: colors.error[800],
|
|
134
|
+
},
|
|
135
|
+
pressed: {
|
|
136
|
+
bg: colors.error[900],
|
|
137
|
+
fg: colors.error[300],
|
|
138
|
+
border: colors.error[900],
|
|
139
|
+
},
|
|
140
|
+
},
|
|
141
|
+
fg: colors.error[400],
|
|
142
|
+
bg: colors.error[950],
|
|
143
|
+
border: colors.error[500],
|
|
144
|
+
hoverFg: colors.error[500],
|
|
145
|
+
hoverBg: colors.error[900],
|
|
146
|
+
hoverBorder: colors.error[600],
|
|
147
|
+
pressedFg: colors.error[600],
|
|
148
|
+
pressedBg: colors.error[800],
|
|
149
|
+
pressedBorder: colors.error[700],
|
|
150
|
+
});
|
|
151
|
+
export const button = {
|
|
152
|
+
primary,
|
|
153
|
+
neutral,
|
|
154
|
+
success,
|
|
155
|
+
warning,
|
|
156
|
+
danger,
|
|
172
157
|
disabled: {
|
|
173
158
|
bg: surface.disabled,
|
|
174
159
|
fg: text.disabled,
|
|
@@ -10,25 +10,35 @@ export declare const checkbox: {
|
|
|
10
10
|
readonly fg: "#B8A8FF";
|
|
11
11
|
readonly border: "#B8A8FF";
|
|
12
12
|
};
|
|
13
|
-
readonly
|
|
14
|
-
readonly
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
readonly
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
readonly
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
13
|
+
readonly primary: {
|
|
14
|
+
readonly ring: string;
|
|
15
|
+
readonly default: import("../../utils/createCheckboxPalette.js").CheckboxState;
|
|
16
|
+
readonly hover: import("../../utils/createCheckboxPalette.js").CheckboxState;
|
|
17
|
+
readonly pressed: import("../../utils/createCheckboxPalette.js").CheckboxState;
|
|
18
|
+
};
|
|
19
|
+
readonly neutral: {
|
|
20
|
+
readonly ring: string;
|
|
21
|
+
readonly default: import("../../utils/createCheckboxPalette.js").CheckboxState;
|
|
22
|
+
readonly hover: import("../../utils/createCheckboxPalette.js").CheckboxState;
|
|
23
|
+
readonly pressed: import("../../utils/createCheckboxPalette.js").CheckboxState;
|
|
24
|
+
};
|
|
25
|
+
readonly success: {
|
|
26
|
+
readonly ring: string;
|
|
27
|
+
readonly default: import("../../utils/createCheckboxPalette.js").CheckboxState;
|
|
28
|
+
readonly hover: import("../../utils/createCheckboxPalette.js").CheckboxState;
|
|
29
|
+
readonly pressed: import("../../utils/createCheckboxPalette.js").CheckboxState;
|
|
30
|
+
};
|
|
31
|
+
readonly warning: {
|
|
32
|
+
readonly ring: string;
|
|
33
|
+
readonly default: import("../../utils/createCheckboxPalette.js").CheckboxState;
|
|
34
|
+
readonly hover: import("../../utils/createCheckboxPalette.js").CheckboxState;
|
|
35
|
+
readonly pressed: import("../../utils/createCheckboxPalette.js").CheckboxState;
|
|
36
|
+
};
|
|
37
|
+
readonly danger: {
|
|
38
|
+
readonly ring: string;
|
|
39
|
+
readonly default: import("../../utils/createCheckboxPalette.js").CheckboxState;
|
|
40
|
+
readonly hover: import("../../utils/createCheckboxPalette.js").CheckboxState;
|
|
41
|
+
readonly pressed: import("../../utils/createCheckboxPalette.js").CheckboxState;
|
|
32
42
|
};
|
|
33
43
|
readonly focus: {
|
|
34
44
|
readonly ring: "#B8A8FF";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/dark/components/checkbox.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/dark/components/checkbox.ts"],"names":[],"mappings":"AAuHA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCX,CAAC"}
|
|
@@ -1,9 +1,116 @@
|
|
|
1
|
+
import { colors } from '../../primitives/colors.js';
|
|
2
|
+
import { createCheckboxPalette } from '../../utils/createCheckboxPalette.js';
|
|
1
3
|
import { border } from '../semantic/border.js';
|
|
2
4
|
import { control } from '../semantic/control.js';
|
|
3
5
|
import { focus } from '../semantic/focus.js';
|
|
4
6
|
import { status } from '../semantic/status.js';
|
|
5
7
|
import { surface } from '../semantic/surface.js';
|
|
6
8
|
import { text } from '../semantic/text.js';
|
|
9
|
+
const primary = createCheckboxPalette({
|
|
10
|
+
ring: colors.primary[400],
|
|
11
|
+
default: {
|
|
12
|
+
bg: colors.primary[600],
|
|
13
|
+
fg: colors.primary[50],
|
|
14
|
+
border: colors.primary[600],
|
|
15
|
+
labelFg: colors.primary[400],
|
|
16
|
+
},
|
|
17
|
+
hover: {
|
|
18
|
+
bg: colors.primary[700],
|
|
19
|
+
fg: colors.primary[200],
|
|
20
|
+
border: colors.primary[700],
|
|
21
|
+
labelFg: colors.primary[400],
|
|
22
|
+
},
|
|
23
|
+
pressed: {
|
|
24
|
+
bg: colors.primary[800],
|
|
25
|
+
fg: colors.primary[300],
|
|
26
|
+
border: colors.primary[800],
|
|
27
|
+
labelFg: colors.primary[500],
|
|
28
|
+
},
|
|
29
|
+
});
|
|
30
|
+
const neutral = createCheckboxPalette({
|
|
31
|
+
ring: colors.vellira[400],
|
|
32
|
+
default: {
|
|
33
|
+
bg: colors.vellira[200],
|
|
34
|
+
fg: colors.vellira[950],
|
|
35
|
+
border: colors.vellira[200],
|
|
36
|
+
labelFg: colors.vellira[200],
|
|
37
|
+
},
|
|
38
|
+
hover: {
|
|
39
|
+
bg: colors.vellira[300],
|
|
40
|
+
fg: colors.vellira[900],
|
|
41
|
+
border: colors.vellira[300],
|
|
42
|
+
labelFg: colors.vellira[300],
|
|
43
|
+
},
|
|
44
|
+
pressed: {
|
|
45
|
+
bg: colors.vellira[400],
|
|
46
|
+
fg: colors.vellira[800],
|
|
47
|
+
border: colors.vellira[400],
|
|
48
|
+
labelFg: colors.vellira[400],
|
|
49
|
+
},
|
|
50
|
+
});
|
|
51
|
+
const success = createCheckboxPalette({
|
|
52
|
+
ring: colors.success[500],
|
|
53
|
+
default: {
|
|
54
|
+
bg: colors.success[500],
|
|
55
|
+
fg: colors.success[950],
|
|
56
|
+
border: colors.success[500],
|
|
57
|
+
labelFg: colors.success[400],
|
|
58
|
+
},
|
|
59
|
+
hover: {
|
|
60
|
+
bg: colors.success[600],
|
|
61
|
+
fg: colors.success[900],
|
|
62
|
+
border: colors.success[600],
|
|
63
|
+
labelFg: colors.success[500],
|
|
64
|
+
},
|
|
65
|
+
pressed: {
|
|
66
|
+
bg: colors.success[700],
|
|
67
|
+
fg: colors.success[800],
|
|
68
|
+
border: colors.success[700],
|
|
69
|
+
labelFg: colors.success[600],
|
|
70
|
+
},
|
|
71
|
+
});
|
|
72
|
+
const warning = createCheckboxPalette({
|
|
73
|
+
ring: colors.warning[500],
|
|
74
|
+
default: {
|
|
75
|
+
bg: colors.warning[500],
|
|
76
|
+
fg: colors.warning[950],
|
|
77
|
+
border: colors.warning[500],
|
|
78
|
+
labelFg: colors.warning[400],
|
|
79
|
+
},
|
|
80
|
+
hover: {
|
|
81
|
+
bg: colors.warning[600],
|
|
82
|
+
fg: colors.warning[900],
|
|
83
|
+
border: colors.warning[600],
|
|
84
|
+
labelFg: colors.warning[500],
|
|
85
|
+
},
|
|
86
|
+
pressed: {
|
|
87
|
+
bg: colors.warning[700],
|
|
88
|
+
fg: colors.warning[800],
|
|
89
|
+
border: colors.warning[700],
|
|
90
|
+
labelFg: colors.warning[600],
|
|
91
|
+
},
|
|
92
|
+
});
|
|
93
|
+
const danger = createCheckboxPalette({
|
|
94
|
+
ring: colors.error[500],
|
|
95
|
+
default: {
|
|
96
|
+
bg: colors.error[700],
|
|
97
|
+
fg: colors.error[50],
|
|
98
|
+
border: colors.error[700],
|
|
99
|
+
labelFg: colors.error[400],
|
|
100
|
+
},
|
|
101
|
+
hover: {
|
|
102
|
+
bg: colors.error[800],
|
|
103
|
+
fg: colors.error[200],
|
|
104
|
+
border: colors.error[800],
|
|
105
|
+
labelFg: colors.error[500],
|
|
106
|
+
},
|
|
107
|
+
pressed: {
|
|
108
|
+
bg: colors.error[900],
|
|
109
|
+
fg: colors.error[300],
|
|
110
|
+
border: colors.error[900],
|
|
111
|
+
labelFg: colors.error[600],
|
|
112
|
+
},
|
|
113
|
+
});
|
|
7
114
|
export const checkbox = {
|
|
8
115
|
default: {
|
|
9
116
|
bg: surface.elevated,
|
|
@@ -14,20 +121,11 @@ export const checkbox = {
|
|
|
14
121
|
...control.hover,
|
|
15
122
|
labelFg: text.interactiveHover,
|
|
16
123
|
},
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
hover: {
|
|
23
|
-
...control.selected.hover,
|
|
24
|
-
labelFg: text.interactiveHover,
|
|
25
|
-
},
|
|
26
|
-
pressed: {
|
|
27
|
-
...control.selected.active,
|
|
28
|
-
labelFg: text.interactiveActive,
|
|
29
|
-
},
|
|
30
|
-
},
|
|
124
|
+
primary,
|
|
125
|
+
neutral,
|
|
126
|
+
success,
|
|
127
|
+
warning,
|
|
128
|
+
danger,
|
|
31
129
|
focus: {
|
|
32
130
|
ring: focus.ring.color,
|
|
33
131
|
},
|
|
@@ -33,8 +33,8 @@ export declare const input: {
|
|
|
33
33
|
readonly ring: "#FB7185";
|
|
34
34
|
};
|
|
35
35
|
readonly success: {
|
|
36
|
-
readonly border: "#
|
|
37
|
-
readonly ring: "#
|
|
36
|
+
readonly border: "#2DD4BF";
|
|
37
|
+
readonly ring: "#2DD4BF";
|
|
38
38
|
};
|
|
39
39
|
readonly readOnly: {
|
|
40
40
|
readonly bg: "#242034";
|
|
@@ -47,7 +47,7 @@ export declare const input: {
|
|
|
47
47
|
readonly default: "#F4F1FB";
|
|
48
48
|
readonly primary: "#B8A8FF";
|
|
49
49
|
readonly secondary: "#E5E7EB";
|
|
50
|
-
readonly success: "#
|
|
50
|
+
readonly success: "#2DD4BF";
|
|
51
51
|
readonly danger: "#FB7185";
|
|
52
52
|
readonly muted: "#958CB0";
|
|
53
53
|
readonly inverse: "#000000";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const status: {
|
|
2
2
|
readonly success: {
|
|
3
|
-
readonly fg: "#
|
|
3
|
+
readonly fg: "#2DD4BF";
|
|
4
4
|
readonly bg: "rgba(52, 211, 153, 0.14)";
|
|
5
|
-
readonly border: "#
|
|
6
|
-
readonly ring: "#
|
|
7
|
-
readonly strong: "#
|
|
5
|
+
readonly border: "#2DD4BF";
|
|
6
|
+
readonly ring: "#5EEAD4";
|
|
7
|
+
readonly strong: "#0F9E94";
|
|
8
8
|
};
|
|
9
9
|
readonly error: {
|
|
10
10
|
readonly fg: "#FB7185";
|
package/dist/dark/theme.d.ts
CHANGED
|
@@ -62,17 +62,17 @@ export declare const darkTheme: {
|
|
|
62
62
|
readonly 950: "#071927";
|
|
63
63
|
};
|
|
64
64
|
readonly success: {
|
|
65
|
-
readonly 50: "#
|
|
66
|
-
readonly 100: "#
|
|
67
|
-
readonly 200: "#
|
|
68
|
-
readonly 300: "#
|
|
69
|
-
readonly 400: "#
|
|
70
|
-
readonly 500: "#
|
|
71
|
-
readonly 600: "#
|
|
72
|
-
readonly 700: "#
|
|
73
|
-
readonly 800: "#
|
|
74
|
-
readonly 900: "#
|
|
75
|
-
readonly 950: "#
|
|
65
|
+
readonly 50: "#F0FDFA";
|
|
66
|
+
readonly 100: "#CCFBF1";
|
|
67
|
+
readonly 200: "#99F6E4";
|
|
68
|
+
readonly 300: "#5EEAD4";
|
|
69
|
+
readonly 400: "#2DD4BF";
|
|
70
|
+
readonly 500: "#14B8A6";
|
|
71
|
+
readonly 600: "#0F9E94";
|
|
72
|
+
readonly 700: "#0F766E";
|
|
73
|
+
readonly 800: "#115E59";
|
|
74
|
+
readonly 900: "#134E4A";
|
|
75
|
+
readonly 950: "#042F2E";
|
|
76
76
|
};
|
|
77
77
|
readonly error: {
|
|
78
78
|
readonly 50: "#FFF1F2";
|