@servicetitan/hammer-token 2.5.2 → 3.0.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.
Files changed (146) hide show
  1. package/CHANGELOG.md +52 -2
  2. package/README.md +332 -0
  3. package/build/web/core/component-variables.scss +1088 -131
  4. package/build/web/core/component.d.ts +558 -0
  5. package/build/web/core/component.js +6685 -249
  6. package/build/web/core/component.scss +557 -69
  7. package/build/web/core/css-utils/a2-border.css +23 -51
  8. package/build/web/core/css-utils/a2-color.css +221 -233
  9. package/build/web/core/css-utils/a2-font.css +1 -29
  10. package/build/web/core/css-utils/a2-spacing.css +238 -483
  11. package/build/web/core/css-utils/a2-utils.css +496 -781
  12. package/build/web/core/css-utils/border.css +23 -51
  13. package/build/web/core/css-utils/color.css +221 -233
  14. package/build/web/core/css-utils/font.css +1 -29
  15. package/build/web/core/css-utils/spacing.css +238 -483
  16. package/build/web/core/css-utils/utils.css +496 -781
  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 +148 -65
  20. package/build/web/core/primitive.d.ts +209 -0
  21. package/build/web/core/primitive.js +779 -61
  22. package/build/web/core/primitive.scss +207 -124
  23. package/build/web/core/semantic-variables.scss +363 -245
  24. package/build/web/core/semantic.d.ts +221 -0
  25. package/build/web/core/semantic.js +1592 -347
  26. package/build/web/core/semantic.scss +219 -140
  27. package/build/web/index.d.ts +3 -4
  28. package/build/web/types.d.ts +17 -0
  29. package/config.js +121 -496
  30. package/eslint.config.mjs +11 -1
  31. package/package.json +15 -5
  32. package/src/global/primitive/breakpoint.tokens.json +54 -0
  33. package/src/global/primitive/color.tokens.json +1092 -0
  34. package/src/global/primitive/duration.tokens.json +44 -0
  35. package/src/global/primitive/font.tokens.json +151 -0
  36. package/src/global/primitive/radius.tokens.json +94 -0
  37. package/src/global/primitive/size.tokens.json +174 -0
  38. package/src/global/primitive/transition.tokens.json +32 -0
  39. package/src/theme/core/background.tokens.json +1312 -0
  40. package/src/theme/core/border.tokens.json +192 -0
  41. package/src/theme/core/chart.tokens.json +982 -0
  42. package/src/theme/core/component/ai-mark.tokens.json +20 -0
  43. package/src/theme/core/component/alert.tokens.json +261 -0
  44. package/src/theme/core/component/announcement.tokens.json +460 -0
  45. package/src/theme/core/component/avatar.tokens.json +137 -0
  46. package/src/theme/core/component/badge.tokens.json +42 -0
  47. package/src/theme/core/component/breadcrumb.tokens.json +42 -0
  48. package/src/theme/core/component/button-toggle.tokens.json +428 -0
  49. package/src/theme/core/component/button.tokens.json +941 -0
  50. package/src/theme/core/component/calendar.tokens.json +391 -0
  51. package/src/theme/core/component/card.tokens.json +107 -0
  52. package/src/theme/core/component/checkbox.tokens.json +631 -0
  53. package/src/theme/core/component/chip.tokens.json +169 -0
  54. package/src/theme/core/component/combobox.tokens.json +269 -0
  55. package/src/theme/core/component/details.tokens.json +152 -0
  56. package/src/theme/core/component/dialog.tokens.json +87 -0
  57. package/src/theme/core/component/divider.tokens.json +23 -0
  58. package/src/theme/core/component/dnd.tokens.json +208 -0
  59. package/src/theme/core/component/drawer.tokens.json +61 -0
  60. package/src/theme/core/component/drilldown.tokens.json +61 -0
  61. package/src/theme/core/component/edit-card.tokens.json +381 -0
  62. package/src/theme/core/component/field-label.tokens.json +42 -0
  63. package/src/theme/core/component/field-message.tokens.json +65 -0
  64. package/src/theme/core/component/icon.tokens.json +42 -0
  65. package/src/theme/core/component/link.tokens.json +108 -0
  66. package/src/theme/core/component/list-view.tokens.json +82 -0
  67. package/src/theme/core/component/listbox.tokens.json +283 -0
  68. package/src/theme/core/component/menu.tokens.json +230 -0
  69. package/src/theme/core/component/overflow.tokens.json +84 -0
  70. package/src/theme/core/component/page.tokens.json +377 -0
  71. package/src/theme/core/component/pagination.tokens.json +63 -0
  72. package/src/theme/core/component/popover.tokens.json +122 -0
  73. package/src/theme/core/component/progress-bar.tokens.json +133 -0
  74. package/src/theme/core/component/radio.tokens.json +631 -0
  75. package/src/theme/core/component/segmented-control.tokens.json +175 -0
  76. package/src/theme/core/component/select-card.tokens.json +943 -0
  77. package/src/theme/core/component/side-nav.tokens.json +349 -0
  78. package/src/theme/core/component/skeleton.tokens.json +42 -0
  79. package/src/theme/core/component/spinner.tokens.json +96 -0
  80. package/src/theme/core/component/status-icon.tokens.json +164 -0
  81. package/src/theme/core/component/stepper.tokens.json +484 -0
  82. package/src/theme/core/component/switch.tokens.json +285 -0
  83. package/src/theme/core/component/tab.tokens.json +192 -0
  84. package/src/theme/core/component/text-field.tokens.json +160 -0
  85. package/src/theme/core/component/text.tokens.json +59 -0
  86. package/src/theme/core/component/toast.tokens.json +343 -0
  87. package/src/theme/core/component/toolbar.tokens.json +114 -0
  88. package/src/theme/core/component/tooltip.tokens.json +61 -0
  89. package/src/theme/core/focus.tokens.json +56 -0
  90. package/src/theme/core/foreground.tokens.json +416 -0
  91. package/src/theme/core/gradient.tokens.json +41 -0
  92. package/src/theme/core/opacity.tokens.json +25 -0
  93. package/src/theme/core/shadow.tokens.json +81 -0
  94. package/src/theme/core/status.tokens.json +74 -0
  95. package/src/theme/core/typography.tokens.json +163 -0
  96. package/src/utils/__tests__/css-utils-format-utils.test.js +312 -0
  97. package/src/utils/__tests__/sd-build-configs.test.js +306 -0
  98. package/src/utils/__tests__/sd-formats.test.js +942 -0
  99. package/src/utils/__tests__/sd-transforms.test.js +336 -0
  100. package/src/utils/__tests__/token-helpers.test.js +1160 -0
  101. package/src/utils/copy-css-utils-cli.js +13 -1
  102. package/src/utils/css-utils-format-utils.js +105 -176
  103. package/src/utils/figma/__tests__/sync-gradient.test.js +561 -0
  104. package/src/utils/figma/__tests__/token-conversion.test.js +117 -0
  105. package/src/utils/figma/__tests__/token-resolution.test.js +231 -0
  106. package/src/utils/figma/auth.js +355 -0
  107. package/src/utils/figma/constants.js +22 -0
  108. package/src/utils/figma/errors.js +80 -0
  109. package/src/utils/figma/figma-api.js +1069 -0
  110. package/src/utils/figma/get-token.js +348 -0
  111. package/src/utils/figma/sync-components.js +909 -0
  112. package/src/utils/figma/sync-main.js +692 -0
  113. package/src/utils/figma/sync-orchestration.js +683 -0
  114. package/src/utils/figma/sync-primitives.js +230 -0
  115. package/src/utils/figma/sync-semantic.js +1056 -0
  116. package/src/utils/figma/token-conversion.js +340 -0
  117. package/src/utils/figma/token-parsing.js +186 -0
  118. package/src/utils/figma/token-resolution.js +569 -0
  119. package/src/utils/figma/utils.js +199 -0
  120. package/src/utils/sd-build-configs.js +305 -0
  121. package/src/utils/sd-formats.js +948 -0
  122. package/src/utils/sd-transforms.js +165 -0
  123. package/src/utils/token-helpers.js +848 -0
  124. package/tsconfig.json +18 -0
  125. package/vitest.config.js +17 -0
  126. package/.turbo/turbo-build.log +0 -37
  127. package/build/web/core/raw.js +0 -234
  128. package/src/global/primitive/breakpoint.js +0 -19
  129. package/src/global/primitive/color.js +0 -231
  130. package/src/global/primitive/duration.js +0 -16
  131. package/src/global/primitive/font.js +0 -60
  132. package/src/global/primitive/radius.js +0 -31
  133. package/src/global/primitive/size.js +0 -55
  134. package/src/global/primitive/transition.js +0 -16
  135. package/src/theme/core/background.js +0 -170
  136. package/src/theme/core/border.js +0 -103
  137. package/src/theme/core/charts.js +0 -464
  138. package/src/theme/core/component/button.js +0 -708
  139. package/src/theme/core/component/checkbox.js +0 -405
  140. package/src/theme/core/focus.js +0 -35
  141. package/src/theme/core/foreground.js +0 -148
  142. package/src/theme/core/overlay.js +0 -137
  143. package/src/theme/core/shadow.js +0 -29
  144. package/src/theme/core/status.js +0 -49
  145. package/src/theme/core/typography.js +0 -82
  146. package/type/types.ts +0 -344
@@ -0,0 +1,460 @@
1
+ {
2
+ "announcement": {
3
+ "info": {
4
+ "background": {
5
+ "color": {
6
+ "$type": "color",
7
+ "$value": "{status.color.info}",
8
+ "$extensions": {
9
+ "appearance": {
10
+ "light": {
11
+ "$type": "color",
12
+ "$value": "{status.color.info}"
13
+ },
14
+ "dark": {
15
+ "$type": "color",
16
+ "$value": "{status.color.info}"
17
+ }
18
+ },
19
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
20
+ }
21
+ }
22
+ },
23
+ "foreground": {
24
+ "color": {
25
+ "$type": "color",
26
+ "$value": "{foreground.color.on.primary}",
27
+ "$extensions": {
28
+ "appearance": {
29
+ "light": {
30
+ "$type": "color",
31
+ "$value": "{foreground.color.on.primary}"
32
+ },
33
+ "dark": {
34
+ "$type": "color",
35
+ "$value": "{foreground.color.on.primary}"
36
+ }
37
+ },
38
+ "com.figma.scopes": ["TEXT_FILL", "SHAPE_FILL"]
39
+ }
40
+ }
41
+ },
42
+ "action-button": {
43
+ "background": {
44
+ "color": {
45
+ "$type": "color",
46
+ "$value": "{background.color.secondary-strong}",
47
+ "$extensions": {
48
+ "appearance": {
49
+ "light": {
50
+ "$type": "color",
51
+ "$value": "{background.color.secondary-strong}"
52
+ },
53
+ "dark": {
54
+ "$type": "color",
55
+ "$value": "{background.color.secondary-strong}"
56
+ }
57
+ },
58
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
59
+ }
60
+ },
61
+ "color-hover": {
62
+ "$type": "color",
63
+ "$value": "{background.color.secondary-strong-hover}",
64
+ "$extensions": {
65
+ "appearance": {
66
+ "light": {
67
+ "$type": "color",
68
+ "$value": "{background.color.secondary-strong-hover}"
69
+ },
70
+ "dark": {
71
+ "$type": "color",
72
+ "$value": "{background.color.secondary-strong-hover}"
73
+ }
74
+ },
75
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
76
+ }
77
+ },
78
+ "color-active": {
79
+ "$type": "color",
80
+ "$value": "{background.color.secondary-strong-active}",
81
+ "$extensions": {
82
+ "appearance": {
83
+ "light": {
84
+ "$type": "color",
85
+ "$value": "{background.color.secondary-strong-active}"
86
+ },
87
+ "dark": {
88
+ "$type": "color",
89
+ "$value": "{background.color.secondary-strong-active}"
90
+ }
91
+ },
92
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
93
+ }
94
+ }
95
+ },
96
+ "focus-ring": {
97
+ "color": {
98
+ "$type": "color",
99
+ "$value": "{foreground.color.on.primary}",
100
+ "$extensions": {
101
+ "appearance": {
102
+ "light": {
103
+ "$type": "color",
104
+ "$value": "{foreground.color.on.primary}"
105
+ },
106
+ "dark": {
107
+ "$type": "color",
108
+ "$value": "{foreground.color.on.primary}"
109
+ }
110
+ },
111
+ "com.figma.scopes": ["STROKE_COLOR"]
112
+ }
113
+ }
114
+ }
115
+ }
116
+ },
117
+ "success": {
118
+ "background": {
119
+ "color": {
120
+ "$type": "color",
121
+ "$value": "{status.color.success}",
122
+ "$extensions": {
123
+ "appearance": {
124
+ "light": {
125
+ "$type": "color",
126
+ "$value": "{status.color.success}"
127
+ },
128
+ "dark": {
129
+ "$type": "color",
130
+ "$value": "{status.color.success}"
131
+ }
132
+ },
133
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
134
+ }
135
+ }
136
+ },
137
+ "foreground": {
138
+ "color": {
139
+ "$type": "color",
140
+ "$value": "{foreground.color.on.success}",
141
+ "$extensions": {
142
+ "appearance": {
143
+ "light": {
144
+ "$type": "color",
145
+ "$value": "{foreground.color.on.success}"
146
+ },
147
+ "dark": {
148
+ "$type": "color",
149
+ "$value": "{foreground.color.on.success}"
150
+ }
151
+ },
152
+ "com.figma.scopes": ["TEXT_FILL", "SHAPE_FILL"]
153
+ }
154
+ }
155
+ },
156
+ "action-button": {
157
+ "background": {
158
+ "color": {
159
+ "$type": "color",
160
+ "$value": "{background.color.secondary-strong}",
161
+ "$extensions": {
162
+ "appearance": {
163
+ "light": {
164
+ "$type": "color",
165
+ "$value": "{background.color.secondary-strong}"
166
+ },
167
+ "dark": {
168
+ "$type": "color",
169
+ "$value": "{background.color.secondary-strong}"
170
+ }
171
+ },
172
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
173
+ }
174
+ },
175
+ "color-hover": {
176
+ "$type": "color",
177
+ "$value": "{background.color.secondary-strong-hover}",
178
+ "$extensions": {
179
+ "appearance": {
180
+ "light": {
181
+ "$type": "color",
182
+ "$value": "{background.color.secondary-strong-hover}"
183
+ },
184
+ "dark": {
185
+ "$type": "color",
186
+ "$value": "{background.color.secondary-strong-hover}"
187
+ }
188
+ },
189
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
190
+ }
191
+ },
192
+ "color-active": {
193
+ "$type": "color",
194
+ "$value": "{background.color.secondary-strong-active}",
195
+ "$extensions": {
196
+ "appearance": {
197
+ "light": {
198
+ "$type": "color",
199
+ "$value": "{background.color.secondary-strong-active}"
200
+ },
201
+ "dark": {
202
+ "$type": "color",
203
+ "$value": "{background.color.secondary-strong-active}"
204
+ }
205
+ },
206
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
207
+ }
208
+ }
209
+ },
210
+ "focus-ring": {
211
+ "color": {
212
+ "$type": "color",
213
+ "$value": "{foreground.color.on.success}",
214
+ "$extensions": {
215
+ "appearance": {
216
+ "light": {
217
+ "$type": "color",
218
+ "$value": "{foreground.color.on.success}"
219
+ },
220
+ "dark": {
221
+ "$type": "color",
222
+ "$value": "{foreground.color.on.success}"
223
+ }
224
+ },
225
+ "com.figma.scopes": ["STROKE_COLOR"]
226
+ }
227
+ }
228
+ }
229
+ }
230
+ },
231
+ "warning": {
232
+ "background": {
233
+ "color": {
234
+ "$type": "color",
235
+ "$value": "{status.color.warning}",
236
+ "$extensions": {
237
+ "appearance": {
238
+ "light": {
239
+ "$type": "color",
240
+ "$value": "{status.color.warning}"
241
+ },
242
+ "dark": {
243
+ "$type": "color",
244
+ "$value": "{status.color.warning}"
245
+ }
246
+ },
247
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
248
+ }
249
+ }
250
+ },
251
+ "foreground": {
252
+ "color": {
253
+ "$type": "color",
254
+ "$value": "{foreground.color.on.warning}",
255
+ "$extensions": {
256
+ "appearance": {
257
+ "light": {
258
+ "$type": "color",
259
+ "$value": "{foreground.color.on.warning}"
260
+ },
261
+ "dark": {
262
+ "$type": "color",
263
+ "$value": "{foreground.color.on.warning}"
264
+ }
265
+ },
266
+ "com.figma.scopes": ["TEXT_FILL", "SHAPE_FILL"]
267
+ }
268
+ }
269
+ },
270
+ "action-button": {
271
+ "background": {
272
+ "color": {
273
+ "$type": "color",
274
+ "$value": "{background.color.secondary-strong}",
275
+ "$extensions": {
276
+ "appearance": {
277
+ "light": {
278
+ "$type": "color",
279
+ "$value": "{background.color.secondary-strong}"
280
+ },
281
+ "dark": {
282
+ "$type": "color",
283
+ "$value": "{background.color.secondary-strong}"
284
+ }
285
+ },
286
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
287
+ }
288
+ },
289
+ "color-hover": {
290
+ "$type": "color",
291
+ "$value": "{background.color.secondary-strong-hover}",
292
+ "$extensions": {
293
+ "appearance": {
294
+ "light": {
295
+ "$type": "color",
296
+ "$value": "{background.color.secondary-strong-hover}"
297
+ },
298
+ "dark": {
299
+ "$type": "color",
300
+ "$value": "{background.color.secondary-strong-hover}"
301
+ }
302
+ },
303
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
304
+ }
305
+ },
306
+ "color-active": {
307
+ "$type": "color",
308
+ "$value": "{background.color.secondary-strong-active}",
309
+ "$extensions": {
310
+ "appearance": {
311
+ "light": {
312
+ "$type": "color",
313
+ "$value": "{background.color.secondary-strong-active}"
314
+ },
315
+ "dark": {
316
+ "$type": "color",
317
+ "$value": "{background.color.secondary-strong-active}"
318
+ }
319
+ },
320
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
321
+ }
322
+ }
323
+ },
324
+ "focus-ring": {
325
+ "color": {
326
+ "$type": "color",
327
+ "$value": "{foreground.color.on.warning}",
328
+ "$extensions": {
329
+ "appearance": {
330
+ "light": {
331
+ "$type": "color",
332
+ "$value": "{foreground.color.on.warning}"
333
+ },
334
+ "dark": {
335
+ "$type": "color",
336
+ "$value": "{foreground.color.on.warning}"
337
+ }
338
+ },
339
+ "com.figma.scopes": ["STROKE_COLOR"]
340
+ }
341
+ }
342
+ }
343
+ }
344
+ },
345
+ "danger": {
346
+ "background": {
347
+ "color": {
348
+ "$type": "color",
349
+ "$value": "{status.color.danger}",
350
+ "$extensions": {
351
+ "appearance": {
352
+ "light": {
353
+ "$type": "color",
354
+ "$value": "{status.color.danger}"
355
+ },
356
+ "dark": {
357
+ "$type": "color",
358
+ "$value": "{status.color.danger}"
359
+ }
360
+ },
361
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
362
+ }
363
+ }
364
+ },
365
+ "foreground": {
366
+ "color": {
367
+ "$type": "color",
368
+ "$value": "{foreground.color.on.danger}",
369
+ "$extensions": {
370
+ "appearance": {
371
+ "light": {
372
+ "$type": "color",
373
+ "$value": "{foreground.color.on.danger}"
374
+ },
375
+ "dark": {
376
+ "$type": "color",
377
+ "$value": "{foreground.color.on.danger}"
378
+ }
379
+ },
380
+ "com.figma.scopes": ["TEXT_FILL", "SHAPE_FILL"]
381
+ }
382
+ }
383
+ },
384
+ "action-button": {
385
+ "background": {
386
+ "color": {
387
+ "$type": "color",
388
+ "$value": "{background.color.secondary-strong}",
389
+ "$extensions": {
390
+ "appearance": {
391
+ "light": {
392
+ "$type": "color",
393
+ "$value": "{background.color.secondary-strong}"
394
+ },
395
+ "dark": {
396
+ "$type": "color",
397
+ "$value": "{background.color.secondary-strong}"
398
+ }
399
+ },
400
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
401
+ }
402
+ },
403
+ "color-hover": {
404
+ "$type": "color",
405
+ "$value": "{background.color.secondary-strong-hover}",
406
+ "$extensions": {
407
+ "appearance": {
408
+ "light": {
409
+ "$type": "color",
410
+ "$value": "{background.color.secondary-strong-hover}"
411
+ },
412
+ "dark": {
413
+ "$type": "color",
414
+ "$value": "{background.color.secondary-strong-hover}"
415
+ }
416
+ },
417
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
418
+ }
419
+ },
420
+ "color-active": {
421
+ "$type": "color",
422
+ "$value": "{background.color.secondary-strong-active}",
423
+ "$extensions": {
424
+ "appearance": {
425
+ "light": {
426
+ "$type": "color",
427
+ "$value": "{background.color.secondary-strong-active}"
428
+ },
429
+ "dark": {
430
+ "$type": "color",
431
+ "$value": "{background.color.secondary-strong-active}"
432
+ }
433
+ },
434
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
435
+ }
436
+ }
437
+ },
438
+ "focus-ring": {
439
+ "color": {
440
+ "$type": "color",
441
+ "$value": "{foreground.color.on.danger}",
442
+ "$extensions": {
443
+ "appearance": {
444
+ "light": {
445
+ "$type": "color",
446
+ "$value": "{foreground.color.on.danger}"
447
+ },
448
+ "dark": {
449
+ "$type": "color",
450
+ "$value": "{foreground.color.on.danger}"
451
+ }
452
+ },
453
+ "com.figma.scopes": ["STROKE_COLOR"]
454
+ }
455
+ }
456
+ }
457
+ }
458
+ }
459
+ }
460
+ }
@@ -0,0 +1,137 @@
1
+ {
2
+ "avatar": {
3
+ "background": {
4
+ "color": {
5
+ "$type": "color",
6
+ "$value": "{background.color.stronger}",
7
+ "$extensions": {
8
+ "appearance": {
9
+ "light": {
10
+ "$type": "color",
11
+ "$value": "{background.color.stronger}"
12
+ },
13
+ "dark": {
14
+ "$type": "color",
15
+ "$value": "{background.color.stronger}"
16
+ }
17
+ },
18
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
19
+ }
20
+ }
21
+ },
22
+ "foreground": {
23
+ "color": {
24
+ "$type": "color",
25
+ "$value": "{foreground.color.default}",
26
+ "$extensions": {
27
+ "appearance": {
28
+ "light": {
29
+ "$type": "color",
30
+ "$value": "{foreground.color.default}"
31
+ },
32
+ "dark": {
33
+ "$type": "color",
34
+ "$value": "{foreground.color.default}"
35
+ }
36
+ },
37
+ "com.figma.scopes": ["TEXT_FILL", "SHAPE_FILL"]
38
+ }
39
+ }
40
+ },
41
+ "border": {
42
+ "color": {
43
+ "$type": "color",
44
+ "$value": "{background.color.default}",
45
+ "$extensions": {
46
+ "appearance": {
47
+ "light": {
48
+ "$type": "color",
49
+ "$value": "{background.color.default}"
50
+ },
51
+ "dark": {
52
+ "$type": "color",
53
+ "$value": "{background.color.default}"
54
+ }
55
+ },
56
+ "com.figma.scopes": ["STROKE_COLOR", "SHAPE_FILL", "FRAME_FILL"]
57
+ }
58
+ }
59
+ },
60
+ "indicator": {
61
+ "background": {
62
+ "color": {
63
+ "default": {
64
+ "$type": "color",
65
+ "$value": "{background.color.default}",
66
+ "$extensions": {
67
+ "appearance": {
68
+ "light": {
69
+ "$type": "color",
70
+ "$value": "{background.color.default}"
71
+ },
72
+ "dark": {
73
+ "$type": "color",
74
+ "$value": "{background.color.default}"
75
+ }
76
+ },
77
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
78
+ }
79
+ },
80
+ "online": {
81
+ "$type": "color",
82
+ "$value": "{status.color.success}",
83
+ "$extensions": {
84
+ "appearance": {
85
+ "light": {
86
+ "$type": "color",
87
+ "$value": "{status.color.success}"
88
+ },
89
+ "dark": {
90
+ "$type": "color",
91
+ "$value": "{status.color.success}"
92
+ }
93
+ },
94
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
95
+ }
96
+ },
97
+ "offline": {
98
+ "$type": "color",
99
+ "$value": "{background.color.disabled}",
100
+ "$extensions": {
101
+ "appearance": {
102
+ "light": {
103
+ "$type": "color",
104
+ "$value": "{background.color.disabled}"
105
+ },
106
+ "dark": {
107
+ "$type": "color",
108
+ "$value": "{background.color.disabled}"
109
+ }
110
+ },
111
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
112
+ }
113
+ }
114
+ }
115
+ },
116
+ "border": {
117
+ "color": {
118
+ "$type": "color",
119
+ "$value": "{border.color.default}",
120
+ "$extensions": {
121
+ "appearance": {
122
+ "light": {
123
+ "$type": "color",
124
+ "$value": "{border.color.default}"
125
+ },
126
+ "dark": {
127
+ "$type": "color",
128
+ "$value": "{border.color.default}"
129
+ }
130
+ },
131
+ "com.figma.scopes": ["STROKE_COLOR", "SHAPE_FILL", "FRAME_FILL"]
132
+ }
133
+ }
134
+ }
135
+ }
136
+ }
137
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ "badge": {
3
+ "background": {
4
+ "color": {
5
+ "$type": "color",
6
+ "$value": "{background.color.danger}",
7
+ "$extensions": {
8
+ "appearance": {
9
+ "light": {
10
+ "$type": "color",
11
+ "$value": "{background.color.danger}"
12
+ },
13
+ "dark": {
14
+ "$type": "color",
15
+ "$value": "{background.color.danger}"
16
+ }
17
+ },
18
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
19
+ }
20
+ }
21
+ },
22
+ "foreground": {
23
+ "color": {
24
+ "$type": "color",
25
+ "$value": "{foreground.color.on.danger}",
26
+ "$extensions": {
27
+ "appearance": {
28
+ "light": {
29
+ "$type": "color",
30
+ "$value": "{foreground.color.on.danger}"
31
+ },
32
+ "dark": {
33
+ "$type": "color",
34
+ "$value": "{foreground.color.on.danger}"
35
+ }
36
+ },
37
+ "com.figma.scopes": ["TEXT_FILL", "SHAPE_FILL"]
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ "breadcrumb": {
3
+ "link": {
4
+ "foreground": {
5
+ "color": {
6
+ "$type": "color",
7
+ "$value": "{foreground.color.subdued}",
8
+ "$extensions": {
9
+ "appearance": {
10
+ "light": {
11
+ "$type": "color",
12
+ "$value": "{foreground.color.subdued}"
13
+ },
14
+ "dark": {
15
+ "$type": "color",
16
+ "$value": "{foreground.color.subdued}"
17
+ }
18
+ },
19
+ "com.figma.scopes": ["TEXT_FILL", "SHAPE_FILL"]
20
+ }
21
+ },
22
+ "color-hover": {
23
+ "$type": "color",
24
+ "$value": "{foreground.color.default}",
25
+ "$extensions": {
26
+ "appearance": {
27
+ "light": {
28
+ "$type": "color",
29
+ "$value": "{foreground.color.default}"
30
+ },
31
+ "dark": {
32
+ "$type": "color",
33
+ "$value": "{foreground.color.default}"
34
+ }
35
+ },
36
+ "com.figma.scopes": ["TEXT_FILL", "SHAPE_FILL"]
37
+ }
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }