@servicetitan/hammer-token 0.0.0-rc-1.48.0-20251104214834 → 0.0.0-rc-3.0.0-20260114215531
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/CHANGELOG.md +29 -1
- package/README.md +222 -0
- package/build/web/core/component-variables.scss +114 -130
- package/build/web/core/component.d.ts +65 -0
- package/build/web/core/component.js +248 -267
- package/build/web/core/component.scss +63 -69
- package/build/web/core/css-utils/a2-border.css +39 -41
- package/build/web/core/css-utils/a2-color.css +351 -227
- package/build/web/core/css-utils/a2-font.css +0 -2
- package/build/web/core/css-utils/a2-spacing.css +0 -2
- package/build/web/core/css-utils/a2-utils.css +418 -292
- package/build/web/core/css-utils/border.css +39 -41
- package/build/web/core/css-utils/color.css +351 -227
- package/build/web/core/css-utils/font.css +0 -2
- package/build/web/core/css-utils/spacing.css +0 -2
- package/build/web/core/css-utils/utils.css +418 -292
- package/build/web/core/index.d.ts +6 -0
- package/build/web/core/index.js +1 -1
- package/build/web/core/primitive-variables.scss +130 -71
- package/build/web/core/primitive.d.ts +185 -0
- package/build/web/core/primitive.js +328 -72
- package/build/web/core/primitive.scss +183 -124
- package/build/web/core/semantic-variables.scss +287 -220
- package/build/web/core/semantic.d.ts +194 -0
- package/build/web/core/semantic.js +875 -347
- package/build/web/core/semantic.scss +192 -140
- package/build/web/index.d.ts +3 -4
- package/build/web/index.js +0 -1
- package/build/web/types.d.ts +17 -0
- package/config.js +121 -496
- package/package.json +5 -4
- package/src/global/primitive/breakpoint.tokens.json +39 -0
- package/src/global/primitive/color.tokens.json +536 -0
- package/src/global/primitive/duration.tokens.json +32 -0
- package/src/global/primitive/font.tokens.json +103 -0
- package/src/global/primitive/radius.tokens.json +67 -0
- package/src/global/primitive/size.tokens.json +123 -0
- package/src/global/primitive/transition.tokens.json +20 -0
- package/src/theme/core/background.tokens.json +981 -0
- package/src/theme/core/border.tokens.json +148 -0
- package/src/theme/core/charts.tokens.json +802 -0
- package/src/theme/core/component/button.tokens.json +752 -0
- package/src/theme/core/component/checkbox.tokens.json +292 -0
- package/src/theme/core/focus.tokens.json +48 -0
- package/src/theme/core/foreground.tokens.json +288 -0
- package/src/theme/core/shadow.tokens.json +43 -0
- package/src/theme/core/status.tokens.json +70 -0
- package/src/theme/core/typography.tokens.json +100 -0
- package/src/utils/copy-css-utils-cli.js +13 -0
- package/src/utils/css-utils-format-utils.js +98 -1
- package/src/utils/sd-build-configs.js +372 -0
- package/src/utils/sd-formats.js +752 -0
- package/src/utils/sd-transforms.js +126 -0
- package/src/utils/token-helpers.js +555 -0
- package/tsconfig.json +18 -0
- package/.turbo/turbo-build.log +0 -37
- package/build/web/core/raw.js +0 -234
- package/src/global/primitive/breakpoint.js +0 -19
- package/src/global/primitive/color.js +0 -231
- package/src/global/primitive/duration.js +0 -16
- package/src/global/primitive/font.js +0 -60
- package/src/global/primitive/radius.js +0 -31
- package/src/global/primitive/size.js +0 -55
- package/src/global/primitive/transition.js +0 -16
- package/src/theme/core/background.js +0 -170
- package/src/theme/core/border.js +0 -103
- package/src/theme/core/charts.js +0 -464
- package/src/theme/core/component/button.js +0 -708
- package/src/theme/core/component/checkbox.js +0 -405
- package/src/theme/core/focus.js +0 -35
- package/src/theme/core/foreground.js +0 -148
- package/src/theme/core/overlay.js +0 -137
- package/src/theme/core/shadow.js +0 -29
- package/src/theme/core/status.js +0 -49
- package/src/theme/core/typography.js +0 -82
- package/type/types.ts +0 -344
|
@@ -1,66 +1,87 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {Object} TokenValue
|
|
3
|
+
* @property {string} value
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* @typedef {Object} TokenWithAppearance
|
|
8
|
+
* @property {string} value
|
|
9
|
+
* @property {Object} extensions
|
|
10
|
+
* @property {Object} extensions.appearance
|
|
11
|
+
* @property {Object} extensions.appearance.dark
|
|
12
|
+
* @property {string} extensions.appearance.dark.value
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/** @type {TokenWithAppearance} */
|
|
1
16
|
export const ButtonPrimaryForegroundColor = {
|
|
2
|
-
value: "
|
|
3
|
-
|
|
17
|
+
value: "{foreground.color.on.primary}",
|
|
18
|
+
extensions: {
|
|
4
19
|
appearance: {
|
|
5
20
|
dark: {
|
|
6
|
-
value: "
|
|
21
|
+
value: "{foreground.color.on.primary}"
|
|
7
22
|
}
|
|
8
23
|
}
|
|
9
24
|
}
|
|
10
25
|
};
|
|
26
|
+
/** @type {TokenWithAppearance} */
|
|
11
27
|
export const ButtonPrimaryForegroundColorHover = {
|
|
12
|
-
value: "
|
|
13
|
-
|
|
28
|
+
value: "{foreground.color.on.primary}",
|
|
29
|
+
extensions: {
|
|
14
30
|
appearance: {
|
|
15
31
|
dark: {
|
|
16
|
-
value: "
|
|
32
|
+
value: "{foreground.color.on.primary}"
|
|
17
33
|
}
|
|
18
34
|
}
|
|
19
35
|
}
|
|
20
36
|
};
|
|
37
|
+
/** @type {TokenWithAppearance} */
|
|
21
38
|
export const ButtonPrimaryForegroundColorActive = {
|
|
22
|
-
value: "
|
|
23
|
-
|
|
39
|
+
value: "{foreground.color.on.primary}",
|
|
40
|
+
extensions: {
|
|
24
41
|
appearance: {
|
|
25
42
|
dark: {
|
|
26
|
-
value: "
|
|
43
|
+
value: "{foreground.color.on.primary}"
|
|
27
44
|
}
|
|
28
45
|
}
|
|
29
46
|
}
|
|
30
47
|
};
|
|
48
|
+
/** @type {TokenWithAppearance} */
|
|
31
49
|
export const ButtonPrimaryBackgroundColor = {
|
|
32
|
-
value: "
|
|
33
|
-
|
|
50
|
+
value: "{background.color.primary}",
|
|
51
|
+
extensions: {
|
|
34
52
|
appearance: {
|
|
35
53
|
dark: {
|
|
36
|
-
value: "
|
|
54
|
+
value: "{background.color.primary}"
|
|
37
55
|
}
|
|
38
56
|
}
|
|
39
57
|
}
|
|
40
58
|
};
|
|
59
|
+
/** @type {TokenWithAppearance} */
|
|
41
60
|
export const ButtonPrimaryBackgroundColorHover = {
|
|
42
|
-
value: "#
|
|
43
|
-
|
|
61
|
+
value: "#0065de",
|
|
62
|
+
extensions: {
|
|
44
63
|
appearance: {
|
|
45
64
|
dark: {
|
|
46
|
-
value: "#
|
|
65
|
+
value: "#0065de"
|
|
47
66
|
}
|
|
48
67
|
}
|
|
49
68
|
}
|
|
50
69
|
};
|
|
70
|
+
/** @type {TokenWithAppearance} */
|
|
51
71
|
export const ButtonPrimaryBackgroundColorActive = {
|
|
52
|
-
value: "#
|
|
53
|
-
|
|
72
|
+
value: "#004da9",
|
|
73
|
+
extensions: {
|
|
54
74
|
appearance: {
|
|
55
75
|
dark: {
|
|
56
|
-
value: "#
|
|
76
|
+
value: "#004da9"
|
|
57
77
|
}
|
|
58
78
|
}
|
|
59
79
|
}
|
|
60
80
|
};
|
|
81
|
+
/** @type {TokenWithAppearance} */
|
|
61
82
|
export const ButtonPrimaryBorderColor = {
|
|
62
|
-
value: "
|
|
63
|
-
|
|
83
|
+
value: "rgba(0, 0, 0, 0)",
|
|
84
|
+
extensions: {
|
|
64
85
|
appearance: {
|
|
65
86
|
dark: {
|
|
66
87
|
value: "transparent"
|
|
@@ -68,80 +89,89 @@ export const ButtonPrimaryBorderColor = {
|
|
|
68
89
|
}
|
|
69
90
|
}
|
|
70
91
|
};
|
|
92
|
+
/** @type {TokenValue} */
|
|
71
93
|
export const ButtonPrimaryBorderRadius = { value: "0.375rem" };
|
|
94
|
+
/** @type {TokenWithAppearance} */
|
|
72
95
|
export const ButtonPrimaryFocusRingColor = {
|
|
73
|
-
value: "#
|
|
74
|
-
|
|
96
|
+
value: "#1a82ff",
|
|
97
|
+
extensions: {
|
|
75
98
|
appearance: {
|
|
76
99
|
dark: {
|
|
77
|
-
value: "#
|
|
100
|
+
value: "#1a82ff"
|
|
78
101
|
}
|
|
79
102
|
}
|
|
80
103
|
}
|
|
81
104
|
};
|
|
105
|
+
/** @type {TokenWithAppearance} */
|
|
82
106
|
export const ButtonSecondaryForegroundColor = {
|
|
83
|
-
value: "#
|
|
84
|
-
|
|
107
|
+
value: "#040404",
|
|
108
|
+
extensions: {
|
|
85
109
|
appearance: {
|
|
86
110
|
dark: {
|
|
87
|
-
value: "#
|
|
111
|
+
value: "#040404"
|
|
88
112
|
}
|
|
89
113
|
}
|
|
90
114
|
}
|
|
91
115
|
};
|
|
116
|
+
/** @type {TokenWithAppearance} */
|
|
92
117
|
export const ButtonSecondaryForegroundColorHover = {
|
|
93
|
-
value: "#
|
|
94
|
-
|
|
118
|
+
value: "#040404",
|
|
119
|
+
extensions: {
|
|
95
120
|
appearance: {
|
|
96
121
|
dark: {
|
|
97
|
-
value: "#
|
|
122
|
+
value: "#040404"
|
|
98
123
|
}
|
|
99
124
|
}
|
|
100
125
|
}
|
|
101
126
|
};
|
|
127
|
+
/** @type {TokenWithAppearance} */
|
|
102
128
|
export const ButtonSecondaryForegroundColorActive = {
|
|
103
|
-
value: "#
|
|
104
|
-
|
|
129
|
+
value: "#040404",
|
|
130
|
+
extensions: {
|
|
105
131
|
appearance: {
|
|
106
132
|
dark: {
|
|
107
|
-
value: "#
|
|
133
|
+
value: "#040404"
|
|
108
134
|
}
|
|
109
135
|
}
|
|
110
136
|
}
|
|
111
137
|
};
|
|
138
|
+
/** @type {TokenWithAppearance} */
|
|
112
139
|
export const ButtonSecondaryBackgroundColor = {
|
|
113
|
-
value: "
|
|
114
|
-
|
|
140
|
+
value: "{background.color.secondary}",
|
|
141
|
+
extensions: {
|
|
115
142
|
appearance: {
|
|
116
143
|
dark: {
|
|
117
|
-
value: "
|
|
144
|
+
value: "{background.color.secondary}"
|
|
118
145
|
}
|
|
119
146
|
}
|
|
120
147
|
}
|
|
121
148
|
};
|
|
149
|
+
/** @type {TokenWithAppearance} */
|
|
122
150
|
export const ButtonSecondaryBackgroundColorHover = {
|
|
123
|
-
value: "#
|
|
124
|
-
|
|
151
|
+
value: "#04040414",
|
|
152
|
+
extensions: {
|
|
125
153
|
appearance: {
|
|
126
154
|
dark: {
|
|
127
|
-
value: "#
|
|
155
|
+
value: "#04040414"
|
|
128
156
|
}
|
|
129
157
|
}
|
|
130
158
|
}
|
|
131
159
|
};
|
|
160
|
+
/** @type {TokenWithAppearance} */
|
|
132
161
|
export const ButtonSecondaryBackgroundColorActive = {
|
|
133
|
-
value: "#
|
|
134
|
-
|
|
162
|
+
value: "#04040429",
|
|
163
|
+
extensions: {
|
|
135
164
|
appearance: {
|
|
136
165
|
dark: {
|
|
137
|
-
value: "#
|
|
166
|
+
value: "#04040429"
|
|
138
167
|
}
|
|
139
168
|
}
|
|
140
169
|
}
|
|
141
170
|
};
|
|
171
|
+
/** @type {TokenWithAppearance} */
|
|
142
172
|
export const ButtonSecondaryBorderColor = {
|
|
143
|
-
value: "
|
|
144
|
-
|
|
173
|
+
value: "rgba(0, 0, 0, 0)",
|
|
174
|
+
extensions: {
|
|
145
175
|
appearance: {
|
|
146
176
|
dark: {
|
|
147
177
|
value: "transparent"
|
|
@@ -149,50 +179,56 @@ export const ButtonSecondaryBorderColor = {
|
|
|
149
179
|
}
|
|
150
180
|
}
|
|
151
181
|
};
|
|
182
|
+
/** @type {TokenValue} */
|
|
152
183
|
export const ButtonSecondaryBorderRadius = { value: "0.375rem" };
|
|
184
|
+
/** @type {TokenWithAppearance} */
|
|
153
185
|
export const ButtonSecondaryFocusRingColor = {
|
|
154
|
-
value: "#
|
|
155
|
-
|
|
186
|
+
value: "#1a82ff",
|
|
187
|
+
extensions: {
|
|
156
188
|
appearance: {
|
|
157
189
|
dark: {
|
|
158
|
-
value: "#
|
|
190
|
+
value: "#1a82ff"
|
|
159
191
|
}
|
|
160
192
|
}
|
|
161
193
|
}
|
|
162
194
|
};
|
|
195
|
+
/** @type {TokenWithAppearance} */
|
|
163
196
|
export const ButtonGhostForegroundColor = {
|
|
164
|
-
value: "#
|
|
165
|
-
|
|
197
|
+
value: "#040404",
|
|
198
|
+
extensions: {
|
|
166
199
|
appearance: {
|
|
167
200
|
dark: {
|
|
168
|
-
value: "#
|
|
201
|
+
value: "#040404"
|
|
169
202
|
}
|
|
170
203
|
}
|
|
171
204
|
}
|
|
172
205
|
};
|
|
206
|
+
/** @type {TokenWithAppearance} */
|
|
173
207
|
export const ButtonGhostForegroundColorHover = {
|
|
174
|
-
value: "#
|
|
175
|
-
|
|
208
|
+
value: "#040404",
|
|
209
|
+
extensions: {
|
|
176
210
|
appearance: {
|
|
177
211
|
dark: {
|
|
178
|
-
value: "#
|
|
212
|
+
value: "#040404"
|
|
179
213
|
}
|
|
180
214
|
}
|
|
181
215
|
}
|
|
182
216
|
};
|
|
217
|
+
/** @type {TokenWithAppearance} */
|
|
183
218
|
export const ButtonGhostForegroundColorActive = {
|
|
184
|
-
value: "#
|
|
185
|
-
|
|
219
|
+
value: "#040404",
|
|
220
|
+
extensions: {
|
|
186
221
|
appearance: {
|
|
187
222
|
dark: {
|
|
188
|
-
value: "#
|
|
223
|
+
value: "#040404"
|
|
189
224
|
}
|
|
190
225
|
}
|
|
191
226
|
}
|
|
192
227
|
};
|
|
228
|
+
/** @type {TokenWithAppearance} */
|
|
193
229
|
export const ButtonGhostBackgroundColor = {
|
|
194
|
-
value: "
|
|
195
|
-
|
|
230
|
+
value: "rgba(0, 0, 0, 0)",
|
|
231
|
+
extensions: {
|
|
196
232
|
appearance: {
|
|
197
233
|
dark: {
|
|
198
234
|
value: "transparent"
|
|
@@ -200,9 +236,10 @@ export const ButtonGhostBackgroundColor = {
|
|
|
200
236
|
}
|
|
201
237
|
}
|
|
202
238
|
};
|
|
239
|
+
/** @type {TokenWithAppearance} */
|
|
203
240
|
export const ButtonGhostBackgroundColorHover = {
|
|
204
|
-
value: "#
|
|
205
|
-
|
|
241
|
+
value: "#8b8b8b14",
|
|
242
|
+
extensions: {
|
|
206
243
|
appearance: {
|
|
207
244
|
dark: {
|
|
208
245
|
value: "#ffffff14"
|
|
@@ -210,9 +247,10 @@ export const ButtonGhostBackgroundColorHover = {
|
|
|
210
247
|
}
|
|
211
248
|
}
|
|
212
249
|
};
|
|
250
|
+
/** @type {TokenWithAppearance} */
|
|
213
251
|
export const ButtonGhostBackgroundColorActive = {
|
|
214
|
-
value: "#
|
|
215
|
-
|
|
252
|
+
value: "#8b8b8b29",
|
|
253
|
+
extensions: {
|
|
216
254
|
appearance: {
|
|
217
255
|
dark: {
|
|
218
256
|
value: "#ffffff29"
|
|
@@ -220,9 +258,10 @@ export const ButtonGhostBackgroundColorActive = {
|
|
|
220
258
|
}
|
|
221
259
|
}
|
|
222
260
|
};
|
|
261
|
+
/** @type {TokenWithAppearance} */
|
|
223
262
|
export const ButtonGhostBorderColor = {
|
|
224
|
-
value: "
|
|
225
|
-
|
|
263
|
+
value: "rgba(0, 0, 0, 0)",
|
|
264
|
+
extensions: {
|
|
226
265
|
appearance: {
|
|
227
266
|
dark: {
|
|
228
267
|
value: "transparent"
|
|
@@ -230,80 +269,89 @@ export const ButtonGhostBorderColor = {
|
|
|
230
269
|
}
|
|
231
270
|
}
|
|
232
271
|
};
|
|
272
|
+
/** @type {TokenValue} */
|
|
233
273
|
export const ButtonGhostBorderRadius = { value: "0.375rem" };
|
|
274
|
+
/** @type {TokenWithAppearance} */
|
|
234
275
|
export const ButtonGhostFocusRingColor = {
|
|
235
|
-
value: "#
|
|
236
|
-
|
|
276
|
+
value: "#1a82ff",
|
|
277
|
+
extensions: {
|
|
237
278
|
appearance: {
|
|
238
279
|
dark: {
|
|
239
|
-
value: "#
|
|
280
|
+
value: "#1a82ff"
|
|
240
281
|
}
|
|
241
282
|
}
|
|
242
283
|
}
|
|
243
284
|
};
|
|
285
|
+
/** @type {TokenWithAppearance} */
|
|
244
286
|
export const ButtonDangerPrimaryForegroundColor = {
|
|
245
|
-
value: "
|
|
246
|
-
|
|
287
|
+
value: "{foreground.color.on.danger}",
|
|
288
|
+
extensions: {
|
|
247
289
|
appearance: {
|
|
248
290
|
dark: {
|
|
249
|
-
value: "
|
|
291
|
+
value: "{foreground.color.on.danger}"
|
|
250
292
|
}
|
|
251
293
|
}
|
|
252
294
|
}
|
|
253
295
|
};
|
|
296
|
+
/** @type {TokenWithAppearance} */
|
|
254
297
|
export const ButtonDangerPrimaryForegroundColorHover = {
|
|
255
|
-
value: "
|
|
256
|
-
|
|
298
|
+
value: "{foreground.color.on.danger}",
|
|
299
|
+
extensions: {
|
|
257
300
|
appearance: {
|
|
258
301
|
dark: {
|
|
259
|
-
value: "
|
|
302
|
+
value: "{foreground.color.on.danger}"
|
|
260
303
|
}
|
|
261
304
|
}
|
|
262
305
|
}
|
|
263
306
|
};
|
|
307
|
+
/** @type {TokenWithAppearance} */
|
|
264
308
|
export const ButtonDangerPrimaryForegroundColorActive = {
|
|
265
|
-
value: "
|
|
266
|
-
|
|
309
|
+
value: "{foreground.color.on.danger}",
|
|
310
|
+
extensions: {
|
|
267
311
|
appearance: {
|
|
268
312
|
dark: {
|
|
269
|
-
value: "
|
|
313
|
+
value: "{foreground.color.on.danger}"
|
|
270
314
|
}
|
|
271
315
|
}
|
|
272
316
|
}
|
|
273
317
|
};
|
|
318
|
+
/** @type {TokenWithAppearance} */
|
|
274
319
|
export const ButtonDangerPrimaryBackgroundColor = {
|
|
275
|
-
value: "
|
|
276
|
-
|
|
320
|
+
value: "{background.color.danger}",
|
|
321
|
+
extensions: {
|
|
277
322
|
appearance: {
|
|
278
323
|
dark: {
|
|
279
|
-
value: "
|
|
324
|
+
value: "{background.color.danger}"
|
|
280
325
|
}
|
|
281
326
|
}
|
|
282
327
|
}
|
|
283
328
|
};
|
|
329
|
+
/** @type {TokenWithAppearance} */
|
|
284
330
|
export const ButtonDangerPrimaryBackgroundColorHover = {
|
|
285
|
-
value: "#
|
|
286
|
-
|
|
331
|
+
value: "#d62100",
|
|
332
|
+
extensions: {
|
|
287
333
|
appearance: {
|
|
288
334
|
dark: {
|
|
289
|
-
value: "#
|
|
335
|
+
value: "#d62100"
|
|
290
336
|
}
|
|
291
337
|
}
|
|
292
338
|
}
|
|
293
339
|
};
|
|
340
|
+
/** @type {TokenWithAppearance} */
|
|
294
341
|
export const ButtonDangerPrimaryBackgroundColorActive = {
|
|
295
|
-
value: "#
|
|
296
|
-
|
|
342
|
+
value: "#a31900",
|
|
343
|
+
extensions: {
|
|
297
344
|
appearance: {
|
|
298
345
|
dark: {
|
|
299
|
-
value: "#
|
|
346
|
+
value: "#a31900"
|
|
300
347
|
}
|
|
301
348
|
}
|
|
302
349
|
}
|
|
303
350
|
};
|
|
351
|
+
/** @type {TokenWithAppearance} */
|
|
304
352
|
export const ButtonDangerPrimaryBorderColor = {
|
|
305
|
-
value: "
|
|
306
|
-
|
|
353
|
+
value: "rgba(0, 0, 0, 0)",
|
|
354
|
+
extensions: {
|
|
307
355
|
appearance: {
|
|
308
356
|
dark: {
|
|
309
357
|
value: "transparent"
|
|
@@ -311,80 +359,89 @@ export const ButtonDangerPrimaryBorderColor = {
|
|
|
311
359
|
}
|
|
312
360
|
}
|
|
313
361
|
};
|
|
362
|
+
/** @type {TokenValue} */
|
|
314
363
|
export const ButtonDangerPrimaryBorderRadius = { value: "0.375rem" };
|
|
364
|
+
/** @type {TokenWithAppearance} */
|
|
315
365
|
export const ButtonDangerPrimaryFocusRingColor = {
|
|
316
|
-
value: "#
|
|
317
|
-
|
|
366
|
+
value: "#ff3914",
|
|
367
|
+
extensions: {
|
|
318
368
|
appearance: {
|
|
319
369
|
dark: {
|
|
320
|
-
value: "#
|
|
370
|
+
value: "#ff3914"
|
|
321
371
|
}
|
|
322
372
|
}
|
|
323
373
|
}
|
|
324
374
|
};
|
|
375
|
+
/** @type {TokenWithAppearance} */
|
|
325
376
|
export const ButtonDangerSecondaryForegroundColor = {
|
|
326
|
-
value: "#
|
|
327
|
-
|
|
377
|
+
value: "#d62100",
|
|
378
|
+
extensions: {
|
|
328
379
|
appearance: {
|
|
329
380
|
dark: {
|
|
330
|
-
value: "#
|
|
381
|
+
value: "#d62100"
|
|
331
382
|
}
|
|
332
383
|
}
|
|
333
384
|
}
|
|
334
385
|
};
|
|
386
|
+
/** @type {TokenWithAppearance} */
|
|
335
387
|
export const ButtonDangerSecondaryForegroundColorHover = {
|
|
336
|
-
value: "#
|
|
337
|
-
|
|
388
|
+
value: "#d62100",
|
|
389
|
+
extensions: {
|
|
338
390
|
appearance: {
|
|
339
391
|
dark: {
|
|
340
|
-
value: "#
|
|
392
|
+
value: "#d62100"
|
|
341
393
|
}
|
|
342
394
|
}
|
|
343
395
|
}
|
|
344
396
|
};
|
|
397
|
+
/** @type {TokenWithAppearance} */
|
|
345
398
|
export const ButtonDangerSecondaryForegroundColorActive = {
|
|
346
|
-
value: "#
|
|
347
|
-
|
|
399
|
+
value: "#d62100",
|
|
400
|
+
extensions: {
|
|
348
401
|
appearance: {
|
|
349
402
|
dark: {
|
|
350
|
-
value: "#
|
|
403
|
+
value: "#d62100"
|
|
351
404
|
}
|
|
352
405
|
}
|
|
353
406
|
}
|
|
354
407
|
};
|
|
408
|
+
/** @type {TokenWithAppearance} */
|
|
355
409
|
export const ButtonDangerSecondaryBackgroundColor = {
|
|
356
|
-
value: "
|
|
357
|
-
|
|
410
|
+
value: "{background.color.danger.subdued}",
|
|
411
|
+
extensions: {
|
|
358
412
|
appearance: {
|
|
359
413
|
dark: {
|
|
360
|
-
value: "
|
|
414
|
+
value: "{background.color.danger.subdued}"
|
|
361
415
|
}
|
|
362
416
|
}
|
|
363
417
|
}
|
|
364
418
|
};
|
|
419
|
+
/** @type {TokenWithAppearance} */
|
|
365
420
|
export const ButtonDangerSecondaryBackgroundColorHover = {
|
|
366
|
-
value: "#
|
|
367
|
-
|
|
421
|
+
value: "#ffac9e",
|
|
422
|
+
extensions: {
|
|
368
423
|
appearance: {
|
|
369
424
|
dark: {
|
|
370
|
-
value: "#
|
|
425
|
+
value: "#ffac9e"
|
|
371
426
|
}
|
|
372
427
|
}
|
|
373
428
|
}
|
|
374
429
|
};
|
|
430
|
+
/** @type {TokenWithAppearance} */
|
|
375
431
|
export const ButtonDangerSecondaryBackgroundColorActive = {
|
|
376
|
-
value: "#
|
|
377
|
-
|
|
432
|
+
value: "#ff8974",
|
|
433
|
+
extensions: {
|
|
378
434
|
appearance: {
|
|
379
435
|
dark: {
|
|
380
|
-
value: "#
|
|
436
|
+
value: "#ff8974"
|
|
381
437
|
}
|
|
382
438
|
}
|
|
383
439
|
}
|
|
384
440
|
};
|
|
441
|
+
/** @type {TokenWithAppearance} */
|
|
385
442
|
export const ButtonDangerSecondaryBorderColor = {
|
|
386
|
-
value: "
|
|
387
|
-
|
|
443
|
+
value: "rgba(0, 0, 0, 0)",
|
|
444
|
+
extensions: {
|
|
388
445
|
appearance: {
|
|
389
446
|
dark: {
|
|
390
447
|
value: "transparent"
|
|
@@ -392,253 +449,177 @@ export const ButtonDangerSecondaryBorderColor = {
|
|
|
392
449
|
}
|
|
393
450
|
}
|
|
394
451
|
};
|
|
452
|
+
/** @type {TokenValue} */
|
|
395
453
|
export const ButtonDangerSecondaryBorderRadius = { value: "0.375rem" };
|
|
454
|
+
/** @type {TokenWithAppearance} */
|
|
396
455
|
export const ButtonDangerSecondaryFocusRingColor = {
|
|
397
|
-
value: "#
|
|
398
|
-
|
|
456
|
+
value: "#ff3914",
|
|
457
|
+
extensions: {
|
|
399
458
|
appearance: {
|
|
400
459
|
dark: {
|
|
401
|
-
value: "#
|
|
460
|
+
value: "#ff3914"
|
|
402
461
|
}
|
|
403
462
|
}
|
|
404
463
|
}
|
|
405
464
|
};
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
465
|
+
/** @type {TokenWithAppearance} */
|
|
466
|
+
export const CheckboxCheckedForegroundColor = {
|
|
467
|
+
value: "{foreground.color.primary}",
|
|
468
|
+
extensions: {
|
|
409
469
|
appearance: {
|
|
410
470
|
dark: {
|
|
411
|
-
value: "
|
|
471
|
+
value: "{foreground.color.primary}"
|
|
412
472
|
}
|
|
413
473
|
}
|
|
414
474
|
}
|
|
415
475
|
};
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
476
|
+
/** @type {TokenWithAppearance} */
|
|
477
|
+
export const CheckboxCheckedForegroundColorHover = {
|
|
478
|
+
value: "#0065de",
|
|
479
|
+
extensions: {
|
|
419
480
|
appearance: {
|
|
420
481
|
dark: {
|
|
421
|
-
value: "#
|
|
482
|
+
value: "#0065de"
|
|
422
483
|
}
|
|
423
484
|
}
|
|
424
485
|
}
|
|
425
486
|
};
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
487
|
+
/** @type {TokenWithAppearance} */
|
|
488
|
+
export const CheckboxCheckedForegroundColorActive = {
|
|
489
|
+
value: "#0065de",
|
|
490
|
+
extensions: {
|
|
429
491
|
appearance: {
|
|
430
492
|
dark: {
|
|
431
|
-
value: "#
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
};
|
|
436
|
-
export const CheckboxUncheckedBackgroundColorDefault = {
|
|
437
|
-
value: "transparent",
|
|
438
|
-
attributes: {
|
|
439
|
-
appearance: {
|
|
440
|
-
dark: {
|
|
441
|
-
value: "transparent"
|
|
442
|
-
}
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
};
|
|
446
|
-
export const CheckboxUncheckedBackgroundColorHover = {
|
|
447
|
-
value: "#14141414",
|
|
448
|
-
attributes: {
|
|
449
|
-
appearance: {
|
|
450
|
-
dark: {
|
|
451
|
-
value: "#ffffff14"
|
|
452
|
-
}
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
};
|
|
456
|
-
export const CheckboxUncheckedBackgroundColorActive = {
|
|
457
|
-
value: "#14141429",
|
|
458
|
-
attributes: {
|
|
459
|
-
appearance: {
|
|
460
|
-
dark: {
|
|
461
|
-
value: "#ffffff29"
|
|
462
|
-
}
|
|
463
|
-
}
|
|
464
|
-
}
|
|
465
|
-
};
|
|
466
|
-
export const CheckboxCheckedFillColorDefault = {
|
|
467
|
-
value: "#0265DC",
|
|
468
|
-
attributes: {
|
|
469
|
-
appearance: {
|
|
470
|
-
dark: {
|
|
471
|
-
value: "#78BBFA"
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
};
|
|
476
|
-
export const CheckboxCheckedFillColorHover = {
|
|
477
|
-
value: "#004ba0d1",
|
|
478
|
-
attributes: {
|
|
479
|
-
appearance: {
|
|
480
|
-
dark: {
|
|
481
|
-
value: "#abd8feda"
|
|
482
|
-
}
|
|
483
|
-
}
|
|
484
|
-
}
|
|
485
|
-
};
|
|
486
|
-
export const CheckboxCheckedFillColorActive = {
|
|
487
|
-
value: "#0151afb8",
|
|
488
|
-
attributes: {
|
|
489
|
-
appearance: {
|
|
490
|
-
dark: {
|
|
491
|
-
value: "#abd8fee0"
|
|
492
|
-
}
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
};
|
|
496
|
-
export const CheckboxCheckedBackgroundColorDefault = {
|
|
497
|
-
value: "transparent",
|
|
498
|
-
attributes: {
|
|
499
|
-
appearance: {
|
|
500
|
-
dark: {
|
|
501
|
-
value: "transparent"
|
|
493
|
+
value: "#0065de"
|
|
502
494
|
}
|
|
503
495
|
}
|
|
504
496
|
}
|
|
505
497
|
};
|
|
498
|
+
/** @type {TokenWithAppearance} */
|
|
506
499
|
export const CheckboxCheckedBackgroundColorHover = {
|
|
507
|
-
value: "#
|
|
508
|
-
|
|
509
|
-
appearance: {
|
|
510
|
-
dark: {
|
|
511
|
-
value: "#78bbfa14"
|
|
512
|
-
}
|
|
513
|
-
}
|
|
514
|
-
}
|
|
515
|
-
};
|
|
516
|
-
export const CheckboxCheckedBackgroundColorActive = {
|
|
517
|
-
value: "#0265dc29",
|
|
518
|
-
attributes: {
|
|
519
|
-
appearance: {
|
|
520
|
-
dark: {
|
|
521
|
-
value: "#78bbfa29"
|
|
522
|
-
}
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
};
|
|
526
|
-
export const CheckboxUncheckedErrorFillColorDefault = {
|
|
527
|
-
value: "#e13212",
|
|
528
|
-
attributes: {
|
|
529
|
-
appearance: {
|
|
530
|
-
dark: {
|
|
531
|
-
value: "#ff745f"
|
|
532
|
-
}
|
|
533
|
-
}
|
|
534
|
-
}
|
|
535
|
-
};
|
|
536
|
-
export const CheckboxUncheckedErrorFillColorHover = {
|
|
537
|
-
value: "#bf2a00",
|
|
538
|
-
attributes: {
|
|
500
|
+
value: "#1a82ff1A",
|
|
501
|
+
extensions: {
|
|
539
502
|
appearance: {
|
|
540
503
|
dark: {
|
|
541
|
-
value: "#
|
|
504
|
+
value: "#1a82ff1A"
|
|
542
505
|
}
|
|
543
506
|
}
|
|
544
507
|
}
|
|
545
508
|
};
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
509
|
+
/** @type {TokenValue} */
|
|
510
|
+
export const CheckboxCheckedBorderRadius = { value: "0.1875rem" };
|
|
511
|
+
/** @type {TokenWithAppearance} */
|
|
512
|
+
export const CheckboxCheckedFocusRingColor = {
|
|
513
|
+
value: "#1a82ff",
|
|
514
|
+
extensions: {
|
|
549
515
|
appearance: {
|
|
550
516
|
dark: {
|
|
551
|
-
value: "#
|
|
517
|
+
value: "#1a82ff"
|
|
552
518
|
}
|
|
553
519
|
}
|
|
554
520
|
}
|
|
555
521
|
};
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
522
|
+
/** @type {TokenWithAppearance} */
|
|
523
|
+
export const CheckboxUncheckedBackgroundColorHover = {
|
|
524
|
+
value: "#8b8b8b14",
|
|
525
|
+
extensions: {
|
|
559
526
|
appearance: {
|
|
560
527
|
dark: {
|
|
561
|
-
value: "
|
|
528
|
+
value: "#8b8b8b14"
|
|
562
529
|
}
|
|
563
530
|
}
|
|
564
531
|
}
|
|
565
532
|
};
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
533
|
+
/** @type {TokenValue} */
|
|
534
|
+
export const CheckboxUncheckedBorderRadius = { value: "0.1875rem" };
|
|
535
|
+
/** @type {TokenWithAppearance} */
|
|
536
|
+
export const CheckboxUncheckedFocusRingColor = {
|
|
537
|
+
value: "#1a82ff",
|
|
538
|
+
extensions: {
|
|
569
539
|
appearance: {
|
|
570
540
|
dark: {
|
|
571
|
-
value: "#
|
|
541
|
+
value: "#1a82ff"
|
|
572
542
|
}
|
|
573
543
|
}
|
|
574
544
|
}
|
|
575
545
|
};
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
546
|
+
/** @type {TokenWithAppearance} */
|
|
547
|
+
export const CheckboxCheckedErrorForegroundColor = {
|
|
548
|
+
value: "{foreground.color.danger}",
|
|
549
|
+
extensions: {
|
|
579
550
|
appearance: {
|
|
580
551
|
dark: {
|
|
581
|
-
value: "
|
|
552
|
+
value: "{foreground.color.danger}"
|
|
582
553
|
}
|
|
583
554
|
}
|
|
584
555
|
}
|
|
585
556
|
};
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
557
|
+
/** @type {TokenWithAppearance} */
|
|
558
|
+
export const CheckboxCheckedErrorForegroundColorHover = {
|
|
559
|
+
value: "#d62100",
|
|
560
|
+
extensions: {
|
|
589
561
|
appearance: {
|
|
590
562
|
dark: {
|
|
591
|
-
value: "#
|
|
563
|
+
value: "#d62100"
|
|
592
564
|
}
|
|
593
565
|
}
|
|
594
566
|
}
|
|
595
567
|
};
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
568
|
+
/** @type {TokenWithAppearance} */
|
|
569
|
+
export const CheckboxCheckedErrorForegroundColorActive = {
|
|
570
|
+
value: "#d62100",
|
|
571
|
+
extensions: {
|
|
599
572
|
appearance: {
|
|
600
573
|
dark: {
|
|
601
|
-
value: "#
|
|
574
|
+
value: "#d62100"
|
|
602
575
|
}
|
|
603
576
|
}
|
|
604
577
|
}
|
|
605
578
|
};
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
579
|
+
/** @type {TokenWithAppearance} */
|
|
580
|
+
export const CheckboxCheckedErrorBackgroundColorHover = {
|
|
581
|
+
value: "#ff39141A",
|
|
582
|
+
extensions: {
|
|
609
583
|
appearance: {
|
|
610
584
|
dark: {
|
|
611
|
-
value: "#
|
|
585
|
+
value: "#ff39141A"
|
|
612
586
|
}
|
|
613
587
|
}
|
|
614
588
|
}
|
|
615
589
|
};
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
590
|
+
/** @type {TokenValue} */
|
|
591
|
+
export const CheckboxCheckedErrorBorderRadius = { value: "0.1875rem" };
|
|
592
|
+
/** @type {TokenWithAppearance} */
|
|
593
|
+
export const CheckboxCheckedErrorFocusRingColor = {
|
|
594
|
+
value: "#ff3914",
|
|
595
|
+
extensions: {
|
|
619
596
|
appearance: {
|
|
620
597
|
dark: {
|
|
621
|
-
value: "
|
|
598
|
+
value: "#ff3914"
|
|
622
599
|
}
|
|
623
600
|
}
|
|
624
601
|
}
|
|
625
602
|
};
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
603
|
+
/** @type {TokenWithAppearance} */
|
|
604
|
+
export const CheckboxUncheckedErrorBackgroundColorHover = {
|
|
605
|
+
value: "#ff39141A",
|
|
606
|
+
extensions: {
|
|
629
607
|
appearance: {
|
|
630
608
|
dark: {
|
|
631
|
-
value: "#
|
|
609
|
+
value: "#ff39141A"
|
|
632
610
|
}
|
|
633
611
|
}
|
|
634
612
|
}
|
|
635
613
|
};
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
614
|
+
/** @type {TokenValue} */
|
|
615
|
+
export const CheckboxUncheckedErrorBorderRadius = { value: "0.1875rem" };
|
|
616
|
+
/** @type {TokenWithAppearance} */
|
|
617
|
+
export const CheckboxUncheckedErrorFocusRingColor = {
|
|
618
|
+
value: "#ff3914",
|
|
619
|
+
extensions: {
|
|
639
620
|
appearance: {
|
|
640
621
|
dark: {
|
|
641
|
-
value: "#
|
|
622
|
+
value: "#ff3914"
|
|
642
623
|
}
|
|
643
624
|
}
|
|
644
625
|
}
|