@oceanbase/design 1.0.0-alpha.0 → 1.0.0-alpha.2
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/badge/style/index.js +7 -10
- package/es/card/index.js +5 -1
- package/es/card/style/index.js +8 -2
- package/es/descriptions/style/index.js +4 -2
- package/es/form/FormItem.d.ts +1 -1
- package/es/table/style/index.js +1 -3
- package/es/tabs/style/index.js +1 -2
- package/es/theme/default.js +54 -50
- package/es/theme/style/aliyun.less +86 -86
- package/es/theme/style/compact.less +110 -110
- package/es/theme/style/dark.less +103 -103
- package/es/theme/style/default.less +113 -113
- package/lib/badge/style/index.js +6 -7
- package/lib/card/index.js +5 -0
- package/lib/card/style/index.js +10 -0
- package/lib/descriptions/style/index.js +6 -1
- package/lib/form/FormItem.d.ts +1 -1
- package/lib/table/style/index.js +2 -4
- package/lib/tabs/style/index.js +1 -2
- package/lib/theme/default.js +52 -50
- package/lib/theme/style/aliyun.less +86 -86
- package/lib/theme/style/compact.less +110 -110
- package/lib/theme/style/dark.less +103 -103
- package/lib/theme/style/default.less +113 -113
- package/package.json +8 -8
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
@blue: #0e5fd1;
|
|
2
2
|
@purple: #722ED1;
|
|
3
3
|
@cyan: #13C2C2;
|
|
4
|
-
@green: #
|
|
4
|
+
@green: #149f71;
|
|
5
5
|
@magenta: #EB2F96;
|
|
6
6
|
@pink: #EB2F96;
|
|
7
|
-
@red: #
|
|
7
|
+
@red: #ce3c3c;
|
|
8
8
|
@orange: #FA8C16;
|
|
9
|
-
@yellow: #
|
|
9
|
+
@yellow: #d28a22;
|
|
10
10
|
@volcano: #FA541C;
|
|
11
11
|
@geekblue: #2F54EB;
|
|
12
12
|
@gold: #FAAD14;
|
|
13
13
|
@lime: #A0D911;
|
|
14
14
|
@colorPrimary: #0e5fd1;
|
|
15
|
-
@colorSuccess: #
|
|
16
|
-
@colorWarning: #
|
|
17
|
-
@colorError: #
|
|
15
|
+
@colorSuccess: #149f71;
|
|
16
|
+
@colorWarning: #d28a22;
|
|
17
|
+
@colorError: #ce3c3c;
|
|
18
18
|
@colorInfo: #0e5fd1;
|
|
19
19
|
@colorLink: #0e5fd1;
|
|
20
20
|
@colorTextBase: #fff;
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
@sizeUnit: 4px;
|
|
39
39
|
@sizeStep: 4px;
|
|
40
40
|
@sizePopupArrow: 16px;
|
|
41
|
-
@controlHeight:
|
|
41
|
+
@controlHeight: 28px;
|
|
42
42
|
@zIndexBase: 0;
|
|
43
43
|
@zIndexPopupBase: 1000;
|
|
44
44
|
@opacityImage: 1;
|
|
@@ -104,26 +104,26 @@
|
|
|
104
104
|
@cyan9: #84e2d8;
|
|
105
105
|
@cyan-10: #b2f1e8;
|
|
106
106
|
@cyan10: #b2f1e8;
|
|
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: #11211d;
|
|
108
|
+
@green1: #11211d;
|
|
109
|
+
@green-2: #113329;
|
|
110
|
+
@green2: #113329;
|
|
111
|
+
@green-3: #144535;
|
|
112
|
+
@green3: #144535;
|
|
113
|
+
@green-4: #145d45;
|
|
114
|
+
@green4: #145d45;
|
|
115
|
+
@green-5: #147e5b;
|
|
116
|
+
@green5: #147e5b;
|
|
117
|
+
@green-6: #149f71;
|
|
118
|
+
@green6: #149f71;
|
|
119
|
+
@green-7: #32b284;
|
|
120
|
+
@green7: #32b284;
|
|
121
|
+
@green-8: #57c89a;
|
|
122
|
+
@green8: #57c89a;
|
|
123
|
+
@green-9: #80d8b1;
|
|
124
|
+
@green9: #80d8b1;
|
|
125
|
+
@green-10: #ade7cb;
|
|
126
|
+
@green10: #ade7cb;
|
|
127
127
|
@magenta-1: #291321;
|
|
128
128
|
@magenta1: #291321;
|
|
129
129
|
@magenta-2: #40162f;
|
|
@@ -164,26 +164,26 @@
|
|
|
164
164
|
@pink9: #f8a8cc;
|
|
165
165
|
@pink-10: #fad2e3;
|
|
166
166
|
@pink10: #fad2e3;
|
|
167
|
-
@red-1: #
|
|
168
|
-
@red1: #
|
|
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: #
|
|
167
|
+
@red-1: #291517;
|
|
168
|
+
@red1: #291517;
|
|
169
|
+
@red-2: #411b1c;
|
|
170
|
+
@red2: #411b1c;
|
|
171
|
+
@red-3: #562222;
|
|
172
|
+
@red3: #562222;
|
|
173
|
+
@red-4: #772929;
|
|
174
|
+
@red4: #772929;
|
|
175
|
+
@red-5: #a23333;
|
|
176
|
+
@red5: #a23333;
|
|
177
|
+
@red-6: #ce3c3c;
|
|
178
|
+
@red6: #ce3c3c;
|
|
179
|
+
@red-7: #e56a66;
|
|
180
|
+
@red7: #e56a66;
|
|
181
|
+
@red-8: #f39992;
|
|
182
|
+
@red8: #f39992;
|
|
183
|
+
@red-9: #f8c3bd;
|
|
184
|
+
@red9: #f8c3bd;
|
|
185
|
+
@red-10: #fae9e7;
|
|
186
|
+
@red10: #fae9e7;
|
|
187
187
|
@orange-1: #2b1d11;
|
|
188
188
|
@orange1: #2b1d11;
|
|
189
189
|
@orange-2: #442a11;
|
|
@@ -204,26 +204,26 @@
|
|
|
204
204
|
@orange9: #f8cf8d;
|
|
205
205
|
@orange-10: #fae3b7;
|
|
206
206
|
@orange10: #fae3b7;
|
|
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: #2a1f12;
|
|
208
|
+
@yellow1: #2a1f12;
|
|
209
|
+
@yellow-2: #432e14;
|
|
210
|
+
@yellow2: #432e14;
|
|
211
|
+
@yellow-3: #573e19;
|
|
212
|
+
@yellow3: #573e19;
|
|
213
|
+
@yellow-4: #79531c;
|
|
214
|
+
@yellow4: #79531c;
|
|
215
|
+
@yellow-5: #a66e1f;
|
|
216
|
+
@yellow5: #a66e1f;
|
|
217
|
+
@yellow-6: #d28a22;
|
|
218
|
+
@yellow6: #d28a22;
|
|
219
|
+
@yellow-7: #e8ab49;
|
|
220
|
+
@yellow7: #e8ab49;
|
|
221
|
+
@yellow-8: #f3c773;
|
|
222
|
+
@yellow8: #f3c773;
|
|
223
|
+
@yellow-9: #f8db9d;
|
|
224
|
+
@yellow9: #f8db9d;
|
|
225
|
+
@yellow-10: #faecc5;
|
|
226
|
+
@yellow10: #faecc5;
|
|
227
227
|
@volcano-1: #2b1611;
|
|
228
228
|
@volcano1: #2b1611;
|
|
229
229
|
@volcano-2: #441d12;
|
|
@@ -331,35 +331,35 @@
|
|
|
331
331
|
@colorPrimaryTextHover: #3384e8;
|
|
332
332
|
@colorPrimaryText: #0e5fd1;
|
|
333
333
|
@colorPrimaryTextActive: #0f4da4;
|
|
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: #
|
|
334
|
+
@colorSuccessBg: #11211d;
|
|
335
|
+
@colorSuccessBgHover: #113329;
|
|
336
|
+
@colorSuccessBorder: #144535;
|
|
337
|
+
@colorSuccessBorderHover: #145d45;
|
|
338
|
+
@colorSuccessHover: #145d45;
|
|
339
|
+
@colorSuccessActive: #147e5b;
|
|
340
|
+
@colorSuccessTextHover: #32b284;
|
|
341
|
+
@colorSuccessText: #149f71;
|
|
342
|
+
@colorSuccessTextActive: #147e5b;
|
|
343
|
+
@colorErrorBg: #291517;
|
|
344
|
+
@colorErrorBgHover: #411b1c;
|
|
345
|
+
@colorErrorBgFilledHover: #401c1d;
|
|
346
|
+
@colorErrorBgActive: #562222;
|
|
347
|
+
@colorErrorBorder: #562222;
|
|
348
|
+
@colorErrorBorderHover: #772929;
|
|
349
|
+
@colorErrorHover: #e56a66;
|
|
350
|
+
@colorErrorActive: #a23333;
|
|
351
|
+
@colorErrorTextHover: #e56a66;
|
|
352
|
+
@colorErrorText: #ce3c3c;
|
|
353
|
+
@colorErrorTextActive: #a23333;
|
|
354
|
+
@colorWarningBg: #2a1f12;
|
|
355
|
+
@colorWarningBgHover: #432e14;
|
|
356
|
+
@colorWarningBorder: #573e19;
|
|
357
|
+
@colorWarningBorderHover: #79531c;
|
|
358
|
+
@colorWarningHover: #79531c;
|
|
359
|
+
@colorWarningActive: #a66e1f;
|
|
360
|
+
@colorWarningTextHover: #e8ab49;
|
|
361
|
+
@colorWarningText: #d28a22;
|
|
362
|
+
@colorWarningTextActive: #a66e1f;
|
|
363
363
|
@colorInfoBg: #111a2a;
|
|
364
364
|
@colorInfoBgHover: #0f2342;
|
|
365
365
|
@colorInfoBorder: #122e57;
|
|
@@ -401,9 +401,9 @@
|
|
|
401
401
|
@sizeSM: 12px;
|
|
402
402
|
@sizeXS: 8px;
|
|
403
403
|
@sizeXXS: 4px;
|
|
404
|
-
@controlHeightSM:
|
|
405
|
-
@controlHeightXS:
|
|
406
|
-
@controlHeightLG:
|
|
404
|
+
@controlHeightSM: 21px;
|
|
405
|
+
@controlHeightXS: 14px;
|
|
406
|
+
@controlHeightLG: 35px;
|
|
407
407
|
@motionDurationFast: 0.1s;
|
|
408
408
|
@motionDurationMid: 0.2s;
|
|
409
409
|
@motionDurationSlow: 0.3s;
|
|
@@ -424,17 +424,17 @@
|
|
|
424
424
|
@colorTextLabel: rgba(255,255,255,0.65);
|
|
425
425
|
@colorTextDescription: rgba(255,255,255,0.45);
|
|
426
426
|
@colorTextLightSolid: #fff;
|
|
427
|
-
@colorHighlight: #
|
|
427
|
+
@colorHighlight: #ce3c3c;
|
|
428
428
|
@colorBgTextHover: rgba(255,255,255,0.12);
|
|
429
429
|
@colorBgTextActive: rgba(255,255,255,0.18);
|
|
430
430
|
@colorIcon: rgba(255,255,255,0.45);
|
|
431
431
|
@colorIconHover: rgba(255,255,255,0.85);
|
|
432
|
-
@colorErrorOutline: rgba(
|
|
433
|
-
@colorWarningOutline: rgba(
|
|
432
|
+
@colorErrorOutline: rgba(253,31,53,0.09);
|
|
433
|
+
@colorWarningOutline: rgba(240,130,0,0.1);
|
|
434
434
|
@fontSizeIcon: 10px;
|
|
435
435
|
@lineWidthFocus: 3px;
|
|
436
436
|
@controlOutlineWidth: 2px;
|
|
437
|
-
@controlInteractiveSize:
|
|
437
|
+
@controlInteractiveSize: 14px;
|
|
438
438
|
@controlItemBgHover: rgba(255,255,255,0.08);
|
|
439
439
|
@controlItemBgActive: #122e57;
|
|
440
440
|
@controlItemBgActiveHover: #113c78;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
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
14
|
@colorPrimary: #0d6cf2;
|
|
15
|
-
@colorSuccess: #
|
|
16
|
-
@colorWarning: #
|
|
17
|
-
@colorError: #
|
|
15
|
+
@colorSuccess: #14b781;
|
|
16
|
+
@colorWarning: #f49f25;
|
|
17
|
+
@colorError: #ef4343;
|
|
18
18
|
@colorInfo: #0d6cf2;
|
|
19
19
|
@colorLink: #0d6cf2;
|
|
20
20
|
@colorTextBase: #000000;
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
@sizeUnit: 4px;
|
|
39
39
|
@sizeStep: 4px;
|
|
40
40
|
@sizePopupArrow: 16px;
|
|
41
|
-
@controlHeight:
|
|
41
|
+
@controlHeight: 28px;
|
|
42
42
|
@zIndexBase: 0;
|
|
43
43
|
@zIndexPopupBase: 1000;
|
|
44
44
|
@opacityImage: 1;
|
|
@@ -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;
|
|
@@ -331,56 +331,56 @@
|
|
|
331
331
|
@colorPrimaryTextHover: #3690ff;
|
|
332
332
|
@colorPrimaryText: #0d6cf2;
|
|
333
333
|
@colorPrimaryTextActive: #004ecc;
|
|
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: #
|
|
363
|
-
@colorInfoBg: #
|
|
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
|
+
@colorInfoBg: #eaf1ff;
|
|
364
364
|
@colorInfoBgHover: #b0dbff;
|
|
365
|
-
@colorInfoBorder: #
|
|
365
|
+
@colorInfoBorder: #598cf3;
|
|
366
366
|
@colorInfoBorderHover: #5eacff;
|
|
367
367
|
@colorInfoHover: #5eacff;
|
|
368
368
|
@colorInfoActive: #004ecc;
|
|
369
369
|
@colorInfoTextHover: #3690ff;
|
|
370
|
-
@colorInfoText: #
|
|
370
|
+
@colorInfoText: #083e8b;
|
|
371
371
|
@colorInfoTextActive: #004ecc;
|
|
372
372
|
@colorLinkHover: #5eacff;
|
|
373
373
|
@colorLinkActive: #004ecc;
|
|
374
374
|
@colorBgMask: rgba(19, 32, 57, 0.45);
|
|
375
375
|
@colorWhite: #fff;
|
|
376
|
-
@fontSizeSM:
|
|
377
|
-
@fontSizeLG:
|
|
376
|
+
@fontSizeSM: 12px;
|
|
377
|
+
@fontSizeLG: 16px;
|
|
378
378
|
@fontSizeXL: 18px;
|
|
379
|
-
@fontSizeHeading1:
|
|
380
|
-
@fontSizeHeading2:
|
|
381
|
-
@fontSizeHeading3:
|
|
382
|
-
@fontSizeHeading4:
|
|
383
|
-
@fontSizeHeading5:
|
|
379
|
+
@fontSizeHeading1: 24px;
|
|
380
|
+
@fontSizeHeading2: 20px;
|
|
381
|
+
@fontSizeHeading3: 18px;
|
|
382
|
+
@fontSizeHeading4: 16px;
|
|
383
|
+
@fontSizeHeading5: 13px;
|
|
384
384
|
@lineHeight: 1.6153846153846154;
|
|
385
385
|
@lineHeightLG: 1.5714285714285714;
|
|
386
386
|
@lineHeightSM: 1.8;
|
|
@@ -401,9 +401,9 @@
|
|
|
401
401
|
@sizeSM: 12px;
|
|
402
402
|
@sizeXS: 8px;
|
|
403
403
|
@sizeXXS: 4px;
|
|
404
|
-
@controlHeightSM:
|
|
405
|
-
@controlHeightXS:
|
|
406
|
-
@controlHeightLG:
|
|
404
|
+
@controlHeightSM: 21px;
|
|
405
|
+
@controlHeightXS: 14px;
|
|
406
|
+
@controlHeightLG: 35px;
|
|
407
407
|
@motionDurationFast: 0.1s;
|
|
408
408
|
@motionDurationMid: 0.2s;
|
|
409
409
|
@motionDurationSlow: 0.3s;
|
|
@@ -412,6 +412,7 @@
|
|
|
412
412
|
@borderRadiusSM: 2px;
|
|
413
413
|
@borderRadiusLG: 8px;
|
|
414
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);
|
|
@@ -428,16 +429,15 @@
|
|
|
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:
|
|
436
|
+
@colorErrorOutline: rgba(230,17,17,0.08);
|
|
437
|
+
@colorWarningOutline: rgba(244,155,11,0.09);
|
|
438
|
+
@fontSizeIcon: 12px;
|
|
439
439
|
@controlOutlineWidth: 2px;
|
|
440
|
-
@controlInteractiveSize:
|
|
440
|
+
@controlInteractiveSize: 14px;
|
|
441
441
|
@controlItemBgHover: #f3f6fc;
|
|
442
442
|
@controlItemBgActive: #e6f4ff;
|
|
443
443
|
@controlItemBgActiveHover: #b0dbff;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oceanbase/design",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.2",
|
|
4
4
|
"description": "The Design System of OceanBase",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"oceanbase",
|
|
@@ -39,13 +39,13 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@ant-design/cssinjs": "^1.24.0",
|
|
42
|
-
"@ctrl/tinycolor": "^4.
|
|
42
|
+
"@ctrl/tinycolor": "^4.2.0",
|
|
43
43
|
"@inline-svg-unique-id/react": "^1.2.3",
|
|
44
44
|
"@oceanbase/aliyun-theme": "^0.1.6",
|
|
45
|
-
"@oceanbase/icons": "^0.
|
|
46
|
-
"@oceanbase/util": "^0.
|
|
45
|
+
"@oceanbase/icons": "^1.0.0-alpha.0",
|
|
46
|
+
"@oceanbase/util": "^1.0.0-alpha.1",
|
|
47
47
|
"ahooks": "^2.10.14",
|
|
48
|
-
"antd": "^5.27.
|
|
48
|
+
"antd": "^5.27.4",
|
|
49
49
|
"classnames": "^2.5.1",
|
|
50
50
|
"lodash": "^4.17.21",
|
|
51
51
|
"lottie-web": "^5.13.0",
|
|
@@ -57,13 +57,13 @@
|
|
|
57
57
|
"@babel/preset-env": "^7.28.3",
|
|
58
58
|
"antd-token-previewer": "^2.0.8",
|
|
59
59
|
"rc-select": "^14.16.8",
|
|
60
|
-
"rc-slider": "^11.1.
|
|
61
|
-
"rc-table": "^7.
|
|
60
|
+
"rc-slider": "^11.1.9",
|
|
61
|
+
"rc-table": "^7.54.0",
|
|
62
62
|
"rc-tree-select": "^5.27.0"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
65
|
"react": ">=16.9.0",
|
|
66
66
|
"react-dom": ">=16.9.0"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "72910b1a2b037811f3ed5561ee5e897d7b744135"
|
|
69
69
|
}
|