@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.
@@ -5,15 +5,11 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
5
5
  import { genComponentStyleHook } from "../../_util/genComponentStyleHook";
6
6
  export var genBadgeStyle = function genBadgeStyle(token) {
7
7
  var componentCls = token.componentCls;
8
- // dot size is larger than antd
9
- var dotSize = token.fontSizeLG / 2;
10
8
  return _defineProperty(_defineProperty({}, "".concat(componentCls), {
11
- // inherit color from parent instead of fixed colorText
12
- color: 'inherit'
13
- }), "".concat(componentCls).concat(componentCls, "-status"), _defineProperty(_defineProperty(_defineProperty({}, "".concat(componentCls, "-status-dot"), _defineProperty({
14
- width: dotSize,
15
- height: dotSize
16
- }, "&".concat(componentCls, "-status-default"), {
9
+ // make status text inherit parent style
10
+ color: 'inherit',
11
+ fontSize: 'inherit'
12
+ }), "".concat(componentCls).concat(componentCls, "-status"), _defineProperty(_defineProperty(_defineProperty({}, "".concat(componentCls, "-status-dot"), _defineProperty({}, "&".concat(componentCls, "-status-default"), {
17
13
  backgroundColor: token.colorFill
18
14
  })), "".concat(componentCls, "-status-icon"), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
19
15
  // remove dot style
@@ -32,8 +28,9 @@ export var genBadgeStyle = function genBadgeStyle(token) {
32
28
  color: token.colorWarning
33
29
  })), "".concat(componentCls, "-status-text"), {
34
30
  marginInlineStart: token.marginXS,
35
- // inherit color from parent instead of fixed colorText
36
- color: 'inherit'
31
+ // inherit style from parent
32
+ color: 'inherit',
33
+ fontSize: 'inherit'
37
34
  }));
38
35
  };
39
36
  export default (function (prefixCls) {
package/es/card/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- var _excluded = ["children", "size", "title", "tabList", "divided", "prefixCls", "bodyStyle", "styles", "className"];
2
+ var _excluded = ["children", "size", "title", "tabList", "tabProps", "divided", "prefixCls", "bodyStyle", "styles", "className"];
3
3
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4
4
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
5
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
@@ -24,6 +24,7 @@ var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
24
24
  size = _ref.size,
25
25
  title = _ref.title,
26
26
  tabList = _ref.tabList,
27
+ tabProps = _ref.tabProps,
27
28
  outerDivided = _ref.divided,
28
29
  customizePrefixCls = _ref.prefixCls,
29
30
  bodyStyle = _ref.bodyStyle,
@@ -62,6 +63,9 @@ var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
62
63
  size: size,
63
64
  title: title,
64
65
  tabList: newTabList,
66
+ tabProps: _objectSpread({
67
+ size: 'middle'
68
+ }, tabProps),
65
69
  prefixCls: customizePrefixCls,
66
70
  bodyStyle: bodyStyle,
67
71
  styles: styles,
@@ -28,9 +28,15 @@ export var genCardStyle = function genCardStyle(token) {
28
28
  paddingSM = token.paddingSM,
29
29
  paddingLG = token.paddingLG;
30
30
  var tableComponentCls = "".concat(antCls, "-table");
31
- return _ref2 = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, "".concat(componentCls), _defineProperty({}, "".concat(componentCls, ":not(").concat(componentCls, "-bordered):not(").concat(componentCls, "-type-inner)"), {
31
+ return _ref2 = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, "".concat(componentCls), _defineProperty(_defineProperty({}, "".concat(componentCls, ":not(").concat(componentCls, "-bordered):not(").concat(componentCls, "-type-inner)"), {
32
32
  boxShadow: 'none'
33
- })), "".concat(componentCls).concat(componentCls, "-no-divider"), _defineProperty({}, "".concat(componentCls, "-head"), _defineProperty({
33
+ }), "".concat(componentCls), _defineProperty({
34
+ borderRadius: token.borderRadiusLG - 2
35
+ }, "".concat(componentCls), _defineProperty({
36
+ borderRadius: token.borderRadius
37
+ }, "".concat(componentCls), {
38
+ borderRadius: token.borderRadiusSM
39
+ })))), "".concat(componentCls).concat(componentCls, "-no-divider"), _defineProperty({}, "".concat(componentCls, "-head"), _defineProperty({
34
40
  // should not remove border-bottom to avoid tabs inkbar display correctly
35
41
  borderBottomColor: 'transparent'
36
42
  }, tabsComponentCls, _defineProperty({}, "&".concat(tabsComponentCls, "-top, &").concat(tabsComponentCls, "-bottom"), _defineProperty({}, "".concat(tabsComponentCls, "-nav::before"), {
@@ -9,7 +9,7 @@ export var genVerticalStyle = function genVerticalStyle(size, token) {
9
9
  var componentCls = token.componentCls;
10
10
  var paddingMap = {
11
11
  default: {
12
- paddingIn: token.paddingXS,
12
+ paddingIn: token.paddingXXS,
13
13
  paddingOut: token.paddingLG
14
14
  },
15
15
  middle: {
@@ -22,10 +22,12 @@ export var genVerticalStyle = function genVerticalStyle(size, token) {
22
22
  }
23
23
  };
24
24
  var paddingConfig = paddingMap[size];
25
- return _defineProperty({}, "&".concat(componentCls).concat(componentCls, "-vertical:not(").concat(componentCls, "-bordered)"), _defineProperty(_defineProperty({}, "".concat(componentCls, "-row:nth-child(2n + 1)"), _defineProperty({}, "& > th, & > td", {
25
+ return _defineProperty({}, "&".concat(componentCls).concat(componentCls, "-vertical:not(").concat(componentCls, "-bordered)"), _defineProperty(_defineProperty(_defineProperty({}, "".concat(componentCls, "-row:nth-child(2n + 1)"), _defineProperty({}, "& > th, & > td", {
26
26
  paddingBottom: paddingConfig.paddingIn
27
27
  })), "".concat(componentCls, "-row:nth-child(2n)"), _defineProperty({}, "& > th, & > td", {
28
28
  paddingBottom: paddingConfig.paddingOut
29
+ })), "".concat(componentCls, "-item"), _defineProperty({}, "".concat(componentCls, "-item-label"), {
30
+ fontSize: token.fontSizeSM
29
31
  })));
30
32
  };
31
33
  export var genDescriptionsStyle = function genDescriptionsStyle(token) {
@@ -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
  };
@@ -46,9 +46,7 @@ export var genTableStyle = function genTableStyle(token) {
46
46
  borderBottom: 'none'
47
47
  })), "tr > td", {
48
48
  transition: "background ".concat(token.motionDurationMid)
49
- }), "".concat(componentCls, "-placeholder td"), {
50
- borderBottom: 'none'
51
- }), "".concat(componentCls, "-empty-wrapper"), {
49
+ }), "".concat(componentCls, "-placeholder td"), {}), "".concat(componentCls, "-empty-wrapper"), {
52
50
  minHeight: 360 - token.paddingSM * 2,
53
51
  display: 'flex',
54
52
  justifyContent: 'center',
@@ -14,11 +14,10 @@ export var genTabsStyle = function genTabsStyle(token) {
14
14
  border: 'none'
15
15
  }))), "".concat(componentCls, "-tab"), _defineProperty(_defineProperty({}, "".concat(componentCls, "-tab-tag"), {
16
16
  color: colorTextSecondary,
17
- fontFamily: 'PingFangSC',
18
17
  fontSize: 12,
19
18
  borderRadius: 12,
20
19
  marginInlineEnd: 0,
21
- height: 20
20
+ height: token.controlHeightSM
22
21
  }), "".concat(componentCls, "-tab-badge"), _defineProperty(_defineProperty({}, ">".concat(antCls, "-badge-count"), {
23
22
  color: colorTextSecondary,
24
23
  backgroundColor: colorFillQuaternary
@@ -9,11 +9,17 @@ import { formatTheme } from "./util/format";
9
9
  var colorPrimary = '#0D6CF2';
10
10
  var colorPrimarySecondary = '#598CF3';
11
11
  var colorText = '#132039';
12
- var colorTextSecondary = '#5c6b8a';
12
+ var colorTextSecondary = '#5C6B8A';
13
+ var colorTextTertiary = '#8592AD';
14
+ var colorTextQuaternary = '#C1CBE0';
15
+ var colorFill = '#CDD5E4';
13
16
  var colorFillSecondary = '#E2E8F3';
14
17
  var colorFillTertiary = '#F3F6FC';
15
18
  var colorFillQuaternary = '#F8FAFE';
19
+ var colorFillHover = '#EFF3FA';
20
+ var colorFillSelected = '#E2E8F3';
16
21
  var colorBorderSecondary = colorFillSecondary;
22
+ var fontSizeSM = 12;
17
23
  // Calculated by colorBorder and getWeakenBorderColor()
18
24
  var tagColorBorder = '#cdd5e466';
19
25
  export var fontFamilyEn = "Inter, 'Noto sans', sans-serif, Roboto, 'Open Sans', 'Segoe UI', 'Helvetica Neue', 'Helvetica, Arial', 'Apple Color Emoji'";
@@ -25,53 +31,46 @@ var defaultTheme = {
25
31
  borderRadiusLG: 8,
26
32
  borderRadiusSM: 2,
27
33
  fontSize: 13,
28
- fontSizeSM: 11,
34
+ fontSizeSM: fontSizeSM,
35
+ fontSizeLG: 16,
36
+ fontSizeHeading1: 24,
37
+ fontSizeHeading2: 20,
38
+ fontSizeHeading3: 18,
39
+ fontSizeHeading4: 16,
40
+ fontSizeHeading5: 13,
41
+ controlHeight: 28,
29
42
  colorPrimary: colorPrimary,
30
43
  colorInfo: colorPrimary,
31
- colorSuccess: '#0ac185',
32
- colorSuccessBg: '#EEF8F5',
33
- colorSuccessBgHover: '#dbf0e9',
34
- colorSuccessBorder: '#B3E6D5',
35
- colorSuccessBorderHover: '#4DCCA2',
36
- colorSuccessHover: '#4DCCA2',
37
- colorSuccessActive: '#00B378',
38
- colorSuccessTextHover: '#4DCCA2',
39
- colorSuccessText: '#0AC185',
40
- colorSuccessTextActive: '#00B378',
41
- colorWarning: '#FFA21A',
42
- colorWarningBg: '#FFF5E5',
43
- colorWarningBgHover: '#ffe7c2',
44
- colorWarningBorder: '#FFD699',
45
- colorWarningBorderHover: '#FFC166',
46
- colorWarningHover: '#FFC166',
47
- colorWarningActive: '#FF9700',
48
- colorWarningTextHover: '#FFC166',
49
- colorWarningText: '#FFA21A',
50
- colorWarningTextActive: '#FF9700',
51
- colorErrorBg: '#ffebeb',
52
- colorErrorBgHover: '#ffd6d6',
53
- colorErrorBorder: '#FFB3B3',
54
- colorErrorBorderHover: '#ff7575',
55
- colorErrorHover: '#ff7575',
56
- colorErrorActive: '#CC0000',
57
- colorErrorTextHover: '#ff7575',
58
- colorErrorText: '#ff1a1a',
59
- colorErrorTextActive: '#CC0000',
60
- colorError: '#F93939',
44
+ colorInfoBorder: colorPrimarySecondary,
45
+ colorInfoBg: '#EAF1FF',
46
+ colorInfoText: '#083E8B',
47
+ colorSuccess: '#14B781',
48
+ colorSuccessBorder: '#7ED7BA',
49
+ colorSuccessBg: '#E8F8F3',
50
+ colorSuccessText: '#096547',
51
+ colorWarning: '#F49F25',
52
+ colorWarningBorder: '#F9CB87',
53
+ colorWarningBg: '#FEF6E9',
54
+ colorWarningText: '#5B3600',
55
+ colorError: '#EF4343',
56
+ colorErrorBorder: '#F69898',
57
+ colorErrorBg: '#FDECEC',
58
+ colorErrorText: '#8A1B1B',
61
59
  colorTextBase: '#000000',
62
60
  colorText: colorText,
63
61
  colorTextSecondary: colorTextSecondary,
64
- colorTextQuaternary: '#c1cbe0',
65
- colorTextTertiary: '#8592AD',
62
+ colorTextTertiary: colorTextTertiary,
63
+ colorTextQuaternary: colorTextQuaternary,
64
+ colorIcon: colorTextSecondary,
66
65
  colorBgBase: '#ffffff',
67
66
  colorBgContainer: '#ffffff',
68
67
  colorBgLayout: colorFillQuaternary,
69
- colorBorder: '#CDD5E4',
68
+ colorBorder: colorFill,
70
69
  colorBorderSecondary: colorBorderSecondary,
71
- colorFillQuaternary: colorFillQuaternary,
72
- colorFillTertiary: colorFillTertiary,
70
+ colorFill: colorFill,
73
71
  colorFillSecondary: colorFillSecondary,
74
- colorFill: '#cdd5e4',
72
+ colorFillTertiary: colorFillTertiary,
73
+ colorFillQuaternary: colorFillQuaternary,
75
74
  colorBgMask: 'rgba(19, 32, 57, 0.45)',
76
75
  colorBgElevated: '#ffffff',
77
76
  colorBgSpotlight: '#ffffff',
@@ -83,19 +82,23 @@ var defaultTheme = {
83
82
  lineWidthFocus: 0
84
83
  },
85
84
  components: {
86
- Badge: {
87
- colorInfo: colorPrimarySecondary
88
- },
89
85
  Breadcrumb: {
90
- fontSize: 12,
86
+ fontSize: fontSizeSM,
91
87
  // @ts-ignore
92
88
  // fontHeight is internal token
93
89
  fontHeight: 20,
94
90
  lastItemColor: colorTextSecondary
95
91
  },
92
+ Card: {
93
+ headerFontSize: 16,
94
+ borderRadiusLG: 8
95
+ },
96
96
  Collapse: {
97
97
  colorBorder: colorBorderSecondary
98
98
  },
99
+ Descriptions: {
100
+ labelColor: colorTextSecondary
101
+ },
99
102
  InputNumber: {
100
103
  handleVisible: true
101
104
  },
@@ -120,6 +123,9 @@ var defaultTheme = {
120
123
  handleActiveColor: '#5189fb',
121
124
  handleColorDisabled: '#b3ccff'
122
125
  },
126
+ Skeleton: {
127
+ blockRadius: 4
128
+ },
123
129
  Tabs: {
124
130
  horizontalItemGutter: 24,
125
131
  itemActiveColor: colorText,
@@ -131,11 +137,11 @@ var defaultTheme = {
131
137
  colorBorder: tagColorBorder
132
138
  },
133
139
  Table: {
134
- cellFontSize: 12,
140
+ cellFontSize: fontSizeSM,
135
141
  headerSplitColor: 'transparent',
136
- cellPaddingBlock: 12,
142
+ cellPaddingBlock: 8,
137
143
  cellPaddingInline: 16,
138
- cellPaddingBlockMD: 8,
144
+ cellPaddingBlockMD: 6,
139
145
  cellPaddingBlockSM: 4,
140
146
  rowHoverBg: colorFillQuaternary,
141
147
  rowSelectedBg: colorFillQuaternary,
@@ -145,17 +151,15 @@ var defaultTheme = {
145
151
  colorBgSpotlight: '#ffffff',
146
152
  colorTextLightSolid: colorText
147
153
  },
148
- Card: {
149
- borderRadiusLG: 8
150
- },
151
154
  Menu: {
152
155
  paddingContentVertical: 0,
153
156
  itemHeight: 30,
154
157
  itemBorderRadius: 4,
155
158
  // 80 means 50% opacity
156
- itemSelectedBg: colorFillSecondary + '80',
157
159
  itemHoverBg: colorFillSecondary + '80',
158
- itemColor: colorTextSecondary,
160
+ itemActiveBg: colorFillSecondary + '80',
161
+ itemSelectedBg: colorFillSecondary + '80',
162
+ itemColor: '#36496F',
159
163
  itemSelectedColor: colorText,
160
164
  itemMarginBlock: 6,
161
165
  groupTitleFontSize: 11
@@ -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;
@@ -332,34 +332,34 @@
332
332
  @colorPrimaryText: #0d6cf2;
333
333
  @colorPrimaryTextActive: #004ecc;
334
334
  @colorSuccessBg: #dff4e5;
335
- @colorSuccessBgHover: #a9f5d1;
335
+ @colorSuccessBgHover: #b0ebcf;
336
336
  @colorSuccessBorder: #dff4e5;
337
- @colorSuccessBorderHover: #51dba4;
338
- @colorSuccessHover: #51dba4;
339
- @colorSuccessActive: #009c6d;
340
- @colorSuccessTextHover: #2bcf93;
341
- @colorSuccessText: #0ac185;
342
- @colorSuccessTextActive: #009c6d;
337
+ @colorSuccessBorderHover: #5ad1a1;
338
+ @colorSuccessHover: #5ad1a1;
339
+ @colorSuccessActive: #099168;
340
+ @colorSuccessTextHover: #35c490;
341
+ @colorSuccessText: #14b781;
342
+ @colorSuccessTextActive: #099168;
343
343
  @colorErrorBg: #fff2f0;
344
- @colorErrorBgHover: #ffe2de;
345
- @colorErrorBgFilledHover: #ffd7d3;
346
- @colorErrorBgActive: #ffbcb5;
347
- @colorErrorBorder: #ffbcb5;
348
- @colorErrorBorderHover: #ff948c;
349
- @colorErrorHover: #ff6963;
350
- @colorErrorActive: #d4262c;
351
- @colorErrorTextHover: #ff6963;
352
- @colorErrorText: #f93939;
353
- @colorErrorTextActive: #d4262c;
354
- @colorWarningBg: #fff9e6;
355
- @colorWarningBgHover: #ffedbd;
356
- @colorWarningBorder: #ffdf94;
357
- @colorWarningBorderHover: #ffce6b;
358
- @colorWarningHover: #ffce6b;
359
- @colorWarningActive: #d9800b;
360
- @colorWarningTextHover: #ffba42;
361
- @colorWarningText: #ffa21a;
362
- @colorWarningTextActive: #d9800b;
344
+ @colorErrorBgHover: #ffedeb;
345
+ @colorErrorBgFilledHover: #ffddd9;
346
+ @colorErrorBgActive: #ffc8c2;
347
+ @colorErrorBorder: #ffc8c2;
348
+ @colorErrorBorderHover: #ffa099;
349
+ @colorErrorHover: #fc746f;
350
+ @colorErrorActive: #c92e34;
351
+ @colorErrorTextHover: #fc746f;
352
+ @colorErrorText: #ef4343;
353
+ @colorErrorTextActive: #c92e34;
354
+ @colorWarningBg: #fffbf0;
355
+ @colorWarningBgHover: #fff0c9;
356
+ @colorWarningBorder: #ffe1a1;
357
+ @colorWarningBorderHover: #ffd078;
358
+ @colorWarningHover: #ffd078;
359
+ @colorWarningActive: #cf7b15;
360
+ @colorWarningTextHover: #ffbc4f;
361
+ @colorWarningText: #f49f25;
362
+ @colorWarningTextActive: #cf7b15;
363
363
  @colorInfoBg: #e6f4ff;
364
364
  @colorInfoBgHover: #b0dbff;
365
365
  @colorInfoBorder: #87c5ff;
@@ -402,7 +402,7 @@
402
402
  @sizeXS: 8px;
403
403
  @sizeXXS: 4px;
404
404
  @controlHeightSM: 24px;
405
- @controlHeightXS: 16px;
405
+ @controlHeightXS: 14px;
406
406
  @controlHeightLG: 36px;
407
407
  @motionDurationFast: 0.1s;
408
408
  @motionDurationMid: 0.2s;
@@ -432,7 +432,7 @@
432
432
  @colorIcon: rgba(0,0,0,0.45);
433
433
  @colorIconHover: rgba(0, 0, 0, 0.85);
434
434
  @colorErrorOutline: rgba(255,38,5,0.06);
435
- @colorWarningOutline: rgba(255,195,5,0.1);
435
+ @colorWarningOutline: rgba(255,188,5,0.06);
436
436
  @fontSizeIcon: 12px;
437
437
  @lineWidthFocus: 3px;
438
438
  @controlInteractiveSize: 16px;