@sheinx/theme 3.9.0-beta.8 → 3.9.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.
- package/cjs/spin/spin.d.ts.map +1 -1
- package/cjs/spin/spin.js +1 -0
- package/cjs/spin/token.js +2 -1
- package/cjs/spin/type.d.ts +6 -0
- package/cjs/spin/type.d.ts.map +1 -1
- package/cjs/switch/switch.js +1 -1
- package/cjs/switch/token.js +1 -1
- package/cjs/switch/type.d.ts +1 -1
- package/cjs/tabs/tabs.d.ts.map +1 -1
- package/cjs/tabs/tabs.js +2 -1
- package/cjs/tabs/token.js +5 -2
- package/cjs/tabs/type.d.ts +8 -2
- package/cjs/tabs/type.d.ts.map +1 -1
- package/cjs/tag/rule.js +2 -2
- package/cjs/tag/tag.d.ts.map +1 -1
- package/cjs/tag/tag.js +90 -65
- package/cjs/tag/token.js +150 -2
- package/cjs/tag/type.d.ts +529 -379
- package/cjs/tag/type.d.ts.map +1 -1
- package/cjs/token/figma.js +9 -9
- package/cjs/token/token.js +9 -9
- package/cjs/token/type.d.ts +9 -9
- package/cjs/utils/token-setter.d.ts.map +1 -1
- package/cjs/utils/token-setter.js +9 -3
- package/esm/spin/spin.d.ts.map +1 -1
- package/esm/spin/spin.js +1 -0
- package/esm/spin/token.js +2 -1
- package/esm/spin/type.d.ts +6 -0
- package/esm/spin/type.d.ts.map +1 -1
- package/esm/switch/switch.js +1 -1
- package/esm/switch/token.js +1 -1
- package/esm/switch/type.d.ts +1 -1
- package/esm/tabs/tabs.d.ts.map +1 -1
- package/esm/tabs/tabs.js +2 -1
- package/esm/tabs/token.js +5 -2
- package/esm/tabs/type.d.ts +8 -2
- package/esm/tabs/type.d.ts.map +1 -1
- package/esm/tag/rule.js +2 -2
- package/esm/tag/tag.d.ts.map +1 -1
- package/esm/tag/tag.js +90 -65
- package/esm/tag/token.js +150 -2
- package/esm/tag/type.d.ts +529 -379
- package/esm/tag/type.d.ts.map +1 -1
- package/esm/token/figma.js +9 -9
- package/esm/token/token.js +9 -9
- package/esm/token/type.d.ts +9 -9
- package/esm/utils/token-setter.d.ts.map +1 -1
- package/esm/utils/token-setter.js +9 -3
- package/package.json +1 -1
package/esm/tag/tag.js
CHANGED
|
@@ -14,12 +14,20 @@ var tagTokens = {
|
|
|
14
14
|
tagInfoOutlineDisabledFontColor: 'Brand-3',
|
|
15
15
|
tagInfoOutlineDisabledBackgroundColor: 'Neutral-fill-1',
|
|
16
16
|
tagInfoOutlineDisabledBorderColor: 'Brand-3',
|
|
17
|
+
tagInfoOutlineIconDisabledFontColor: 'Brand-3',
|
|
18
|
+
tagInfoOutlineIconHoverBackgroundColor: 'Brand-1',
|
|
19
|
+
tagInfoOutlineIconHoverFontColor: 'Brand-6',
|
|
17
20
|
tagInfoFillFontColor: 'Neutral-text-1',
|
|
18
21
|
tagInfoFillBackgroundColor: 'Brand-6',
|
|
19
22
|
tagInfoFillBorderColor: 'Brand-6',
|
|
20
23
|
tagInfoFillDisabledFontColor: 'Neutral-text-1',
|
|
21
24
|
tagInfoFillDisabledBackgroundColor: 'Brand-3',
|
|
22
25
|
tagInfoFillDisabledBorderColor: 'Brand-3',
|
|
26
|
+
tagInfoFillIconHoverBackgroundColor: 'Brand-5',
|
|
27
|
+
tagInfoIconFontColor: 'Brand-6',
|
|
28
|
+
tagInfoIconDisabledFontColor: 'Brand-3',
|
|
29
|
+
tagInfoIconHoverBackgroundColor: 'Brand-2',
|
|
30
|
+
tagDefaultLineHeight: 'Line-height-dynamic',
|
|
23
31
|
tagDefaultFontColor: 'Neutral-text-5',
|
|
24
32
|
tagDefaultBackgroundColor: 'Neutral-fill-2',
|
|
25
33
|
tagDefaultBorderColor: 'Neutral-fill-2',
|
|
@@ -38,6 +46,11 @@ var tagTokens = {
|
|
|
38
46
|
tagDefaultFillDisabledFontColor: 'Neutral-text-2',
|
|
39
47
|
tagDefaultFillDisabledBackgroundColor: 'Neutral-fill-3',
|
|
40
48
|
tagDefaultFillDisabledBorderColor: 'Neutral-fill-3',
|
|
49
|
+
tagDefaultFillIconHoverBackgroundColor: 'Neutral-fill-4',
|
|
50
|
+
tagDefaultIconFontColor: 'Neutral-text-4',
|
|
51
|
+
tagDefaultIconDisabledFontColor: 'Neutral-text-2',
|
|
52
|
+
tagDefaultIconHoverBackgroundColor: 'Neutral-fill-3',
|
|
53
|
+
tagDefaultIconHoverFontColor: 'Neutral-text-5',
|
|
41
54
|
tagSuccessFontColor: 'Success-6',
|
|
42
55
|
tagSuccessBackgroundColor: 'Success-1',
|
|
43
56
|
tagSuccessBorderColor: 'Success-1',
|
|
@@ -50,12 +63,18 @@ var tagTokens = {
|
|
|
50
63
|
tagSuccessOutlineDisabledFontColor: 'Success-3',
|
|
51
64
|
tagSuccessOutlineDisabledBackgroundColor: 'Neutral-fill-1',
|
|
52
65
|
tagSuccessOutlineDisabledBorderColor: 'Success-3',
|
|
66
|
+
tagSuccessOutlineIconDisabledFontColor: 'Success-3',
|
|
67
|
+
tagSuccessOutlineIconHoverBackgroundColor: 'Success-2',
|
|
53
68
|
tagSuccessFillFontColor: 'Neutral-text-1',
|
|
54
69
|
tagSuccessFillBackgroundColor: 'Success-6',
|
|
55
70
|
tagSuccessFillBorderColor: 'Success-6',
|
|
56
71
|
tagSuccessFillDisabledFontColor: 'Neutral-text-1',
|
|
57
72
|
tagSuccessFillDisabledBackgroundColor: 'Success-3',
|
|
58
73
|
tagSuccessFillDisabledBorderColor: 'Success-3',
|
|
74
|
+
tagSuccessFillIconHoverBackgroundColor: 'Success-5',
|
|
75
|
+
tagSuccessIconFontColor: 'Success-6',
|
|
76
|
+
tagSuccessIconDisabledFontColor: 'Success-3',
|
|
77
|
+
tagSuccessIconHoverBackgroundColor: 'Success-2',
|
|
59
78
|
tagWarningFontColor: 'Warning-6',
|
|
60
79
|
tagWarningBackgroundColor: 'Warning-1',
|
|
61
80
|
tagWarningBorderColor: 'Warning-1',
|
|
@@ -74,6 +93,10 @@ var tagTokens = {
|
|
|
74
93
|
tagWarningFillDisabledFontColor: 'Neutral-text-1',
|
|
75
94
|
tagWarningFillDisabledBackgroundColor: 'Warning-3',
|
|
76
95
|
tagWarningFillDisabledBorderColor: 'Warning-3',
|
|
96
|
+
tagWarningFillIconFontColor: 'Warning-6',
|
|
97
|
+
tagWarningFillIconHoverBackgroundColor: 'Warning-5',
|
|
98
|
+
tagWarningIconDisabledFontColor: 'Warning-3',
|
|
99
|
+
tagWarningIconHoverBackgroundColor: 'Warning-2',
|
|
77
100
|
tagDangerFontColor: 'Danger-6',
|
|
78
101
|
tagDangerBackgroundColor: 'Danger-1',
|
|
79
102
|
tagDangerBorderColor: 'Danger-1',
|
|
@@ -92,6 +115,10 @@ var tagTokens = {
|
|
|
92
115
|
tagDangerFillDisabledFontColor: 'Neutral-text-1',
|
|
93
116
|
tagDangerFillDisabledBackgroundColor: 'Danger-3',
|
|
94
117
|
tagDangerFillDisabledBorderColor: 'Danger-3',
|
|
118
|
+
tagDangerFillIconHoverBackgroundColor: 'Danger-5',
|
|
119
|
+
tagDangerIconFontColor: 'Danger-6',
|
|
120
|
+
tagDangerIconDisabledFontColor: 'Danger-3',
|
|
121
|
+
tagDangerIconHoverBackgroundColor: 'Danger-2',
|
|
95
122
|
tagMagentaFontColor: 'Magenta-6',
|
|
96
123
|
tagMagentaBackgroundColor: 'Magenta-1',
|
|
97
124
|
tagMagentaBorderColor: 'Magenta-1',
|
|
@@ -110,6 +137,10 @@ var tagTokens = {
|
|
|
110
137
|
tagMagentaFillDisabledFontColor: 'Neutral-text-1',
|
|
111
138
|
tagMagentaFillDisabledBackgroundColor: 'Magenta-3',
|
|
112
139
|
tagMagentaFillDisabledBorderColor: 'Magenta-3',
|
|
140
|
+
tagMagentaFillIconHoverBackgroundColor: 'Magenta-5',
|
|
141
|
+
tagMagentaIconFontColor: 'Magenta-6',
|
|
142
|
+
tagMagentaIconDisabledFontColor: 'Magenta-3',
|
|
143
|
+
tagMagentaIconHoverBackgroundColor: 'Magenta-2',
|
|
113
144
|
tagBrownFontColor: 'Brown-6',
|
|
114
145
|
tagBrownBackgroundColor: 'Brown-1',
|
|
115
146
|
tagBrownBorderColor: 'Brown-1',
|
|
@@ -128,6 +159,10 @@ var tagTokens = {
|
|
|
128
159
|
tagBrownFillDisabledFontColor: 'Neutral-text-1',
|
|
129
160
|
tagBrownFillDisabledBackgroundColor: 'Brown-3',
|
|
130
161
|
tagBrownFillDisabledBorderColor: 'Brown-3',
|
|
162
|
+
tagBrownFillIconHoverBackgroundColor: 'Brown-5',
|
|
163
|
+
tagBrownIconFontColor: 'Brown-6',
|
|
164
|
+
tagBrownIconDisabledFontColor: 'Brown-3',
|
|
165
|
+
tagBrownIconHoverBackgroundColor: 'Brown-2',
|
|
131
166
|
tagPurpleFontColor: 'Purple-6',
|
|
132
167
|
tagPurpleBackgroundColor: 'Purple-1',
|
|
133
168
|
tagPurpleBorderColor: 'Purple-1',
|
|
@@ -146,6 +181,10 @@ var tagTokens = {
|
|
|
146
181
|
tagPurpleFillDisabledFontColor: 'Neutral-text-1',
|
|
147
182
|
tagPurpleFillDisabledBackgroundColor: 'Purple-3',
|
|
148
183
|
tagPurpleFillDisabledBorderColor: 'Purple-3',
|
|
184
|
+
tagPurpleFillIconHoverBackgroundColor: 'Purple-5',
|
|
185
|
+
tagPurpleIconFontColor: 'Purple-6',
|
|
186
|
+
tagPurpleIconDisabledFontColor: 'Purple-3',
|
|
187
|
+
tagPurpleIconHoverBackgroundColor: 'Purple-2',
|
|
149
188
|
tagIndigoFontColor: 'Indigo-6',
|
|
150
189
|
tagIndigoBackgroundColor: 'Indigo-1',
|
|
151
190
|
tagIndigoBorderColor: 'Indigo-1',
|
|
@@ -164,6 +203,10 @@ var tagTokens = {
|
|
|
164
203
|
tagIndigoFillDisabledFontColor: 'Neutral-text-1',
|
|
165
204
|
tagIndigoFillDisabledBackgroundColor: 'Indigo-3',
|
|
166
205
|
tagIndigoFillDisabledBorderColor: 'Indigo-3',
|
|
206
|
+
tagIndigoFillIconHoverBackgroundColor: 'Indigo-5',
|
|
207
|
+
tagIndigoIconFontColor: 'Indigo-6',
|
|
208
|
+
tagIndigoIconDisabledFontColor: 'Indigo-3',
|
|
209
|
+
tagIndigoIconHoverBackgroundColor: 'Indigo-2',
|
|
167
210
|
tagCyanFontColor: 'Cyan-6',
|
|
168
211
|
tagCyanBackgroundColor: 'Cyan-1',
|
|
169
212
|
tagCyanBorderColor: 'Cyan-1',
|
|
@@ -182,6 +225,10 @@ var tagTokens = {
|
|
|
182
225
|
tagCyanFillDisabledFontColor: 'Neutral-text-1',
|
|
183
226
|
tagCyanFillDisabledBackgroundColor: 'Cyan-3',
|
|
184
227
|
tagCyanFillDisabledBorderColor: 'Cyan-3',
|
|
228
|
+
tagCyanFillIconHoverBackgroundColor: 'Cyan-5',
|
|
229
|
+
tagCyanIconFontColor: 'Cyan-6',
|
|
230
|
+
tagCyanIconDisabledFontColor: 'Cyan-3',
|
|
231
|
+
tagCyanIconHoverBackgroundColor: 'Cyan-2',
|
|
185
232
|
tagNeonFontColor: 'Neon-6',
|
|
186
233
|
tagNeonBackgroundColor: 'Neon-1',
|
|
187
234
|
tagNeonBorderColor: 'Neon-1',
|
|
@@ -200,6 +247,10 @@ var tagTokens = {
|
|
|
200
247
|
tagNeonFillDisabledFontColor: 'Neutral-text-1',
|
|
201
248
|
tagNeonFillDisabledBackgroundColor: 'Neon-3',
|
|
202
249
|
tagNeonFillDisabledBorderColor: 'Neon-3',
|
|
250
|
+
tagNeonFillIconHoverBackgroundColor: 'Neon-5',
|
|
251
|
+
tagNeonIconFontColor: 'Neon-6',
|
|
252
|
+
tagNeonIconDisabledFontColor: 'Neon-3',
|
|
253
|
+
tagNeonIconHoverBackgroundColor: 'Neon-2',
|
|
203
254
|
tagLemonFontColor: 'Lemon-6',
|
|
204
255
|
tagLemonBackgroundColor: 'Lemon-1',
|
|
205
256
|
tagLemonBorderColor: 'Lemon-1',
|
|
@@ -218,6 +269,32 @@ var tagTokens = {
|
|
|
218
269
|
tagLemonFillDisabledFontColor: 'Neutral-text-1',
|
|
219
270
|
tagLemonFillDisabledBackgroundColor: 'Lemon-3',
|
|
220
271
|
tagLemonFillDisabledBorderColor: 'Lemon-3',
|
|
272
|
+
tagLemonFillIconHoverBackgroundColor: 'Lemon-5',
|
|
273
|
+
tagLemonIconFontColor: 'Lemon-6',
|
|
274
|
+
tagLemonIconDisabledFontColor: 'Lemon-3',
|
|
275
|
+
tagLemonIconHoverBackgroundColor: 'Lemon-2',
|
|
276
|
+
tagOrangeFontColor: 'Orange-6',
|
|
277
|
+
tagOrangeBackgroundColor: 'Orange-1',
|
|
278
|
+
tagOrangeBorderColor: 'Orange-1',
|
|
279
|
+
tagOrangeDisabledFontColor: 'Orange-3',
|
|
280
|
+
tagOrangeDisabledBackgroundColor: 'Orange-1',
|
|
281
|
+
tagOrangeDisabledBorderColor: 'Orange-1',
|
|
282
|
+
tagOrangeOutlineFontColor: 'Orange-6',
|
|
283
|
+
tagOrangeOutlineBackgroundColor: 'Neutral-fill-1',
|
|
284
|
+
tagOrangeOutlineBorderColor: 'Orange-6',
|
|
285
|
+
tagOrangeOutlineDisabledFontColor: 'Orange-3',
|
|
286
|
+
tagOrangeOutlineDisabledBackgroundColor: 'Neutral-fill-1',
|
|
287
|
+
tagOrangeOutlineDisabledBorderColor: 'Orange-3',
|
|
288
|
+
tagOrangeFillFontColor: 'Neutral-text-1',
|
|
289
|
+
tagOrangeFillBackgroundColor: 'Orange-6',
|
|
290
|
+
tagOrangeFillBorderColor: 'Orange-6',
|
|
291
|
+
tagOrangeFillDisabledFontColor: 'Neutral-text-1',
|
|
292
|
+
tagOrangeFillDisabledBackgroundColor: 'Orange-3',
|
|
293
|
+
tagOrangeFillDisabledBorderColor: 'Orange-3',
|
|
294
|
+
tagOrangeFillIconHoverBackgroundColor: 'Orange-5',
|
|
295
|
+
tagOrangeIconFontColor: 'Orange-6',
|
|
296
|
+
tagOrangeIconDisabledFontColor: 'Orange-3',
|
|
297
|
+
tagOrangeIconHoverBackgroundColor: 'Orange-2',
|
|
221
298
|
tagTangerineFontColor: 'Tangerine-6',
|
|
222
299
|
tagTangerineBackgroundColor: 'Tangerine-1',
|
|
223
300
|
tagTangerineBorderColor: 'Tangerine-1',
|
|
@@ -236,86 +313,34 @@ var tagTokens = {
|
|
|
236
313
|
tagTangerineFillDisabledFontColor: 'Neutral-text-1',
|
|
237
314
|
tagTangerineFillDisabledBackgroundColor: 'Tangerine-3',
|
|
238
315
|
tagTangerineFillDisabledBorderColor: 'Tangerine-3',
|
|
316
|
+
tagTangerineFillIconHoverBackgroundColor: 'Tangerine-5',
|
|
317
|
+
tagTangerineIconFontColor: 'Tangerine-6',
|
|
318
|
+
tagTangerineIconDisabledFontColor: 'Tangerine-3',
|
|
319
|
+
tagTangerineIconHoverBackgroundColor: 'Tangerine-2',
|
|
239
320
|
tagFontSize: 'Font-12',
|
|
321
|
+
tagFontWeight: 'Weight-regular',
|
|
240
322
|
tagBorderRadius: 'Radius-small',
|
|
241
323
|
tagPaddingX: 'Spacing-6',
|
|
242
324
|
tagPaddingY: 'Spacing-0',
|
|
243
325
|
tagHeight: 'Size-11',
|
|
244
|
-
tagFontWeight: 'Weight-regular',
|
|
245
326
|
tagSmallFontSize: 'Font-12',
|
|
327
|
+
tagSmallFontWeight: 'Weight-regular',
|
|
246
328
|
tagSmallBorderRadius: 'Radius-small',
|
|
247
329
|
tagSmallPaddingX: 'Spacing-4',
|
|
248
330
|
tagSmallHeight: 'Size-10',
|
|
249
|
-
|
|
331
|
+
tagSmallInputPaddingX: 'Spacing-4',
|
|
332
|
+
tagSmallInputFontSize: 'Font-12',
|
|
333
|
+
tagSmallLineHeight: 'Line-height-dynamic',
|
|
250
334
|
tagLargeFontSize: 'Font-14',
|
|
335
|
+
tagLargeFontWeight: 'Weight-regular',
|
|
251
336
|
tagLargeBorderRadius: 'Radius-default',
|
|
252
337
|
tagLargePaddingX: 'Spacing-12',
|
|
253
338
|
tagLargePaddingY: 'Spacing-2',
|
|
254
339
|
tagLargeHeight: 'Size-14',
|
|
255
|
-
tagLargeFontWeight: 'Weight-regular',
|
|
256
|
-
tagInputPaddingX: 'Spacing-4',
|
|
257
|
-
tagInputFontSize: 'Font-12',
|
|
258
|
-
tagSmallInputPaddingX: 'Spacing-4',
|
|
259
|
-
tagSmallInputFontSize: 'Font-12',
|
|
260
340
|
tagLargeInputPaddingX: 'Spacing-4',
|
|
261
341
|
tagLargeInputFontSize: 'Font-14',
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
tagInfoOutlineIconDisabledFontColor: 'Brand-3',
|
|
266
|
-
tagInfoOutlineIconHoverBackgroundColor: 'Brand-1',
|
|
267
|
-
tagInfoOutlineIconHoverFontColor: 'Brand-6',
|
|
268
|
-
tagInfoFillIconHoverBackgroundColor: 'Brand-5',
|
|
269
|
-
tagDefaultIconFontColor: 'Neutral-text-4',
|
|
270
|
-
tagDefaultIconDisabledFontColor: 'Neutral-text-2',
|
|
271
|
-
tagDefaultIconHoverBackgroundColor: 'Neutral-fill-3',
|
|
272
|
-
tagDefaultIconHoverFontColor: 'Neutral-text-5',
|
|
273
|
-
tagDefaultFillIconHoverBackgroundColor: 'Neutral-fill-4',
|
|
274
|
-
tagSuccessIconFontColor: 'Success-6',
|
|
275
|
-
tagSuccessIconDisabledFontColor: 'Success-3',
|
|
276
|
-
tagSuccessIconHoverBackgroundColor: 'Success-2',
|
|
277
|
-
tagSuccessOutlineIconDisabledFontColor: 'Success-3',
|
|
278
|
-
tagSuccessOutlineIconHoverBackgroundColor: 'Success-2',
|
|
279
|
-
tagSuccessFillIconHoverBackgroundColor: 'Success-5',
|
|
280
|
-
tagWarningIconDisabledFontColor: 'Warning-3',
|
|
281
|
-
tagWarningIconHoverBackgroundColor: 'Warning-2',
|
|
282
|
-
tagWarningFillIconFontColor: 'Warning-6',
|
|
283
|
-
tagWarningFillIconHoverBackgroundColor: 'Warning-5',
|
|
284
|
-
tagDangerIconFontColor: 'Danger-6',
|
|
285
|
-
tagDangerIconDisabledFontColor: 'Danger-3',
|
|
286
|
-
tagDangerIconHoverBackgroundColor: 'Danger-2',
|
|
287
|
-
tagDangerFillIconHoverBackgroundColor: 'Danger-5',
|
|
288
|
-
tagMagentaIconFontColor: 'Magenta-6',
|
|
289
|
-
tagMagentaIconDisabledFontColor: 'Magenta-3',
|
|
290
|
-
tagMagentaIconHoverBackgroundColor: 'Magenta-2',
|
|
291
|
-
tagMagentaFillIconHoverBackgroundColor: 'Magenta-5',
|
|
292
|
-
tagBrownIconFontColor: 'Brown-6',
|
|
293
|
-
tagBrownIconDisabledFontColor: 'Brown-3',
|
|
294
|
-
tagBrownIconHoverBackgroundColor: 'Brown-2',
|
|
295
|
-
tagBrownFillIconHoverBackgroundColor: 'Brown-5',
|
|
296
|
-
tagPurpleIconFontColor: 'Purple-6',
|
|
297
|
-
tagPurpleIconDisabledFontColor: 'Purple-3',
|
|
298
|
-
tagPurpleIconHoverBackgroundColor: 'Purple-2',
|
|
299
|
-
tagPurpleFillIconHoverBackgroundColor: 'Purple-5',
|
|
300
|
-
tagIndigoIconFontColor: 'Indigo-6',
|
|
301
|
-
tagIndigoIconDisabledFontColor: 'Indigo-3',
|
|
302
|
-
tagIndigoIconHoverBackgroundColor: 'Indigo-2',
|
|
303
|
-
tagIndigoFillIconHoverBackgroundColor: 'Indigo-5',
|
|
304
|
-
tagCyanIconFontColor: 'Cyan-6',
|
|
305
|
-
tagCyanIconDisabledFontColor: 'Cyan-3',
|
|
306
|
-
tagCyanIconHoverBackgroundColor: 'Cyan-2',
|
|
307
|
-
tagCyanFillIconHoverBackgroundColor: 'Cyan-5',
|
|
308
|
-
tagNeonIconFontColor: 'Neon-6',
|
|
309
|
-
tagNeonIconDisabledFontColor: 'Neon-3',
|
|
310
|
-
tagNeonIconHoverBackgroundColor: 'Neon-2',
|
|
311
|
-
tagNeonFillIconHoverBackgroundColor: 'Neon-5',
|
|
312
|
-
tagLemonIconFontColor: 'Lemon-6',
|
|
313
|
-
tagLemonIconDisabledFontColor: 'Lemon-3',
|
|
314
|
-
tagLemonIconHoverBackgroundColor: 'Lemon-2',
|
|
315
|
-
tagLemonFillIconHoverBackgroundColor: 'Lemon-5',
|
|
316
|
-
tagTangerineIconFontColor: 'Tangerine-6',
|
|
317
|
-
tagTangerineIconDisabledFontColor: 'Tangerine-3',
|
|
318
|
-
tagTangerineIconHoverBackgroundColor: 'Tangerine-2',
|
|
319
|
-
tagTangerineFillIconHoverBackgroundColor: 'Tangerine-5'
|
|
342
|
+
tagLargeLineHeight: 'Line-height-dynamic',
|
|
343
|
+
tagInputPaddingX: 'Spacing-4',
|
|
344
|
+
tagInputFontSize: 'Font-12'
|
|
320
345
|
};
|
|
321
346
|
export default tagTokens;
|
package/esm/tag/token.js
CHANGED
|
@@ -19,6 +19,7 @@ var tagTokenDescription = {
|
|
|
19
19
|
neon: '荧光色',
|
|
20
20
|
lemon: '柠檬色',
|
|
21
21
|
tangerine: '橘红色',
|
|
22
|
+
orange: '橙色',
|
|
22
23
|
fill: '填充风格',
|
|
23
24
|
input: '输入框'
|
|
24
25
|
};
|
|
@@ -30,7 +31,8 @@ var tagTokenDescription = {
|
|
|
30
31
|
* 该映射表将根据规则自动生成,并与公共 token 进行合并。若有相同 token,将覆盖公共 token。默认不包含公共 token,除非在映射表中添加覆盖。
|
|
31
32
|
* 注意,该映射表的内容不与 tagRules 强关联,非 tagRules 规则内的 token 需手动增加或删减。
|
|
32
33
|
*/
|
|
33
|
-
var tagTokenValue = {
|
|
34
|
+
var tagTokenValue = {};
|
|
35
|
+
var tagTokenExtraValue = {
|
|
34
36
|
info: {
|
|
35
37
|
font: {
|
|
36
38
|
color: 'Brand-6'
|
|
@@ -170,6 +172,9 @@ var tagTokenValue = {
|
|
|
170
172
|
}
|
|
171
173
|
},
|
|
172
174
|
default: {
|
|
175
|
+
line: {
|
|
176
|
+
height: 'Line-height-dynamic'
|
|
177
|
+
},
|
|
173
178
|
font: {
|
|
174
179
|
color: 'Neutral-text-5'
|
|
175
180
|
},
|
|
@@ -1687,6 +1692,144 @@ var tagTokenValue = {
|
|
|
1687
1692
|
}
|
|
1688
1693
|
}
|
|
1689
1694
|
},
|
|
1695
|
+
orange: {
|
|
1696
|
+
font: {
|
|
1697
|
+
color: 'Orange-6'
|
|
1698
|
+
},
|
|
1699
|
+
background: {
|
|
1700
|
+
color: 'Orange-1'
|
|
1701
|
+
},
|
|
1702
|
+
border: {
|
|
1703
|
+
color: 'Orange-1'
|
|
1704
|
+
},
|
|
1705
|
+
disabled: {
|
|
1706
|
+
font: {
|
|
1707
|
+
color: 'Orange-3'
|
|
1708
|
+
},
|
|
1709
|
+
background: {
|
|
1710
|
+
color: 'Orange-1'
|
|
1711
|
+
},
|
|
1712
|
+
border: {
|
|
1713
|
+
color: 'Orange-1'
|
|
1714
|
+
}
|
|
1715
|
+
},
|
|
1716
|
+
outline: {
|
|
1717
|
+
font: {
|
|
1718
|
+
color: 'Orange-6'
|
|
1719
|
+
},
|
|
1720
|
+
background: {
|
|
1721
|
+
color: 'Neutral-fill-1'
|
|
1722
|
+
},
|
|
1723
|
+
border: {
|
|
1724
|
+
color: 'Orange-6'
|
|
1725
|
+
},
|
|
1726
|
+
disabled: {
|
|
1727
|
+
font: {
|
|
1728
|
+
color: 'Orange-3'
|
|
1729
|
+
},
|
|
1730
|
+
background: {
|
|
1731
|
+
color: 'Neutral-fill-1'
|
|
1732
|
+
},
|
|
1733
|
+
border: {
|
|
1734
|
+
color: 'Orange-3'
|
|
1735
|
+
}
|
|
1736
|
+
},
|
|
1737
|
+
icon: {
|
|
1738
|
+
background: {
|
|
1739
|
+
color: ''
|
|
1740
|
+
},
|
|
1741
|
+
font: {
|
|
1742
|
+
color: ''
|
|
1743
|
+
},
|
|
1744
|
+
disabled: {
|
|
1745
|
+
background: {
|
|
1746
|
+
color: ''
|
|
1747
|
+
},
|
|
1748
|
+
font: {
|
|
1749
|
+
color: ''
|
|
1750
|
+
}
|
|
1751
|
+
},
|
|
1752
|
+
hover: {
|
|
1753
|
+
background: {
|
|
1754
|
+
color: ''
|
|
1755
|
+
},
|
|
1756
|
+
font: {
|
|
1757
|
+
color: ''
|
|
1758
|
+
}
|
|
1759
|
+
}
|
|
1760
|
+
}
|
|
1761
|
+
},
|
|
1762
|
+
fill: {
|
|
1763
|
+
font: {
|
|
1764
|
+
color: 'Neutral-text-1'
|
|
1765
|
+
},
|
|
1766
|
+
background: {
|
|
1767
|
+
color: 'Orange-6'
|
|
1768
|
+
},
|
|
1769
|
+
border: {
|
|
1770
|
+
color: 'Orange-6'
|
|
1771
|
+
},
|
|
1772
|
+
disabled: {
|
|
1773
|
+
font: {
|
|
1774
|
+
color: 'Neutral-text-1'
|
|
1775
|
+
},
|
|
1776
|
+
background: {
|
|
1777
|
+
color: 'Orange-3'
|
|
1778
|
+
},
|
|
1779
|
+
border: {
|
|
1780
|
+
color: 'Orange-3'
|
|
1781
|
+
}
|
|
1782
|
+
},
|
|
1783
|
+
icon: {
|
|
1784
|
+
background: {
|
|
1785
|
+
color: ''
|
|
1786
|
+
},
|
|
1787
|
+
font: {
|
|
1788
|
+
color: ''
|
|
1789
|
+
},
|
|
1790
|
+
disabled: {
|
|
1791
|
+
background: {
|
|
1792
|
+
color: ''
|
|
1793
|
+
},
|
|
1794
|
+
font: {
|
|
1795
|
+
color: ''
|
|
1796
|
+
}
|
|
1797
|
+
},
|
|
1798
|
+
hover: {
|
|
1799
|
+
background: {
|
|
1800
|
+
color: 'Orange-5'
|
|
1801
|
+
},
|
|
1802
|
+
font: {
|
|
1803
|
+
color: ''
|
|
1804
|
+
}
|
|
1805
|
+
}
|
|
1806
|
+
}
|
|
1807
|
+
},
|
|
1808
|
+
icon: {
|
|
1809
|
+
background: {
|
|
1810
|
+
color: ''
|
|
1811
|
+
},
|
|
1812
|
+
font: {
|
|
1813
|
+
color: 'Orange-6'
|
|
1814
|
+
},
|
|
1815
|
+
disabled: {
|
|
1816
|
+
background: {
|
|
1817
|
+
color: ''
|
|
1818
|
+
},
|
|
1819
|
+
font: {
|
|
1820
|
+
color: 'Orange-3'
|
|
1821
|
+
}
|
|
1822
|
+
},
|
|
1823
|
+
hover: {
|
|
1824
|
+
background: {
|
|
1825
|
+
color: 'Orange-2'
|
|
1826
|
+
},
|
|
1827
|
+
font: {
|
|
1828
|
+
color: ''
|
|
1829
|
+
}
|
|
1830
|
+
}
|
|
1831
|
+
}
|
|
1832
|
+
},
|
|
1690
1833
|
tangerine: {
|
|
1691
1834
|
font: {
|
|
1692
1835
|
color: 'Tangerine-6'
|
|
@@ -1858,6 +2001,9 @@ var tagTokenValue = {
|
|
|
1858
2001
|
font: {
|
|
1859
2002
|
size: 'Font-12'
|
|
1860
2003
|
}
|
|
2004
|
+
},
|
|
2005
|
+
line: {
|
|
2006
|
+
height: 'Line-height-dynamic'
|
|
1861
2007
|
}
|
|
1862
2008
|
},
|
|
1863
2009
|
large: {
|
|
@@ -1881,6 +2027,9 @@ var tagTokenValue = {
|
|
|
1881
2027
|
font: {
|
|
1882
2028
|
size: 'Font-14'
|
|
1883
2029
|
}
|
|
2030
|
+
},
|
|
2031
|
+
line: {
|
|
2032
|
+
height: 'Line-height-dynamic'
|
|
1884
2033
|
}
|
|
1885
2034
|
},
|
|
1886
2035
|
input: {
|
|
@@ -1893,7 +2042,6 @@ var tagTokenValue = {
|
|
|
1893
2042
|
}
|
|
1894
2043
|
}
|
|
1895
2044
|
};
|
|
1896
|
-
var tagTokenExtraValue = {};
|
|
1897
2045
|
module.exports = {
|
|
1898
2046
|
tagTokenValue: tagTokenValue,
|
|
1899
2047
|
tagTokenExtraValue: tagTokenExtraValue,
|