@servicetitan/hammer-token 2.5.0 → 3.0.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.
Files changed (147) hide show
  1. package/CHANGELOG.md +56 -0
  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 +47 -45
  8. package/build/web/core/css-utils/a2-color.css +443 -227
  9. package/build/web/core/css-utils/a2-font.css +0 -2
  10. package/build/web/core/css-utils/a2-spacing.css +476 -478
  11. package/build/web/core/css-utils/a2-utils.css +992 -772
  12. package/build/web/core/css-utils/border.css +47 -45
  13. package/build/web/core/css-utils/color.css +443 -227
  14. package/build/web/core/css-utils/font.css +0 -2
  15. package/build/web/core/css-utils/spacing.css +476 -478
  16. package/build/web/core/css-utils/utils.css +992 -772
  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 -239
  24. package/build/web/core/semantic.d.ts +221 -0
  25. package/build/web/core/semantic.js +1613 -347
  26. package/build/web/core/semantic.scss +219 -137
  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 -497
  31. package/eslint.config.mjs +11 -1
  32. package/package.json +15 -5
  33. package/src/global/primitive/breakpoint.tokens.json +54 -0
  34. package/src/global/primitive/color.tokens.json +1092 -0
  35. package/src/global/primitive/duration.tokens.json +44 -0
  36. package/src/global/primitive/font.tokens.json +151 -0
  37. package/src/global/primitive/radius.tokens.json +94 -0
  38. package/src/global/primitive/size.tokens.json +174 -0
  39. package/src/global/primitive/transition.tokens.json +32 -0
  40. package/src/theme/core/background.tokens.json +1312 -0
  41. package/src/theme/core/border.tokens.json +192 -0
  42. package/src/theme/core/chart.tokens.json +982 -0
  43. package/src/theme/core/component/ai-mark.tokens.json +20 -0
  44. package/src/theme/core/component/alert.tokens.json +261 -0
  45. package/src/theme/core/component/announcement.tokens.json +460 -0
  46. package/src/theme/core/component/avatar.tokens.json +137 -0
  47. package/src/theme/core/component/badge.tokens.json +42 -0
  48. package/src/theme/core/component/breadcrumb.tokens.json +42 -0
  49. package/src/theme/core/component/button-toggle.tokens.json +428 -0
  50. package/src/theme/core/component/button.tokens.json +941 -0
  51. package/src/theme/core/component/calendar.tokens.json +391 -0
  52. package/src/theme/core/component/card.tokens.json +107 -0
  53. package/src/theme/core/component/checkbox.tokens.json +631 -0
  54. package/src/theme/core/component/chip.tokens.json +169 -0
  55. package/src/theme/core/component/combobox.tokens.json +269 -0
  56. package/src/theme/core/component/details.tokens.json +152 -0
  57. package/src/theme/core/component/dialog.tokens.json +87 -0
  58. package/src/theme/core/component/divider.tokens.json +23 -0
  59. package/src/theme/core/component/dnd.tokens.json +208 -0
  60. package/src/theme/core/component/drawer.tokens.json +61 -0
  61. package/src/theme/core/component/drilldown.tokens.json +61 -0
  62. package/src/theme/core/component/edit-card.tokens.json +381 -0
  63. package/src/theme/core/component/field-label.tokens.json +42 -0
  64. package/src/theme/core/component/field-message.tokens.json +74 -0
  65. package/src/theme/core/component/icon.tokens.json +42 -0
  66. package/src/theme/core/component/link.tokens.json +108 -0
  67. package/src/theme/core/component/list-view.tokens.json +82 -0
  68. package/src/theme/core/component/listbox.tokens.json +283 -0
  69. package/src/theme/core/component/menu.tokens.json +230 -0
  70. package/src/theme/core/component/overflow.tokens.json +84 -0
  71. package/src/theme/core/component/page.tokens.json +377 -0
  72. package/src/theme/core/component/pagination.tokens.json +63 -0
  73. package/src/theme/core/component/popover.tokens.json +122 -0
  74. package/src/theme/core/component/progress-bar.tokens.json +133 -0
  75. package/src/theme/core/component/radio.tokens.json +631 -0
  76. package/src/theme/core/component/segmented-control.tokens.json +175 -0
  77. package/src/theme/core/component/select-card.tokens.json +943 -0
  78. package/src/theme/core/component/side-nav.tokens.json +349 -0
  79. package/src/theme/core/component/skeleton.tokens.json +42 -0
  80. package/src/theme/core/component/spinner.tokens.json +96 -0
  81. package/src/theme/core/component/status-icon.tokens.json +164 -0
  82. package/src/theme/core/component/stepper.tokens.json +484 -0
  83. package/src/theme/core/component/switch.tokens.json +285 -0
  84. package/src/theme/core/component/tab.tokens.json +192 -0
  85. package/src/theme/core/component/text-field.tokens.json +160 -0
  86. package/src/theme/core/component/text.tokens.json +59 -0
  87. package/src/theme/core/component/toast.tokens.json +343 -0
  88. package/src/theme/core/component/toolbar.tokens.json +114 -0
  89. package/src/theme/core/component/tooltip.tokens.json +61 -0
  90. package/src/theme/core/focus.tokens.json +56 -0
  91. package/src/theme/core/foreground.tokens.json +416 -0
  92. package/src/theme/core/gradient.tokens.json +41 -0
  93. package/src/theme/core/opacity.tokens.json +25 -0
  94. package/src/theme/core/shadow.tokens.json +81 -0
  95. package/src/theme/core/status.tokens.json +74 -0
  96. package/src/theme/core/typography.tokens.json +163 -0
  97. package/src/utils/__tests__/css-utils-format-utils.test.js +312 -0
  98. package/src/utils/__tests__/sd-build-configs.test.js +306 -0
  99. package/src/utils/__tests__/sd-formats.test.js +950 -0
  100. package/src/utils/__tests__/sd-transforms.test.js +336 -0
  101. package/src/utils/__tests__/token-helpers.test.js +1160 -0
  102. package/src/utils/copy-css-utils-cli.js +13 -1
  103. package/src/utils/css-utils-format-utils.js +105 -176
  104. package/src/utils/figma/__tests__/sync-gradient.test.js +561 -0
  105. package/src/utils/figma/__tests__/token-conversion.test.js +117 -0
  106. package/src/utils/figma/__tests__/token-resolution.test.js +231 -0
  107. package/src/utils/figma/auth.js +355 -0
  108. package/src/utils/figma/constants.js +22 -0
  109. package/src/utils/figma/errors.js +80 -0
  110. package/src/utils/figma/figma-api.js +1069 -0
  111. package/src/utils/figma/get-token.js +348 -0
  112. package/src/utils/figma/sync-components.js +909 -0
  113. package/src/utils/figma/sync-main.js +692 -0
  114. package/src/utils/figma/sync-orchestration.js +683 -0
  115. package/src/utils/figma/sync-primitives.js +230 -0
  116. package/src/utils/figma/sync-semantic.js +1056 -0
  117. package/src/utils/figma/token-conversion.js +340 -0
  118. package/src/utils/figma/token-parsing.js +186 -0
  119. package/src/utils/figma/token-resolution.js +569 -0
  120. package/src/utils/figma/utils.js +199 -0
  121. package/src/utils/sd-build-configs.js +305 -0
  122. package/src/utils/sd-formats.js +965 -0
  123. package/src/utils/sd-transforms.js +165 -0
  124. package/src/utils/token-helpers.js +848 -0
  125. package/tsconfig.json +18 -0
  126. package/vitest.config.js +17 -0
  127. package/.turbo/turbo-build.log +0 -37
  128. package/build/web/core/raw.js +0 -229
  129. package/src/global/primitive/breakpoint.js +0 -19
  130. package/src/global/primitive/color.js +0 -231
  131. package/src/global/primitive/duration.js +0 -16
  132. package/src/global/primitive/font.js +0 -60
  133. package/src/global/primitive/radius.js +0 -31
  134. package/src/global/primitive/size.js +0 -55
  135. package/src/global/primitive/transition.js +0 -16
  136. package/src/theme/core/background.js +0 -170
  137. package/src/theme/core/border.js +0 -103
  138. package/src/theme/core/charts.js +0 -439
  139. package/src/theme/core/component/button.js +0 -708
  140. package/src/theme/core/component/checkbox.js +0 -405
  141. package/src/theme/core/focus.js +0 -35
  142. package/src/theme/core/foreground.js +0 -148
  143. package/src/theme/core/overlay.js +0 -137
  144. package/src/theme/core/shadow.js +0 -29
  145. package/src/theme/core/status.js +0 -49
  146. package/src/theme/core/typography.js +0 -82
  147. package/type/types.ts +0 -341
@@ -0,0 +1,285 @@
1
+ {
2
+ "switch": {
3
+ "unchecked": {
4
+ "background": {
5
+ "color": {
6
+ "$type": "color",
7
+ "$value": "{background.color.strongest}",
8
+ "$extensions": {
9
+ "appearance": {
10
+ "light": {
11
+ "$type": "color",
12
+ "$value": "{background.color.strongest}"
13
+ },
14
+ "dark": {
15
+ "$type": "color",
16
+ "$value": "{background.color.strongest}"
17
+ }
18
+ },
19
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
20
+ }
21
+ },
22
+ "color-hover": {
23
+ "$type": "color",
24
+ "$value": "{background.color.strongest-hover}",
25
+ "$extensions": {
26
+ "appearance": {
27
+ "light": {
28
+ "$type": "color",
29
+ "$value": "{background.color.strongest-hover}"
30
+ }
31
+ },
32
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
33
+ }
34
+ },
35
+ "color-active": {
36
+ "$type": "color",
37
+ "$value": "{background.color.strongest-active}",
38
+ "$extensions": {
39
+ "appearance": {
40
+ "light": {
41
+ "$type": "color",
42
+ "$value": "{background.color.strongest-active}"
43
+ }
44
+ },
45
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
46
+ }
47
+ },
48
+ "color-disabled": {
49
+ "$type": "color",
50
+ "$value": "{background.color.strongest}",
51
+ "$extensions": {
52
+ "appearance": {
53
+ "light": {
54
+ "$type": "color",
55
+ "$value": "{background.color.strongest}"
56
+ }
57
+ },
58
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
59
+ }
60
+ }
61
+ },
62
+ "thumb": {
63
+ "background": {
64
+ "color": {
65
+ "$type": "color",
66
+ "$value": "{background.color.default}",
67
+ "$extensions": {
68
+ "appearance": {
69
+ "light": {
70
+ "$type": "color",
71
+ "$value": "{background.color.default}"
72
+ },
73
+ "dark": {
74
+ "$type": "color",
75
+ "$value": "{background.color.default}"
76
+ }
77
+ },
78
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
79
+ }
80
+ }
81
+ },
82
+ "shadow": {
83
+ "color": {
84
+ "$type": "color",
85
+ "$value": "{shadow.color.strong}",
86
+ "$extensions": {
87
+ "appearance": {
88
+ "light": {
89
+ "$type": "color",
90
+ "$value": "{shadow.color.strong}"
91
+ },
92
+ "dark": {
93
+ "$type": "color",
94
+ "$value": "{shadow.color.strong}"
95
+ }
96
+ },
97
+ "com.figma.scopes": ["EFFECT_COLOR", "FRAME_FILL", "SHAPE_FILL"]
98
+ }
99
+ }
100
+ }
101
+ }
102
+ },
103
+ "checked": {
104
+ "background": {
105
+ "color": {
106
+ "$type": "color",
107
+ "$value": "{background.color.primary}",
108
+ "$extensions": {
109
+ "appearance": {
110
+ "light": {
111
+ "$type": "color",
112
+ "$value": "{background.color.primary}"
113
+ },
114
+ "dark": {
115
+ "$type": "color",
116
+ "$value": "{background.color.primary}"
117
+ }
118
+ },
119
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
120
+ }
121
+ },
122
+ "color-hover": {
123
+ "$type": "color",
124
+ "$value": "{background.color.primary-hover}",
125
+ "$extensions": {
126
+ "appearance": {
127
+ "light": {
128
+ "$type": "color",
129
+ "$value": "{background.color.primary-hover}"
130
+ }
131
+ },
132
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
133
+ }
134
+ },
135
+ "color-active": {
136
+ "$type": "color",
137
+ "$value": "{background.color.primary-active}",
138
+ "$extensions": {
139
+ "appearance": {
140
+ "light": {
141
+ "$type": "color",
142
+ "$value": "{background.color.primary-active}"
143
+ }
144
+ },
145
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
146
+ }
147
+ },
148
+ "color-disabled": {
149
+ "$type": "color",
150
+ "$value": "{background.color.strongest}",
151
+ "$extensions": {
152
+ "appearance": {
153
+ "light": {
154
+ "$type": "color",
155
+ "$value": "{background.color.strongest}"
156
+ }
157
+ },
158
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
159
+ }
160
+ }
161
+ },
162
+ "thumb": {
163
+ "check": {
164
+ "color": {
165
+ "$type": "color",
166
+ "$value": "{foreground.color.primary}",
167
+ "$extensions": {
168
+ "appearance": {
169
+ "light": {
170
+ "$type": "color",
171
+ "$value": "{foreground.color.primary}"
172
+ },
173
+ "dark": {
174
+ "$type": "color",
175
+ "$value": "{foreground.color.primary}"
176
+ }
177
+ },
178
+ "com.figma.scopes": ["TEXT_FILL", "SHAPE_FILL"]
179
+ }
180
+ },
181
+ "color-hover": {
182
+ "$type": "color",
183
+ "$value": "{foreground.color.primary-hover}",
184
+ "$extensions": {
185
+ "appearance": {
186
+ "light": {
187
+ "$type": "color",
188
+ "$value": "{foreground.color.primary-hover}"
189
+ },
190
+ "dark": {
191
+ "$type": "color",
192
+ "$value": "{foreground.color.primary-hover}"
193
+ }
194
+ },
195
+ "com.figma.scopes": ["TEXT_FILL", "SHAPE_FILL"]
196
+ }
197
+ },
198
+ "color-active": {
199
+ "$type": "color",
200
+ "$value": "{foreground.color.primary-active}",
201
+ "$extensions": {
202
+ "appearance": {
203
+ "light": {
204
+ "$type": "color",
205
+ "$value": "{foreground.color.primary-active}"
206
+ }
207
+ },
208
+ "com.figma.scopes": ["TEXT_FILL", "SHAPE_FILL"]
209
+ }
210
+ },
211
+ "color-disabled": {
212
+ "$type": "color",
213
+ "$value": "{background.color.strongest}",
214
+ "$extensions": {
215
+ "appearance": {
216
+ "light": {
217
+ "$type": "color",
218
+ "$value": "{background.color.strongest}"
219
+ }
220
+ },
221
+ "com.figma.scopes": ["TEXT_FILL", "SHAPE_FILL"]
222
+ }
223
+ }
224
+ },
225
+ "background": {
226
+ "color": {
227
+ "$type": "color",
228
+ "$value": "{background.color.default}",
229
+ "$extensions": {
230
+ "appearance": {
231
+ "light": {
232
+ "$type": "color",
233
+ "$value": "{background.color.default}"
234
+ },
235
+ "dark": {
236
+ "$type": "color",
237
+ "$value": "{background.color.default}"
238
+ }
239
+ },
240
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
241
+ }
242
+ }
243
+ },
244
+ "shadow": {
245
+ "color": {
246
+ "$type": "color",
247
+ "$value": "{shadow.color.strong}",
248
+ "$extensions": {
249
+ "appearance": {
250
+ "light": {
251
+ "$type": "color",
252
+ "$value": "{shadow.color.strong}"
253
+ },
254
+ "dark": {
255
+ "$type": "color",
256
+ "$value": "{shadow.color.strong}"
257
+ }
258
+ },
259
+ "com.figma.scopes": ["EFFECT_COLOR", "FRAME_FILL", "SHAPE_FILL"]
260
+ }
261
+ }
262
+ }
263
+ }
264
+ },
265
+ "focus-ring": {
266
+ "color": {
267
+ "$type": "color",
268
+ "$value": "{focus.ring.color.default}",
269
+ "$extensions": {
270
+ "appearance": {
271
+ "light": {
272
+ "$type": "color",
273
+ "$value": "{focus.ring.color.default}"
274
+ },
275
+ "dark": {
276
+ "$type": "color",
277
+ "$value": "{focus.ring.color.default}"
278
+ }
279
+ },
280
+ "com.figma.scopes": ["STROKE_COLOR"]
281
+ }
282
+ }
283
+ }
284
+ }
285
+ }
@@ -0,0 +1,192 @@
1
+ {
2
+ "tab": {
3
+ "border": {
4
+ "color": {
5
+ "$type": "color",
6
+ "$value": "{border.color.subdued}",
7
+ "$extensions": {
8
+ "appearance": {
9
+ "light": {
10
+ "$type": "color",
11
+ "$value": "{border.color.subdued}"
12
+ },
13
+ "dark": {
14
+ "$type": "color",
15
+ "$value": "{border.color.subdued}"
16
+ }
17
+ },
18
+ "com.figma.scopes": ["STROKE_COLOR", "SHAPE_FILL", "FRAME_FILL"]
19
+ }
20
+ }
21
+ },
22
+ "overflow-button": {
23
+ "background": {
24
+ "color": {
25
+ "$type": "color",
26
+ "$value": "{background.color.strong}",
27
+ "$extensions": {
28
+ "appearance": {
29
+ "light": {
30
+ "$type": "color",
31
+ "$value": "{background.color.strong}"
32
+ },
33
+ "dark": {
34
+ "$type": "color",
35
+ "$value": "{background.color.strong}"
36
+ }
37
+ },
38
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
39
+ }
40
+ }
41
+ }
42
+ },
43
+ "button": {
44
+ "foreground": {
45
+ "color": {
46
+ "$type": "color",
47
+ "$value": "{foreground.color.default}",
48
+ "$extensions": {
49
+ "appearance": {
50
+ "light": {
51
+ "$type": "color",
52
+ "$value": "{foreground.color.default}"
53
+ },
54
+ "dark": {
55
+ "$type": "color",
56
+ "$value": "{foreground.color.default}"
57
+ }
58
+ },
59
+ "com.figma.scopes": ["TEXT_FILL", "SHAPE_FILL"]
60
+ }
61
+ },
62
+ "color-hover": {
63
+ "$type": "color",
64
+ "$value": "{foreground.color.default-hover}",
65
+ "$extensions": {
66
+ "appearance": {
67
+ "light": {
68
+ "$type": "color",
69
+ "$value": "{foreground.color.default-hover}"
70
+ },
71
+ "dark": {
72
+ "$type": "color",
73
+ "$value": "{foreground.color.default-hover}"
74
+ }
75
+ },
76
+ "com.figma.scopes": ["TEXT_FILL", "SHAPE_FILL"]
77
+ }
78
+ },
79
+ "color-active": {
80
+ "$type": "color",
81
+ "$value": "{foreground.color.default-active}",
82
+ "$extensions": {
83
+ "appearance": {
84
+ "light": {
85
+ "$type": "color",
86
+ "$value": "{foreground.color.default-active}"
87
+ },
88
+ "dark": {
89
+ "$type": "color",
90
+ "$value": "{foreground.color.default-active}"
91
+ }
92
+ },
93
+ "com.figma.scopes": ["TEXT_FILL", "SHAPE_FILL"]
94
+ }
95
+ }
96
+ },
97
+ "background": {
98
+ "color": {
99
+ "$type": "color",
100
+ "$value": "transparent",
101
+ "$extensions": {
102
+ "appearance": {
103
+ "light": {
104
+ "$type": "color",
105
+ "$value": "transparent"
106
+ },
107
+ "dark": {
108
+ "$type": "color",
109
+ "$value": "transparent"
110
+ }
111
+ },
112
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
113
+ }
114
+ },
115
+ "color-hover": {
116
+ "$type": "color",
117
+ "$value": "{background.color.transparent.default-hover}",
118
+ "$extensions": {
119
+ "appearance": {
120
+ "light": {
121
+ "$type": "color",
122
+ "$value": "{background.color.transparent.default-hover}"
123
+ },
124
+ "dark": {
125
+ "$type": "color",
126
+ "$value": "{background.color.transparent.default-hover}"
127
+ }
128
+ },
129
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
130
+ }
131
+ },
132
+ "color-active": {
133
+ "$type": "color",
134
+ "$value": "{background.color.transparent.default-active}",
135
+ "$extensions": {
136
+ "appearance": {
137
+ "light": {
138
+ "$type": "color",
139
+ "$value": "{background.color.transparent.default-active}"
140
+ },
141
+ "dark": {
142
+ "$type": "color",
143
+ "$value": "{background.color.transparent.default-active}"
144
+ }
145
+ },
146
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
147
+ }
148
+ }
149
+ },
150
+ "selected-indicator": {
151
+ "background": {
152
+ "color": {
153
+ "$type": "color",
154
+ "$value": "{foreground.color.default}",
155
+ "$extensions": {
156
+ "appearance": {
157
+ "light": {
158
+ "$type": "color",
159
+ "$value": "{foreground.color.default}"
160
+ },
161
+ "dark": {
162
+ "$type": "color",
163
+ "$value": "{foreground.color.default}"
164
+ }
165
+ },
166
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
167
+ }
168
+ }
169
+ }
170
+ },
171
+ "focus-ring": {
172
+ "color": {
173
+ "$type": "color",
174
+ "$value": "{focus.ring.color.default}",
175
+ "$extensions": {
176
+ "appearance": {
177
+ "light": {
178
+ "$type": "color",
179
+ "$value": "{focus.ring.color.default}"
180
+ },
181
+ "dark": {
182
+ "$type": "color",
183
+ "$value": "{focus.ring.color.default}"
184
+ }
185
+ },
186
+ "com.figma.scopes": ["STROKE_COLOR"]
187
+ }
188
+ }
189
+ }
190
+ }
191
+ }
192
+ }
@@ -0,0 +1,160 @@
1
+ {
2
+ "text-field": {
3
+ "input": {
4
+ "foreground": {
5
+ "color": {
6
+ "$type": "color",
7
+ "$value": "{foreground.color.default}",
8
+ "$extensions": {
9
+ "appearance": {
10
+ "light": {
11
+ "$type": "color",
12
+ "$value": "{foreground.color.default}"
13
+ },
14
+ "dark": {
15
+ "$type": "color",
16
+ "$value": "{foreground.color.default}"
17
+ }
18
+ },
19
+ "com.figma.scopes": ["TEXT_FILL", "SHAPE_FILL"]
20
+ }
21
+ }
22
+ },
23
+ "placeholder": {
24
+ "foreground": {
25
+ "color": {
26
+ "$type": "color",
27
+ "$value": "{foreground.color.subdued}",
28
+ "$extensions": {
29
+ "appearance": {
30
+ "light": {
31
+ "$type": "color",
32
+ "$value": "{foreground.color.subdued}"
33
+ },
34
+ "dark": {
35
+ "$type": "color",
36
+ "$value": "{foreground.color.subdued}"
37
+ }
38
+ },
39
+ "com.figma.scopes": ["TEXT_FILL", "SHAPE_FILL"]
40
+ }
41
+ }
42
+ }
43
+ }
44
+ },
45
+ "input-wrapper": {
46
+ "background": {
47
+ "color": {
48
+ "$type": "color",
49
+ "$value": "{background.color.default}",
50
+ "$extensions": {
51
+ "appearance": {
52
+ "light": {
53
+ "$type": "color",
54
+ "$value": "{background.color.default}"
55
+ },
56
+ "dark": {
57
+ "$type": "color",
58
+ "$value": "{background.color.default}"
59
+ }
60
+ },
61
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
62
+ }
63
+ },
64
+ "color-disabled": {
65
+ "$type": "color",
66
+ "$value": "{background.color.strong}",
67
+ "$extensions": {
68
+ "appearance": {
69
+ "light": {
70
+ "$type": "color",
71
+ "$value": "{background.color.strong}"
72
+ },
73
+ "dark": {
74
+ "$type": "color",
75
+ "$value": "{background.color.strong}"
76
+ }
77
+ },
78
+ "com.figma.scopes": ["SHAPE_FILL", "FRAME_FILL", "STROKE_COLOR"]
79
+ }
80
+ }
81
+ },
82
+ "border": {
83
+ "color": {
84
+ "default": {
85
+ "$type": "color",
86
+ "$value": "{border.color.default}",
87
+ "$extensions": {
88
+ "appearance": {
89
+ "light": {
90
+ "$type": "color",
91
+ "$value": "{border.color.default}"
92
+ },
93
+ "dark": {
94
+ "$type": "color",
95
+ "$value": "{border.color.default}"
96
+ }
97
+ },
98
+ "com.figma.scopes": ["STROKE_COLOR", "SHAPE_FILL", "FRAME_FILL"]
99
+ }
100
+ },
101
+ "danger": {
102
+ "$type": "color",
103
+ "$value": "{border.color.danger}",
104
+ "$extensions": {
105
+ "appearance": {
106
+ "light": {
107
+ "$type": "color",
108
+ "$value": "{border.color.danger}"
109
+ },
110
+ "dark": {
111
+ "$type": "color",
112
+ "$value": "{border.color.danger}"
113
+ }
114
+ },
115
+ "com.figma.scopes": ["STROKE_COLOR", "SHAPE_FILL", "FRAME_FILL"]
116
+ }
117
+ }
118
+ }
119
+ }
120
+ },
121
+ "focus-ring": {
122
+ "color": {
123
+ "default": {
124
+ "$type": "color",
125
+ "$value": "{focus.ring.color.default}",
126
+ "$extensions": {
127
+ "appearance": {
128
+ "light": {
129
+ "$type": "color",
130
+ "$value": "{focus.ring.color.default}"
131
+ },
132
+ "dark": {
133
+ "$type": "color",
134
+ "$value": "{focus.ring.color.default}"
135
+ }
136
+ },
137
+ "com.figma.scopes": ["STROKE_COLOR"]
138
+ }
139
+ },
140
+ "danger": {
141
+ "$type": "color",
142
+ "$value": "{focus.ring.color.danger}",
143
+ "$extensions": {
144
+ "appearance": {
145
+ "light": {
146
+ "$type": "color",
147
+ "$value": "{focus.ring.color.danger}"
148
+ },
149
+ "dark": {
150
+ "$type": "color",
151
+ "$value": "{focus.ring.color.danger}"
152
+ }
153
+ },
154
+ "com.figma.scopes": ["STROKE_COLOR"]
155
+ }
156
+ }
157
+ }
158
+ }
159
+ }
160
+ }
@@ -0,0 +1,59 @@
1
+ {
2
+ "text": {
3
+ "foreground": {
4
+ "color": {
5
+ "$type": "color",
6
+ "$value": "{foreground.color.default}",
7
+ "$extensions": {
8
+ "appearance": {
9
+ "light": {
10
+ "$type": "color",
11
+ "$value": "{foreground.color.default}"
12
+ },
13
+ "dark": {
14
+ "$type": "color",
15
+ "$value": "{foreground.color.default}"
16
+ }
17
+ },
18
+ "com.figma.scopes": ["TEXT_FILL", "SHAPE_FILL"]
19
+ }
20
+ },
21
+ "color-subdued": {
22
+ "$type": "color",
23
+ "$value": "{foreground.color.subdued}",
24
+ "$extensions": {
25
+ "appearance": {
26
+ "light": {
27
+ "$type": "color",
28
+ "$value": "{foreground.color.subdued}"
29
+ },
30
+ "dark": {
31
+ "$type": "color",
32
+ "$value": "{foreground.color.subdued}"
33
+ }
34
+ },
35
+ "com.figma.scopes": ["TEXT_FILL", "SHAPE_FILL"]
36
+ }
37
+ }
38
+ },
39
+ "focus-ring": {
40
+ "color": {
41
+ "$type": "color",
42
+ "$value": "{focus.ring.color.default}",
43
+ "$extensions": {
44
+ "appearance": {
45
+ "light": {
46
+ "$type": "color",
47
+ "$value": "{focus.ring.color.default}"
48
+ },
49
+ "dark": {
50
+ "$type": "color",
51
+ "$value": "{focus.ring.color.default}"
52
+ }
53
+ },
54
+ "com.figma.scopes": ["STROKE_COLOR"]
55
+ }
56
+ }
57
+ }
58
+ }
59
+ }