@akinon/ui-theme 0.7.0 → 1.0.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.
- package/dist/cjs/colors.d.ts +15 -0
- package/dist/cjs/colors.d.ts.map +1 -1
- package/dist/cjs/colors.js +18 -3
- package/dist/cjs/theme.d.ts +3 -0
- package/dist/cjs/theme.d.ts.map +1 -1
- package/dist/cjs/theme.js +316 -60
- package/dist/cjs/types.d.ts +312 -24
- package/dist/esm/colors.d.ts +15 -0
- package/dist/esm/colors.d.ts.map +1 -1
- package/dist/esm/colors.js +18 -3
- package/dist/esm/theme.d.ts +3 -0
- package/dist/esm/theme.d.ts.map +1 -1
- package/dist/esm/theme.js +316 -60
- package/dist/esm/types.d.ts +312 -24
- package/package.json +4 -4
package/dist/cjs/theme.js
CHANGED
|
@@ -51,14 +51,99 @@ exports.theme = {
|
|
|
51
51
|
fontFamily: "'Jost Variable'," + antd_1.theme.getDesignToken().fontFamily,
|
|
52
52
|
fontSize: exports.fontSize * 0.875
|
|
53
53
|
},
|
|
54
|
+
CustomTokens: {
|
|
55
|
+
layout: {
|
|
56
|
+
displayFlex: 'flex',
|
|
57
|
+
displayGrid: 'grid',
|
|
58
|
+
displayBlock: 'block',
|
|
59
|
+
displayInline: 'inline',
|
|
60
|
+
displayInlineBlock: 'inline-block',
|
|
61
|
+
displayNone: 'none',
|
|
62
|
+
displayContents: 'contents',
|
|
63
|
+
positionAbsolute: 'absolute',
|
|
64
|
+
positionRelative: 'relative',
|
|
65
|
+
positionFixed: 'fixed',
|
|
66
|
+
positionSticky: 'sticky',
|
|
67
|
+
positionStatic: 'static',
|
|
68
|
+
flexStart: 'start',
|
|
69
|
+
flexCenter: 'center',
|
|
70
|
+
flexDirectionRow: 'row',
|
|
71
|
+
flexDirectionRowReverse: 'row-reverse',
|
|
72
|
+
flexDirectionColumn: 'column',
|
|
73
|
+
flexDirectionColumnReverse: 'column-reverse'
|
|
74
|
+
},
|
|
75
|
+
typography: {
|
|
76
|
+
textTransformUppercase: 'uppercase',
|
|
77
|
+
textTransformLowercase: 'lowercase',
|
|
78
|
+
textTransformCapitalize: 'capitalize',
|
|
79
|
+
textAlignLeft: 'left',
|
|
80
|
+
textAlignCenter: 'center',
|
|
81
|
+
textAlignRight: 'right',
|
|
82
|
+
textAlignJustify: 'justify',
|
|
83
|
+
whiteSpaceNormal: 'normal',
|
|
84
|
+
whiteSpaceNoWrap: 'nowrap',
|
|
85
|
+
whiteSpacePre: 'pre',
|
|
86
|
+
whiteSpacePreLine: 'pre-line',
|
|
87
|
+
whiteSpacePreWrap: 'pre-wrap',
|
|
88
|
+
whiteSpaceBreakSpaces: 'break-spaces',
|
|
89
|
+
wordBreak: 'break-word',
|
|
90
|
+
textDecorationUnderline: 'underline',
|
|
91
|
+
textDecorationOverline: 'overline',
|
|
92
|
+
textDecorationLineThrough: 'line-through',
|
|
93
|
+
fontWeightBold: '600',
|
|
94
|
+
fontWeightMedium: '500'
|
|
95
|
+
},
|
|
96
|
+
sizing: {
|
|
97
|
+
sizeMaxContent: 'max-content',
|
|
98
|
+
sizeMinContent: 'min-content',
|
|
99
|
+
sizeFitContent: 'fit-content',
|
|
100
|
+
valueFull: '100%',
|
|
101
|
+
valueThreeQuarter: '75%',
|
|
102
|
+
valueHalf: '50%',
|
|
103
|
+
valueQuarter: '25%',
|
|
104
|
+
valueZero: '0',
|
|
105
|
+
valueAuto: 'auto',
|
|
106
|
+
valueInherit: 'inherit'
|
|
107
|
+
},
|
|
108
|
+
others: {
|
|
109
|
+
colorTransparent: 'transparent',
|
|
110
|
+
valueHidden: 'hidden',
|
|
111
|
+
valueUnset: 'unset',
|
|
112
|
+
emptyContent: '""',
|
|
113
|
+
lineHeightShort: '1',
|
|
114
|
+
lineHeightTall: '2',
|
|
115
|
+
cursorNotAllowed: 'not-allowed',
|
|
116
|
+
cursorPointer: 'pointer',
|
|
117
|
+
verticalAlignMiddle: 'middle',
|
|
118
|
+
opacityFull: '1',
|
|
119
|
+
opacityNone: '0'
|
|
120
|
+
},
|
|
121
|
+
border: {
|
|
122
|
+
borderNone: 'none',
|
|
123
|
+
borderSolid: 'solid',
|
|
124
|
+
borderDashed: 'dashed',
|
|
125
|
+
borderDotted: 'dotted',
|
|
126
|
+
borderWidthThin: '1px',
|
|
127
|
+
borderWidthThick: '2px',
|
|
128
|
+
borderRadiusSm: '0.125rem'
|
|
129
|
+
},
|
|
130
|
+
overflow: {
|
|
131
|
+
overflowVisible: 'visible',
|
|
132
|
+
overflowHidden: 'hidden',
|
|
133
|
+
overflowScroll: 'scroll'
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
NavCardTokens: {
|
|
137
|
+
shadow: '2px 2px 4px 0 rgba(0, 0, 0, 0.2)'
|
|
138
|
+
},
|
|
54
139
|
components: {
|
|
140
|
+
// TODO: Please order these props alphabetically.
|
|
55
141
|
Button: {
|
|
56
142
|
// type: primary
|
|
57
143
|
colorPrimary: colors.azure['500'],
|
|
58
144
|
colorPrimaryHover: colors.azure['600'],
|
|
59
145
|
colorPrimaryActive: colors.azure['700'],
|
|
60
146
|
colorPrimaryText: colors.neutral['50'],
|
|
61
|
-
primaryShadow: 'unset',
|
|
62
147
|
// type: default (secondary)
|
|
63
148
|
defaultBg: colors.neutral['50'],
|
|
64
149
|
defaultColor: colors.azure['500'],
|
|
@@ -67,7 +152,6 @@ exports.theme = {
|
|
|
67
152
|
defaultActiveBg: colors.neutral['50'],
|
|
68
153
|
defaultActiveColor: colors.azure['500'],
|
|
69
154
|
defaultBorderColor: colors.azure['500'],
|
|
70
|
-
defaultShadow: 'unset',
|
|
71
155
|
defaultBgSm: colors.gray['750'],
|
|
72
156
|
defaultBgSmHover: colors.gray['800'],
|
|
73
157
|
// prop: danger
|
|
@@ -75,7 +159,6 @@ exports.theme = {
|
|
|
75
159
|
colorErrorHover: colors.red['500'],
|
|
76
160
|
colorErrorActive: colors.red['600'],
|
|
77
161
|
colorErrorBorder: colors.red['500'],
|
|
78
|
-
dangerShadow: 'unset',
|
|
79
162
|
colorErrorBgSM: colors.red['425'],
|
|
80
163
|
colorErrorBgSMHover: colors.red['450'],
|
|
81
164
|
colorErrorSMHover: colors.neutral['50'],
|
|
@@ -95,7 +178,6 @@ exports.theme = {
|
|
|
95
178
|
colorTextDisabled: colors.neutral['350'],
|
|
96
179
|
borderColorDisabled: colors.neutral['350'],
|
|
97
180
|
// prop: ghost
|
|
98
|
-
defaultGhostBorderColor: 'transparent',
|
|
99
181
|
defaultGhostColor: colors.azure['500'],
|
|
100
182
|
// all buttons
|
|
101
183
|
contentFontSizeSM: exports.fontSize * 0.75,
|
|
@@ -104,13 +186,15 @@ exports.theme = {
|
|
|
104
186
|
paddingInlineSM: 20,
|
|
105
187
|
colorText: colors.neutral['50'],
|
|
106
188
|
colorTextHover: colors.neutral['50'],
|
|
107
|
-
contentLineHeightSM: 1,
|
|
108
189
|
controlHeight: 40,
|
|
109
190
|
borderRadius: 5,
|
|
110
191
|
paddingBlock: 10,
|
|
111
192
|
paddingInline: 45,
|
|
112
|
-
contentLineHeight:
|
|
113
|
-
fontWeight: 600
|
|
193
|
+
contentLineHeight: 'normal',
|
|
194
|
+
fontWeight: 600,
|
|
195
|
+
defaultShadow: 'none',
|
|
196
|
+
primaryShadow: 'none',
|
|
197
|
+
dangerShadow: 'none'
|
|
114
198
|
},
|
|
115
199
|
Checkbox: {
|
|
116
200
|
colorPrimary: colors.ebonyClay['25'],
|
|
@@ -139,21 +223,44 @@ exports.theme = {
|
|
|
139
223
|
},
|
|
140
224
|
Layout: {
|
|
141
225
|
headerBg: colors.ebonyClay['500'],
|
|
142
|
-
siderBg: colors.ebonyClay['500']
|
|
226
|
+
siderBg: colors.ebonyClay['500'],
|
|
227
|
+
mainBorder: `1px solid ${colors.gray['900']}`
|
|
143
228
|
},
|
|
144
229
|
Dropdown: {
|
|
145
230
|
colorPrimary: colors.neutral['100'], // primary color (azure500) doesn't work well with dropdown bg
|
|
146
231
|
controlPaddingHorizontal: exports.fontSize
|
|
147
232
|
},
|
|
148
233
|
Menu: {
|
|
234
|
+
minWidth: '250px',
|
|
149
235
|
darkItemBg: colors.ebonyClay['500'],
|
|
150
236
|
darkSubMenuItemBg: colors.ebonyClay['600'],
|
|
151
237
|
darkItemSelectedBg: colors.ebonyClay['700'],
|
|
152
|
-
itemBorderRadius: 0,
|
|
153
|
-
itemMarginBlock: 0,
|
|
154
|
-
itemMarginInline: 0,
|
|
155
238
|
darkItemColor: colors.gray['500'],
|
|
156
|
-
|
|
239
|
+
lightItemBg: `${colors.neutral['50']} !important`,
|
|
240
|
+
lightItemMainIconColor: `${colors.azure['500']} !important`,
|
|
241
|
+
lightItemMainTitle: `${colors.ebonyClay['500']} !important`,
|
|
242
|
+
LightSubItemBg: `${colors.neutral['90']} !important`,
|
|
243
|
+
lightSubTitleColor: `${colors.gray['500']} !important`,
|
|
244
|
+
lightSubIconColor: `${colors.ebonyClay['125']} !important`,
|
|
245
|
+
lightchildItemBg: `${colors.neutral['350']} !important`,
|
|
246
|
+
lightChildItemColor: `${colors.ebonyClay['500']} !important`,
|
|
247
|
+
itemHeight: exports.fontSize * 3.25,
|
|
248
|
+
mainBorder: `1px solid ${colors.gray['900']}`,
|
|
249
|
+
mainMenuIconSize: '12px !important',
|
|
250
|
+
mainMenuExpandIconSize: '16px !important',
|
|
251
|
+
mainMenuColor: `${colors.neutral['50']} !important`,
|
|
252
|
+
subMenuTitleColor: `${colors.gray['500']} !important`,
|
|
253
|
+
subMenuTitleIconMargin: '-25px !important',
|
|
254
|
+
subMenuOnlyChildSize: '6px !important',
|
|
255
|
+
subMenuItemSelectedChildColor: `${colors.neutral['50']} !important`,
|
|
256
|
+
subMenuOnlyChildBgColor: `${colors.ebonyClay['125']} !important`,
|
|
257
|
+
subMenuOnlyChildMargin: '-23px !important',
|
|
258
|
+
subMenuIconSize: '10px !important',
|
|
259
|
+
childMenuItemSelectedChildWidth: '10px !important',
|
|
260
|
+
childMenuItemSelectedChildHeight: '2px !important',
|
|
261
|
+
childMenuItemSelectedChildRadius: '1px !important',
|
|
262
|
+
childMenuItemSelectedChildMargin: '-17px !important',
|
|
263
|
+
childMenuItemSelectedChildBgColor: `${colors.ebonyClay['125']} !important`
|
|
157
264
|
},
|
|
158
265
|
Breadcrumb: {
|
|
159
266
|
fontSize: exports.fontSize * 0.625,
|
|
@@ -168,9 +275,7 @@ exports.theme = {
|
|
|
168
275
|
fontWeight: 600,
|
|
169
276
|
lineHeight: 1.5,
|
|
170
277
|
separatorColor: colors.azure['500'],
|
|
171
|
-
letterSpacing: exports.fontSize * 0.03
|
|
172
|
-
marginInline: 0,
|
|
173
|
-
height: 'auto'
|
|
278
|
+
letterSpacing: exports.fontSize * 0.03
|
|
174
279
|
},
|
|
175
280
|
Tag: {
|
|
176
281
|
defaultColorSuccess: colors.green['951'],
|
|
@@ -188,12 +293,14 @@ exports.theme = {
|
|
|
188
293
|
defaultColorFailed: colors.red['951'],
|
|
189
294
|
defaultBorderColorFailed: colors.red['450'],
|
|
190
295
|
defaultBgFailed: colors.red['952'],
|
|
296
|
+
defaultColorEmpty: colors.ebonyClay['400'],
|
|
297
|
+
defaultBorderColorEmpty: colors.neutral['350'],
|
|
298
|
+
defaultBgEmpty: colors.neutral['200'],
|
|
191
299
|
borderRadius: 5,
|
|
192
300
|
fontSize: exports.fontSize * 0.8125,
|
|
193
301
|
paddingLeft: 15,
|
|
194
302
|
paddingRight: 15,
|
|
195
|
-
fontSizeClose: exports.fontSize * 0.6875
|
|
196
|
-
fontWeight: 500
|
|
303
|
+
fontSizeClose: exports.fontSize * 0.6875
|
|
197
304
|
},
|
|
198
305
|
Tooltip: {
|
|
199
306
|
bgColor: colors.ebonyClay['951']
|
|
@@ -252,14 +359,73 @@ exports.theme = {
|
|
|
252
359
|
verticalErrorPadding: '7px 0'
|
|
253
360
|
},
|
|
254
361
|
Pagination: {
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
362
|
+
fontSize: '14px !important',
|
|
363
|
+
Simple: {
|
|
364
|
+
minWidth: '68.56px !important',
|
|
365
|
+
fontWeight: 'normal !important',
|
|
366
|
+
color: `${colors.gray['500']} !important`,
|
|
367
|
+
input: {
|
|
368
|
+
textColor: `${colors.ebonyClay['960']} !important`
|
|
369
|
+
},
|
|
370
|
+
prevNextButton: {
|
|
371
|
+
svgWidth: '10px !important',
|
|
372
|
+
svgFill: `${colors.gray['500']} !important`
|
|
373
|
+
},
|
|
374
|
+
slashPadding: '8px !important',
|
|
375
|
+
lightInputTextColor: `${colors.ebonyClay['960']} !important`,
|
|
376
|
+
darkInputTextColor: `${colors.neutral['50']} !important`
|
|
377
|
+
},
|
|
378
|
+
Table: {
|
|
379
|
+
totalText: {
|
|
380
|
+
color: `${colors.gray['500']} !important`,
|
|
381
|
+
margin: 'auto 32px !important'
|
|
382
|
+
},
|
|
383
|
+
prevNextButton: {
|
|
384
|
+
svgWidth: '10px !important',
|
|
385
|
+
svgFill: `${colors.gray['500']} !important`,
|
|
386
|
+
svgPadding: '14px 14px !important',
|
|
387
|
+
svgBorder: `1px solid ${colors.neutral['350']} !important`,
|
|
388
|
+
prevSvgBorderRadius: '5px 0 0 5px !important',
|
|
389
|
+
nextSvgBorderRadius: '0 5px 5px 0 !important'
|
|
390
|
+
},
|
|
391
|
+
pageInfo: {
|
|
392
|
+
border: `1px solid ${colors.neutral['350']} !important`,
|
|
393
|
+
padding: '12px 10px !important',
|
|
394
|
+
currentPageBgColor: `${colors.neutral['75']} !important`,
|
|
395
|
+
currentPageMinWidth: '18px !important',
|
|
396
|
+
currentPageTextColor: `${colors.ebonyClay['960']} !important`,
|
|
397
|
+
currentPageFontWeight: '600 !important',
|
|
398
|
+
totalPageBgColor: `${colors.neutral['50']} !important`,
|
|
399
|
+
totalPageTextColor: `${colors.gray['500']} !important`
|
|
400
|
+
},
|
|
401
|
+
sizeChanger: {
|
|
402
|
+
bgColor: `${colors.neutral['50']} !important`,
|
|
403
|
+
textColor: `${colors.ebonyClay['951']} !important`,
|
|
404
|
+
colGap: '10px !important',
|
|
405
|
+
border: `1px solid ${colors.neutral['350']} !important`,
|
|
406
|
+
borderRadius: '5px !important',
|
|
407
|
+
item1: {
|
|
408
|
+
bgColor: `${colors.neutral['50']} !important`,
|
|
409
|
+
textColor: `${colors.ebonyClay['951']} !important`,
|
|
410
|
+
padding: '10px 16px !important'
|
|
411
|
+
},
|
|
412
|
+
item2: {
|
|
413
|
+
textColor: `${colors.gray['500']} !important`
|
|
414
|
+
},
|
|
415
|
+
icon: {
|
|
416
|
+
bgColor: `${colors.neutral['50']} !important`,
|
|
417
|
+
textColor: `${colors.gray['500']} !important`,
|
|
418
|
+
width: '10px !important'
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
},
|
|
422
|
+
Jumper: {
|
|
423
|
+
border: `1px solid ${colors.neutral['350']} !important`,
|
|
424
|
+
bgColor: `${colors.neutral['75']} !important`,
|
|
425
|
+
textColor: `${colors.ebonyClay['960']} !important`,
|
|
426
|
+
minWidth: '18px',
|
|
427
|
+
height: 'calc(100% - 3px)'
|
|
428
|
+
}
|
|
263
429
|
},
|
|
264
430
|
Select: {
|
|
265
431
|
colorTextDisabled: colors.ebonyClay['350'],
|
|
@@ -267,7 +433,25 @@ exports.theme = {
|
|
|
267
433
|
colorBgContainer: colors.ebonyClay['475'],
|
|
268
434
|
fontSizeLG: exports.fontSize * 0.875,
|
|
269
435
|
colorBorder: colors.ebonyClay['550'],
|
|
270
|
-
lineWidth: 2
|
|
436
|
+
lineWidth: 2,
|
|
437
|
+
colorBgElevated: '#fffcfc',
|
|
438
|
+
optionActiveBg: 'rgba(68, 130, 255, 0.2)',
|
|
439
|
+
colorText: '#9b9b9b',
|
|
440
|
+
selectedOptionColor: 'black',
|
|
441
|
+
selectItemBorderShadowColor: '#eaeff0',
|
|
442
|
+
selectItemBgColor: 'rgba(245, 245, 245, 0.5)',
|
|
443
|
+
selectItemHoverBgColor: 'rgba(68, 130, 255, 0.2)'
|
|
444
|
+
},
|
|
445
|
+
Table: {
|
|
446
|
+
headerBorderRadius: 0,
|
|
447
|
+
headerBg: 'transparent',
|
|
448
|
+
headerColor: '#9b9b9b',
|
|
449
|
+
headerSplitColor: 'transparent',
|
|
450
|
+
colorBgContainer: 'transparent',
|
|
451
|
+
rowHoverBg: 'unset',
|
|
452
|
+
borderColor: colors.neutral['350'],
|
|
453
|
+
cellPaddingInline: 0,
|
|
454
|
+
fontSize: exports.fontSize
|
|
271
455
|
},
|
|
272
456
|
Input: {
|
|
273
457
|
colorBgContainer: colors.ebonyClay['475'],
|
|
@@ -290,63 +474,52 @@ exports.theme = {
|
|
|
290
474
|
Modal: {
|
|
291
475
|
titleFontSize: exports.fontSize * 1.25,
|
|
292
476
|
padding: '20px 35px',
|
|
293
|
-
fontWeight: 500,
|
|
294
477
|
borderBottom: `1px solid ${colors.blue['954']}`,
|
|
295
478
|
footerPadding: '0 35px 20px 35px',
|
|
296
479
|
closeIconColor: colors.neutral['100'],
|
|
297
|
-
contentPadding: 0,
|
|
298
|
-
footerMarginTop: 0,
|
|
299
480
|
closeTop: 20,
|
|
300
481
|
closeRight: 27,
|
|
301
|
-
headerMarginBottom: 0,
|
|
302
|
-
badgeColorContent: '',
|
|
303
482
|
badgeColorTop: 27,
|
|
304
|
-
badgeColorLeft: 0,
|
|
305
483
|
badgeColorWidth: 4,
|
|
306
484
|
badgeColorHeight: 16,
|
|
307
|
-
badgeColorPosition: 'absolute',
|
|
308
485
|
badgeColorBackgroundColor: colors.red['425']
|
|
309
486
|
},
|
|
310
487
|
Progress: {
|
|
311
|
-
strokeColor: colors.
|
|
312
|
-
trailColor: colors.
|
|
313
|
-
borderRadius: '0',
|
|
488
|
+
strokeColor: colors.ebonyClay['625'],
|
|
489
|
+
trailColor: colors.neutral['50'],
|
|
314
490
|
height: '18px !important',
|
|
315
491
|
successBgColor: 'repeating-linear-gradient(60deg, rgba(36, 180, 19, 1) 0, rgba(36, 180, 19, 1) 5px, rgba(72, 192, 62, 1) 5px, rgba(72, 192, 62, 1) 10px) !important'
|
|
316
492
|
},
|
|
317
493
|
Steps: {
|
|
318
|
-
zero: '0 !important',
|
|
319
|
-
auto: 'auto !important',
|
|
320
|
-
none: 'none !important',
|
|
321
|
-
full: '100% !important',
|
|
322
|
-
flex: 'flex !important',
|
|
323
494
|
rowGap: '10px',
|
|
324
495
|
iconWidthHeight: '38px !important',
|
|
325
496
|
iconSize: '18px !important',
|
|
326
497
|
paddingInlineEnd: '16px',
|
|
327
498
|
tailTop: '16px',
|
|
328
499
|
tailHeight: '3px',
|
|
329
|
-
titleFontSize: '14px
|
|
330
|
-
iconColor: '
|
|
331
|
-
tailColor: 'linear-gradient(to right, #343639 50%, transparent 50%)
|
|
332
|
-
tailLastChildColor: 'linear-gradient(to right, #4482ff 50%, transparent 50%)
|
|
333
|
-
tailFirstChildColor: 'linear-gradient(to right, transparent 50%, #4482ff 50%)
|
|
334
|
-
tailProcessFirstChildColor: 'linear-gradient(to right, transparent 50%, #3b404c 50%)
|
|
335
|
-
tailProcessColor: 'linear-gradient(to right, #4482ff 50%, #3b404c 50%)
|
|
336
|
-
tailWaitLastChildColor: 'linear-gradient(to right, #3b404c 50%, transparent 50%)
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
500
|
+
titleFontSize: '14px',
|
|
501
|
+
iconColor: colors.neutral['50'],
|
|
502
|
+
tailColor: 'linear-gradient(to right, #343639 50%, transparent 50%)',
|
|
503
|
+
tailLastChildColor: 'linear-gradient(to right, #4482ff 50%, transparent 50%)',
|
|
504
|
+
tailFirstChildColor: 'linear-gradient(to right, transparent 50%, #4482ff 50%)',
|
|
505
|
+
tailProcessFirstChildColor: 'linear-gradient(to right, transparent 50%, #3b404c 50%)',
|
|
506
|
+
tailProcessColor: 'linear-gradient(to right, #4482ff 50%, #3b404c 50%)',
|
|
507
|
+
tailWaitLastChildColor: 'linear-gradient(to right, #3b404c 50%, transparent 50%)',
|
|
508
|
+
tailWaitMiddleChildColor: `linear-gradient(to right, #4482ff 50%, #3b404c 50%)`,
|
|
509
|
+
tailErrorChildColor: `linear-gradient(to right, ${colors.red['450']} 50%, #3b404c 50%) !important`,
|
|
510
|
+
finishIconBgColor: `${colors.green['952']}`,
|
|
511
|
+
finishTailColor: `${colors.azure['500']}`,
|
|
512
|
+
processIconBgColor: `${colors.orange['425']}`,
|
|
513
|
+
waitIconBgColor: `${colors.neutral['50']}`,
|
|
514
|
+
waitIconColor: `${colors.ebonyClay['951']}`,
|
|
515
|
+
waitTitleColor: `${colors.neutral['50']}`,
|
|
516
|
+
waitTailColor: `${colors.gray['900']}`,
|
|
517
|
+
errorIconBgColor: `${colors.red['450']}`,
|
|
344
518
|
manyItemsTransform: 'rotate(-40deg)',
|
|
345
519
|
manyItemsWidth: '90px',
|
|
346
520
|
manyItemsHeight: '80px',
|
|
347
|
-
manyItemsWhiteSpace: 'break-spaces',
|
|
348
521
|
manyItemsMarginInlineStart: '40px',
|
|
349
|
-
manyItemsIconWidthHeight: '22px
|
|
522
|
+
manyItemsIconWidthHeight: '22px',
|
|
350
523
|
manyItemsTailHeight: '4px',
|
|
351
524
|
manyItemsTailBottom: '10px'
|
|
352
525
|
},
|
|
@@ -361,8 +534,7 @@ exports.theme = {
|
|
|
361
534
|
colorTextTertiary: colors.gray['300'],
|
|
362
535
|
handleBg: colors.neutral['80'],
|
|
363
536
|
handleShadow: '1px 1px 2px 0 rgba(156, 169, 194, 0.5)',
|
|
364
|
-
fontSizeSM: exports.fontSize * 0.5625
|
|
365
|
-
innerMinMargin: 0
|
|
537
|
+
fontSizeSM: exports.fontSize * 0.5625
|
|
366
538
|
},
|
|
367
539
|
Divider: {
|
|
368
540
|
colorSplit: colors.ebonyClay['175'],
|
|
@@ -371,6 +543,90 @@ exports.theme = {
|
|
|
371
543
|
fontWeight: 500,
|
|
372
544
|
textPaddingInline: 8,
|
|
373
545
|
margin: 48
|
|
546
|
+
},
|
|
547
|
+
DatePicker: {
|
|
548
|
+
general: {
|
|
549
|
+
fontSize: '14px',
|
|
550
|
+
fontColor: colors.gray['500'],
|
|
551
|
+
bgDarkBlue: colors.ebonyClay['475'],
|
|
552
|
+
wideBorder: `2px solid ${colors.ebonyClay['550']}`,
|
|
553
|
+
inputMarginBottom: '7px',
|
|
554
|
+
inputPadding: '7px 16px !important',
|
|
555
|
+
lightThemeBorder: `1px solid ${colors.neutral['350']}`
|
|
556
|
+
},
|
|
557
|
+
title: {
|
|
558
|
+
lightColor: `${colors.ebonyClay['500']}`
|
|
559
|
+
},
|
|
560
|
+
pickerPanel: {
|
|
561
|
+
shadow: '0 3px 6px 0 rgba(0, 0, 0, 0.2)',
|
|
562
|
+
width: '292px',
|
|
563
|
+
header: {
|
|
564
|
+
marginY: '20px',
|
|
565
|
+
padding: '0 22px',
|
|
566
|
+
textSize: '16px',
|
|
567
|
+
textColor: colors.neutral['380'],
|
|
568
|
+
arrawWidth: '10.2px',
|
|
569
|
+
arrowPaddingLeft: '12px',
|
|
570
|
+
arrowPaddingRight: '20px',
|
|
571
|
+
datePickerarrowPadding: '0.2px 0.2px 0.2px 0'
|
|
572
|
+
},
|
|
573
|
+
body: {
|
|
574
|
+
padding: '0 20px'
|
|
575
|
+
},
|
|
576
|
+
content: {
|
|
577
|
+
tableHeaderBorder: `1px solid ${colors.blue['250-10']}`,
|
|
578
|
+
tableHeaderFontSize: '12px',
|
|
579
|
+
tableHeaderFontColor: colors.neutral['380'],
|
|
580
|
+
tableHeaderWidth: '36px',
|
|
581
|
+
tableHeaderPaddingBottom: '6px'
|
|
582
|
+
},
|
|
583
|
+
row: {
|
|
584
|
+
marginY: '5px',
|
|
585
|
+
previousCellWidth: '36px',
|
|
586
|
+
cellLineHeight: '1.43',
|
|
587
|
+
cellFontWeight: 'normal',
|
|
588
|
+
cellTextColor: colors.neutral['380'],
|
|
589
|
+
cellBg: colors.ebonyClay['825'],
|
|
590
|
+
cellBorder: `2px solid ${colors.blue['250-10']}`,
|
|
591
|
+
cellBorderRadius: '3px'
|
|
592
|
+
},
|
|
593
|
+
separator: {
|
|
594
|
+
width: '6px',
|
|
595
|
+
height: '2px',
|
|
596
|
+
backgroundColor: colors.ebonyClay['550']
|
|
597
|
+
},
|
|
598
|
+
range: {
|
|
599
|
+
iconPosition: '10px',
|
|
600
|
+
iconTransform: 'translateY(-50%)',
|
|
601
|
+
inputPadding: '10px 16px !important',
|
|
602
|
+
inputRadius: '5px'
|
|
603
|
+
},
|
|
604
|
+
footer: {
|
|
605
|
+
margin: '4px 20px 0',
|
|
606
|
+
lineHeight: 'normal',
|
|
607
|
+
fontSize: '12px',
|
|
608
|
+
padding: '0 27px',
|
|
609
|
+
border: `1px solid ${colors.azure['500']}`,
|
|
610
|
+
borderRadius: '11px',
|
|
611
|
+
datePickerBorderTop: `1px solid ${colors.blue['250-10']}`,
|
|
612
|
+
datePickerPadding: '28px 0 23px',
|
|
613
|
+
rangeColGap: '50px',
|
|
614
|
+
rangeBorder: `1px solid ${colors.blue['250-20']}`,
|
|
615
|
+
rangePadding: '13px 20px 16px',
|
|
616
|
+
rangeCol: '12px',
|
|
617
|
+
rangeInputPadding: '10px 12px 10px 16px',
|
|
618
|
+
rangeInputRadius: '5px'
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
},
|
|
622
|
+
Upload: {
|
|
623
|
+
borderRadiusLG: 5,
|
|
624
|
+
colorFillAlter: colors.ebonyClay['475'],
|
|
625
|
+
colorError: colors.red['450'],
|
|
626
|
+
lineWidth: 0,
|
|
627
|
+
controlHeightLG: 30,
|
|
628
|
+
paddingXS: 0,
|
|
629
|
+
svgColor: colors.neutral['1000']
|
|
374
630
|
}
|
|
375
631
|
}
|
|
376
632
|
};
|