@oceanbase/design 1.0.0-alpha.0 → 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.
@@ -1,20 +1,20 @@
1
1
  @blue: #0e5fd1;
2
2
  @purple: #722ED1;
3
3
  @cyan: #13C2C2;
4
- @green: #0ca774;
4
+ @green: #149f71;
5
5
  @magenta: #EB2F96;
6
6
  @pink: #EB2F96;
7
- @red: #d73333;
7
+ @red: #ce3c3c;
8
8
  @orange: #FA8C16;
9
- @yellow: #dc8d19;
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: #0ca774;
16
- @colorWarning: #dc8d19;
17
- @colorError: #d73333;
15
+ @colorSuccess: #149f71;
16
+ @colorWarning: #d28a22;
17
+ @colorError: #ce3c3c;
18
18
  @colorInfo: #0e5fd1;
19
19
  @colorLink: #0e5fd1;
20
20
  @colorTextBase: #fff;
@@ -104,26 +104,26 @@
104
104
  @cyan9: #84e2d8;
105
105
  @cyan-10: #b2f1e8;
106
106
  @cyan10: #b2f1e8;
107
- @green-1: #11231e;
108
- @green1: #11231e;
109
- @green-2: #0f362a;
110
- @green2: #0f362a;
111
- @green-3: #114836;
112
- @green3: #114836;
113
- @green-4: #106247;
114
- @green4: #106247;
115
- @green-5: #0e845d;
116
- @green5: #0e845d;
117
- @green-6: #0ca774;
118
- @green6: #0ca774;
119
- @green-7: #29bc86;
120
- @green7: #29bc86;
121
- @green-8: #4ed19d;
122
- @green8: #4ed19d;
123
- @green-9: #78e2b4;
124
- @green9: #78e2b4;
125
- @green-10: #a6f1cd;
126
- @green10: #a6f1cd;
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: #2b1416;
168
- @red1: #2b1416;
169
- @red-2: #44191a;
170
- @red2: #44191a;
171
- @red-3: #591f1f;
172
- @red3: #591f1f;
173
- @red-4: #7b2525;
174
- @red4: #7b2525;
175
- @red-5: #a92c2c;
176
- @red5: #a92c2c;
177
- @red-6: #d73333;
178
- @red6: #d73333;
179
- @red-7: #e8615b;
180
- @red7: #e8615b;
181
- @red-8: #f38e86;
182
- @red8: #f38e86;
183
- @red-9: #f8b7b0;
184
- @red9: #f8b7b0;
185
- @red-10: #fadeda;
186
- @red10: #fadeda;
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: #2c1f11;
208
- @yellow1: #2c1f11;
209
- @yellow-2: #452f12;
210
- @yellow2: #452f12;
211
- @yellow-3: #5b3f16;
212
- @yellow3: #5b3f16;
213
- @yellow-4: #7e5417;
214
- @yellow4: #7e5417;
215
- @yellow-5: #ad7018;
216
- @yellow5: #ad7018;
217
- @yellow-6: #dc8d19;
218
- @yellow6: #dc8d19;
219
- @yellow-7: #e8a93d;
220
- @yellow7: #e8a93d;
221
- @yellow-8: #f3c567;
222
- @yellow8: #f3c567;
223
- @yellow-9: #f8d990;
224
- @yellow9: #f8d990;
225
- @yellow-10: #fae9ba;
226
- @yellow10: #fae9ba;
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: #11231e;
335
- @colorSuccessBgHover: #0f362a;
336
- @colorSuccessBorder: #114836;
337
- @colorSuccessBorderHover: #106247;
338
- @colorSuccessHover: #106247;
339
- @colorSuccessActive: #0e845d;
340
- @colorSuccessTextHover: #29bc86;
341
- @colorSuccessText: #0ca774;
342
- @colorSuccessTextActive: #0e845d;
343
- @colorErrorBg: #2b1416;
344
- @colorErrorBgHover: #44191a;
345
- @colorErrorBgFilledHover: #421a1b;
346
- @colorErrorBgActive: #591f1f;
347
- @colorErrorBorder: #591f1f;
348
- @colorErrorBorderHover: #7b2525;
349
- @colorErrorHover: #e8615b;
350
- @colorErrorActive: #a92c2c;
351
- @colorErrorTextHover: #e8615b;
352
- @colorErrorText: #d73333;
353
- @colorErrorTextActive: #a92c2c;
354
- @colorWarningBg: #2c1f11;
355
- @colorWarningBgHover: #452f12;
356
- @colorWarningBorder: #5b3f16;
357
- @colorWarningBorderHover: #7e5417;
358
- @colorWarningHover: #7e5417;
359
- @colorWarningActive: #ad7018;
360
- @colorWarningTextHover: #e8a93d;
361
- @colorWarningText: #dc8d19;
362
- @colorWarningTextActive: #ad7018;
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;
@@ -424,13 +424,13 @@
424
424
  @colorTextLabel: rgba(255,255,255,0.65);
425
425
  @colorTextDescription: rgba(255,255,255,0.45);
426
426
  @colorTextLightSolid: #fff;
427
- @colorHighlight: #d73333;
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(250,20,40,0.1);
433
- @colorWarningOutline: rgba(180,93,0,0.15);
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;
@@ -1,20 +1,20 @@
1
1
  @blue: #0d6cf2;
2
2
  @purple: #722ED1;
3
3
  @cyan: #13C2C2;
4
- @green: #0ac185;
4
+ @green: #14b781;
5
5
  @magenta: #EB2F96;
6
6
  @pink: #EB2F96;
7
- @red: #f93939;
7
+ @red: #ef4343;
8
8
  @orange: #FA8C16;
9
- @yellow: #ffa21a;
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: #0ac185;
16
- @colorWarning: #ffa21a;
17
- @colorError: #f93939;
15
+ @colorSuccess: #14b781;
16
+ @colorWarning: #f49f25;
17
+ @colorError: #ef4343;
18
18
  @colorInfo: #0d6cf2;
19
19
  @colorLink: #0d6cf2;
20
20
  @colorTextBase: #000000;
@@ -104,26 +104,26 @@
104
104
  @cyan9: #00474f;
105
105
  @cyan-10: #002329;
106
106
  @cyan10: #002329;
107
- @green-1: #e6fff2;
108
- @green1: #e6fff2;
109
- @green-2: #a9f5d1;
110
- @green2: #a9f5d1;
111
- @green-3: #7be8b9;
112
- @green3: #7be8b9;
113
- @green-4: #51dba4;
114
- @green4: #51dba4;
115
- @green-5: #2bcf93;
116
- @green5: #2bcf93;
117
- @green-6: #0ac185;
118
- @green6: #0ac185;
119
- @green-7: #009c6d;
120
- @green7: #009c6d;
121
- @green-8: #007556;
122
- @green8: #007556;
123
- @green-9: #004f3d;
124
- @green9: #004f3d;
125
- @green-10: #002921;
126
- @green10: #002921;
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: #ffe2de;
170
- @red2: #ffe2de;
171
- @red-3: #ffbcb5;
172
- @red3: #ffbcb5;
173
- @red-4: #ff948c;
174
- @red4: #ff948c;
175
- @red-5: #ff6963;
176
- @red5: #ff6963;
177
- @red-6: #f93939;
178
- @red6: #f93939;
179
- @red-7: #d4262c;
180
- @red7: #d4262c;
181
- @red-8: #ad1721;
182
- @red8: #ad1721;
183
- @red-9: #870b17;
184
- @red9: #870b17;
185
- @red-10: #610713;
186
- @red10: #610713;
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: #fff9e6;
208
- @yellow1: #fff9e6;
209
- @yellow-2: #ffedbd;
210
- @yellow2: #ffedbd;
211
- @yellow-3: #ffdf94;
212
- @yellow3: #ffdf94;
213
- @yellow-4: #ffce6b;
214
- @yellow4: #ffce6b;
215
- @yellow-5: #ffba42;
216
- @yellow5: #ffba42;
217
- @yellow-6: #ffa21a;
218
- @yellow6: #ffa21a;
219
- @yellow-7: #d9800b;
220
- @yellow7: #d9800b;
221
- @yellow-8: #b35f00;
222
- @yellow8: #b35f00;
223
- @yellow-9: #8c4600;
224
- @yellow9: #8c4600;
225
- @yellow-10: #663000;
226
- @yellow10: #663000;
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,49 +331,49 @@
331
331
  @colorPrimaryTextHover: #3690ff;
332
332
  @colorPrimaryText: #0d6cf2;
333
333
  @colorPrimaryTextActive: #004ecc;
334
- @colorSuccessBg: #eef8f5;
335
- @colorSuccessBgHover: #dbf0e9;
336
- @colorSuccessBorder: #b3e6d5;
337
- @colorSuccessBorderHover: #4dcca2;
338
- @colorSuccessHover: #4dcca2;
339
- @colorSuccessActive: #00b378;
340
- @colorSuccessTextHover: #4dcca2;
341
- @colorSuccessText: #0ac185;
342
- @colorSuccessTextActive: #00b378;
343
- @colorErrorBg: #ffebeb;
344
- @colorErrorBgHover: #ffd6d6;
345
- @colorErrorBgFilledHover: #ffd7d3;
346
- @colorErrorBgActive: #ffbcb5;
347
- @colorErrorBorder: #ffb3b3;
348
- @colorErrorBorderHover: #ff7575;
349
- @colorErrorHover: #ff7575;
350
- @colorErrorActive: #cc0000;
351
- @colorErrorTextHover: #ff7575;
352
- @colorErrorText: #ff1a1a;
353
- @colorErrorTextActive: #cc0000;
354
- @colorWarningBg: #fff5e5;
355
- @colorWarningBgHover: #ffe7c2;
356
- @colorWarningBorder: #ffd699;
357
- @colorWarningBorderHover: #ffc166;
358
- @colorWarningHover: #ffc166;
359
- @colorWarningActive: #ff9700;
360
- @colorWarningTextHover: #ffc166;
361
- @colorWarningText: #ffa21a;
362
- @colorWarningTextActive: #ff9700;
363
- @colorInfoBg: #e6f4ff;
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: #87c5ff;
365
+ @colorInfoBorder: #598cf3;
366
366
  @colorInfoBorderHover: #5eacff;
367
367
  @colorInfoHover: #5eacff;
368
368
  @colorInfoActive: #004ecc;
369
369
  @colorInfoTextHover: #3690ff;
370
- @colorInfoText: #0d6cf2;
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: 11px;
376
+ @fontSizeSM: 12px;
377
377
  @fontSizeLG: 14px;
378
378
  @fontSizeXL: 18px;
379
379
  @fontSizeHeading1: 34px;
@@ -410,8 +410,9 @@
410
410
  @lineWidthBold: 2px;
411
411
  @borderRadiusXS: 1px;
412
412
  @borderRadiusSM: 2px;
413
- @borderRadiusLG: 8px;
413
+ @borderRadiusLG: 6px;
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,14 +429,13 @@
428
429
  @colorTextLabel: #5c6b8a;
429
430
  @colorTextDescription: #8592ad;
430
431
  @colorTextLightSolid: #fff;
431
- @colorHighlight: #f93939;
432
+ @colorHighlight: #ef4343;
432
433
  @colorBgTextHover: #e2e8f3;
433
434
  @colorBgTextActive: #cdd5e4;
434
- @colorIcon: #8592ad;
435
435
  @colorIconHover: #132039;
436
- @colorErrorOutline: rgba(255,5,5,0.08);
437
- @colorWarningOutline: rgba(255,164,19,0.11);
438
- @fontSizeIcon: 11px;
436
+ @colorErrorOutline: rgba(230,17,17,0.08);
437
+ @colorWarningOutline: rgba(244,155,11,0.09);
438
+ @fontSizeIcon: 12px;
439
439
  @controlOutlineWidth: 2px;
440
440
  @controlInteractiveSize: 16px;
441
441
  @controlItemBgHover: #f3f6fc;
@@ -4,7 +4,7 @@ import type { FormItemProps as AntFormItemProps } from 'antd/es/form';
4
4
  import type { TooltipProps } from '../tooltip';
5
5
  declare const AntFormItem: (<Values = any>(props: AntFormItemProps<Values>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & {
6
6
  useStatus: () => {
7
- status?: "" | "warning" | "error" | "success" | "validating";
7
+ status?: "" | "error" | "warning" | "success" | "validating";
8
8
  errors: React.ReactNode[];
9
9
  warnings: React.ReactNode[];
10
10
  };
@@ -27,7 +27,10 @@ var import_format = require("./util/format");
27
27
  var colorPrimary = "#0D6CF2";
28
28
  var colorPrimarySecondary = "#598CF3";
29
29
  var colorText = "#132039";
30
- var colorTextSecondary = "#5c6b8a";
30
+ var colorTextSecondary = "#5C6B8A";
31
+ var colorTextTertiary = "#8592AD";
32
+ var colorTextQuaternary = "#C1CBE0";
33
+ var colorFill = "#CDD5E4";
31
34
  var colorFillSecondary = "#E2E8F3";
32
35
  var colorFillTertiary = "#F3F6FC";
33
36
  var colorFillQuaternary = "#F8FAFE";
@@ -39,56 +42,42 @@ var defaultTheme = {
39
42
  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'`,
40
43
  fontFamilyCode: `Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace`,
41
44
  borderRadius: 4,
42
- borderRadiusLG: 8,
45
+ borderRadiusLG: 6,
43
46
  borderRadiusSM: 2,
44
47
  fontSize: 13,
45
- fontSizeSM: 11,
48
+ fontSizeSM: 12,
46
49
  colorPrimary,
47
50
  colorInfo: colorPrimary,
48
- colorSuccess: "#0ac185",
49
- colorSuccessBg: "#EEF8F5",
50
- colorSuccessBgHover: "#dbf0e9",
51
- colorSuccessBorder: "#B3E6D5",
52
- colorSuccessBorderHover: "#4DCCA2",
53
- colorSuccessHover: "#4DCCA2",
54
- colorSuccessActive: "#00B378",
55
- colorSuccessTextHover: "#4DCCA2",
56
- colorSuccessText: "#0AC185",
57
- colorSuccessTextActive: "#00B378",
58
- colorWarning: "#FFA21A",
59
- colorWarningBg: "#FFF5E5",
60
- colorWarningBgHover: "#ffe7c2",
61
- colorWarningBorder: "#FFD699",
62
- colorWarningBorderHover: "#FFC166",
63
- colorWarningHover: "#FFC166",
64
- colorWarningActive: "#FF9700",
65
- colorWarningTextHover: "#FFC166",
66
- colorWarningText: "#FFA21A",
67
- colorWarningTextActive: "#FF9700",
68
- colorErrorBg: "#ffebeb",
69
- colorErrorBgHover: "#ffd6d6",
70
- colorErrorBorder: "#FFB3B3",
71
- colorErrorBorderHover: "#ff7575",
72
- colorErrorHover: "#ff7575",
73
- colorErrorActive: "#CC0000",
74
- colorErrorTextHover: "#ff7575",
75
- colorErrorText: "#ff1a1a",
76
- colorErrorTextActive: "#CC0000",
77
- colorError: "#F93939",
51
+ colorInfoBorder: "#598CF3",
52
+ colorInfoBg: "#EAF1FF",
53
+ colorInfoText: "#083E8B",
54
+ colorSuccess: "#14B781",
55
+ colorSuccessBorder: "#7ED7BA",
56
+ colorSuccessBg: "#E8F8F3",
57
+ colorSuccessText: "#096547",
58
+ colorWarning: "#F49F25",
59
+ colorWarningBorder: "#F9CB87",
60
+ colorWarningBg: "#FEF6E9",
61
+ colorWarningText: "#5B3600",
62
+ colorError: "#EF4343",
63
+ colorErrorBorder: "#F69898",
64
+ colorErrorBg: "#FDECEC",
65
+ colorErrorText: "#8A1B1B",
78
66
  colorTextBase: "#000000",
79
67
  colorText,
80
68
  colorTextSecondary,
81
- colorTextQuaternary: "#c1cbe0",
82
- colorTextTertiary: "#8592AD",
69
+ colorTextTertiary,
70
+ colorTextQuaternary,
71
+ colorIcon: colorTextSecondary,
83
72
  colorBgBase: "#ffffff",
84
73
  colorBgContainer: "#ffffff",
85
74
  colorBgLayout: colorFillQuaternary,
86
- colorBorder: "#CDD5E4",
75
+ colorBorder: colorFill,
87
76
  colorBorderSecondary,
88
- colorFillQuaternary,
89
- colorFillTertiary,
77
+ colorFill,
90
78
  colorFillSecondary,
91
- colorFill: "#cdd5e4",
79
+ colorFillTertiary,
80
+ colorFillQuaternary,
92
81
  colorBgMask: "rgba(19, 32, 57, 0.45)",
93
82
  colorBgElevated: "#ffffff",
94
83
  colorBgSpotlight: "#ffffff",
@@ -110,6 +99,10 @@ var defaultTheme = {
110
99
  fontHeight: 20,
111
100
  lastItemColor: colorTextSecondary
112
101
  },
102
+ Card: {
103
+ headerFontSize: 16,
104
+ borderRadiusLG: 8
105
+ },
113
106
  Collapse: {
114
107
  colorBorder: colorBorderSecondary
115
108
  },
@@ -162,17 +155,15 @@ var defaultTheme = {
162
155
  colorBgSpotlight: "#ffffff",
163
156
  colorTextLightSolid: colorText
164
157
  },
165
- Card: {
166
- borderRadiusLG: 8
167
- },
168
158
  Menu: {
169
159
  paddingContentVertical: 0,
170
160
  itemHeight: 30,
171
161
  itemBorderRadius: 4,
172
162
  // 80 means 50% opacity
173
- itemSelectedBg: colorFillSecondary + "80",
174
163
  itemHoverBg: colorFillSecondary + "80",
175
- itemColor: colorTextSecondary,
164
+ itemActiveBg: colorFillSecondary + "80",
165
+ itemSelectedBg: colorFillSecondary + "80",
166
+ itemColor: "#36496F",
176
167
  itemSelectedColor: colorText,
177
168
  itemMarginBlock: 6,
178
169
  groupTitleFontSize: 11