@oceanbase/design 1.0.0-alpha.7 → 1.0.0-alpha.9
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/dist/design.min.js +1 -1
- package/es/card/index.d.ts +2 -0
- package/es/card/index.js +33 -13
- package/es/card/style/index.js +36 -20
- package/es/checkbox/style/index.js +5 -3
- package/es/config-provider/index.js +13 -11
- package/es/descriptions/hooks/useItems.d.ts +9 -9
- package/es/descriptions/index.d.ts +10 -0
- package/es/descriptions/index.js +59 -3
- package/es/descriptions/style/index.js +48 -5
- package/es/drawer/style/index.js +11 -5
- package/es/form/FormItem.d.ts +1 -1
- package/es/form/FormItem.js +7 -9
- package/es/form/style/index.js +9 -9
- package/es/slider/style/index.js +3 -2
- package/es/style/cssVariables.d.ts +25 -0
- package/es/style/cssVariables.js +48 -0
- package/es/style/cssVariablesMeta.d.ts +24 -0
- package/es/style/cssVariablesMeta.js +974 -0
- package/es/style/global.js +4 -4
- package/es/table/index.js +8 -0
- package/es/table/style/index.js +9 -3
- package/es/tag/style/index.js +1 -1
- package/es/theme/default.d.ts +44 -0
- package/es/theme/default.js +159 -40
- package/es/theme/interface.d.ts +43 -0
- package/es/theme/style/compact.less +43 -24
- package/es/theme/style/default.less +43 -24
- package/lib/card/index.d.ts +2 -0
- package/lib/card/index.js +27 -12
- package/lib/card/style/index.js +61 -29
- package/lib/checkbox/style/index.js +4 -3
- package/lib/config-provider/index.js +15 -4
- package/lib/descriptions/hooks/useItems.d.ts +9 -9
- package/lib/descriptions/index.d.ts +10 -0
- package/lib/descriptions/index.js +49 -2
- package/lib/descriptions/style/index.js +85 -4
- package/lib/drawer/style/index.js +9 -4
- package/lib/form/FormItem.d.ts +1 -1
- package/lib/form/FormItem.js +5 -6
- package/lib/form/style/index.js +13 -11
- package/lib/slider/style/index.js +5 -2
- package/lib/style/cssVariables.d.ts +25 -0
- package/lib/style/cssVariables.js +261 -0
- package/lib/style/cssVariablesMeta.d.ts +24 -0
- package/lib/style/cssVariablesMeta.js +1059 -0
- package/lib/style/global.js +4 -4
- package/lib/table/index.js +7 -0
- package/lib/table/style/index.js +10 -1
- package/lib/tag/style/index.js +1 -1
- package/lib/theme/default.d.ts +44 -0
- package/lib/theme/default.js +232 -42
- package/lib/theme/interface.d.ts +43 -0
- package/lib/theme/style/compact.less +43 -24
- package/lib/theme/style/default.less +43 -24
- package/package.json +2 -2
|
@@ -0,0 +1,1059 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// src/style/cssVariablesMeta.ts
|
|
20
|
+
var cssVariablesMeta_exports = {};
|
|
21
|
+
__export(cssVariablesMeta_exports, {
|
|
22
|
+
cssVariablesMeta: () => cssVariablesMeta,
|
|
23
|
+
default: () => cssVariablesMeta_default
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(cssVariablesMeta_exports);
|
|
26
|
+
var cssVariablesMeta = [
|
|
27
|
+
// ==================== 基础颜色 Token ====================
|
|
28
|
+
// 中性色 Neutral
|
|
29
|
+
{ name: "white", desc: "白色", descEn: "White", category: "color", token: "white" },
|
|
30
|
+
{ name: "black", desc: "黑色", descEn: "Black", category: "color", token: "black" },
|
|
31
|
+
// {
|
|
32
|
+
// name: 'gray-1',
|
|
33
|
+
// desc: '页面底色',
|
|
34
|
+
// descEn: 'Page background',
|
|
35
|
+
// category: 'color',
|
|
36
|
+
// token: 'gray1',
|
|
37
|
+
// },
|
|
38
|
+
// {
|
|
39
|
+
// name: 'gray-2',
|
|
40
|
+
// desc: '侧边导航底色、悬停态、禁用态',
|
|
41
|
+
// descEn: 'Side nav bg, hover, disabled',
|
|
42
|
+
// category: 'color',
|
|
43
|
+
// token: 'gray2',
|
|
44
|
+
// },
|
|
45
|
+
// {
|
|
46
|
+
// name: 'gray-3',
|
|
47
|
+
// desc: '子表格悬停态',
|
|
48
|
+
// descEn: 'Sub-table hover',
|
|
49
|
+
// category: 'color',
|
|
50
|
+
// token: 'gray3',
|
|
51
|
+
// },
|
|
52
|
+
// {
|
|
53
|
+
// name: 'gray-4',
|
|
54
|
+
// desc: '二级边框色、分割线、卡片边框',
|
|
55
|
+
// descEn: 'Secondary border, divider, card border',
|
|
56
|
+
// category: 'color',
|
|
57
|
+
// token: 'gray4',
|
|
58
|
+
// },
|
|
59
|
+
// {
|
|
60
|
+
// name: 'gray-5',
|
|
61
|
+
// desc: '一级边框色',
|
|
62
|
+
// descEn: 'Primary border',
|
|
63
|
+
// category: 'color',
|
|
64
|
+
// token: 'gray5',
|
|
65
|
+
// },
|
|
66
|
+
// {
|
|
67
|
+
// name: 'gray-6',
|
|
68
|
+
// desc: '四级文本:输入框暗文、禁用文本',
|
|
69
|
+
// descEn: 'Placeholder, disabled text',
|
|
70
|
+
// category: 'color',
|
|
71
|
+
// token: 'gray6',
|
|
72
|
+
// },
|
|
73
|
+
// {
|
|
74
|
+
// name: 'gray-7',
|
|
75
|
+
// desc: '三级文本:表单提示信息',
|
|
76
|
+
// descEn: 'Form hint text',
|
|
77
|
+
// category: 'color',
|
|
78
|
+
// token: 'gray7',
|
|
79
|
+
// },
|
|
80
|
+
// {
|
|
81
|
+
// name: 'gray-8',
|
|
82
|
+
// desc: '二级文本:表头文字',
|
|
83
|
+
// descEn: 'Table header',
|
|
84
|
+
// category: 'color',
|
|
85
|
+
// token: 'gray8',
|
|
86
|
+
// },
|
|
87
|
+
// {
|
|
88
|
+
// name: 'gray-9',
|
|
89
|
+
// desc: '导航默认态文字色',
|
|
90
|
+
// descEn: 'Nav default text',
|
|
91
|
+
// category: 'color',
|
|
92
|
+
// token: 'gray9',
|
|
93
|
+
// },
|
|
94
|
+
// {
|
|
95
|
+
// name: 'gray-10',
|
|
96
|
+
// desc: '一级文本',
|
|
97
|
+
// descEn: 'Primary text',
|
|
98
|
+
// category: 'color',
|
|
99
|
+
// token: 'colorText',
|
|
100
|
+
// },
|
|
101
|
+
// // 蓝色 Blue
|
|
102
|
+
// { name: 'blue-1', desc: '蓝色-填充', descEn: 'Blue-fill', category: 'color', token: 'blue1' },
|
|
103
|
+
// {
|
|
104
|
+
// name: 'blue-2',
|
|
105
|
+
// desc: '蓝色-备用色',
|
|
106
|
+
// descEn: 'Blue-secondary',
|
|
107
|
+
// category: 'color',
|
|
108
|
+
// token: 'blue2',
|
|
109
|
+
// },
|
|
110
|
+
// { name: 'blue-3', desc: '蓝色-描边', descEn: 'Blue-border', category: 'color', token: 'blue3' },
|
|
111
|
+
// { name: 'blue-4', desc: '蓝色-默认', descEn: 'Blue-default', category: 'color', token: 'blue4' },
|
|
112
|
+
// {
|
|
113
|
+
// name: 'blue-5',
|
|
114
|
+
// desc: '蓝色-悬停、激活',
|
|
115
|
+
// descEn: 'Blue-hover, active',
|
|
116
|
+
// category: 'color',
|
|
117
|
+
// token: 'blue5',
|
|
118
|
+
// },
|
|
119
|
+
// { name: 'blue-6', desc: '蓝色-文字', descEn: 'Blue-text', category: 'color', token: 'blue6' },
|
|
120
|
+
// // 绿色 Green
|
|
121
|
+
// { name: 'green-1', desc: '绿色-填充', descEn: 'Green-fill', category: 'color', token: 'green1' },
|
|
122
|
+
// {
|
|
123
|
+
// name: 'green-2',
|
|
124
|
+
// desc: '绿色-备用色',
|
|
125
|
+
// descEn: 'Green-secondary',
|
|
126
|
+
// category: 'color',
|
|
127
|
+
// token: 'green2',
|
|
128
|
+
// },
|
|
129
|
+
// {
|
|
130
|
+
// name: 'green-3',
|
|
131
|
+
// desc: '绿色-描边',
|
|
132
|
+
// descEn: 'Green-border',
|
|
133
|
+
// category: 'color',
|
|
134
|
+
// token: 'green3',
|
|
135
|
+
// },
|
|
136
|
+
// {
|
|
137
|
+
// name: 'green-4',
|
|
138
|
+
// desc: '绿色-默认',
|
|
139
|
+
// descEn: 'Green-default',
|
|
140
|
+
// category: 'color',
|
|
141
|
+
// token: 'green4',
|
|
142
|
+
// },
|
|
143
|
+
// {
|
|
144
|
+
// name: 'green-5',
|
|
145
|
+
// desc: '绿色-备用色',
|
|
146
|
+
// descEn: 'Green-secondary',
|
|
147
|
+
// category: 'color',
|
|
148
|
+
// token: 'green5',
|
|
149
|
+
// },
|
|
150
|
+
// { name: 'green-6', desc: '绿色-文字', descEn: 'Green-text', category: 'color', token: 'green6' },
|
|
151
|
+
// // 橙色 Orange
|
|
152
|
+
// {
|
|
153
|
+
// name: 'orange-1',
|
|
154
|
+
// desc: '橙色-填充',
|
|
155
|
+
// descEn: 'Orange-fill',
|
|
156
|
+
// category: 'color',
|
|
157
|
+
// token: 'orange1',
|
|
158
|
+
// },
|
|
159
|
+
// {
|
|
160
|
+
// name: 'orange-2',
|
|
161
|
+
// desc: '橙色-备用色',
|
|
162
|
+
// descEn: 'Orange-secondary',
|
|
163
|
+
// category: 'color',
|
|
164
|
+
// token: 'orange2',
|
|
165
|
+
// },
|
|
166
|
+
// {
|
|
167
|
+
// name: 'orange-3',
|
|
168
|
+
// desc: '橙色-描边',
|
|
169
|
+
// descEn: 'Orange-border',
|
|
170
|
+
// category: 'color',
|
|
171
|
+
// token: 'orange3',
|
|
172
|
+
// },
|
|
173
|
+
// {
|
|
174
|
+
// name: 'orange-4',
|
|
175
|
+
// desc: '橙色-默认',
|
|
176
|
+
// descEn: 'Orange-default',
|
|
177
|
+
// category: 'color',
|
|
178
|
+
// token: 'orange4',
|
|
179
|
+
// },
|
|
180
|
+
// {
|
|
181
|
+
// name: 'orange-5',
|
|
182
|
+
// desc: '橙色-备用色',
|
|
183
|
+
// descEn: 'Orange-secondary',
|
|
184
|
+
// category: 'color',
|
|
185
|
+
// token: 'orange5',
|
|
186
|
+
// },
|
|
187
|
+
// {
|
|
188
|
+
// name: 'orange-6',
|
|
189
|
+
// desc: '橙色-文字',
|
|
190
|
+
// descEn: 'Orange-text',
|
|
191
|
+
// category: 'color',
|
|
192
|
+
// token: 'orange6',
|
|
193
|
+
// },
|
|
194
|
+
// // 红色 Red
|
|
195
|
+
// { name: 'red-1', desc: '红色-填充', descEn: 'Red-fill', category: 'color', token: 'red1' },
|
|
196
|
+
// { name: 'red-2', desc: '红色-备用色', descEn: 'Red-secondary', category: 'color', token: 'red2' },
|
|
197
|
+
// { name: 'red-3', desc: '红色-描边', descEn: 'Red-border', category: 'color', token: 'red3' },
|
|
198
|
+
// { name: 'red-4', desc: '红色-默认', descEn: 'Red-default', category: 'color', token: 'red4' },
|
|
199
|
+
// { name: 'red-5', desc: '红色-备用色', descEn: 'Red-secondary', category: 'color', token: 'red5' },
|
|
200
|
+
// { name: 'red-6', desc: '红色-文字', descEn: 'Red-text', category: 'color', token: 'red6' },
|
|
201
|
+
// // 紫色 Fuchsia
|
|
202
|
+
// {
|
|
203
|
+
// name: 'fuchsia-1',
|
|
204
|
+
// desc: '紫红色-填充',
|
|
205
|
+
// descEn: 'Fuchsia-fill',
|
|
206
|
+
// category: 'color',
|
|
207
|
+
// token: 'fuchsia1',
|
|
208
|
+
// },
|
|
209
|
+
// {
|
|
210
|
+
// name: 'fuchsia-2',
|
|
211
|
+
// desc: '紫红色-备用色',
|
|
212
|
+
// descEn: 'Fuchsia-secondary',
|
|
213
|
+
// category: 'color',
|
|
214
|
+
// token: 'fuchsia2',
|
|
215
|
+
// },
|
|
216
|
+
// {
|
|
217
|
+
// name: 'fuchsia-3',
|
|
218
|
+
// desc: '紫红色-描边',
|
|
219
|
+
// descEn: 'Fuchsia-border',
|
|
220
|
+
// category: 'color',
|
|
221
|
+
// token: 'fuchsia3',
|
|
222
|
+
// },
|
|
223
|
+
// {
|
|
224
|
+
// name: 'fuchsia-4',
|
|
225
|
+
// desc: '紫红色-默认',
|
|
226
|
+
// descEn: 'Fuchsia-default',
|
|
227
|
+
// category: 'color',
|
|
228
|
+
// token: 'fuchsia4',
|
|
229
|
+
// },
|
|
230
|
+
// {
|
|
231
|
+
// name: 'fuchsia-5',
|
|
232
|
+
// desc: '紫红色-备用色',
|
|
233
|
+
// descEn: 'Fuchsia-secondary',
|
|
234
|
+
// category: 'color',
|
|
235
|
+
// token: 'fuchsia5',
|
|
236
|
+
// },
|
|
237
|
+
// {
|
|
238
|
+
// name: 'fuchsia-6',
|
|
239
|
+
// desc: '紫红色-文字',
|
|
240
|
+
// descEn: 'Fuchsia-text',
|
|
241
|
+
// category: 'color',
|
|
242
|
+
// token: 'fuchsia6',
|
|
243
|
+
// },
|
|
244
|
+
// ==================== 语义颜色 Token ====================
|
|
245
|
+
// 填充色 Background
|
|
246
|
+
{
|
|
247
|
+
name: "color-bg-default",
|
|
248
|
+
desc: "默认背景色",
|
|
249
|
+
descEn: "Default background",
|
|
250
|
+
category: "color-bg",
|
|
251
|
+
token: "colorBgContainer"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
name: "color-bg-primary",
|
|
255
|
+
desc: "一级背景色",
|
|
256
|
+
descEn: "Primary background",
|
|
257
|
+
category: "color-bg",
|
|
258
|
+
token: "gray1"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
name: "color-bg-secondary",
|
|
262
|
+
desc: "二级背景色",
|
|
263
|
+
descEn: "Secondary background",
|
|
264
|
+
category: "color-bg",
|
|
265
|
+
token: "gray2"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
name: "color-bg-hover",
|
|
269
|
+
desc: "悬停背景色",
|
|
270
|
+
descEn: "Hover background",
|
|
271
|
+
category: "color-bg",
|
|
272
|
+
token: "gray2"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
name: "color-bg-hover-secondary",
|
|
276
|
+
desc: "二级悬停背景色",
|
|
277
|
+
descEn: "Secondary hover bg",
|
|
278
|
+
category: "color-bg",
|
|
279
|
+
token: "gray3"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
name: "color-bg-focus",
|
|
283
|
+
desc: "聚焦背景色",
|
|
284
|
+
descEn: "Focus background",
|
|
285
|
+
category: "color-bg",
|
|
286
|
+
token: "gray3"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
name: "color-bg-active",
|
|
290
|
+
desc: "激活背景色",
|
|
291
|
+
descEn: "Active background",
|
|
292
|
+
category: "color-bg",
|
|
293
|
+
token: "blue4"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
name: "color-bg-disabled",
|
|
297
|
+
desc: "禁用背景色",
|
|
298
|
+
descEn: "Disabled background",
|
|
299
|
+
category: "color-bg",
|
|
300
|
+
token: "gray3"
|
|
301
|
+
},
|
|
302
|
+
// 边框色 Border
|
|
303
|
+
{
|
|
304
|
+
name: "color-divider",
|
|
305
|
+
desc: "分割线颜色",
|
|
306
|
+
descEn: "Divider color",
|
|
307
|
+
category: "color-border",
|
|
308
|
+
token: "gray4"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
name: "color-border-default",
|
|
312
|
+
desc: "默认边框色",
|
|
313
|
+
descEn: "Default border",
|
|
314
|
+
category: "color-border",
|
|
315
|
+
token: "gray5"
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
name: "color-border-container",
|
|
319
|
+
desc: "容器边框色",
|
|
320
|
+
descEn: "Container border",
|
|
321
|
+
category: "color-border",
|
|
322
|
+
token: "gray4"
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
name: "color-border-inverse",
|
|
326
|
+
desc: "反色边框",
|
|
327
|
+
descEn: "Inverse border",
|
|
328
|
+
category: "color-border",
|
|
329
|
+
token: "white"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
name: "color-border-hover",
|
|
333
|
+
desc: "悬停边框色",
|
|
334
|
+
descEn: "Hover border",
|
|
335
|
+
category: "color-border",
|
|
336
|
+
token: "blue4"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
name: "color-border-focus",
|
|
340
|
+
desc: "聚焦边框色",
|
|
341
|
+
descEn: "Focus border",
|
|
342
|
+
category: "color-border",
|
|
343
|
+
token: "blue4"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
name: "color-border-error",
|
|
347
|
+
desc: "错误边框色",
|
|
348
|
+
descEn: "Error border",
|
|
349
|
+
category: "color-border",
|
|
350
|
+
token: "red4"
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
name: "color-border-warning",
|
|
354
|
+
desc: "警告边框色",
|
|
355
|
+
descEn: "Warning border",
|
|
356
|
+
category: "color-border",
|
|
357
|
+
token: "orange4"
|
|
358
|
+
},
|
|
359
|
+
// 文本色 Text
|
|
360
|
+
{
|
|
361
|
+
name: "color-text-default",
|
|
362
|
+
desc: "默认文本色",
|
|
363
|
+
descEn: "Default text",
|
|
364
|
+
category: "color-text",
|
|
365
|
+
token: "colorText"
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
name: "color-text-navigation",
|
|
369
|
+
desc: "导航文本色",
|
|
370
|
+
descEn: "Navigation text",
|
|
371
|
+
category: "color-text",
|
|
372
|
+
token: "gray9"
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
name: "color-text-label",
|
|
376
|
+
desc: "标签文本色",
|
|
377
|
+
descEn: "Label text",
|
|
378
|
+
category: "color-text",
|
|
379
|
+
token: "gray8"
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
name: "color-text-info",
|
|
383
|
+
desc: "信息文本色",
|
|
384
|
+
descEn: "Info text",
|
|
385
|
+
category: "color-text",
|
|
386
|
+
token: "gray7"
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
name: "color-text-disabled",
|
|
390
|
+
desc: "禁用文本色",
|
|
391
|
+
descEn: "Disabled text",
|
|
392
|
+
category: "color-text",
|
|
393
|
+
token: "gray6"
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
name: "color-text-focus",
|
|
397
|
+
desc: "聚焦文本色",
|
|
398
|
+
descEn: "Focus text",
|
|
399
|
+
category: "color-text",
|
|
400
|
+
token: "colorText"
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
name: "color-text-selected",
|
|
404
|
+
desc: "选中文本色",
|
|
405
|
+
descEn: "Selected text",
|
|
406
|
+
category: "color-text",
|
|
407
|
+
token: "blue4"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
name: "color-text-link",
|
|
411
|
+
desc: "链接文本色",
|
|
412
|
+
descEn: "Link text",
|
|
413
|
+
category: "color-text",
|
|
414
|
+
token: "blue4"
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
name: "color-text-inverse",
|
|
418
|
+
desc: "反色文本",
|
|
419
|
+
descEn: "Inverse text",
|
|
420
|
+
category: "color-text",
|
|
421
|
+
token: "white"
|
|
422
|
+
},
|
|
423
|
+
// 图标色 Icon
|
|
424
|
+
{
|
|
425
|
+
name: "color-icon-default",
|
|
426
|
+
desc: "默认图标色",
|
|
427
|
+
descEn: "Default icon",
|
|
428
|
+
category: "color-icon",
|
|
429
|
+
token: "gray8"
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
name: "color-icon-hover",
|
|
433
|
+
desc: "悬停图标色",
|
|
434
|
+
descEn: "Hover icon",
|
|
435
|
+
category: "color-icon",
|
|
436
|
+
token: "blue4"
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
name: "color-icon-disabled",
|
|
440
|
+
desc: "禁用图标色",
|
|
441
|
+
descEn: "Disabled icon",
|
|
442
|
+
category: "color-icon",
|
|
443
|
+
token: "gray6"
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
name: "color-icon-focus",
|
|
447
|
+
desc: "聚焦图标色",
|
|
448
|
+
descEn: "Focus icon",
|
|
449
|
+
category: "color-icon",
|
|
450
|
+
token: "blue4"
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
name: "color-icon-inverse",
|
|
454
|
+
desc: "反色图标",
|
|
455
|
+
descEn: "Inverse icon",
|
|
456
|
+
category: "color-icon",
|
|
457
|
+
token: "white"
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
name: "color-icon-info",
|
|
461
|
+
desc: "信息图标色",
|
|
462
|
+
descEn: "Info icon",
|
|
463
|
+
category: "color-icon",
|
|
464
|
+
token: "blue4"
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
name: "color-icon-warning",
|
|
468
|
+
desc: "警告图标色",
|
|
469
|
+
descEn: "Warning icon",
|
|
470
|
+
category: "color-icon",
|
|
471
|
+
token: "orange4"
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
name: "color-icon-success",
|
|
475
|
+
desc: "成功图标色",
|
|
476
|
+
descEn: "Success icon",
|
|
477
|
+
category: "color-icon",
|
|
478
|
+
token: "green4"
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
name: "color-icon-error",
|
|
482
|
+
desc: "错误图标色",
|
|
483
|
+
descEn: "Error icon",
|
|
484
|
+
category: "color-icon",
|
|
485
|
+
token: "red4"
|
|
486
|
+
},
|
|
487
|
+
// 状态色
|
|
488
|
+
{
|
|
489
|
+
name: "color-default-text",
|
|
490
|
+
desc: "默认状态-文本",
|
|
491
|
+
descEn: "Default status text",
|
|
492
|
+
category: "color-status",
|
|
493
|
+
token: "colorText"
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
name: "color-default-icon",
|
|
497
|
+
desc: "默认状态-图标",
|
|
498
|
+
descEn: "Default status icon",
|
|
499
|
+
category: "color-status",
|
|
500
|
+
token: "gray8"
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
name: "color-default-fill",
|
|
504
|
+
desc: "默认状态-填充",
|
|
505
|
+
descEn: "Default status fill",
|
|
506
|
+
category: "color-status",
|
|
507
|
+
token: "gray2"
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
name: "color-default-border",
|
|
511
|
+
desc: "默认状态-边框",
|
|
512
|
+
descEn: "Default status border",
|
|
513
|
+
category: "color-status",
|
|
514
|
+
token: "gray2"
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
name: "color-info-text",
|
|
518
|
+
desc: "信息状态-文本",
|
|
519
|
+
descEn: "Info status text",
|
|
520
|
+
category: "color-status",
|
|
521
|
+
token: "blue6"
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
name: "color-info-icon",
|
|
525
|
+
desc: "信息状态-图标",
|
|
526
|
+
descEn: "Info status icon",
|
|
527
|
+
category: "color-status",
|
|
528
|
+
token: "blue6"
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
name: "color-info-fill",
|
|
532
|
+
desc: "信息状态-填充",
|
|
533
|
+
descEn: "Info status fill",
|
|
534
|
+
category: "color-status",
|
|
535
|
+
token: "blue1"
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
name: "color-info-border",
|
|
539
|
+
desc: "信息状态-边框",
|
|
540
|
+
descEn: "Info status border",
|
|
541
|
+
category: "color-status",
|
|
542
|
+
token: "blue3"
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
name: "color-success-text",
|
|
546
|
+
desc: "成功状态-文本",
|
|
547
|
+
descEn: "Success status text",
|
|
548
|
+
category: "color-status",
|
|
549
|
+
token: "green6"
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
name: "color-success-icon",
|
|
553
|
+
desc: "成功状态-图标",
|
|
554
|
+
descEn: "Success status icon",
|
|
555
|
+
category: "color-status",
|
|
556
|
+
token: "green6"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
name: "color-success-fill",
|
|
560
|
+
desc: "成功状态-填充",
|
|
561
|
+
descEn: "Success status fill",
|
|
562
|
+
category: "color-status",
|
|
563
|
+
token: "green1"
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
name: "color-success-border",
|
|
567
|
+
desc: "成功状态-边框",
|
|
568
|
+
descEn: "Success status border",
|
|
569
|
+
category: "color-status",
|
|
570
|
+
token: "green3"
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
name: "color-warning-text",
|
|
574
|
+
desc: "警告状态-文本",
|
|
575
|
+
descEn: "Warning status text",
|
|
576
|
+
category: "color-status",
|
|
577
|
+
token: "orange6"
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
name: "color-warning-icon",
|
|
581
|
+
desc: "警告状态-图标",
|
|
582
|
+
descEn: "Warning status icon",
|
|
583
|
+
category: "color-status",
|
|
584
|
+
token: "orange6"
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
name: "color-warning-fill",
|
|
588
|
+
desc: "警告状态-填充",
|
|
589
|
+
descEn: "Warning status fill",
|
|
590
|
+
category: "color-status",
|
|
591
|
+
token: "orange1"
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
name: "color-warning-border",
|
|
595
|
+
desc: "警告状态-边框",
|
|
596
|
+
descEn: "Warning status border",
|
|
597
|
+
category: "color-status",
|
|
598
|
+
token: "orange3"
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
name: "color-error-text",
|
|
602
|
+
desc: "错误状态-文本",
|
|
603
|
+
descEn: "Error status text",
|
|
604
|
+
category: "color-status",
|
|
605
|
+
token: "red6"
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
name: "color-error-icon",
|
|
609
|
+
desc: "错误状态-图标",
|
|
610
|
+
descEn: "Error status icon",
|
|
611
|
+
category: "color-status",
|
|
612
|
+
token: "red6"
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
name: "color-error-fill",
|
|
616
|
+
desc: "错误状态-填充",
|
|
617
|
+
descEn: "Error status fill",
|
|
618
|
+
category: "color-status",
|
|
619
|
+
token: "red1"
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
name: "color-error-border",
|
|
623
|
+
desc: "错误状态-边框",
|
|
624
|
+
descEn: "Error status border",
|
|
625
|
+
category: "color-status",
|
|
626
|
+
token: "red3"
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
name: "color-critical-text",
|
|
630
|
+
desc: "严重错误状态-文本",
|
|
631
|
+
descEn: "Critical status text",
|
|
632
|
+
category: "color-status",
|
|
633
|
+
token: "fuchsia6"
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
name: "color-critical-icon",
|
|
637
|
+
desc: "严重错误状态-图标",
|
|
638
|
+
descEn: "Critical status icon",
|
|
639
|
+
category: "color-status",
|
|
640
|
+
token: "fuchsia6"
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
name: "color-critical-fill",
|
|
644
|
+
desc: "严重错误状态-填充",
|
|
645
|
+
descEn: "Critical status fill",
|
|
646
|
+
category: "color-status",
|
|
647
|
+
token: "fuchsia1"
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
name: "color-critical-border",
|
|
651
|
+
desc: "严重错误状态-边框",
|
|
652
|
+
descEn: "Critical status border",
|
|
653
|
+
category: "color-status",
|
|
654
|
+
token: "fuchsia3"
|
|
655
|
+
},
|
|
656
|
+
// ==================== 字体 Token ====================
|
|
657
|
+
{
|
|
658
|
+
name: "font-family-default",
|
|
659
|
+
desc: "默认字体",
|
|
660
|
+
descEn: "Default font family",
|
|
661
|
+
category: "font",
|
|
662
|
+
token: "fontFamily"
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
name: "font-weight-sm",
|
|
666
|
+
desc: "弱字重",
|
|
667
|
+
descEn: "Light font weight",
|
|
668
|
+
category: "font",
|
|
669
|
+
token: "fontWeightWeak"
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
name: "font-weight-md",
|
|
673
|
+
desc: "默认字重",
|
|
674
|
+
descEn: "Default font weight",
|
|
675
|
+
category: "font",
|
|
676
|
+
token: "fontWeight"
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
name: "font-weight-lg",
|
|
680
|
+
desc: "强字重",
|
|
681
|
+
descEn: "Bold font weight",
|
|
682
|
+
category: "font",
|
|
683
|
+
token: "fontWeightStrong"
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
name: "font-size-300",
|
|
687
|
+
desc: "小号字体",
|
|
688
|
+
descEn: "Small font size",
|
|
689
|
+
category: "font",
|
|
690
|
+
token: "fontSizeSM"
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
name: "font-size-325",
|
|
694
|
+
desc: "默认字体",
|
|
695
|
+
descEn: "Default font size",
|
|
696
|
+
category: "font",
|
|
697
|
+
token: "fontSize"
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
name: "font-size-400",
|
|
701
|
+
desc: "大号字体",
|
|
702
|
+
descEn: "Large font size",
|
|
703
|
+
category: "font",
|
|
704
|
+
token: "fontSizeLG"
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
name: "font-size-450",
|
|
708
|
+
desc: "标题3字体",
|
|
709
|
+
descEn: "Heading 3 font size",
|
|
710
|
+
category: "font",
|
|
711
|
+
token: "fontSizeHeading3"
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
name: "font-size-500",
|
|
715
|
+
desc: "标题2字体",
|
|
716
|
+
descEn: "Heading 2 font size",
|
|
717
|
+
category: "font",
|
|
718
|
+
token: "fontSizeHeading2"
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
name: "font-line-height-500",
|
|
722
|
+
desc: "行高500",
|
|
723
|
+
descEn: "Line height 500",
|
|
724
|
+
category: "font",
|
|
725
|
+
value: "20px"
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
name: "font-line-height-600",
|
|
729
|
+
desc: "行高600",
|
|
730
|
+
descEn: "Line height 600",
|
|
731
|
+
category: "font",
|
|
732
|
+
value: "24px"
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
name: "font-line-height-650",
|
|
736
|
+
desc: "行高650",
|
|
737
|
+
descEn: "Line height 650",
|
|
738
|
+
category: "font",
|
|
739
|
+
value: "26px"
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
name: "font-line-height-700",
|
|
743
|
+
desc: "行高700",
|
|
744
|
+
descEn: "Line height 700",
|
|
745
|
+
category: "font",
|
|
746
|
+
value: "28px"
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
name: "font-h1",
|
|
750
|
+
desc: "页容器一级标题",
|
|
751
|
+
descEn: "Page heading 1",
|
|
752
|
+
category: "font",
|
|
753
|
+
value: "500 20px/28px fontFamily"
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
name: "font-h2",
|
|
757
|
+
desc: "页容器二级标题、抽屉弹窗标题",
|
|
758
|
+
descEn: "Page heading 2, drawer title",
|
|
759
|
+
category: "font",
|
|
760
|
+
value: "500 18px/26px fontFamily"
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
name: "font-h3",
|
|
764
|
+
desc: "卡片标题、表单一级分组标题",
|
|
765
|
+
descEn: "Card title, form group 1",
|
|
766
|
+
category: "font",
|
|
767
|
+
value: "500 16px/24px fontFamily"
|
|
768
|
+
},
|
|
769
|
+
{
|
|
770
|
+
name: "font-h4",
|
|
771
|
+
desc: "表单二级分组标题",
|
|
772
|
+
descEn: "Form group 2",
|
|
773
|
+
category: "font",
|
|
774
|
+
value: "500 13px/20px fontFamily"
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
name: "font-body1",
|
|
778
|
+
desc: "常规正文",
|
|
779
|
+
descEn: "Body text",
|
|
780
|
+
category: "font",
|
|
781
|
+
value: "400 13px/20px fontFamily"
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
name: "font-body2",
|
|
785
|
+
desc: "表格文本",
|
|
786
|
+
descEn: "Table text",
|
|
787
|
+
category: "font",
|
|
788
|
+
value: "400 12px/20px fontFamily"
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
name: "font-caption",
|
|
792
|
+
desc: "描述",
|
|
793
|
+
descEn: "Caption",
|
|
794
|
+
category: "font",
|
|
795
|
+
value: "400 12px/20px fontFamily"
|
|
796
|
+
},
|
|
797
|
+
// ==================== 阴影 Token ====================
|
|
798
|
+
{
|
|
799
|
+
name: "shadow-1-top",
|
|
800
|
+
desc: "顶部阴影",
|
|
801
|
+
descEn: "Top shadow",
|
|
802
|
+
category: "shadow",
|
|
803
|
+
value: "0px -1px 2px 0px hsla(219, 50%, 15%, 0.1)"
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
name: "shadow-1-bottom",
|
|
807
|
+
desc: "底部阴影",
|
|
808
|
+
descEn: "Bottom shadow",
|
|
809
|
+
category: "shadow",
|
|
810
|
+
value: "0px 1px 2px 0px hsla(219, 50%, 15%, 0.1)"
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
name: "shadow-1-left",
|
|
814
|
+
desc: "左侧阴影",
|
|
815
|
+
descEn: "Left shadow",
|
|
816
|
+
category: "shadow",
|
|
817
|
+
value: "-1px 0px 2px 0px hsla(219, 50%, 15%, 0.1)"
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
name: "shadow-1-right",
|
|
821
|
+
desc: "右侧阴影",
|
|
822
|
+
descEn: "Right shadow",
|
|
823
|
+
category: "shadow",
|
|
824
|
+
value: "1px 0px 2px 0px hsla(219, 50%, 15%, 0.1)"
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
name: "shadow-2",
|
|
828
|
+
desc: "二级阴影",
|
|
829
|
+
descEn: "Secondary shadow",
|
|
830
|
+
category: "shadow",
|
|
831
|
+
token: "boxShadowSecondary"
|
|
832
|
+
},
|
|
833
|
+
// ==================== 圆角 Token ====================
|
|
834
|
+
{
|
|
835
|
+
name: "radius-sm",
|
|
836
|
+
desc: "小圆角",
|
|
837
|
+
descEn: "Small radius",
|
|
838
|
+
category: "radius",
|
|
839
|
+
token: "borderRadius"
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
name: "radius-md",
|
|
843
|
+
desc: "中圆角",
|
|
844
|
+
descEn: "Medium radius",
|
|
845
|
+
category: "radius",
|
|
846
|
+
token: "borderRadiusMD"
|
|
847
|
+
},
|
|
848
|
+
{
|
|
849
|
+
name: "radius-lg",
|
|
850
|
+
desc: "大圆角",
|
|
851
|
+
descEn: "Large radius",
|
|
852
|
+
category: "radius",
|
|
853
|
+
token: "borderRadiusLG"
|
|
854
|
+
},
|
|
855
|
+
// ==================== 间距 Token ====================
|
|
856
|
+
{ name: "space-0", desc: "间距0", descEn: "Space 0", category: "space", value: "0px" },
|
|
857
|
+
{ name: "space-50", desc: "间距50", descEn: "Space 50", category: "space", value: "2px" },
|
|
858
|
+
{
|
|
859
|
+
name: "space-100",
|
|
860
|
+
desc: "间距100",
|
|
861
|
+
descEn: "Space 100",
|
|
862
|
+
category: "space",
|
|
863
|
+
token: "paddingXXS"
|
|
864
|
+
},
|
|
865
|
+
{ name: "space-150", desc: "间距150", descEn: "Space 150", category: "space", value: "6px" },
|
|
866
|
+
{
|
|
867
|
+
name: "space-200",
|
|
868
|
+
desc: "间距200",
|
|
869
|
+
descEn: "Space 200",
|
|
870
|
+
category: "space",
|
|
871
|
+
token: "paddingXS"
|
|
872
|
+
},
|
|
873
|
+
{
|
|
874
|
+
name: "space-300",
|
|
875
|
+
desc: "间距300",
|
|
876
|
+
descEn: "Space 300",
|
|
877
|
+
category: "space",
|
|
878
|
+
token: "paddingSM"
|
|
879
|
+
},
|
|
880
|
+
{ name: "space-400", desc: "间距400", descEn: "Space 400", category: "space", token: "padding" },
|
|
881
|
+
{
|
|
882
|
+
name: "space-500",
|
|
883
|
+
desc: "间距500",
|
|
884
|
+
descEn: "Space 500",
|
|
885
|
+
category: "space",
|
|
886
|
+
token: "paddingMD"
|
|
887
|
+
},
|
|
888
|
+
{
|
|
889
|
+
name: "space-600",
|
|
890
|
+
desc: "间距600",
|
|
891
|
+
descEn: "Space 600",
|
|
892
|
+
category: "space",
|
|
893
|
+
token: "paddingLG"
|
|
894
|
+
},
|
|
895
|
+
{
|
|
896
|
+
name: "space-800",
|
|
897
|
+
desc: "间距800",
|
|
898
|
+
descEn: "Space 800",
|
|
899
|
+
category: "space",
|
|
900
|
+
token: "paddingXL"
|
|
901
|
+
},
|
|
902
|
+
// ==================== 组件 Token ====================
|
|
903
|
+
// 导航 Navigation
|
|
904
|
+
{
|
|
905
|
+
name: "navi-color-bg",
|
|
906
|
+
desc: "导航背景色",
|
|
907
|
+
descEn: "Navigation bg",
|
|
908
|
+
category: "component",
|
|
909
|
+
token: "colorNaviBg"
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
name: "navi-color-bg-hover",
|
|
913
|
+
desc: "导航悬停背景色",
|
|
914
|
+
descEn: "Navigation hover bg",
|
|
915
|
+
category: "component",
|
|
916
|
+
token: "colorNaviBgHover"
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
name: "navi-color-bg-focus",
|
|
920
|
+
desc: "导航聚焦背景色",
|
|
921
|
+
descEn: "Navigation focus bg",
|
|
922
|
+
category: "component",
|
|
923
|
+
token: "colorNaviBgHover"
|
|
924
|
+
},
|
|
925
|
+
// 按钮 Button
|
|
926
|
+
{
|
|
927
|
+
name: "btn-color-primary-bg",
|
|
928
|
+
desc: "主按钮背景色",
|
|
929
|
+
descEn: "Primary button bg",
|
|
930
|
+
category: "component",
|
|
931
|
+
token: "blue4"
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
name: "btn-color-primary-bg-hover",
|
|
935
|
+
desc: "主按钮悬停背景色",
|
|
936
|
+
descEn: "Primary button hover bg",
|
|
937
|
+
category: "component",
|
|
938
|
+
token: "blue5"
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
name: "btn-color-primary-bg-disabled",
|
|
942
|
+
desc: "主按钮禁用背景色",
|
|
943
|
+
descEn: "Primary button disabled bg",
|
|
944
|
+
category: "component",
|
|
945
|
+
token: "blue3"
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
name: "btn-color-primary-text",
|
|
949
|
+
desc: "主按钮文本色",
|
|
950
|
+
descEn: "Primary button text",
|
|
951
|
+
category: "component",
|
|
952
|
+
token: "white"
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
name: "btn-color-primary-icon",
|
|
956
|
+
desc: "主按钮图标色",
|
|
957
|
+
descEn: "Primary button icon",
|
|
958
|
+
category: "component",
|
|
959
|
+
token: "white"
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
name: "btn-color-secondary-border",
|
|
963
|
+
desc: "次按钮边框色",
|
|
964
|
+
descEn: "Secondary button border",
|
|
965
|
+
category: "component",
|
|
966
|
+
token: "blue4"
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
name: "btn-color-secondary-text",
|
|
970
|
+
desc: "次按钮文本色",
|
|
971
|
+
descEn: "Secondary button text",
|
|
972
|
+
category: "component",
|
|
973
|
+
token: "blue4"
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
name: "btn-color-secondary-icon",
|
|
977
|
+
desc: "次按钮图标色",
|
|
978
|
+
descEn: "Secondary button icon",
|
|
979
|
+
category: "component",
|
|
980
|
+
token: "blue4"
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
name: "btn-color-danger-border",
|
|
984
|
+
desc: "危险按钮边框色",
|
|
985
|
+
descEn: "Danger button border",
|
|
986
|
+
category: "component",
|
|
987
|
+
token: "red4"
|
|
988
|
+
},
|
|
989
|
+
{
|
|
990
|
+
name: "btn-color-danger-text",
|
|
991
|
+
desc: "危险按钮文本色",
|
|
992
|
+
descEn: "Danger button text",
|
|
993
|
+
category: "component",
|
|
994
|
+
token: "red4"
|
|
995
|
+
},
|
|
996
|
+
// 进度条 Progress
|
|
997
|
+
{
|
|
998
|
+
name: "progress-color-bg-default",
|
|
999
|
+
desc: "进度条默认背景色",
|
|
1000
|
+
descEn: "Progress default bg",
|
|
1001
|
+
category: "component",
|
|
1002
|
+
token: "gray4"
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
name: "progress-color-bg-loading",
|
|
1006
|
+
desc: "进度条加载背景色",
|
|
1007
|
+
descEn: "Progress loading bg",
|
|
1008
|
+
category: "component",
|
|
1009
|
+
token: "blue4"
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
name: "progress-color-bg-success",
|
|
1013
|
+
desc: "进度条成功背景色",
|
|
1014
|
+
descEn: "Progress success bg",
|
|
1015
|
+
category: "component",
|
|
1016
|
+
token: "green4"
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
name: "progress-color-bg-error",
|
|
1020
|
+
desc: "进度条错误背景色",
|
|
1021
|
+
descEn: "Progress error bg",
|
|
1022
|
+
category: "component",
|
|
1023
|
+
token: "red4"
|
|
1024
|
+
},
|
|
1025
|
+
// 开关 Switch
|
|
1026
|
+
{
|
|
1027
|
+
name: "switch-color-bg-default",
|
|
1028
|
+
desc: "开关默认背景色",
|
|
1029
|
+
descEn: "Switch default bg",
|
|
1030
|
+
category: "component",
|
|
1031
|
+
token: "gray7"
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
name: "switch-color-bg-disabled",
|
|
1035
|
+
desc: "开关禁用背景色",
|
|
1036
|
+
descEn: "Switch disabled bg",
|
|
1037
|
+
category: "component",
|
|
1038
|
+
token: "gray4"
|
|
1039
|
+
},
|
|
1040
|
+
{
|
|
1041
|
+
name: "switch-color-bg-active",
|
|
1042
|
+
desc: "开关激活背景色",
|
|
1043
|
+
descEn: "Switch active bg",
|
|
1044
|
+
category: "component",
|
|
1045
|
+
token: "blue4"
|
|
1046
|
+
},
|
|
1047
|
+
{
|
|
1048
|
+
name: "switch-color-bg-disabled-selected",
|
|
1049
|
+
desc: "开关禁用选中背景色",
|
|
1050
|
+
descEn: "Switch disabled selected bg",
|
|
1051
|
+
category: "component",
|
|
1052
|
+
token: "gray5"
|
|
1053
|
+
}
|
|
1054
|
+
];
|
|
1055
|
+
var cssVariablesMeta_default = cssVariablesMeta;
|
|
1056
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
1057
|
+
0 && (module.exports = {
|
|
1058
|
+
cssVariablesMeta
|
|
1059
|
+
});
|