@oceanbase/design 0.4.16 → 1.0.0-alpha.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/dist/design.min.js +1 -1
- package/es/_util/genStyle.d.ts +0 -2
- package/es/_util/genStyle.js +0 -77
- package/es/badge/style/index.js +0 -1
- package/es/button/style/index.js +1 -30
- package/es/card/style/index.js +4 -2
- package/es/config-provider/index.js +1 -5
- package/es/empty/style/index.js +2 -7
- package/es/form/FormItem.d.ts +1 -0
- package/es/form/FormItem.js +1 -0
- package/es/index.d.ts +0 -1
- package/es/index.js +1 -2
- package/es/result/style/index.js +2 -5
- package/es/table/style/index.js +8 -31
- package/es/tabs/index.d.ts +8 -6
- package/es/tabs/index.js +10 -7
- package/es/tabs/style/index.js +2 -3
- package/es/theme/default.js +88 -72
- package/es/theme/style/aliyun.less +210 -210
- package/es/theme/style/compact.less +231 -231
- package/es/theme/style/dark.less +234 -234
- package/es/theme/style/default.less +231 -231
- package/es/typography/style/index.js +2 -6
- package/lib/_util/genStyle.d.ts +0 -2
- package/lib/_util/genStyle.js +2 -118
- package/lib/badge/style/index.js +0 -1
- package/lib/button/style/index.js +1 -37
- package/lib/card/style/index.js +9 -1
- package/lib/config-provider/index.js +1 -8
- package/lib/empty/style/index.js +0 -5
- package/lib/form/FormItem.d.ts +1 -0
- package/lib/form/FormItem.js +6 -0
- package/lib/index.d.ts +0 -1
- package/lib/index.js +0 -3
- package/lib/result/style/index.js +0 -4
- package/lib/table/style/index.js +1 -58
- package/lib/tabs/index.d.ts +8 -6
- package/lib/tabs/index.js +68 -62
- package/lib/tabs/style/index.js +6 -4
- package/lib/theme/default.js +86 -71
- package/lib/theme/style/aliyun.less +210 -210
- package/lib/theme/style/compact.less +231 -231
- package/lib/theme/style/dark.less +234 -234
- package/lib/theme/style/default.less +231 -231
- package/lib/typography/style/index.js +2 -9
- package/package.json +6 -6
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
@blue: #
|
|
1
|
+
@blue: #0d6cf2;
|
|
2
2
|
@purple: #722ED1;
|
|
3
3
|
@cyan: #13C2C2;
|
|
4
|
-
@green: #
|
|
4
|
+
@green: #14b781;
|
|
5
5
|
@magenta: #EB2F96;
|
|
6
6
|
@pink: #EB2F96;
|
|
7
|
-
@red: #
|
|
7
|
+
@red: #ef4343;
|
|
8
8
|
@orange: #FA8C16;
|
|
9
|
-
@yellow: #
|
|
9
|
+
@yellow: #f49f25;
|
|
10
10
|
@volcano: #FA541C;
|
|
11
11
|
@geekblue: #2F54EB;
|
|
12
12
|
@gold: #FAAD14;
|
|
13
13
|
@lime: #A0D911;
|
|
14
|
-
@colorPrimary: #
|
|
15
|
-
@colorSuccess: #
|
|
16
|
-
@colorWarning: #
|
|
17
|
-
@colorError: #
|
|
18
|
-
@colorInfo: #
|
|
19
|
-
@colorLink: #
|
|
14
|
+
@colorPrimary: #0d6cf2;
|
|
15
|
+
@colorSuccess: #14b781;
|
|
16
|
+
@colorWarning: #f49f25;
|
|
17
|
+
@colorError: #ef4343;
|
|
18
|
+
@colorInfo: #0d6cf2;
|
|
19
|
+
@colorLink: #0d6cf2;
|
|
20
20
|
@colorTextBase: #000000;
|
|
21
21
|
@colorBgBase: #ffffff;
|
|
22
22
|
@fontFamily: -apple-system, 'Noto Sans', BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
|
23
23
|
@fontFamilyCode: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
|
24
|
-
@fontSize:
|
|
25
|
-
@lineWidth:
|
|
24
|
+
@fontSize: 13px;
|
|
25
|
+
@lineWidth: 1px;
|
|
26
26
|
@lineType: solid;
|
|
27
|
-
@motionUnit: 0.
|
|
28
|
-
@motionBase:
|
|
27
|
+
@motionUnit: 0.1s;
|
|
28
|
+
@motionBase: 0s;
|
|
29
29
|
@motionEaseOutCirc: cubic-bezier(0.08, 0.82, 0.17, 1);
|
|
30
30
|
@motionEaseInOutCirc: cubic-bezier(0.78, 0.14, 0.15, 0.86);
|
|
31
31
|
@motionEaseOut: cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
@motionEaseInBack: cubic-bezier(0.71, -0.46, 0.88, 0.6);
|
|
35
35
|
@motionEaseInQuint: cubic-bezier(0.755, 0.05, 0.855, 0.06);
|
|
36
36
|
@motionEaseOutQuint: cubic-bezier(0.23, 1, 0.32, 1);
|
|
37
|
-
@borderRadius:
|
|
38
|
-
@sizeUnit:
|
|
39
|
-
@sizeStep:
|
|
40
|
-
@sizePopupArrow:
|
|
41
|
-
@controlHeight:
|
|
37
|
+
@borderRadius: 4px;
|
|
38
|
+
@sizeUnit: 4px;
|
|
39
|
+
@sizeStep: 4px;
|
|
40
|
+
@sizePopupArrow: 16px;
|
|
41
|
+
@controlHeight: 32px;
|
|
42
42
|
@zIndexBase: 0;
|
|
43
43
|
@zIndexPopupBase: 1000;
|
|
44
44
|
@opacityImage: 1;
|
|
@@ -46,24 +46,24 @@
|
|
|
46
46
|
@motion: true;
|
|
47
47
|
@blue-1: #e6f4ff;
|
|
48
48
|
@blue1: #e6f4ff;
|
|
49
|
-
@blue-2: #
|
|
50
|
-
@blue2: #
|
|
51
|
-
@blue-3: #
|
|
52
|
-
@blue3: #
|
|
53
|
-
@blue-4: #
|
|
54
|
-
@blue4: #
|
|
55
|
-
@blue-5: #
|
|
56
|
-
@blue5: #
|
|
57
|
-
@blue-6: #
|
|
58
|
-
@blue6: #
|
|
59
|
-
@blue-7: #
|
|
60
|
-
@blue7: #
|
|
61
|
-
@blue-8: #
|
|
62
|
-
@blue8: #
|
|
63
|
-
@blue-9: #
|
|
64
|
-
@blue9: #
|
|
65
|
-
@blue-10: #
|
|
66
|
-
@blue10: #
|
|
49
|
+
@blue-2: #b0dbff;
|
|
50
|
+
@blue2: #b0dbff;
|
|
51
|
+
@blue-3: #87c5ff;
|
|
52
|
+
@blue3: #87c5ff;
|
|
53
|
+
@blue-4: #5eacff;
|
|
54
|
+
@blue4: #5eacff;
|
|
55
|
+
@blue-5: #3690ff;
|
|
56
|
+
@blue5: #3690ff;
|
|
57
|
+
@blue-6: #0d6cf2;
|
|
58
|
+
@blue6: #0d6cf2;
|
|
59
|
+
@blue-7: #004ecc;
|
|
60
|
+
@blue7: #004ecc;
|
|
61
|
+
@blue-8: #003aa6;
|
|
62
|
+
@blue8: #003aa6;
|
|
63
|
+
@blue-9: #002880;
|
|
64
|
+
@blue9: #002880;
|
|
65
|
+
@blue-10: #001959;
|
|
66
|
+
@blue10: #001959;
|
|
67
67
|
@purple-1: #f9f0ff;
|
|
68
68
|
@purple1: #f9f0ff;
|
|
69
69
|
@purple-2: #efdbff;
|
|
@@ -104,26 +104,26 @@
|
|
|
104
104
|
@cyan9: #00474f;
|
|
105
105
|
@cyan-10: #002329;
|
|
106
106
|
@cyan10: #002329;
|
|
107
|
-
@green-1: #
|
|
108
|
-
@green1: #
|
|
109
|
-
@green-2: #
|
|
110
|
-
@green2: #
|
|
111
|
-
@green-3: #
|
|
112
|
-
@green3: #
|
|
113
|
-
@green-4: #
|
|
114
|
-
@green4: #
|
|
115
|
-
@green-5: #
|
|
116
|
-
@green5: #
|
|
117
|
-
@green-6: #
|
|
118
|
-
@green6: #
|
|
119
|
-
@green-7: #
|
|
120
|
-
@green7: #
|
|
121
|
-
@green-8: #
|
|
122
|
-
@green8: #
|
|
123
|
-
@green-9: #
|
|
124
|
-
@green9: #
|
|
125
|
-
@green-10: #
|
|
126
|
-
@green10: #
|
|
107
|
+
@green-1: #e1f7ec;
|
|
108
|
+
@green1: #e1f7ec;
|
|
109
|
+
@green-2: #b0ebcf;
|
|
110
|
+
@green2: #b0ebcf;
|
|
111
|
+
@green-3: #83deb6;
|
|
112
|
+
@green3: #83deb6;
|
|
113
|
+
@green-4: #5ad1a1;
|
|
114
|
+
@green4: #5ad1a1;
|
|
115
|
+
@green-5: #35c490;
|
|
116
|
+
@green5: #35c490;
|
|
117
|
+
@green-6: #14b781;
|
|
118
|
+
@green6: #14b781;
|
|
119
|
+
@green-7: #099168;
|
|
120
|
+
@green7: #099168;
|
|
121
|
+
@green-8: #016b4f;
|
|
122
|
+
@green8: #016b4f;
|
|
123
|
+
@green-9: #004535;
|
|
124
|
+
@green9: #004535;
|
|
125
|
+
@green-10: #001f18;
|
|
126
|
+
@green10: #001f18;
|
|
127
127
|
@magenta-1: #fff0f6;
|
|
128
128
|
@magenta1: #fff0f6;
|
|
129
129
|
@magenta-2: #ffd6e7;
|
|
@@ -166,24 +166,24 @@
|
|
|
166
166
|
@pink10: #520339;
|
|
167
167
|
@red-1: #fff2f0;
|
|
168
168
|
@red1: #fff2f0;
|
|
169
|
-
@red-2: #
|
|
170
|
-
@red2: #
|
|
171
|
-
@red-3: #
|
|
172
|
-
@red3: #
|
|
173
|
-
@red-4: #
|
|
174
|
-
@red4: #
|
|
175
|
-
@red-5: #
|
|
176
|
-
@red5: #
|
|
177
|
-
@red-6: #
|
|
178
|
-
@red6: #
|
|
179
|
-
@red-7: #
|
|
180
|
-
@red7: #
|
|
181
|
-
@red-8: #
|
|
182
|
-
@red8: #
|
|
183
|
-
@red-9: #
|
|
184
|
-
@red9: #
|
|
185
|
-
@red-10: #
|
|
186
|
-
@red10: #
|
|
169
|
+
@red-2: #ffedeb;
|
|
170
|
+
@red2: #ffedeb;
|
|
171
|
+
@red-3: #ffc8c2;
|
|
172
|
+
@red3: #ffc8c2;
|
|
173
|
+
@red-4: #ffa099;
|
|
174
|
+
@red4: #ffa099;
|
|
175
|
+
@red-5: #fc746f;
|
|
176
|
+
@red5: #fc746f;
|
|
177
|
+
@red-6: #ef4343;
|
|
178
|
+
@red6: #ef4343;
|
|
179
|
+
@red-7: #c92e34;
|
|
180
|
+
@red7: #c92e34;
|
|
181
|
+
@red-8: #a31d26;
|
|
182
|
+
@red8: #a31d26;
|
|
183
|
+
@red-9: #7d101b;
|
|
184
|
+
@red9: #7d101b;
|
|
185
|
+
@red-10: #570a15;
|
|
186
|
+
@red10: #570a15;
|
|
187
187
|
@orange-1: #fff7e6;
|
|
188
188
|
@orange1: #fff7e6;
|
|
189
189
|
@orange-2: #ffe7ba;
|
|
@@ -204,26 +204,26 @@
|
|
|
204
204
|
@orange9: #873800;
|
|
205
205
|
@orange-10: #612500;
|
|
206
206
|
@orange10: #612500;
|
|
207
|
-
@yellow-1: #
|
|
208
|
-
@yellow1: #
|
|
209
|
-
@yellow-2: #
|
|
210
|
-
@yellow2: #
|
|
211
|
-
@yellow-3: #
|
|
212
|
-
@yellow3: #
|
|
213
|
-
@yellow-4: #
|
|
214
|
-
@yellow4: #
|
|
215
|
-
@yellow-5: #
|
|
216
|
-
@yellow5: #
|
|
217
|
-
@yellow-6: #
|
|
218
|
-
@yellow6: #
|
|
219
|
-
@yellow-7: #
|
|
220
|
-
@yellow7: #
|
|
221
|
-
@yellow-8: #
|
|
222
|
-
@yellow8: #
|
|
223
|
-
@yellow-9: #
|
|
224
|
-
@yellow9: #
|
|
225
|
-
@yellow-10: #
|
|
226
|
-
@yellow10: #
|
|
207
|
+
@yellow-1: #fffbf0;
|
|
208
|
+
@yellow1: #fffbf0;
|
|
209
|
+
@yellow-2: #fff0c9;
|
|
210
|
+
@yellow2: #fff0c9;
|
|
211
|
+
@yellow-3: #ffe1a1;
|
|
212
|
+
@yellow3: #ffe1a1;
|
|
213
|
+
@yellow-4: #ffd078;
|
|
214
|
+
@yellow4: #ffd078;
|
|
215
|
+
@yellow-5: #ffbc4f;
|
|
216
|
+
@yellow5: #ffbc4f;
|
|
217
|
+
@yellow-6: #f49f25;
|
|
218
|
+
@yellow6: #f49f25;
|
|
219
|
+
@yellow-7: #cf7b15;
|
|
220
|
+
@yellow7: #cf7b15;
|
|
221
|
+
@yellow-8: #a85b08;
|
|
222
|
+
@yellow8: #a85b08;
|
|
223
|
+
@yellow-9: #823f00;
|
|
224
|
+
@yellow9: #823f00;
|
|
225
|
+
@yellow-10: #5c2900;
|
|
226
|
+
@yellow10: #5c2900;
|
|
227
227
|
@volcano-1: #fff2e8;
|
|
228
228
|
@volcano1: #fff2e8;
|
|
229
229
|
@volcano-2: #ffd8bf;
|
|
@@ -315,107 +315,108 @@
|
|
|
315
315
|
@colorBgSolid: rgb(0,0,0);
|
|
316
316
|
@colorBgSolidHover: rgba(0,0,0,0.75);
|
|
317
317
|
@colorBgSolidActive: rgba(0,0,0,0.95);
|
|
318
|
-
@colorBgLayout: #
|
|
318
|
+
@colorBgLayout: #f8fafe;
|
|
319
319
|
@colorBgContainer: #ffffff;
|
|
320
320
|
@colorBgElevated: #ffffff;
|
|
321
321
|
@colorBgSpotlight: #ffffff;
|
|
322
322
|
@colorBgBlur: transparent;
|
|
323
323
|
@colorBorder: #cdd5e4;
|
|
324
324
|
@colorBorderSecondary: #e2e8f3;
|
|
325
|
-
@colorPrimaryBg: #
|
|
326
|
-
@colorPrimaryBgHover: #
|
|
327
|
-
@colorPrimaryBorder: #
|
|
328
|
-
@colorPrimaryBorderHover: #
|
|
329
|
-
@colorPrimaryHover: #
|
|
330
|
-
@colorPrimaryActive: #
|
|
331
|
-
@colorPrimaryTextHover: #
|
|
332
|
-
@colorPrimaryText: #
|
|
333
|
-
@colorPrimaryTextActive: #
|
|
334
|
-
@colorSuccessBg: #
|
|
335
|
-
@colorSuccessBgHover: #
|
|
336
|
-
@colorSuccessBorder: #
|
|
337
|
-
@colorSuccessBorderHover: #
|
|
338
|
-
@colorSuccessHover: #
|
|
339
|
-
@colorSuccessActive: #
|
|
340
|
-
@colorSuccessTextHover: #
|
|
341
|
-
@colorSuccessText: #
|
|
342
|
-
@colorSuccessTextActive: #
|
|
343
|
-
@colorErrorBg: #
|
|
344
|
-
@colorErrorBgHover: #
|
|
345
|
-
@colorErrorBgFilledHover: #
|
|
346
|
-
@colorErrorBgActive: #
|
|
347
|
-
@colorErrorBorder: #
|
|
348
|
-
@colorErrorBorderHover: #
|
|
349
|
-
@colorErrorHover: #
|
|
350
|
-
@colorErrorActive: #
|
|
351
|
-
@colorErrorTextHover: #
|
|
352
|
-
@colorErrorText: #
|
|
353
|
-
@colorErrorTextActive: #
|
|
354
|
-
@colorWarningBg: #
|
|
355
|
-
@colorWarningBgHover: #
|
|
356
|
-
@colorWarningBorder: #
|
|
357
|
-
@colorWarningBorderHover: #
|
|
358
|
-
@colorWarningHover: #
|
|
359
|
-
@colorWarningActive: #
|
|
360
|
-
@colorWarningTextHover: #
|
|
361
|
-
@colorWarningText: #
|
|
362
|
-
@colorWarningTextActive: #
|
|
325
|
+
@colorPrimaryBg: #e6f4ff;
|
|
326
|
+
@colorPrimaryBgHover: #b0dbff;
|
|
327
|
+
@colorPrimaryBorder: #87c5ff;
|
|
328
|
+
@colorPrimaryBorderHover: #5eacff;
|
|
329
|
+
@colorPrimaryHover: #3690ff;
|
|
330
|
+
@colorPrimaryActive: #004ecc;
|
|
331
|
+
@colorPrimaryTextHover: #3690ff;
|
|
332
|
+
@colorPrimaryText: #0d6cf2;
|
|
333
|
+
@colorPrimaryTextActive: #004ecc;
|
|
334
|
+
@colorSuccessBg: #e8f8f3;
|
|
335
|
+
@colorSuccessBgHover: #b0ebcf;
|
|
336
|
+
@colorSuccessBorder: #7ed7ba;
|
|
337
|
+
@colorSuccessBorderHover: #5ad1a1;
|
|
338
|
+
@colorSuccessHover: #5ad1a1;
|
|
339
|
+
@colorSuccessActive: #099168;
|
|
340
|
+
@colorSuccessTextHover: #35c490;
|
|
341
|
+
@colorSuccessText: #096547;
|
|
342
|
+
@colorSuccessTextActive: #099168;
|
|
343
|
+
@colorErrorBg: #fdecec;
|
|
344
|
+
@colorErrorBgHover: #ffedeb;
|
|
345
|
+
@colorErrorBgFilledHover: #ffddd9;
|
|
346
|
+
@colorErrorBgActive: #ffc8c2;
|
|
347
|
+
@colorErrorBorder: #f69898;
|
|
348
|
+
@colorErrorBorderHover: #ffa099;
|
|
349
|
+
@colorErrorHover: #fc746f;
|
|
350
|
+
@colorErrorActive: #c92e34;
|
|
351
|
+
@colorErrorTextHover: #fc746f;
|
|
352
|
+
@colorErrorText: #8a1b1b;
|
|
353
|
+
@colorErrorTextActive: #c92e34;
|
|
354
|
+
@colorWarningBg: #fef6e9;
|
|
355
|
+
@colorWarningBgHover: #fff0c9;
|
|
356
|
+
@colorWarningBorder: #f9cb87;
|
|
357
|
+
@colorWarningBorderHover: #ffd078;
|
|
358
|
+
@colorWarningHover: #ffd078;
|
|
359
|
+
@colorWarningActive: #cf7b15;
|
|
360
|
+
@colorWarningTextHover: #ffbc4f;
|
|
361
|
+
@colorWarningText: #5b3600;
|
|
362
|
+
@colorWarningTextActive: #cf7b15;
|
|
363
363
|
@colorInfoBg: #eaf1ff;
|
|
364
|
-
@colorInfoBgHover: #
|
|
365
|
-
@colorInfoBorder: #
|
|
366
|
-
@colorInfoBorderHover: #
|
|
367
|
-
@colorInfoHover: #
|
|
368
|
-
@colorInfoActive: #
|
|
369
|
-
@colorInfoTextHover: #
|
|
370
|
-
@colorInfoText: #
|
|
371
|
-
@colorInfoTextActive: #
|
|
372
|
-
@colorLinkHover: #
|
|
373
|
-
@colorLinkActive: #
|
|
364
|
+
@colorInfoBgHover: #b0dbff;
|
|
365
|
+
@colorInfoBorder: #598cf3;
|
|
366
|
+
@colorInfoBorderHover: #5eacff;
|
|
367
|
+
@colorInfoHover: #5eacff;
|
|
368
|
+
@colorInfoActive: #004ecc;
|
|
369
|
+
@colorInfoTextHover: #3690ff;
|
|
370
|
+
@colorInfoText: #083e8b;
|
|
371
|
+
@colorInfoTextActive: #004ecc;
|
|
372
|
+
@colorLinkHover: #5eacff;
|
|
373
|
+
@colorLinkActive: #004ecc;
|
|
374
374
|
@colorBgMask: rgba(19, 32, 57, 0.45);
|
|
375
375
|
@colorWhite: #fff;
|
|
376
|
-
@fontSizeSM:
|
|
377
|
-
@fontSizeLG:
|
|
378
|
-
@fontSizeXL:
|
|
379
|
-
@fontSizeHeading1:
|
|
380
|
-
@fontSizeHeading2:
|
|
381
|
-
@fontSizeHeading3:
|
|
382
|
-
@fontSizeHeading4:
|
|
383
|
-
@fontSizeHeading5:
|
|
384
|
-
@lineHeight: 1.
|
|
385
|
-
@lineHeightLG: 1.
|
|
386
|
-
@lineHeightSM: 1.
|
|
387
|
-
@fontHeight:
|
|
388
|
-
@fontHeightLG:
|
|
389
|
-
@fontHeightSM:
|
|
390
|
-
@lineHeightHeading1: 1.
|
|
391
|
-
@lineHeightHeading2: 1.
|
|
392
|
-
@lineHeightHeading3: 1.
|
|
393
|
-
@lineHeightHeading4: 1.
|
|
394
|
-
@lineHeightHeading5: 1.
|
|
395
|
-
@sizeXXL:
|
|
396
|
-
@sizeXL:
|
|
397
|
-
@sizeLG:
|
|
398
|
-
@sizeMD:
|
|
399
|
-
@sizeMS:
|
|
400
|
-
@size:
|
|
401
|
-
@sizeSM:
|
|
402
|
-
@sizeXS:
|
|
403
|
-
@sizeXXS:
|
|
404
|
-
@controlHeightSM:
|
|
405
|
-
@controlHeightXS:
|
|
406
|
-
@controlHeightLG:
|
|
376
|
+
@fontSizeSM: 12px;
|
|
377
|
+
@fontSizeLG: 14px;
|
|
378
|
+
@fontSizeXL: 18px;
|
|
379
|
+
@fontSizeHeading1: 34px;
|
|
380
|
+
@fontSizeHeading2: 28px;
|
|
381
|
+
@fontSizeHeading3: 22px;
|
|
382
|
+
@fontSizeHeading4: 18px;
|
|
383
|
+
@fontSizeHeading5: 14px;
|
|
384
|
+
@lineHeight: 1.6153846153846154;
|
|
385
|
+
@lineHeightLG: 1.5714285714285714;
|
|
386
|
+
@lineHeightSM: 1.8;
|
|
387
|
+
@fontHeight: 21px;
|
|
388
|
+
@fontHeightLG: 22px;
|
|
389
|
+
@fontHeightSM: 18px;
|
|
390
|
+
@lineHeightHeading1: 1.2352941176470589;
|
|
391
|
+
@lineHeightHeading2: 1.2857142857142858;
|
|
392
|
+
@lineHeightHeading3: 1.3636363636363635;
|
|
393
|
+
@lineHeightHeading4: 1.4444444444444444;
|
|
394
|
+
@lineHeightHeading5: 1.5714285714285714;
|
|
395
|
+
@sizeXXL: 48px;
|
|
396
|
+
@sizeXL: 32px;
|
|
397
|
+
@sizeLG: 24px;
|
|
398
|
+
@sizeMD: 20px;
|
|
399
|
+
@sizeMS: 16px;
|
|
400
|
+
@size: 16px;
|
|
401
|
+
@sizeSM: 12px;
|
|
402
|
+
@sizeXS: 8px;
|
|
403
|
+
@sizeXXS: 4px;
|
|
404
|
+
@controlHeightSM: 24px;
|
|
405
|
+
@controlHeightXS: 16px;
|
|
406
|
+
@controlHeightLG: 40px;
|
|
407
407
|
@motionDurationFast: 0.1s;
|
|
408
408
|
@motionDurationMid: 0.2s;
|
|
409
409
|
@motionDurationSlow: 0.3s;
|
|
410
|
-
@lineWidthBold:
|
|
411
|
-
@borderRadiusXS:
|
|
412
|
-
@borderRadiusSM:
|
|
413
|
-
@borderRadiusLG:
|
|
414
|
-
@borderRadiusOuter:
|
|
410
|
+
@lineWidthBold: 2px;
|
|
411
|
+
@borderRadiusXS: 1px;
|
|
412
|
+
@borderRadiusSM: 2px;
|
|
413
|
+
@borderRadiusLG: 6px;
|
|
414
|
+
@borderRadiusOuter: 4px;
|
|
415
|
+
@colorIcon: #8592ad;
|
|
415
416
|
@boxShadow: 0 6px 16px 0 rgba(54, 69, 99, 0.08), 0 3px 6px -4px rgba(54, 69, 99, 0.12), 0 9px 28px 8px rgba(54, 69, 99, 0.05);
|
|
416
417
|
@boxShadowSecondary: 0 6px 16px 0 rgba(54, 69, 99, 0.08), 0 3px 6px -4px rgba(54, 69, 99, 0.12), 0 9px 28px 8px rgba(54, 69, 99, 0.05);
|
|
417
418
|
@boxShadowTertiary: 0 1px 2px 0 rgba(54, 69, 99, 0.03), 0 1px 6px -1px rgba(54, 69, 99, 0.02), 0 2px 4px 0 rgba(54, 69, 99, 0.02);
|
|
418
|
-
@lineWidthFocus:
|
|
419
|
+
@lineWidthFocus: 3px;
|
|
419
420
|
@colorFillContent: #e2e8f3;
|
|
420
421
|
@colorFillContentHover: #cdd5e4;
|
|
421
422
|
@colorFillAlter: #f8fafe;
|
|
@@ -428,67 +429,66 @@
|
|
|
428
429
|
@colorTextLabel: #5c6b8a;
|
|
429
430
|
@colorTextDescription: #8592ad;
|
|
430
431
|
@colorTextLightSolid: #fff;
|
|
431
|
-
@colorHighlight: #
|
|
432
|
+
@colorHighlight: #ef4343;
|
|
432
433
|
@colorBgTextHover: #e2e8f3;
|
|
433
434
|
@colorBgTextActive: #cdd5e4;
|
|
434
|
-
@colorIcon: #8592ad;
|
|
435
435
|
@colorIconHover: #132039;
|
|
436
|
-
@colorErrorOutline: rgba(
|
|
437
|
-
@colorWarningOutline: rgba(
|
|
438
|
-
@fontSizeIcon:
|
|
439
|
-
@controlOutlineWidth:
|
|
440
|
-
@controlInteractiveSize:
|
|
436
|
+
@colorErrorOutline: rgba(230,17,17,0.08);
|
|
437
|
+
@colorWarningOutline: rgba(244,155,11,0.09);
|
|
438
|
+
@fontSizeIcon: 12px;
|
|
439
|
+
@controlOutlineWidth: 2px;
|
|
440
|
+
@controlInteractiveSize: 16px;
|
|
441
441
|
@controlItemBgHover: #f3f6fc;
|
|
442
|
-
@controlItemBgActive: #
|
|
443
|
-
@controlItemBgActiveHover: #
|
|
442
|
+
@controlItemBgActive: #e6f4ff;
|
|
443
|
+
@controlItemBgActiveHover: #b0dbff;
|
|
444
444
|
@controlItemBgActiveDisabled: #cdd5e4;
|
|
445
445
|
@controlTmpOutline: #f8fafe;
|
|
446
|
-
@controlOutline: rgba(
|
|
446
|
+
@controlOutline: rgba(5,145,255,0.1);
|
|
447
447
|
@fontWeightStrong: 600;
|
|
448
448
|
@opacityLoading: 0.65;
|
|
449
449
|
@linkDecoration: none;
|
|
450
450
|
@linkHoverDecoration: none;
|
|
451
451
|
@linkFocusDecoration: none;
|
|
452
|
-
@controlPaddingHorizontal:
|
|
453
|
-
@controlPaddingHorizontalSM:
|
|
454
|
-
@paddingXXS:
|
|
455
|
-
@paddingXS:
|
|
456
|
-
@paddingSM:
|
|
457
|
-
@padding:
|
|
458
|
-
@paddingMD:
|
|
459
|
-
@paddingLG:
|
|
460
|
-
@paddingXL:
|
|
461
|
-
@paddingContentHorizontalLG:
|
|
462
|
-
@paddingContentVerticalLG:
|
|
463
|
-
@paddingContentHorizontal:
|
|
464
|
-
@paddingContentVertical:
|
|
465
|
-
@paddingContentHorizontalSM:
|
|
466
|
-
@paddingContentVerticalSM:
|
|
467
|
-
@marginXXS:
|
|
468
|
-
@marginXS:
|
|
469
|
-
@marginSM:
|
|
470
|
-
@margin:
|
|
471
|
-
@marginMD:
|
|
472
|
-
@marginLG:
|
|
473
|
-
@marginXL:
|
|
474
|
-
@marginXXL:
|
|
475
|
-
@screenXS:
|
|
476
|
-
@screenXSMin:
|
|
477
|
-
@screenXSMax:
|
|
478
|
-
@screenSM:
|
|
479
|
-
@screenSMMin:
|
|
480
|
-
@screenSMMax:
|
|
481
|
-
@screenMD:
|
|
482
|
-
@screenMDMin:
|
|
483
|
-
@screenMDMax:
|
|
484
|
-
@screenLG:
|
|
485
|
-
@screenLGMin:
|
|
486
|
-
@screenLGMax:
|
|
487
|
-
@screenXL:
|
|
488
|
-
@screenXLMin:
|
|
489
|
-
@screenXLMax:
|
|
490
|
-
@screenXXL:
|
|
491
|
-
@screenXXLMin:
|
|
452
|
+
@controlPaddingHorizontal: 12px;
|
|
453
|
+
@controlPaddingHorizontalSM: 8px;
|
|
454
|
+
@paddingXXS: 4px;
|
|
455
|
+
@paddingXS: 8px;
|
|
456
|
+
@paddingSM: 12px;
|
|
457
|
+
@padding: 16px;
|
|
458
|
+
@paddingMD: 20px;
|
|
459
|
+
@paddingLG: 24px;
|
|
460
|
+
@paddingXL: 32px;
|
|
461
|
+
@paddingContentHorizontalLG: 24px;
|
|
462
|
+
@paddingContentVerticalLG: 16px;
|
|
463
|
+
@paddingContentHorizontal: 16px;
|
|
464
|
+
@paddingContentVertical: 12px;
|
|
465
|
+
@paddingContentHorizontalSM: 16px;
|
|
466
|
+
@paddingContentVerticalSM: 8px;
|
|
467
|
+
@marginXXS: 4px;
|
|
468
|
+
@marginXS: 8px;
|
|
469
|
+
@marginSM: 12px;
|
|
470
|
+
@margin: 16px;
|
|
471
|
+
@marginMD: 20px;
|
|
472
|
+
@marginLG: 24px;
|
|
473
|
+
@marginXL: 32px;
|
|
474
|
+
@marginXXL: 48px;
|
|
475
|
+
@screenXS: 480px;
|
|
476
|
+
@screenXSMin: 480px;
|
|
477
|
+
@screenXSMax: 575px;
|
|
478
|
+
@screenSM: 576px;
|
|
479
|
+
@screenSMMin: 576px;
|
|
480
|
+
@screenSMMax: 767px;
|
|
481
|
+
@screenMD: 768px;
|
|
482
|
+
@screenMDMin: 768px;
|
|
483
|
+
@screenMDMax: 991px;
|
|
484
|
+
@screenLG: 992px;
|
|
485
|
+
@screenLGMin: 992px;
|
|
486
|
+
@screenLGMax: 1199px;
|
|
487
|
+
@screenXL: 1200px;
|
|
488
|
+
@screenXLMin: 1200px;
|
|
489
|
+
@screenXLMax: 1599px;
|
|
490
|
+
@screenXXL: 1600px;
|
|
491
|
+
@screenXXLMin: 1600px;
|
|
492
492
|
@boxShadowPopoverArrow: 2px 2px 5px rgba(0, 0, 0, 0.05);
|
|
493
493
|
@boxShadowCard:
|
|
494
494
|
0 1px 2px -2px rgba(0,0,0,0.16),
|
|
@@ -9,15 +9,11 @@ export var genTypographyStyle = function genTypographyStyle(token) {
|
|
|
9
9
|
fontSize = token.fontSize,
|
|
10
10
|
lineHeight = token.lineHeight;
|
|
11
11
|
var marginOffset = (controlHeight - fontSize * lineHeight) / 2;
|
|
12
|
-
return _defineProperty(_defineProperty(_defineProperty(
|
|
12
|
+
return _defineProperty(_defineProperty(_defineProperty({}, "".concat(componentCls), _defineProperty({
|
|
13
13
|
lineHeight: 'inherit',
|
|
14
14
|
color: 'inherit',
|
|
15
15
|
fontSize: 'inherit'
|
|
16
|
-
}
|
|
17
|
-
lineHeight: 'inherit',
|
|
18
|
-
color: 'inherit',
|
|
19
|
-
fontSize: 'inherit'
|
|
20
|
-
}), "".concat(componentCls), _defineProperty({}, "".concat(componentCls, "-edit"), {
|
|
16
|
+
}, "".concat(componentCls, "-edit"), {
|
|
21
17
|
fontSize: token.fontSize
|
|
22
18
|
})), "".concat(componentCls).concat(componentCls, "-editable-text:not(").concat(componentCls, "-edit-content)"), {
|
|
23
19
|
'&:hover': {
|
package/lib/_util/genStyle.d.ts
CHANGED
|
@@ -1,4 +1,2 @@
|
|
|
1
1
|
import type { CSSObject } from '@ant-design/cssinjs';
|
|
2
|
-
import type { FullToken } from 'antd/es/theme/internal';
|
|
3
2
|
export declare const genCompactStyle: (componentCls: string, subComponentCls?: string) => CSSObject;
|
|
4
|
-
export declare const genLargeStyle: (token: FullToken<any>) => CSSObject;
|