@phcdevworks/spectre-tokens 2.0.0 → 2.1.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.
- package/LICENSE +12 -13
- package/README.md +133 -1440
- package/dist/index.cjs +386 -136
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +179 -169
- package/dist/index.d.cts +250 -14
- package/dist/index.d.ts +250 -14
- package/dist/index.js +386 -136
- package/dist/index.js.map +1 -1
- package/package.json +15 -11
- package/tokens/components.json +444 -105
- package/tokens/modes.json +558 -108
- package/tokens/palette.json +55 -55
- package/tokens/primitives.json +6 -0
- package/tokens/semantic-roles.json +2 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@phcdevworks/spectre-tokens",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "2.1.1",
|
|
4
|
+
"description": "@phcdevworks/spectre-tokens is the design-token package of the Spectre system for downstream Spectre packages and compatible applications.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"phcdevworks",
|
|
7
7
|
"spectre",
|
|
@@ -23,15 +23,11 @@
|
|
|
23
23
|
{
|
|
24
24
|
"type": "github",
|
|
25
25
|
"url": "https://github.com/sponsors/phcdevworks"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"type": "buymeacoffee",
|
|
29
|
-
"url": "https://buymeacoffee.com/phcdevworks"
|
|
30
26
|
}
|
|
31
27
|
],
|
|
32
28
|
"repository": {
|
|
33
29
|
"type": "git",
|
|
34
|
-
"url": "https://github.com/phcdevworks/spectre-tokens.git"
|
|
30
|
+
"url": "git+https://github.com/phcdevworks/spectre-tokens.git"
|
|
35
31
|
},
|
|
36
32
|
"bugs": {
|
|
37
33
|
"url": "https://github.com/phcdevworks/spectre-tokens/issues"
|
|
@@ -62,8 +58,9 @@
|
|
|
62
58
|
"check:tokens": "tsx scripts/assert-core-tokens.ts",
|
|
63
59
|
"check:contrast": "tsx scripts/check-contrast.ts",
|
|
64
60
|
"check:regression": "tsx scripts/check-tokens-regression.ts",
|
|
65
|
-
"
|
|
66
|
-
"
|
|
61
|
+
"lint": "eslint .",
|
|
62
|
+
"format": "prettier --write .",
|
|
63
|
+
"check": "npm run check:tokens && npm run check:contrast && npm run check:regression && npm run lint",
|
|
67
64
|
"check:all": "npm run check",
|
|
68
65
|
"test": "npm run check"
|
|
69
66
|
},
|
|
@@ -72,11 +69,18 @@
|
|
|
72
69
|
},
|
|
73
70
|
"devDependencies": {
|
|
74
71
|
"@types/chroma-js": "^3.1.2",
|
|
72
|
+
"@types/node": "^25.5.0",
|
|
73
|
+
"@typescript-eslint/eslint-plugin": "^8.57.1",
|
|
74
|
+
"@typescript-eslint/parser": "^8.57.1",
|
|
75
75
|
"chroma-js": "^3.2.0",
|
|
76
76
|
"colord": "^2.9.3",
|
|
77
|
+
"eslint": "^10.1.0",
|
|
78
|
+
"jiti": "^2.6.1",
|
|
79
|
+
"prettier": "^3.8.1",
|
|
77
80
|
"ts-node": "^10.9.2",
|
|
78
81
|
"tsup": "^8.5.1",
|
|
79
|
-
"tsx": "^4.
|
|
80
|
-
"typescript": "^5.9.3"
|
|
82
|
+
"tsx": "^4.21.0",
|
|
83
|
+
"typescript": "^5.9.3",
|
|
84
|
+
"typescript-eslint": "^8.57.1"
|
|
81
85
|
}
|
|
82
86
|
}
|
package/tokens/components.json
CHANGED
|
@@ -1,155 +1,494 @@
|
|
|
1
1
|
{
|
|
2
2
|
"component": {
|
|
3
3
|
"card": {
|
|
4
|
-
"text": {
|
|
5
|
-
|
|
4
|
+
"text": {
|
|
5
|
+
"value": "{colors.neutral.900}"
|
|
6
|
+
},
|
|
7
|
+
"textMuted": {
|
|
8
|
+
"value": "{colors.neutral.500}"
|
|
9
|
+
}
|
|
6
10
|
},
|
|
7
11
|
"input": {
|
|
8
|
-
"text": {
|
|
9
|
-
|
|
12
|
+
"text": {
|
|
13
|
+
"value": "{colors.neutral.900}"
|
|
14
|
+
},
|
|
15
|
+
"placeholder": {
|
|
16
|
+
"value": "{colors.neutral.400}"
|
|
17
|
+
}
|
|
10
18
|
},
|
|
11
19
|
"button": {
|
|
12
|
-
"textDefault": {
|
|
13
|
-
|
|
20
|
+
"textDefault": {
|
|
21
|
+
"value": "{colors.neutral.900}"
|
|
22
|
+
},
|
|
23
|
+
"textOnPrimary": {
|
|
24
|
+
"value": "{colors.white}"
|
|
25
|
+
}
|
|
14
26
|
},
|
|
15
27
|
"badge": {
|
|
16
|
-
"neutralBg": {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
"neutralBg": {
|
|
29
|
+
"value": "{colors.neutral.100}",
|
|
30
|
+
"metadata": {
|
|
31
|
+
"pair": "component.badge.neutralText"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"neutralBgHover": {
|
|
35
|
+
"value": "{colors.neutral.200}",
|
|
36
|
+
"metadata": {
|
|
37
|
+
"pair": "component.badge.neutralText"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"neutralText": {
|
|
41
|
+
"value": "{colors.neutral.700}"
|
|
42
|
+
},
|
|
43
|
+
"infoBg": {
|
|
44
|
+
"value": "{colors.info.100}",
|
|
45
|
+
"metadata": {
|
|
46
|
+
"pair": "component.badge.infoText"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"infoBgHover": {
|
|
50
|
+
"value": "{colors.info.200}",
|
|
51
|
+
"metadata": {
|
|
52
|
+
"pair": "component.badge.infoText"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"infoText": {
|
|
56
|
+
"value": "{colors.info.700}"
|
|
57
|
+
},
|
|
58
|
+
"successBg": {
|
|
59
|
+
"value": "{colors.success.100}",
|
|
60
|
+
"metadata": {
|
|
61
|
+
"pair": "component.badge.successText"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"successBgHover": {
|
|
65
|
+
"value": "{colors.success.200}",
|
|
66
|
+
"metadata": {
|
|
67
|
+
"pair": "component.badge.successText"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"successText": {
|
|
71
|
+
"value": "{colors.success.800}"
|
|
72
|
+
},
|
|
73
|
+
"warningBg": {
|
|
74
|
+
"value": "{colors.warning.100}",
|
|
75
|
+
"metadata": {
|
|
76
|
+
"pair": "component.badge.warningText"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"warningBgHover": {
|
|
80
|
+
"value": "{colors.warning.200}",
|
|
81
|
+
"metadata": {
|
|
82
|
+
"pair": "component.badge.warningText"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"warningText": {
|
|
86
|
+
"value": "{colors.warning.800}"
|
|
87
|
+
},
|
|
88
|
+
"dangerBg": {
|
|
89
|
+
"value": "{colors.error.100}",
|
|
90
|
+
"metadata": {
|
|
91
|
+
"pair": "component.badge.dangerText"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"dangerBgHover": {
|
|
95
|
+
"value": "{colors.error.200}",
|
|
96
|
+
"metadata": {
|
|
97
|
+
"pair": "component.badge.dangerText"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"dangerText": {
|
|
101
|
+
"value": "{colors.error.800}"
|
|
102
|
+
}
|
|
31
103
|
},
|
|
32
104
|
"iconBox": {
|
|
33
|
-
"bg": {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
105
|
+
"bg": {
|
|
106
|
+
"value": "{colors.white}"
|
|
107
|
+
},
|
|
108
|
+
"border": {
|
|
109
|
+
"value": "{colors.neutral.200}"
|
|
110
|
+
},
|
|
111
|
+
"iconDefault": {
|
|
112
|
+
"value": "{colors.info.600}"
|
|
113
|
+
},
|
|
114
|
+
"iconSuccess": {
|
|
115
|
+
"value": "{colors.success.600}"
|
|
116
|
+
},
|
|
117
|
+
"iconWarning": {
|
|
118
|
+
"value": "{colors.warning.600}"
|
|
119
|
+
},
|
|
120
|
+
"iconDanger": {
|
|
121
|
+
"value": "{colors.error.600}"
|
|
122
|
+
}
|
|
39
123
|
},
|
|
40
124
|
"testimonial": {
|
|
41
|
-
"bg": {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"
|
|
45
|
-
|
|
46
|
-
|
|
125
|
+
"bg": {
|
|
126
|
+
"value": "{colors.white}"
|
|
127
|
+
},
|
|
128
|
+
"border": {
|
|
129
|
+
"value": "{colors.neutral.200}"
|
|
130
|
+
},
|
|
131
|
+
"text": {
|
|
132
|
+
"value": "{colors.neutral.700}"
|
|
133
|
+
},
|
|
134
|
+
"authorName": {
|
|
135
|
+
"value": "{colors.neutral.900}"
|
|
136
|
+
},
|
|
137
|
+
"authorTitle": {
|
|
138
|
+
"value": "{colors.neutral.500}"
|
|
139
|
+
},
|
|
140
|
+
"quoteMark": {
|
|
141
|
+
"value": "{colors.neutral.300}"
|
|
142
|
+
}
|
|
47
143
|
},
|
|
48
144
|
"pricingCard": {
|
|
49
|
-
"bg": {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
"
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
145
|
+
"bg": {
|
|
146
|
+
"value": "{colors.white}",
|
|
147
|
+
"metadata": {}
|
|
148
|
+
},
|
|
149
|
+
"border": {
|
|
150
|
+
"value": "{colors.neutral.200}",
|
|
151
|
+
"metadata": {}
|
|
152
|
+
},
|
|
153
|
+
"featuredBg": {
|
|
154
|
+
"value": "{colors.info.600}",
|
|
155
|
+
"metadata": {
|
|
156
|
+
"pair": "component.pricingCard.featuredText"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"featuredText": {
|
|
160
|
+
"value": "{colors.white}",
|
|
161
|
+
"metadata": {}
|
|
162
|
+
},
|
|
163
|
+
"featuredBadgeBg": {
|
|
164
|
+
"value": "{colors.warning.500}",
|
|
165
|
+
"metadata": {
|
|
166
|
+
"pair": "component.pricingCard.featuredBadgeText"
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"featuredBadgeText": {
|
|
170
|
+
"value": "{colors.neutral.900}",
|
|
171
|
+
"metadata": {}
|
|
172
|
+
},
|
|
173
|
+
"price": {
|
|
174
|
+
"value": "{colors.neutral.900}",
|
|
175
|
+
"metadata": {}
|
|
176
|
+
},
|
|
177
|
+
"priceDescription": {
|
|
178
|
+
"value": "{colors.neutral.500}",
|
|
179
|
+
"metadata": {}
|
|
180
|
+
}
|
|
57
181
|
},
|
|
58
182
|
"rating": {
|
|
59
|
-
"starFilled": {
|
|
60
|
-
|
|
61
|
-
|
|
183
|
+
"starFilled": {
|
|
184
|
+
"value": "{colors.warning.500}"
|
|
185
|
+
},
|
|
186
|
+
"starEmpty": {
|
|
187
|
+
"value": "{colors.neutral.200}"
|
|
188
|
+
},
|
|
189
|
+
"text": {
|
|
190
|
+
"value": "{colors.neutral.500}"
|
|
191
|
+
}
|
|
62
192
|
}
|
|
63
193
|
},
|
|
64
194
|
"buttons": {
|
|
65
195
|
"primary": {
|
|
66
|
-
"bg": {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
196
|
+
"bg": {
|
|
197
|
+
"value": "{colors.info.600}",
|
|
198
|
+
"metadata": {
|
|
199
|
+
"pair": "buttons.primary.text"
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
"bgHover": {
|
|
203
|
+
"value": "{colors.info.700}",
|
|
204
|
+
"metadata": {
|
|
205
|
+
"pair": "buttons.primary.text"
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"bgActive": {
|
|
209
|
+
"value": "{colors.info.800}",
|
|
210
|
+
"metadata": {
|
|
211
|
+
"pair": "buttons.primary.text"
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
"bgDisabled": {
|
|
215
|
+
"value": "{colors.neutral.200}"
|
|
216
|
+
},
|
|
217
|
+
"text": {
|
|
218
|
+
"value": "{colors.white}"
|
|
219
|
+
},
|
|
220
|
+
"textDisabled": {
|
|
221
|
+
"value": "{colors.neutral.400}"
|
|
222
|
+
},
|
|
223
|
+
"focusRing": {
|
|
224
|
+
"value": "{colors.info.500} / 0.4"
|
|
225
|
+
}
|
|
72
226
|
},
|
|
73
227
|
"secondary": {
|
|
74
|
-
"bg": {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
"
|
|
81
|
-
|
|
228
|
+
"bg": {
|
|
229
|
+
"value": "{colors.white}",
|
|
230
|
+
"metadata": {
|
|
231
|
+
"pair": "buttons.secondary.text"
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
"bgHover": {
|
|
235
|
+
"value": "{colors.neutral.50}",
|
|
236
|
+
"metadata": {
|
|
237
|
+
"pair": "buttons.secondary.text"
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
"bgActive": {
|
|
241
|
+
"value": "{colors.neutral.100}",
|
|
242
|
+
"metadata": {
|
|
243
|
+
"pair": "buttons.secondary.text"
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
"bgDisabled": {
|
|
247
|
+
"value": "{colors.neutral.50}"
|
|
248
|
+
},
|
|
249
|
+
"text": {
|
|
250
|
+
"value": "{colors.info.700}"
|
|
251
|
+
},
|
|
252
|
+
"textDisabled": {
|
|
253
|
+
"value": "{colors.neutral.400}"
|
|
254
|
+
},
|
|
255
|
+
"border": {
|
|
256
|
+
"value": "{colors.info.700}"
|
|
257
|
+
},
|
|
258
|
+
"borderDisabled": {
|
|
259
|
+
"value": "{colors.neutral.200}"
|
|
260
|
+
},
|
|
261
|
+
"focusRing": {
|
|
262
|
+
"value": "{colors.info.500} / 0.4"
|
|
263
|
+
}
|
|
82
264
|
},
|
|
83
265
|
"ghost": {
|
|
84
|
-
"bg": {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
"
|
|
88
|
-
|
|
89
|
-
|
|
266
|
+
"bg": {
|
|
267
|
+
"value": "transparent"
|
|
268
|
+
},
|
|
269
|
+
"bgHover": {
|
|
270
|
+
"value": "{colors.info.50}",
|
|
271
|
+
"metadata": {
|
|
272
|
+
"pair": "buttons.ghost.text"
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
"bgActive": {
|
|
276
|
+
"value": "{colors.info.100}",
|
|
277
|
+
"metadata": {
|
|
278
|
+
"pair": "buttons.ghost.text"
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
"bgDisabled": {
|
|
282
|
+
"value": "transparent"
|
|
283
|
+
},
|
|
284
|
+
"text": {
|
|
285
|
+
"value": "{colors.info.700}"
|
|
286
|
+
},
|
|
287
|
+
"textDisabled": {
|
|
288
|
+
"value": "{colors.neutral.400}"
|
|
289
|
+
},
|
|
290
|
+
"focusRing": {
|
|
291
|
+
"value": "{colors.info.500} / 0.4"
|
|
292
|
+
}
|
|
90
293
|
},
|
|
91
294
|
"danger": {
|
|
92
|
-
"bg": {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
295
|
+
"bg": {
|
|
296
|
+
"value": "{colors.error.600}",
|
|
297
|
+
"metadata": {
|
|
298
|
+
"pair": "buttons.danger.text"
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
"bgHover": {
|
|
302
|
+
"value": "{colors.error.700}",
|
|
303
|
+
"metadata": {
|
|
304
|
+
"pair": "buttons.danger.text"
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
"bgActive": {
|
|
308
|
+
"value": "{colors.error.800}",
|
|
309
|
+
"metadata": {
|
|
310
|
+
"pair": "buttons.danger.text"
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
"bgDisabled": {
|
|
314
|
+
"value": "{colors.error.200}"
|
|
315
|
+
},
|
|
316
|
+
"text": {
|
|
317
|
+
"value": "{colors.white}"
|
|
318
|
+
},
|
|
319
|
+
"textDisabled": {
|
|
320
|
+
"value": "{colors.neutral.400}"
|
|
321
|
+
},
|
|
322
|
+
"focusRing": {
|
|
323
|
+
"value": "{colors.error.500} / 0.4"
|
|
324
|
+
}
|
|
98
325
|
},
|
|
99
326
|
"success": {
|
|
100
|
-
"bg": {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
327
|
+
"bg": {
|
|
328
|
+
"value": "{colors.success.700}",
|
|
329
|
+
"metadata": {
|
|
330
|
+
"pair": "buttons.success.text"
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
"bgHover": {
|
|
334
|
+
"value": "{colors.success.800}",
|
|
335
|
+
"metadata": {
|
|
336
|
+
"pair": "buttons.success.text"
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
"bgActive": {
|
|
340
|
+
"value": "{colors.success.900}",
|
|
341
|
+
"metadata": {
|
|
342
|
+
"pair": "buttons.success.text"
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
"bgDisabled": {
|
|
346
|
+
"value": "{colors.success.200}"
|
|
347
|
+
},
|
|
348
|
+
"text": {
|
|
349
|
+
"value": "{colors.white}"
|
|
350
|
+
},
|
|
351
|
+
"textDisabled": {
|
|
352
|
+
"value": "{colors.neutral.400}"
|
|
353
|
+
},
|
|
354
|
+
"focusRing": {
|
|
355
|
+
"value": "{colors.success.500} / 0.4"
|
|
356
|
+
}
|
|
106
357
|
},
|
|
107
358
|
"cta": {
|
|
108
|
-
"bg": {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
"
|
|
359
|
+
"bg": {
|
|
360
|
+
"value": "{colors.brand.600}",
|
|
361
|
+
"metadata": {
|
|
362
|
+
"pair": "buttons.cta.text"
|
|
363
|
+
}
|
|
364
|
+
},
|
|
365
|
+
"bgHover": {
|
|
366
|
+
"value": "{colors.brand.700}",
|
|
367
|
+
"metadata": {
|
|
368
|
+
"pair": "buttons.cta.text"
|
|
369
|
+
}
|
|
370
|
+
},
|
|
371
|
+
"bgActive": {
|
|
372
|
+
"value": "{colors.brand.800}",
|
|
373
|
+
"metadata": {
|
|
374
|
+
"pair": "buttons.cta.text"
|
|
375
|
+
}
|
|
376
|
+
},
|
|
377
|
+
"bgDisabled": {
|
|
378
|
+
"value": "{colors.brand.200}"
|
|
379
|
+
},
|
|
380
|
+
"text": {
|
|
381
|
+
"value": "{colors.white}"
|
|
382
|
+
},
|
|
383
|
+
"textDisabled": {
|
|
384
|
+
"value": "{colors.neutral.400}"
|
|
385
|
+
},
|
|
386
|
+
"shadow": {
|
|
387
|
+
"value": "0 4px 14px 0 {colors.brand.500} / 0.39"
|
|
388
|
+
},
|
|
389
|
+
"focusRing": {
|
|
390
|
+
"value": "{colors.brand.500} / 0.4"
|
|
391
|
+
}
|
|
115
392
|
},
|
|
116
393
|
"accent": {
|
|
117
|
-
"bg": {
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
394
|
+
"bg": {
|
|
395
|
+
"value": "{colors.accent.600}",
|
|
396
|
+
"metadata": {
|
|
397
|
+
"pair": "buttons.accent.text"
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
"bgHover": {
|
|
401
|
+
"value": "{colors.accent.700}",
|
|
402
|
+
"metadata": {
|
|
403
|
+
"pair": "buttons.accent.text"
|
|
404
|
+
}
|
|
405
|
+
},
|
|
406
|
+
"bgActive": {
|
|
407
|
+
"value": "{colors.accent.800}",
|
|
408
|
+
"metadata": {
|
|
409
|
+
"pair": "buttons.accent.text"
|
|
410
|
+
}
|
|
411
|
+
},
|
|
412
|
+
"bgDisabled": {
|
|
413
|
+
"value": "{colors.accent.200}"
|
|
414
|
+
},
|
|
415
|
+
"text": {
|
|
416
|
+
"value": "{colors.white}"
|
|
417
|
+
},
|
|
418
|
+
"textDisabled": {
|
|
419
|
+
"value": "{colors.neutral.400}"
|
|
420
|
+
},
|
|
421
|
+
"focusRing": {
|
|
422
|
+
"value": "{colors.accent.500} / 0.4"
|
|
423
|
+
}
|
|
123
424
|
}
|
|
124
425
|
},
|
|
125
426
|
"forms": {
|
|
126
427
|
"default": {
|
|
127
|
-
"bg": {
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
"
|
|
428
|
+
"bg": {
|
|
429
|
+
"value": "{colors.white}"
|
|
430
|
+
},
|
|
431
|
+
"border": {
|
|
432
|
+
"value": "{colors.neutral.300}"
|
|
433
|
+
},
|
|
434
|
+
"text": {
|
|
435
|
+
"value": "{colors.neutral.900}"
|
|
436
|
+
},
|
|
437
|
+
"placeholder": {
|
|
438
|
+
"value": "{colors.neutral.400}"
|
|
439
|
+
}
|
|
131
440
|
},
|
|
132
441
|
"hover": {
|
|
133
|
-
"border": {
|
|
442
|
+
"border": {
|
|
443
|
+
"value": "{colors.info.500}"
|
|
444
|
+
}
|
|
134
445
|
},
|
|
135
446
|
"focus": {
|
|
136
|
-
"border": {
|
|
137
|
-
|
|
447
|
+
"border": {
|
|
448
|
+
"value": "{colors.info.500}"
|
|
449
|
+
},
|
|
450
|
+
"ring": {
|
|
451
|
+
"value": "{colors.info.500}"
|
|
452
|
+
}
|
|
138
453
|
},
|
|
139
454
|
"valid": {
|
|
140
|
-
"border": {
|
|
141
|
-
|
|
142
|
-
|
|
455
|
+
"border": {
|
|
456
|
+
"value": "{colors.success.500}"
|
|
457
|
+
},
|
|
458
|
+
"bg": {
|
|
459
|
+
"value": "{colors.success.50}",
|
|
460
|
+
"metadata": {
|
|
461
|
+
"pair": "forms.valid.text"
|
|
462
|
+
}
|
|
463
|
+
},
|
|
464
|
+
"text": {
|
|
465
|
+
"value": "{colors.success.700}"
|
|
466
|
+
}
|
|
143
467
|
},
|
|
144
468
|
"invalid": {
|
|
145
|
-
"border": {
|
|
146
|
-
|
|
147
|
-
|
|
469
|
+
"border": {
|
|
470
|
+
"value": "{colors.error.500}"
|
|
471
|
+
},
|
|
472
|
+
"bg": {
|
|
473
|
+
"value": "{colors.error.50}",
|
|
474
|
+
"metadata": {
|
|
475
|
+
"pair": "forms.invalid.text"
|
|
476
|
+
}
|
|
477
|
+
},
|
|
478
|
+
"text": {
|
|
479
|
+
"value": "{colors.error.700}"
|
|
480
|
+
}
|
|
148
481
|
},
|
|
149
482
|
"disabled": {
|
|
150
|
-
"bg": {
|
|
151
|
-
|
|
152
|
-
|
|
483
|
+
"bg": {
|
|
484
|
+
"value": "{colors.neutral.50}"
|
|
485
|
+
},
|
|
486
|
+
"border": {
|
|
487
|
+
"value": "{colors.neutral.200}"
|
|
488
|
+
},
|
|
489
|
+
"text": {
|
|
490
|
+
"value": "{colors.neutral.400}"
|
|
491
|
+
}
|
|
153
492
|
}
|
|
154
493
|
}
|
|
155
494
|
}
|