@antscorp/antsomi-ui 1.3.5-beta.688 → 1.3.5-beta.689
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/es/constants/theme.js +13 -24
- package/package.json +1 -1
package/es/constants/theme.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5
|
|
1
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5;
|
|
2
2
|
// Types
|
|
3
3
|
import { theme } from 'antd';
|
|
4
4
|
// Variables
|
|
@@ -97,7 +97,6 @@ THEME.components = {
|
|
|
97
97
|
borderColorDisabled: (_d = THEME.token) === null || _d === void 0 ? void 0 : _d.bw6,
|
|
98
98
|
colorTextDisabled: (_e = THEME.token) === null || _e === void 0 ? void 0 : _e.bw0,
|
|
99
99
|
textHoverBg: '#F2F9FF',
|
|
100
|
-
controlHeightSM: 24,
|
|
101
100
|
marginXS: 0,
|
|
102
101
|
/* Text type */
|
|
103
102
|
colorBgTextHover: (_f = THEME.token) === null || _f === void 0 ? void 0 : _f.blue,
|
|
@@ -186,8 +185,6 @@ THEME.components = {
|
|
|
186
185
|
// titleHeight: 12,
|
|
187
186
|
paddingXS: 20,
|
|
188
187
|
marginXXS: 0,
|
|
189
|
-
directoryNodeSelectedBg: 'transparent',
|
|
190
|
-
directoryNodeSelectedColor: (_x = THEME.token) === null || _x === void 0 ? void 0 : _x.colorText,
|
|
191
188
|
},
|
|
192
189
|
Modal: {
|
|
193
190
|
titleFontSize: 16,
|
|
@@ -199,7 +196,7 @@ THEME.components = {
|
|
|
199
196
|
paddingMD: 0,
|
|
200
197
|
},
|
|
201
198
|
Tabs: {
|
|
202
|
-
itemColor: (
|
|
199
|
+
itemColor: (_x = THEME.token) === null || _x === void 0 ? void 0 : _x.bw8,
|
|
203
200
|
horizontalItemPadding: '17px 30px',
|
|
204
201
|
horizontalItemGutter: 0,
|
|
205
202
|
lineWidthBold: 3,
|
|
@@ -211,7 +208,7 @@ THEME.components = {
|
|
|
211
208
|
lineHeight: 1.143,
|
|
212
209
|
lineHeightLG: 1.143,
|
|
213
210
|
lineHeightSM: 1.143,
|
|
214
|
-
itemHoverColor: (
|
|
211
|
+
itemHoverColor: (_y = THEME.token) === null || _y === void 0 ? void 0 : _y.colorPrimary,
|
|
215
212
|
},
|
|
216
213
|
Collapse: {
|
|
217
214
|
headerBg: '#FFF',
|
|
@@ -219,13 +216,13 @@ THEME.components = {
|
|
|
219
216
|
headerPadding: '15px 10px',
|
|
220
217
|
},
|
|
221
218
|
Switch: {
|
|
222
|
-
colorTextQuaternary: (
|
|
223
|
-
colorTextTertiary: (
|
|
219
|
+
colorTextQuaternary: (_z = THEME.token) === null || _z === void 0 ? void 0 : _z.bw0,
|
|
220
|
+
colorTextTertiary: (_0 = THEME.token) === null || _0 === void 0 ? void 0 : _0.bw0,
|
|
224
221
|
handleSize: 8,
|
|
225
222
|
handleSizeSM: 7,
|
|
226
223
|
trackMinWidth: 27,
|
|
227
224
|
trackHeight: 16,
|
|
228
|
-
handleBg: (
|
|
225
|
+
handleBg: (_1 = THEME.token) === null || _1 === void 0 ? void 0 : _1.colorPrimary,
|
|
229
226
|
},
|
|
230
227
|
Popover: {
|
|
231
228
|
borderRadiusLG: 10,
|
|
@@ -237,30 +234,22 @@ THEME.components = {
|
|
|
237
234
|
paddingXXS: 8,
|
|
238
235
|
controlItemBgHover: '#F2F9FF',
|
|
239
236
|
controlItemBgActive: '#DEEFFE',
|
|
240
|
-
colorPrimary: (
|
|
237
|
+
colorPrimary: (_2 = THEME.token) === null || _2 === void 0 ? void 0 : _2.colorText,
|
|
241
238
|
controlItemBgActiveHover: '#DEEFFE',
|
|
242
239
|
},
|
|
243
240
|
Tooltip: {
|
|
244
|
-
colorBgSpotlight: (
|
|
241
|
+
colorBgSpotlight: (_3 = THEME.token) === null || _3 === void 0 ? void 0 : _3.bw8,
|
|
245
242
|
fontSize: 11,
|
|
246
243
|
},
|
|
247
244
|
Menu: {
|
|
248
245
|
itemHoverBg: '#F2F9FF',
|
|
249
246
|
activeBarBorderWidth: 0,
|
|
250
247
|
itemMarginInline: 0,
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
itemDisabledColor: (
|
|
255
|
-
itemActiveBg: (
|
|
256
|
-
itemBorderRadius: 0,
|
|
257
|
-
itemHeight: 30,
|
|
258
|
-
lineHeight: 30,
|
|
259
|
-
padding: 10,
|
|
260
|
-
itemSelectedColor: '#000000',
|
|
261
|
-
itemSelectedBg: '#DEEFFE',
|
|
262
|
-
itemMarginBlock: 6,
|
|
263
|
-
subMenuItemBg: '#FFFFFF',
|
|
248
|
+
itemMarginBlock: 5,
|
|
249
|
+
itemBorderRadius: 5,
|
|
250
|
+
subMenuItemBg: 'transparent',
|
|
251
|
+
itemDisabledColor: (_4 = THEME.token) === null || _4 === void 0 ? void 0 : _4.colorTextDisabled,
|
|
252
|
+
itemActiveBg: (_5 = THEME.token) === null || _5 === void 0 ? void 0 : _5.blue1_1,
|
|
264
253
|
},
|
|
265
254
|
Form: {
|
|
266
255
|
itemMarginBottom: 15,
|