@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.
@@ -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;
@@ -38,7 +38,7 @@
38
38
  @sizeUnit: 4px;
39
39
  @sizeStep: 4px;
40
40
  @sizePopupArrow: 16px;
41
- @controlHeight: 32px;
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: #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,56 +331,56 @@
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;
377
- @fontSizeLG: 14px;
376
+ @fontSizeSM: 12px;
377
+ @fontSizeLG: 16px;
378
378
  @fontSizeXL: 18px;
379
- @fontSizeHeading1: 34px;
380
- @fontSizeHeading2: 28px;
381
- @fontSizeHeading3: 22px;
382
- @fontSizeHeading4: 18px;
383
- @fontSizeHeading5: 14px;
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: 24px;
405
- @controlHeightXS: 16px;
406
- @controlHeightLG: 40px;
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: #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
- @controlInteractiveSize: 16px;
440
+ @controlInteractiveSize: 14px;
441
441
  @controlItemBgHover: #f3f6fc;
442
442
  @controlItemBgActive: #e6f4ff;
443
443
  @controlItemBgActiveHover: #b0dbff;
@@ -26,17 +26,15 @@ module.exports = __toCommonJS(style_exports);
26
26
  var import_genComponentStyleHook = require("../../_util/genComponentStyleHook");
27
27
  var genBadgeStyle = (token) => {
28
28
  const { componentCls } = token;
29
- const dotSize = token.fontSizeLG / 2;
30
29
  return {
31
30
  [`${componentCls}`]: {
32
- // inherit color from parent instead of fixed colorText
33
- color: "inherit"
31
+ // make status text inherit parent style
32
+ color: "inherit",
33
+ fontSize: "inherit"
34
34
  },
35
35
  [`${componentCls}${componentCls}-status`]: {
36
36
  // dot style
37
37
  [`${componentCls}-status-dot`]: {
38
- width: dotSize,
39
- height: dotSize,
40
38
  [`&${componentCls}-status-default`]: {
41
39
  backgroundColor: token.colorFill
42
40
  }
@@ -66,8 +64,9 @@ var genBadgeStyle = (token) => {
66
64
  },
67
65
  [`${componentCls}-status-text`]: {
68
66
  marginInlineStart: token.marginXS,
69
- // inherit color from parent instead of fixed colorText
70
- color: "inherit"
67
+ // inherit style from parent
68
+ color: "inherit",
69
+ fontSize: "inherit"
71
70
  }
72
71
  }
73
72
  };
package/lib/card/index.js CHANGED
@@ -48,6 +48,7 @@ var Card = import_react.default.forwardRef(
48
48
  size,
49
49
  title,
50
50
  tabList,
51
+ tabProps,
51
52
  divided: outerDivided,
52
53
  prefixCls: customizePrefixCls,
53
54
  bodyStyle,
@@ -87,6 +88,10 @@ var Card = import_react.default.forwardRef(
87
88
  size,
88
89
  title,
89
90
  tabList: newTabList,
91
+ tabProps: {
92
+ size: "middle",
93
+ ...tabProps
94
+ },
90
95
  prefixCls: customizePrefixCls,
91
96
  bodyStyle,
92
97
  styles,
@@ -62,6 +62,16 @@ var genCardStyle = (token) => {
62
62
  // nested Card style
63
63
  [`${componentCls}:not(${componentCls}-bordered):not(${componentCls}-type-inner)`]: {
64
64
  boxShadow: "none"
65
+ },
66
+ // nested Card border radius
67
+ [`${componentCls}`]: {
68
+ borderRadius: token.borderRadiusLG - 2,
69
+ [`${componentCls}`]: {
70
+ borderRadius: token.borderRadius,
71
+ [`${componentCls}`]: {
72
+ borderRadius: token.borderRadiusSM
73
+ }
74
+ }
65
75
  }
66
76
  },
67
77
  [`${componentCls}${componentCls}-no-divider`]: {
@@ -29,7 +29,7 @@ var genVerticalStyle = (size, token) => {
29
29
  const { componentCls } = token;
30
30
  const paddingMap = {
31
31
  default: {
32
- paddingIn: token.paddingXS,
32
+ paddingIn: token.paddingXXS,
33
33
  paddingOut: token.paddingLG
34
34
  },
35
35
  middle: {
@@ -54,6 +54,11 @@ var genVerticalStyle = (size, token) => {
54
54
  [`& > th, & > td`]: {
55
55
  paddingBottom: paddingConfig.paddingOut
56
56
  }
57
+ },
58
+ [`${componentCls}-item`]: {
59
+ [`${componentCls}-item-label`]: {
60
+ fontSize: token.fontSizeSM
61
+ }
57
62
  }
58
63
  }
59
64
  };
@@ -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
  };
@@ -91,9 +91,7 @@ var genTableStyle = (token) => {
91
91
  transition: `background ${token.motionDurationMid}`
92
92
  },
93
93
  // empty style
94
- [`${componentCls}-placeholder td`]: {
95
- borderBottom: "none"
96
- },
94
+ [`${componentCls}-placeholder td`]: {},
97
95
  [`${componentCls}-empty-wrapper`]: {
98
96
  minHeight: 360 - token.paddingSM * 2,
99
97
  display: "flex",
@@ -143,7 +141,7 @@ var genTableStyle = (token) => {
143
141
  borderRadius: `0px 0px ${token.borderRadiusLG}px ${token.borderRadiusLG}px`
144
142
  }
145
143
  },
146
- // 带边框的表格样式
144
+ // 带内部边框的表格样式
147
145
  [`${componentCls}-wrapper${componentCls}-inner-bordered ${componentCls}-bordered`]: {
148
146
  [`${componentCls}-container`]: {
149
147
  borderInlineStart: "none",
@@ -40,11 +40,10 @@ var genTabsStyle = (token) => {
40
40
  /** @deprecated */
41
41
  [`${componentCls}-tab-tag`]: {
42
42
  color: colorTextSecondary,
43
- fontFamily: "PingFangSC",
44
43
  fontSize: 12,
45
44
  borderRadius: 12,
46
45
  marginInlineEnd: 0,
47
- height: 20
46
+ height: token.controlHeightSM
48
47
  },
49
48
  [`${componentCls}-tab-badge`]: {
50
49
  [`>${antCls}-badge-count`]: {
@@ -27,11 +27,15 @@ 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";
34
37
  var colorBorderSecondary = colorFillSecondary;
38
+ var fontSizeSM = 12;
35
39
  var tagColorBorder = "#cdd5e466";
36
40
  var fontFamilyEn = `Inter, 'Noto sans', sans-serif, Roboto, 'Open Sans', 'Segoe UI', 'Helvetica Neue', 'Helvetica, Arial', 'Apple Color Emoji'`;
37
41
  var defaultTheme = {
@@ -42,53 +46,46 @@ var defaultTheme = {
42
46
  borderRadiusLG: 8,
43
47
  borderRadiusSM: 2,
44
48
  fontSize: 13,
45
- fontSizeSM: 11,
49
+ fontSizeSM,
50
+ fontSizeLG: 16,
51
+ fontSizeHeading1: 24,
52
+ fontSizeHeading2: 20,
53
+ fontSizeHeading3: 18,
54
+ fontSizeHeading4: 16,
55
+ fontSizeHeading5: 13,
56
+ controlHeight: 28,
46
57
  colorPrimary,
47
58
  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",
59
+ colorInfoBorder: colorPrimarySecondary,
60
+ colorInfoBg: "#EAF1FF",
61
+ colorInfoText: "#083E8B",
62
+ colorSuccess: "#14B781",
63
+ colorSuccessBorder: "#7ED7BA",
64
+ colorSuccessBg: "#E8F8F3",
65
+ colorSuccessText: "#096547",
66
+ colorWarning: "#F49F25",
67
+ colorWarningBorder: "#F9CB87",
68
+ colorWarningBg: "#FEF6E9",
69
+ colorWarningText: "#5B3600",
70
+ colorError: "#EF4343",
71
+ colorErrorBorder: "#F69898",
72
+ colorErrorBg: "#FDECEC",
73
+ colorErrorText: "#8A1B1B",
78
74
  colorTextBase: "#000000",
79
75
  colorText,
80
76
  colorTextSecondary,
81
- colorTextQuaternary: "#c1cbe0",
82
- colorTextTertiary: "#8592AD",
77
+ colorTextTertiary,
78
+ colorTextQuaternary,
79
+ colorIcon: colorTextSecondary,
83
80
  colorBgBase: "#ffffff",
84
81
  colorBgContainer: "#ffffff",
85
82
  colorBgLayout: colorFillQuaternary,
86
- colorBorder: "#CDD5E4",
83
+ colorBorder: colorFill,
87
84
  colorBorderSecondary,
88
- colorFillQuaternary,
89
- colorFillTertiary,
85
+ colorFill,
90
86
  colorFillSecondary,
91
- colorFill: "#cdd5e4",
87
+ colorFillTertiary,
88
+ colorFillQuaternary,
92
89
  colorBgMask: "rgba(19, 32, 57, 0.45)",
93
90
  colorBgElevated: "#ffffff",
94
91
  colorBgSpotlight: "#ffffff",
@@ -100,19 +97,23 @@ var defaultTheme = {
100
97
  lineWidthFocus: 0
101
98
  },
102
99
  components: {
103
- Badge: {
104
- colorInfo: colorPrimarySecondary
105
- },
106
100
  Breadcrumb: {
107
- fontSize: 12,
101
+ fontSize: fontSizeSM,
108
102
  // @ts-ignore
109
103
  // fontHeight is internal token
110
104
  fontHeight: 20,
111
105
  lastItemColor: colorTextSecondary
112
106
  },
107
+ Card: {
108
+ headerFontSize: 16,
109
+ borderRadiusLG: 8
110
+ },
113
111
  Collapse: {
114
112
  colorBorder: colorBorderSecondary
115
113
  },
114
+ Descriptions: {
115
+ labelColor: colorTextSecondary
116
+ },
116
117
  InputNumber: {
117
118
  handleVisible: true
118
119
  },
@@ -137,6 +138,9 @@ var defaultTheme = {
137
138
  handleActiveColor: "#5189fb",
138
139
  handleColorDisabled: "#b3ccff"
139
140
  },
141
+ Skeleton: {
142
+ blockRadius: 4
143
+ },
140
144
  Tabs: {
141
145
  horizontalItemGutter: 24,
142
146
  itemActiveColor: colorText,
@@ -148,11 +152,11 @@ var defaultTheme = {
148
152
  colorBorder: tagColorBorder
149
153
  },
150
154
  Table: {
151
- cellFontSize: 12,
155
+ cellFontSize: fontSizeSM,
152
156
  headerSplitColor: "transparent",
153
- cellPaddingBlock: 12,
157
+ cellPaddingBlock: 8,
154
158
  cellPaddingInline: 16,
155
- cellPaddingBlockMD: 8,
159
+ cellPaddingBlockMD: 6,
156
160
  cellPaddingBlockSM: 4,
157
161
  rowHoverBg: colorFillQuaternary,
158
162
  rowSelectedBg: colorFillQuaternary,
@@ -162,17 +166,15 @@ var defaultTheme = {
162
166
  colorBgSpotlight: "#ffffff",
163
167
  colorTextLightSolid: colorText
164
168
  },
165
- Card: {
166
- borderRadiusLG: 8
167
- },
168
169
  Menu: {
169
170
  paddingContentVertical: 0,
170
171
  itemHeight: 30,
171
172
  itemBorderRadius: 4,
172
173
  // 80 means 50% opacity
173
- itemSelectedBg: colorFillSecondary + "80",
174
174
  itemHoverBg: colorFillSecondary + "80",
175
- itemColor: colorTextSecondary,
175
+ itemActiveBg: colorFillSecondary + "80",
176
+ itemSelectedBg: colorFillSecondary + "80",
177
+ itemColor: "#36496F",
176
178
  itemSelectedColor: colorText,
177
179
  itemMarginBlock: 6,
178
180
  groupTitleFontSize: 11