@servicetitan/hammer-token 0.0.0-rc-1.48.0-20251104214834 → 0.0.0-rc-3.0.0-20260127161418

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/CHANGELOG.md +37 -1
  2. package/README.md +222 -0
  3. package/build/web/core/component-variables.scss +176 -130
  4. package/build/web/core/component.d.ts +96 -0
  5. package/build/web/core/component.js +574 -252
  6. package/build/web/core/component.scss +94 -69
  7. package/build/web/core/css-utils/a2-border.css +39 -41
  8. package/build/web/core/css-utils/a2-color.css +367 -227
  9. package/build/web/core/css-utils/a2-font.css +0 -2
  10. package/build/web/core/css-utils/a2-spacing.css +0 -2
  11. package/build/web/core/css-utils/a2-utils.css +434 -292
  12. package/build/web/core/css-utils/border.css +39 -41
  13. package/build/web/core/css-utils/color.css +367 -227
  14. package/build/web/core/css-utils/font.css +0 -2
  15. package/build/web/core/css-utils/spacing.css +0 -2
  16. package/build/web/core/css-utils/utils.css +434 -292
  17. package/build/web/core/index.d.ts +6 -0
  18. package/build/web/core/index.js +1 -1
  19. package/build/web/core/primitive-variables.scss +130 -71
  20. package/build/web/core/primitive.d.ts +185 -0
  21. package/build/web/core/primitive.js +328 -72
  22. package/build/web/core/primitive.scss +183 -124
  23. package/build/web/core/semantic-variables.scss +295 -220
  24. package/build/web/core/semantic.d.ts +198 -0
  25. package/build/web/core/semantic.js +913 -341
  26. package/build/web/core/semantic.scss +196 -140
  27. package/build/web/index.d.ts +3 -4
  28. package/build/web/index.js +0 -1
  29. package/build/web/types.d.ts +17 -0
  30. package/config.js +121 -496
  31. package/package.json +5 -4
  32. package/src/global/primitive/breakpoint.tokens.json +39 -0
  33. package/src/global/primitive/color.tokens.json +536 -0
  34. package/src/global/primitive/duration.tokens.json +32 -0
  35. package/src/global/primitive/font.tokens.json +103 -0
  36. package/src/global/primitive/radius.tokens.json +67 -0
  37. package/src/global/primitive/size.tokens.json +123 -0
  38. package/src/global/primitive/transition.tokens.json +20 -0
  39. package/src/theme/core/background.tokens.json +1058 -0
  40. package/src/theme/core/border.tokens.json +148 -0
  41. package/src/theme/core/charts.tokens.json +802 -0
  42. package/src/theme/core/component/alert.tokens.json +180 -0
  43. package/src/theme/core/component/announcement.tokens.json +186 -0
  44. package/src/theme/core/component/avatar.tokens.json +132 -0
  45. package/src/theme/core/component/badge.tokens.json +40 -0
  46. package/src/theme/core/component/button.tokens.json +752 -0
  47. package/src/theme/core/component/checkbox.tokens.json +292 -0
  48. package/src/theme/core/focus.tokens.json +48 -0
  49. package/src/theme/core/foreground.tokens.json +306 -0
  50. package/src/theme/core/shadow.tokens.json +43 -0
  51. package/src/theme/core/status.tokens.json +70 -0
  52. package/src/theme/core/typography.tokens.json +100 -0
  53. package/src/utils/copy-css-utils-cli.js +13 -0
  54. package/src/utils/css-utils-format-utils.js +98 -1
  55. package/src/utils/sd-build-configs.js +372 -0
  56. package/src/utils/sd-formats.js +752 -0
  57. package/src/utils/sd-transforms.js +126 -0
  58. package/src/utils/token-helpers.js +555 -0
  59. package/tsconfig.json +18 -0
  60. package/.turbo/turbo-build.log +0 -37
  61. package/build/web/core/raw.js +0 -234
  62. package/src/global/primitive/breakpoint.js +0 -19
  63. package/src/global/primitive/color.js +0 -231
  64. package/src/global/primitive/duration.js +0 -16
  65. package/src/global/primitive/font.js +0 -60
  66. package/src/global/primitive/radius.js +0 -31
  67. package/src/global/primitive/size.js +0 -55
  68. package/src/global/primitive/transition.js +0 -16
  69. package/src/theme/core/background.js +0 -170
  70. package/src/theme/core/border.js +0 -103
  71. package/src/theme/core/charts.js +0 -464
  72. package/src/theme/core/component/button.js +0 -708
  73. package/src/theme/core/component/checkbox.js +0 -405
  74. package/src/theme/core/focus.js +0 -35
  75. package/src/theme/core/foreground.js +0 -148
  76. package/src/theme/core/overlay.js +0 -137
  77. package/src/theme/core/shadow.js +0 -29
  78. package/src/theme/core/status.js +0 -49
  79. package/src/theme/core/typography.js +0 -82
  80. package/type/types.ts +0 -344
@@ -1,309 +1,428 @@
1
- export const ButtonPrimaryForegroundColor = {
2
- value: "#ffffff",
3
- attributes: {
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} */
16
+ export const AlertBackgroundColor = {
17
+ value: "{background.color.default}",
18
+ extensions: {
4
19
  appearance: {
5
20
  dark: {
6
- value: "#141414"
21
+ value: "{background.color.default}"
7
22
  }
8
23
  }
9
24
  }
10
25
  };
11
- export const ButtonPrimaryForegroundColorHover = {
12
- value: "#ffffff",
13
- attributes: {
26
+ /** @type {TokenWithAppearance} */
27
+ export const AlertBorderColorInfo = {
28
+ value: "#1a82ff",
29
+ extensions: {
14
30
  appearance: {
15
31
  dark: {
16
- value: "#141414"
32
+ value: "#1a82ff"
17
33
  }
18
34
  }
19
35
  }
20
36
  };
21
- export const ButtonPrimaryForegroundColorActive = {
22
- value: "#ffffff",
23
- attributes: {
37
+ /** @type {TokenWithAppearance} */
38
+ export const AlertBorderColorSuccess = {
39
+ value: "#09a569",
40
+ extensions: {
24
41
  appearance: {
25
42
  dark: {
26
- value: "#141414"
43
+ value: "#09a569"
27
44
  }
28
45
  }
29
46
  }
30
47
  };
31
- export const ButtonPrimaryBackgroundColor = {
32
- value: "#0265DC",
33
- attributes: {
48
+ /** @type {TokenWithAppearance} */
49
+ export const AlertBorderColorWarning = {
50
+ value: "#d6a000",
51
+ extensions: {
34
52
  appearance: {
35
53
  dark: {
36
- value: "#78BBFA"
54
+ value: "#d6a000"
37
55
  }
38
56
  }
39
57
  }
40
58
  };
41
- export const ButtonPrimaryBackgroundColorHover = {
42
- value: "#0655b4ff",
43
- attributes: {
59
+ /** @type {TokenWithAppearance} */
60
+ export const AlertBorderColorDanger = {
61
+ value: "#ff3914",
62
+ extensions: {
44
63
  appearance: {
45
64
  dark: {
46
- value: "#8ec6fbff"
65
+ value: "#ff3914"
47
66
  }
48
67
  }
49
68
  }
50
69
  };
51
- export const ButtonPrimaryBackgroundColorActive = {
52
- value: "#09458cff",
53
- attributes: {
70
+ /** @type {TokenWithAppearance} */
71
+ export const AlertStatusIconColorInfo = {
72
+ value: "#1a82ff",
73
+ extensions: {
54
74
  appearance: {
55
75
  dark: {
56
- value: "#68a0d5ff"
76
+ value: "#1a82ff"
57
77
  }
58
78
  }
59
79
  }
60
80
  };
61
- export const ButtonPrimaryBorderColor = {
62
- value: "transparent",
63
- attributes: {
81
+ /** @type {TokenWithAppearance} */
82
+ export const AlertStatusIconColorSuccess = {
83
+ value: "#09a569",
84
+ extensions: {
64
85
  appearance: {
65
86
  dark: {
66
- value: "transparent"
87
+ value: "#09a569"
67
88
  }
68
89
  }
69
90
  }
70
91
  };
71
- export const ButtonPrimaryBorderRadius = { value: "0.375rem" };
72
- export const ButtonPrimaryFocusRingColor = {
73
- value: "#0265DC",
74
- attributes: {
92
+ /** @type {TokenWithAppearance} */
93
+ export const AlertStatusIconColorWarning = {
94
+ value: "#d6a000",
95
+ extensions: {
75
96
  appearance: {
76
97
  dark: {
77
- value: "#78BBFA"
98
+ value: "#d6a000"
78
99
  }
79
100
  }
80
101
  }
81
102
  };
82
- export const ButtonSecondaryForegroundColor = {
83
- value: "#141414",
84
- attributes: {
103
+ /** @type {TokenWithAppearance} */
104
+ export const AlertStatusIconColorDanger = {
105
+ value: "#ff3914",
106
+ extensions: {
85
107
  appearance: {
86
108
  dark: {
87
- value: "#ffffff"
109
+ value: "#ff3914"
88
110
  }
89
111
  }
90
112
  }
91
113
  };
92
- export const ButtonSecondaryForegroundColorHover = {
93
- value: "#141414",
94
- attributes: {
114
+ /** @type {TokenWithAppearance} */
115
+ export const AlertCloseButtonForegroundColor = {
116
+ value: "#040404",
117
+ extensions: {
95
118
  appearance: {
96
119
  dark: {
97
- value: "#ffffff"
120
+ value: "#040404"
98
121
  }
99
122
  }
100
123
  }
101
124
  };
102
- export const ButtonSecondaryForegroundColorActive = {
103
- value: "#141414",
104
- attributes: {
125
+ /** @type {TokenWithAppearance} */
126
+ export const AnnouncementBackgroundColorInfo = {
127
+ value: "#1a82ff",
128
+ extensions: {
105
129
  appearance: {
106
130
  dark: {
107
- value: "#ffffff"
131
+ value: "#1a82ff"
108
132
  }
109
133
  }
110
134
  }
111
135
  };
112
- export const ButtonSecondaryBackgroundColor = {
113
- value: "#0404040f",
114
- attributes: {
136
+ /** @type {TokenWithAppearance} */
137
+ export const AnnouncementBackgroundColorSuccess = {
138
+ value: "#09a569",
139
+ extensions: {
115
140
  appearance: {
116
141
  dark: {
117
- value: "#ffffff0f"
142
+ value: "#09a569"
118
143
  }
119
144
  }
120
145
  }
121
146
  };
122
- export const ButtonSecondaryBackgroundColorHover = {
123
- value: "#05050522",
124
- attributes: {
147
+ /** @type {TokenWithAppearance} */
148
+ export const AnnouncementBackgroundColorWarning = {
149
+ value: "#d6a000",
150
+ extensions: {
125
151
  appearance: {
126
152
  dark: {
127
- value: "#ffffff22"
153
+ value: "#d6a000"
128
154
  }
129
155
  }
130
156
  }
131
157
  };
132
- export const ButtonSecondaryBackgroundColorActive = {
133
- value: "#07070735",
134
- attributes: {
158
+ /** @type {TokenWithAppearance} */
159
+ export const AnnouncementBackgroundColorDanger = {
160
+ value: "#ff3914",
161
+ extensions: {
135
162
  appearance: {
136
163
  dark: {
137
- value: "#ffffff35"
164
+ value: "#ff3914"
138
165
  }
139
166
  }
140
167
  }
141
168
  };
142
- export const ButtonSecondaryBorderColor = {
143
- value: "transparent",
144
- attributes: {
169
+ /** @type {TokenWithAppearance} */
170
+ export const AnnouncementForegroundColorInfo = {
171
+ value: "{foreground.color.on.primary}",
172
+ extensions: {
145
173
  appearance: {
146
174
  dark: {
147
- value: "transparent"
175
+ value: "{foreground.color.on.primary}"
148
176
  }
149
177
  }
150
178
  }
151
179
  };
152
- export const ButtonSecondaryBorderRadius = { value: "0.375rem" };
153
- export const ButtonSecondaryFocusRingColor = {
154
- value: "#0265DC",
155
- attributes: {
180
+ /** @type {TokenWithAppearance} */
181
+ export const AnnouncementForegroundColorSuccess = {
182
+ value: "{foreground.color.on.success}",
183
+ extensions: {
156
184
  appearance: {
157
185
  dark: {
158
- value: "#78BBFA"
186
+ value: "{foreground.color.on.success}"
159
187
  }
160
188
  }
161
189
  }
162
190
  };
163
- export const ButtonGhostForegroundColor = {
164
- value: "#141414",
165
- attributes: {
191
+ /** @type {TokenWithAppearance} */
192
+ export const AnnouncementForegroundColorWarning = {
193
+ value: "#040404",
194
+ extensions: {
166
195
  appearance: {
167
196
  dark: {
168
- value: "#ffffff"
197
+ value: "#040404"
169
198
  }
170
199
  }
171
200
  }
172
201
  };
173
- export const ButtonGhostForegroundColorHover = {
174
- value: "#141414",
175
- attributes: {
202
+ /** @type {TokenWithAppearance} */
203
+ export const AnnouncementForegroundColorDanger = {
204
+ value: "{foreground.color.on.danger}",
205
+ extensions: {
176
206
  appearance: {
177
207
  dark: {
178
- value: "#ffffff"
208
+ value: "{foreground.color.on.danger}"
179
209
  }
180
210
  }
181
211
  }
182
212
  };
183
- export const ButtonGhostForegroundColorActive = {
184
- value: "#141414",
185
- attributes: {
213
+ /** @type {TokenWithAppearance} */
214
+ export const AnnouncementActionButtonBackgroundColorInfo = {
215
+ value: "{background.color.secondary.strong}",
216
+ extensions: {
186
217
  appearance: {
187
218
  dark: {
188
- value: "#ffffff"
219
+ value: "{background.color.secondary.strong}"
189
220
  }
190
221
  }
191
222
  }
192
223
  };
193
- export const ButtonGhostBackgroundColor = {
194
- value: "transparent",
195
- attributes: {
224
+ /** @type {TokenWithAppearance} */
225
+ export const AnnouncementActionButtonBackgroundColorSuccess = {
226
+ value: "{background.color.secondary.strong}",
227
+ extensions: {
196
228
  appearance: {
197
229
  dark: {
198
- value: "transparent"
230
+ value: "{background.color.secondary.strong}"
199
231
  }
200
232
  }
201
233
  }
202
234
  };
203
- export const ButtonGhostBackgroundColorHover = {
204
- value: "#14141414",
205
- attributes: {
235
+ /** @type {TokenWithAppearance} */
236
+ export const AnnouncementActionButtonBackgroundColorWarning = {
237
+ value: "{background.color.secondary.strong}",
238
+ extensions: {
206
239
  appearance: {
207
240
  dark: {
208
- value: "#ffffff14"
241
+ value: "{background.color.secondary.strong}"
209
242
  }
210
243
  }
211
244
  }
212
245
  };
213
- export const ButtonGhostBackgroundColorActive = {
214
- value: "#14141429",
215
- attributes: {
246
+ /** @type {TokenWithAppearance} */
247
+ export const AnnouncementActionButtonBackgroundColorDanger = {
248
+ value: "{background.color.secondary.strong}",
249
+ extensions: {
216
250
  appearance: {
217
251
  dark: {
218
- value: "#ffffff29"
252
+ value: "{background.color.secondary.strong}"
219
253
  }
220
254
  }
221
255
  }
222
256
  };
223
- export const ButtonGhostBorderColor = {
224
- value: "transparent",
225
- attributes: {
257
+ /** @type {TokenWithAppearance} */
258
+ export const AvatarBackgroundColor = {
259
+ value: "{background.color.stronger}",
260
+ extensions: {
226
261
  appearance: {
227
262
  dark: {
228
- value: "transparent"
263
+ value: "{background.color.stronger}"
229
264
  }
230
265
  }
231
266
  }
232
267
  };
233
- export const ButtonGhostBorderRadius = { value: "0.375rem" };
234
- export const ButtonGhostFocusRingColor = {
235
- value: "#0265DC",
236
- attributes: {
268
+ /** @type {TokenWithAppearance} */
269
+ export const AvatarForegroundColor = {
270
+ value: "#040404",
271
+ extensions: {
237
272
  appearance: {
238
273
  dark: {
239
- value: "#78BBFA"
274
+ value: "#040404"
240
275
  }
241
276
  }
242
277
  }
243
278
  };
244
- export const ButtonDangerPrimaryForegroundColor = {
279
+ /** @type {TokenWithAppearance} */
280
+ export const AvatarBorderColor = {
245
281
  value: "#ffffff",
246
- attributes: {
282
+ extensions: {
247
283
  appearance: {
248
284
  dark: {
249
- value: "#141414"
285
+ value: "#ffffff"
250
286
  }
251
287
  }
252
288
  }
253
289
  };
254
- export const ButtonDangerPrimaryForegroundColorHover = {
255
- value: "#ffffff",
256
- attributes: {
290
+ /** @type {TokenWithAppearance} */
291
+ export const AvatarIndicatorBackgroundColorOnline = {
292
+ value: "#09a569",
293
+ extensions: {
257
294
  appearance: {
258
295
  dark: {
259
- value: "#141414"
296
+ value: "#09a569"
260
297
  }
261
298
  }
262
299
  }
263
300
  };
264
- export const ButtonDangerPrimaryForegroundColorActive = {
265
- value: "#ffffff",
266
- attributes: {
301
+ /** @type {TokenWithAppearance} */
302
+ export const AvatarIndicatorBackgroundColorOffline = {
303
+ value: "{background.color.default}",
304
+ extensions: {
267
305
  appearance: {
268
306
  dark: {
269
- value: "#141414"
307
+ value: "{background.color.default}"
270
308
  }
271
309
  }
272
310
  }
273
311
  };
274
- export const ButtonDangerPrimaryBackgroundColor = {
275
- value: "#e13212",
276
- attributes: {
312
+ /** @type {TokenWithAppearance} */
313
+ export const AvatarIndicatorBackgroundColorDisabled = {
314
+ value: "#dfdfdf",
315
+ extensions: {
277
316
  appearance: {
278
317
  dark: {
279
- value: "#ff745f"
318
+ value: "#dfdfdf"
280
319
  }
281
320
  }
282
321
  }
283
322
  };
284
- export const ButtonDangerPrimaryBackgroundColorHover = {
285
- value: "#b82c12ff",
286
- attributes: {
323
+ /** @type {TokenWithAppearance} */
324
+ export const AvatarIndicatorBorderColor = {
325
+ value: "#e5e5e5",
326
+ extensions: {
287
327
  appearance: {
288
328
  dark: {
289
- value: "#ff8a79ff"
329
+ value: "#e5e5e5"
290
330
  }
291
331
  }
292
332
  }
293
333
  };
294
- export const ButtonDangerPrimaryBackgroundColorActive = {
295
- value: "#8f2613ff",
296
- attributes: {
334
+ /** @type {TokenWithAppearance} */
335
+ export const BadgeBackgroundColor = {
336
+ value: "{background.color.danger}",
337
+ extensions: {
297
338
  appearance: {
298
339
  dark: {
299
- value: "#d96553ff"
340
+ value: "{background.color.danger}"
300
341
  }
301
342
  }
302
343
  }
303
344
  };
304
- export const ButtonDangerPrimaryBorderColor = {
305
- value: "transparent",
306
- attributes: {
345
+ /** @type {TokenWithAppearance} */
346
+ export const BadgeForegroundColor = {
347
+ value: "{foreground.color.on.danger}",
348
+ extensions: {
349
+ appearance: {
350
+ dark: {
351
+ value: "{foreground.color.on.danger}"
352
+ }
353
+ }
354
+ }
355
+ };
356
+ /** @type {TokenWithAppearance} */
357
+ export const ButtonPrimaryForegroundColor = {
358
+ value: "{foreground.color.on.primary}",
359
+ extensions: {
360
+ appearance: {
361
+ dark: {
362
+ value: "{foreground.color.on.primary}"
363
+ }
364
+ }
365
+ }
366
+ };
367
+ /** @type {TokenWithAppearance} */
368
+ export const ButtonPrimaryForegroundColorHover = {
369
+ value: "{foreground.color.on.primary}",
370
+ extensions: {
371
+ appearance: {
372
+ dark: {
373
+ value: "{foreground.color.on.primary}"
374
+ }
375
+ }
376
+ }
377
+ };
378
+ /** @type {TokenWithAppearance} */
379
+ export const ButtonPrimaryForegroundColorActive = {
380
+ value: "{foreground.color.on.primary}",
381
+ extensions: {
382
+ appearance: {
383
+ dark: {
384
+ value: "{foreground.color.on.primary}"
385
+ }
386
+ }
387
+ }
388
+ };
389
+ /** @type {TokenWithAppearance} */
390
+ export const ButtonPrimaryBackgroundColor = {
391
+ value: "{background.color.primary}",
392
+ extensions: {
393
+ appearance: {
394
+ dark: {
395
+ value: "{background.color.primary}"
396
+ }
397
+ }
398
+ }
399
+ };
400
+ /** @type {TokenWithAppearance} */
401
+ export const ButtonPrimaryBackgroundColorHover = {
402
+ value: "#0065de",
403
+ extensions: {
404
+ appearance: {
405
+ dark: {
406
+ value: "#0065de"
407
+ }
408
+ }
409
+ }
410
+ };
411
+ /** @type {TokenWithAppearance} */
412
+ export const ButtonPrimaryBackgroundColorActive = {
413
+ value: "#004da9",
414
+ extensions: {
415
+ appearance: {
416
+ dark: {
417
+ value: "#004da9"
418
+ }
419
+ }
420
+ }
421
+ };
422
+ /** @type {TokenWithAppearance} */
423
+ export const ButtonPrimaryBorderColor = {
424
+ value: "rgba(0, 0, 0, 0)",
425
+ extensions: {
307
426
  appearance: {
308
427
  dark: {
309
428
  value: "transparent"
@@ -311,80 +430,89 @@ export const ButtonDangerPrimaryBorderColor = {
311
430
  }
312
431
  }
313
432
  };
314
- export const ButtonDangerPrimaryBorderRadius = { value: "0.375rem" };
315
- export const ButtonDangerPrimaryFocusRingColor = {
316
- value: "#e13212",
317
- attributes: {
433
+ /** @type {TokenValue} */
434
+ export const ButtonPrimaryBorderRadius = { value: "0.375rem" };
435
+ /** @type {TokenWithAppearance} */
436
+ export const ButtonPrimaryFocusRingColor = {
437
+ value: "#1a82ff",
438
+ extensions: {
318
439
  appearance: {
319
440
  dark: {
320
- value: "#ff745f"
441
+ value: "#1a82ff"
321
442
  }
322
443
  }
323
444
  }
324
445
  };
325
- export const ButtonDangerSecondaryForegroundColor = {
326
- value: "#bf2a00",
327
- attributes: {
446
+ /** @type {TokenWithAppearance} */
447
+ export const ButtonSecondaryForegroundColor = {
448
+ value: "#040404",
449
+ extensions: {
328
450
  appearance: {
329
451
  dark: {
330
- value: "#ffffff"
452
+ value: "#040404"
331
453
  }
332
454
  }
333
455
  }
334
456
  };
335
- export const ButtonDangerSecondaryForegroundColorHover = {
336
- value: "#bf2a00",
337
- attributes: {
457
+ /** @type {TokenWithAppearance} */
458
+ export const ButtonSecondaryForegroundColorHover = {
459
+ value: "#040404",
460
+ extensions: {
338
461
  appearance: {
339
462
  dark: {
340
- value: "#ff745f"
463
+ value: "#040404"
341
464
  }
342
465
  }
343
466
  }
344
467
  };
345
- export const ButtonDangerSecondaryForegroundColorActive = {
346
- value: "#bf2a00",
347
- attributes: {
468
+ /** @type {TokenWithAppearance} */
469
+ export const ButtonSecondaryForegroundColorActive = {
470
+ value: "#040404",
471
+ extensions: {
348
472
  appearance: {
349
473
  dark: {
350
- value: "#ff745f"
474
+ value: "#040404"
351
475
  }
352
476
  }
353
477
  }
354
478
  };
355
- export const ButtonDangerSecondaryBackgroundColor = {
356
- value: "#ffece9",
357
- attributes: {
479
+ /** @type {TokenWithAppearance} */
480
+ export const ButtonSecondaryBackgroundColor = {
481
+ value: "{background.color.secondary}",
482
+ extensions: {
358
483
  appearance: {
359
484
  dark: {
360
- value: "#ff745f33"
485
+ value: "{background.color.secondary}"
361
486
  }
362
487
  }
363
488
  }
364
489
  };
365
- export const ButtonDangerSecondaryBackgroundColorHover = {
366
- value: "#fcd9d4ff",
367
- attributes: {
490
+ /** @type {TokenWithAppearance} */
491
+ export const ButtonSecondaryBackgroundColorHover = {
492
+ value: "#04040414",
493
+ extensions: {
368
494
  appearance: {
369
495
  dark: {
370
- value: "#fe6e5852"
496
+ value: "#04040414"
371
497
  }
372
498
  }
373
499
  }
374
500
  };
375
- export const ButtonDangerSecondaryBackgroundColorActive = {
376
- value: "#f6b4a9ff",
377
- attributes: {
501
+ /** @type {TokenWithAppearance} */
502
+ export const ButtonSecondaryBackgroundColorActive = {
503
+ value: "#04040429",
504
+ extensions: {
378
505
  appearance: {
379
506
  dark: {
380
- value: "#fe6a5466"
507
+ value: "#04040429"
381
508
  }
382
509
  }
383
510
  }
384
511
  };
385
- export const ButtonDangerSecondaryBorderColor = {
386
- value: "transparent",
387
- attributes: {
512
+ /** @type {TokenWithAppearance} */
513
+ export const ButtonSecondaryBorderColor = {
514
+ value: "rgba(0, 0, 0, 0)",
515
+ extensions: {
388
516
  appearance: {
389
517
  dark: {
390
518
  value: "transparent"
@@ -392,50 +520,56 @@ export const ButtonDangerSecondaryBorderColor = {
392
520
  }
393
521
  }
394
522
  };
395
- export const ButtonDangerSecondaryBorderRadius = { value: "0.375rem" };
396
- export const ButtonDangerSecondaryFocusRingColor = {
397
- value: "#e13212",
398
- attributes: {
523
+ /** @type {TokenValue} */
524
+ export const ButtonSecondaryBorderRadius = { value: "0.375rem" };
525
+ /** @type {TokenWithAppearance} */
526
+ export const ButtonSecondaryFocusRingColor = {
527
+ value: "#1a82ff",
528
+ extensions: {
399
529
  appearance: {
400
530
  dark: {
401
- value: "#ff745f"
531
+ value: "#1a82ff"
402
532
  }
403
533
  }
404
534
  }
405
535
  };
406
- export const CheckboxUncheckedFillColorDefault = {
407
- value: "#141414",
408
- attributes: {
536
+ /** @type {TokenWithAppearance} */
537
+ export const ButtonGhostForegroundColor = {
538
+ value: "#040404",
539
+ extensions: {
409
540
  appearance: {
410
541
  dark: {
411
- value: "#ffffff"
542
+ value: "#040404"
412
543
  }
413
544
  }
414
545
  }
415
546
  };
416
- export const CheckboxUncheckedFillColorHover = {
417
- value: "#141414",
418
- attributes: {
547
+ /** @type {TokenWithAppearance} */
548
+ export const ButtonGhostForegroundColorHover = {
549
+ value: "#040404",
550
+ extensions: {
419
551
  appearance: {
420
552
  dark: {
421
- value: "#ffffff"
553
+ value: "#040404"
422
554
  }
423
555
  }
424
556
  }
425
557
  };
426
- export const CheckboxUncheckedFillColorActive = {
427
- value: "#141414",
428
- attributes: {
558
+ /** @type {TokenWithAppearance} */
559
+ export const ButtonGhostForegroundColorActive = {
560
+ value: "#040404",
561
+ extensions: {
429
562
  appearance: {
430
563
  dark: {
431
- value: "#ffffff"
564
+ value: "#040404"
432
565
  }
433
566
  }
434
567
  }
435
568
  };
436
- export const CheckboxUncheckedBackgroundColorDefault = {
437
- value: "transparent",
438
- attributes: {
569
+ /** @type {TokenWithAppearance} */
570
+ export const ButtonGhostBackgroundColor = {
571
+ value: "rgba(0, 0, 0, 0)",
572
+ extensions: {
439
573
  appearance: {
440
574
  dark: {
441
575
  value: "transparent"
@@ -443,9 +577,10 @@ export const CheckboxUncheckedBackgroundColorDefault = {
443
577
  }
444
578
  }
445
579
  };
446
- export const CheckboxUncheckedBackgroundColorHover = {
447
- value: "#14141414",
448
- attributes: {
580
+ /** @type {TokenWithAppearance} */
581
+ export const ButtonGhostBackgroundColorHover = {
582
+ value: "#8b8b8b14",
583
+ extensions: {
449
584
  appearance: {
450
585
  dark: {
451
586
  value: "#ffffff14"
@@ -453,9 +588,10 @@ export const CheckboxUncheckedBackgroundColorHover = {
453
588
  }
454
589
  }
455
590
  };
456
- export const CheckboxUncheckedBackgroundColorActive = {
457
- value: "#14141429",
458
- attributes: {
591
+ /** @type {TokenWithAppearance} */
592
+ export const ButtonGhostBackgroundColorActive = {
593
+ value: "#8b8b8b29",
594
+ extensions: {
459
595
  appearance: {
460
596
  dark: {
461
597
  value: "#ffffff29"
@@ -463,39 +599,100 @@ export const CheckboxUncheckedBackgroundColorActive = {
463
599
  }
464
600
  }
465
601
  };
466
- export const CheckboxCheckedFillColorDefault = {
467
- value: "#0265DC",
468
- attributes: {
602
+ /** @type {TokenWithAppearance} */
603
+ export const ButtonGhostBorderColor = {
604
+ value: "rgba(0, 0, 0, 0)",
605
+ extensions: {
606
+ appearance: {
607
+ dark: {
608
+ value: "transparent"
609
+ }
610
+ }
611
+ }
612
+ };
613
+ /** @type {TokenValue} */
614
+ export const ButtonGhostBorderRadius = { value: "0.375rem" };
615
+ /** @type {TokenWithAppearance} */
616
+ export const ButtonGhostFocusRingColor = {
617
+ value: "#1a82ff",
618
+ extensions: {
619
+ appearance: {
620
+ dark: {
621
+ value: "#1a82ff"
622
+ }
623
+ }
624
+ }
625
+ };
626
+ /** @type {TokenWithAppearance} */
627
+ export const ButtonDangerPrimaryForegroundColor = {
628
+ value: "{foreground.color.on.danger}",
629
+ extensions: {
630
+ appearance: {
631
+ dark: {
632
+ value: "{foreground.color.on.danger}"
633
+ }
634
+ }
635
+ }
636
+ };
637
+ /** @type {TokenWithAppearance} */
638
+ export const ButtonDangerPrimaryForegroundColorHover = {
639
+ value: "{foreground.color.on.danger}",
640
+ extensions: {
641
+ appearance: {
642
+ dark: {
643
+ value: "{foreground.color.on.danger}"
644
+ }
645
+ }
646
+ }
647
+ };
648
+ /** @type {TokenWithAppearance} */
649
+ export const ButtonDangerPrimaryForegroundColorActive = {
650
+ value: "{foreground.color.on.danger}",
651
+ extensions: {
469
652
  appearance: {
470
653
  dark: {
471
- value: "#78BBFA"
654
+ value: "{foreground.color.on.danger}"
472
655
  }
473
656
  }
474
657
  }
475
658
  };
476
- export const CheckboxCheckedFillColorHover = {
477
- value: "#004ba0d1",
478
- attributes: {
659
+ /** @type {TokenWithAppearance} */
660
+ export const ButtonDangerPrimaryBackgroundColor = {
661
+ value: "{background.color.danger}",
662
+ extensions: {
479
663
  appearance: {
480
664
  dark: {
481
- value: "#abd8feda"
665
+ value: "{background.color.danger}"
482
666
  }
483
667
  }
484
668
  }
485
669
  };
486
- export const CheckboxCheckedFillColorActive = {
487
- value: "#0151afb8",
488
- attributes: {
670
+ /** @type {TokenWithAppearance} */
671
+ export const ButtonDangerPrimaryBackgroundColorHover = {
672
+ value: "#d62100",
673
+ extensions: {
489
674
  appearance: {
490
675
  dark: {
491
- value: "#abd8fee0"
676
+ value: "#d62100"
492
677
  }
493
678
  }
494
679
  }
495
680
  };
496
- export const CheckboxCheckedBackgroundColorDefault = {
497
- value: "transparent",
498
- attributes: {
681
+ /** @type {TokenWithAppearance} */
682
+ export const ButtonDangerPrimaryBackgroundColorActive = {
683
+ value: "#a31900",
684
+ extensions: {
685
+ appearance: {
686
+ dark: {
687
+ value: "#a31900"
688
+ }
689
+ }
690
+ }
691
+ };
692
+ /** @type {TokenWithAppearance} */
693
+ export const ButtonDangerPrimaryBorderColor = {
694
+ value: "rgba(0, 0, 0, 0)",
695
+ extensions: {
499
696
  appearance: {
500
697
  dark: {
501
698
  value: "transparent"
@@ -503,59 +700,89 @@ export const CheckboxCheckedBackgroundColorDefault = {
503
700
  }
504
701
  }
505
702
  };
506
- export const CheckboxCheckedBackgroundColorHover = {
507
- value: "#0265dc14",
508
- attributes: {
703
+ /** @type {TokenValue} */
704
+ export const ButtonDangerPrimaryBorderRadius = { value: "0.375rem" };
705
+ /** @type {TokenWithAppearance} */
706
+ export const ButtonDangerPrimaryFocusRingColor = {
707
+ value: "#ff3914",
708
+ extensions: {
509
709
  appearance: {
510
710
  dark: {
511
- value: "#78bbfa14"
711
+ value: "#ff3914"
512
712
  }
513
713
  }
514
714
  }
515
715
  };
516
- export const CheckboxCheckedBackgroundColorActive = {
517
- value: "#0265dc29",
518
- attributes: {
716
+ /** @type {TokenWithAppearance} */
717
+ export const ButtonDangerSecondaryForegroundColor = {
718
+ value: "#d62100",
719
+ extensions: {
519
720
  appearance: {
520
721
  dark: {
521
- value: "#78bbfa29"
722
+ value: "#d62100"
522
723
  }
523
724
  }
524
725
  }
525
726
  };
526
- export const CheckboxUncheckedErrorFillColorDefault = {
527
- value: "#e13212",
528
- attributes: {
727
+ /** @type {TokenWithAppearance} */
728
+ export const ButtonDangerSecondaryForegroundColorHover = {
729
+ value: "#d62100",
730
+ extensions: {
529
731
  appearance: {
530
732
  dark: {
531
- value: "#ff745f"
733
+ value: "#d62100"
532
734
  }
533
735
  }
534
736
  }
535
737
  };
536
- export const CheckboxUncheckedErrorFillColorHover = {
537
- value: "#bf2a00",
538
- attributes: {
738
+ /** @type {TokenWithAppearance} */
739
+ export const ButtonDangerSecondaryForegroundColorActive = {
740
+ value: "#d62100",
741
+ extensions: {
539
742
  appearance: {
540
743
  dark: {
541
- value: "#ff745f"
744
+ value: "#d62100"
542
745
  }
543
746
  }
544
747
  }
545
748
  };
546
- export const CheckboxUncheckedErrorFillColorActive = {
547
- value: "#bf2a00",
548
- attributes: {
749
+ /** @type {TokenWithAppearance} */
750
+ export const ButtonDangerSecondaryBackgroundColor = {
751
+ value: "{background.color.danger.subdued}",
752
+ extensions: {
549
753
  appearance: {
550
754
  dark: {
551
- value: "#ff745f"
755
+ value: "{background.color.danger.subdued}"
552
756
  }
553
757
  }
554
758
  }
555
759
  };
556
- export const CheckboxUncheckedErrorBackgroundColorDefault = {
557
- value: "transparent",
558
- attributes: {
760
+ /** @type {TokenWithAppearance} */
761
+ export const ButtonDangerSecondaryBackgroundColorHover = {
762
+ value: "#ffac9e",
763
+ extensions: {
764
+ appearance: {
765
+ dark: {
766
+ value: "#ffac9e"
767
+ }
768
+ }
769
+ }
770
+ };
771
+ /** @type {TokenWithAppearance} */
772
+ export const ButtonDangerSecondaryBackgroundColorActive = {
773
+ value: "#ff8974",
774
+ extensions: {
775
+ appearance: {
776
+ dark: {
777
+ value: "#ff8974"
778
+ }
779
+ }
780
+ }
781
+ };
782
+ /** @type {TokenWithAppearance} */
783
+ export const ButtonDangerSecondaryBorderColor = {
784
+ value: "rgba(0, 0, 0, 0)",
785
+ extensions: {
559
786
  appearance: {
560
787
  dark: {
561
788
  value: "transparent"
@@ -563,82 +790,177 @@ export const CheckboxUncheckedErrorBackgroundColorDefault = {
563
790
  }
564
791
  }
565
792
  };
566
- export const CheckboxUncheckedErrorBackgroundColorHover = {
567
- value: "#e132120f",
568
- attributes: {
793
+ /** @type {TokenValue} */
794
+ export const ButtonDangerSecondaryBorderRadius = { value: "0.375rem" };
795
+ /** @type {TokenWithAppearance} */
796
+ export const ButtonDangerSecondaryFocusRingColor = {
797
+ value: "#ff3914",
798
+ extensions: {
569
799
  appearance: {
570
800
  dark: {
571
- value: "#f94d321a"
801
+ value: "#ff3914"
572
802
  }
573
803
  }
574
804
  }
575
805
  };
576
- export const CheckboxUncheckedErrorBackgroundColorActive = {
577
- value: "#e132122e",
578
- attributes: {
806
+ /** @type {TokenWithAppearance} */
807
+ export const CheckboxCheckedForegroundColor = {
808
+ value: "{foreground.color.primary}",
809
+ extensions: {
579
810
  appearance: {
580
811
  dark: {
581
- value: "#f94d3240"
812
+ value: "{foreground.color.primary}"
582
813
  }
583
814
  }
584
815
  }
585
816
  };
586
- export const CheckboxCheckedErrorFillColorDefault = {
587
- value: "#e13212",
588
- attributes: {
817
+ /** @type {TokenWithAppearance} */
818
+ export const CheckboxCheckedForegroundColorHover = {
819
+ value: "#0065de",
820
+ extensions: {
589
821
  appearance: {
590
822
  dark: {
591
- value: "#ff745f"
823
+ value: "#0065de"
592
824
  }
593
825
  }
594
826
  }
595
827
  };
596
- export const CheckboxCheckedErrorFillColorHover = {
597
- value: "#bf2a00",
598
- attributes: {
828
+ /** @type {TokenWithAppearance} */
829
+ export const CheckboxCheckedForegroundColorActive = {
830
+ value: "#0065de",
831
+ extensions: {
599
832
  appearance: {
600
833
  dark: {
601
- value: "#ff745f"
834
+ value: "#0065de"
602
835
  }
603
836
  }
604
837
  }
605
838
  };
606
- export const CheckboxCheckedErrorFillColorActive = {
607
- value: "#bf2a00",
608
- attributes: {
839
+ /** @type {TokenWithAppearance} */
840
+ export const CheckboxCheckedBackgroundColorHover = {
841
+ value: "#1a82ff1A",
842
+ extensions: {
609
843
  appearance: {
610
844
  dark: {
611
- value: "#ff745f"
845
+ value: "#1a82ff1A"
612
846
  }
613
847
  }
614
848
  }
615
849
  };
616
- export const CheckboxCheckedErrorBackgroundColorDefault = {
617
- value: "transparent",
618
- attributes: {
850
+ /** @type {TokenValue} */
851
+ export const CheckboxCheckedBorderRadius = { value: "0.1875rem" };
852
+ /** @type {TokenWithAppearance} */
853
+ export const CheckboxCheckedFocusRingColor = {
854
+ value: "#1a82ff",
855
+ extensions: {
619
856
  appearance: {
620
857
  dark: {
621
- value: "transparent"
858
+ value: "#1a82ff"
859
+ }
860
+ }
861
+ }
862
+ };
863
+ /** @type {TokenWithAppearance} */
864
+ export const CheckboxUncheckedBackgroundColorHover = {
865
+ value: "#8b8b8b14",
866
+ extensions: {
867
+ appearance: {
868
+ dark: {
869
+ value: "#8b8b8b14"
622
870
  }
623
871
  }
624
872
  }
625
873
  };
874
+ /** @type {TokenValue} */
875
+ export const CheckboxUncheckedBorderRadius = { value: "0.1875rem" };
876
+ /** @type {TokenWithAppearance} */
877
+ export const CheckboxUncheckedFocusRingColor = {
878
+ value: "#1a82ff",
879
+ extensions: {
880
+ appearance: {
881
+ dark: {
882
+ value: "#1a82ff"
883
+ }
884
+ }
885
+ }
886
+ };
887
+ /** @type {TokenWithAppearance} */
888
+ export const CheckboxCheckedErrorForegroundColor = {
889
+ value: "{foreground.color.danger}",
890
+ extensions: {
891
+ appearance: {
892
+ dark: {
893
+ value: "{foreground.color.danger}"
894
+ }
895
+ }
896
+ }
897
+ };
898
+ /** @type {TokenWithAppearance} */
899
+ export const CheckboxCheckedErrorForegroundColorHover = {
900
+ value: "#d62100",
901
+ extensions: {
902
+ appearance: {
903
+ dark: {
904
+ value: "#d62100"
905
+ }
906
+ }
907
+ }
908
+ };
909
+ /** @type {TokenWithAppearance} */
910
+ export const CheckboxCheckedErrorForegroundColorActive = {
911
+ value: "#d62100",
912
+ extensions: {
913
+ appearance: {
914
+ dark: {
915
+ value: "#d62100"
916
+ }
917
+ }
918
+ }
919
+ };
920
+ /** @type {TokenWithAppearance} */
626
921
  export const CheckboxCheckedErrorBackgroundColorHover = {
627
- value: "#e132120f",
628
- attributes: {
922
+ value: "#ff39141A",
923
+ extensions: {
924
+ appearance: {
925
+ dark: {
926
+ value: "#ff39141A"
927
+ }
928
+ }
929
+ }
930
+ };
931
+ /** @type {TokenValue} */
932
+ export const CheckboxCheckedErrorBorderRadius = { value: "0.1875rem" };
933
+ /** @type {TokenWithAppearance} */
934
+ export const CheckboxCheckedErrorFocusRingColor = {
935
+ value: "#ff3914",
936
+ extensions: {
937
+ appearance: {
938
+ dark: {
939
+ value: "#ff3914"
940
+ }
941
+ }
942
+ }
943
+ };
944
+ /** @type {TokenWithAppearance} */
945
+ export const CheckboxUncheckedErrorBackgroundColorHover = {
946
+ value: "#ff39141A",
947
+ extensions: {
629
948
  appearance: {
630
949
  dark: {
631
- value: "#f94d321a"
950
+ value: "#ff39141A"
632
951
  }
633
952
  }
634
953
  }
635
954
  };
636
- export const CheckboxCheckedErrorBackgroundColorActive = {
637
- value: "#e132122e",
638
- attributes: {
955
+ /** @type {TokenValue} */
956
+ export const CheckboxUncheckedErrorBorderRadius = { value: "0.1875rem" };
957
+ /** @type {TokenWithAppearance} */
958
+ export const CheckboxUncheckedErrorFocusRingColor = {
959
+ value: "#ff3914",
960
+ extensions: {
639
961
  appearance: {
640
962
  dark: {
641
- value: "#f94d3240"
963
+ value: "#ff3914"
642
964
  }
643
965
  }
644
966
  }