@akinon/ui-theme 1.0.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 +7 -0
- package/dist/cjs/colors.d.ts.map +1 -1
- package/dist/cjs/colors.js +8 -1
- package/dist/cjs/theme.d.ts +3 -2
- package/dist/cjs/theme.d.ts.map +1 -1
- package/dist/cjs/theme.js +64 -107
- package/dist/cjs/types.d.ts +27 -66
- package/dist/esm/colors.d.ts +7 -0
- package/dist/esm/colors.d.ts.map +1 -1
- package/dist/esm/colors.js +8 -1
- package/dist/esm/theme.d.ts +3 -2
- package/dist/esm/theme.d.ts.map +1 -1
- package/dist/esm/theme.js +64 -107
- package/dist/esm/types.d.ts +27 -66
- package/package.json +2 -2
package/dist/cjs/colors.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export declare const neutral: {
|
|
|
9
9
|
'250': string;
|
|
10
10
|
'300': string;
|
|
11
11
|
'350': string;
|
|
12
|
+
'380': string;
|
|
12
13
|
'375': string;
|
|
13
14
|
'400': string;
|
|
14
15
|
'500': string;
|
|
@@ -40,6 +41,7 @@ export declare const ebonyClay: {
|
|
|
40
41
|
'625': string;
|
|
41
42
|
'700': string;
|
|
42
43
|
'800': string;
|
|
44
|
+
'825': string;
|
|
43
45
|
'850': string;
|
|
44
46
|
'900': string;
|
|
45
47
|
'950': string;
|
|
@@ -104,6 +106,10 @@ export declare const blue: {
|
|
|
104
106
|
'50': string;
|
|
105
107
|
'100': string;
|
|
106
108
|
'200': string;
|
|
109
|
+
'250': string;
|
|
110
|
+
'251': string;
|
|
111
|
+
'250-10': string;
|
|
112
|
+
'250-20': string;
|
|
107
113
|
'300': string;
|
|
108
114
|
'400': string;
|
|
109
115
|
'500': string;
|
|
@@ -116,6 +122,7 @@ export declare const blue: {
|
|
|
116
122
|
'952': string;
|
|
117
123
|
'953': string;
|
|
118
124
|
'954': string;
|
|
125
|
+
'955': string;
|
|
119
126
|
};
|
|
120
127
|
export declare const purple: {
|
|
121
128
|
'50': string;
|
package/dist/cjs/colors.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../src/colors.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../src/colors.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;CAsBnB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BrB,CAAC;AAEF,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;CAgBhB,CAAC;AAEF,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;CAiBf,CAAC;AAEF,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;CAkBjB,CAAC;AAEF,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;CAqBhB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;CAelB,CAAC;AAEF,eAAO,MAAM,IAAI;;;;;;;;;;;;CAYhB,CAAC;AAGF,eAAO,MAAM,KAAK;;;;;;;;;;;;CAYjB,CAAC;AAGF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;CAkBlB,CAAC;AAGF,eAAO,MAAM,MAAM;;;;;;;;;;;;CAYlB,CAAC"}
|
package/dist/cjs/colors.js
CHANGED
|
@@ -13,6 +13,7 @@ exports.neutral = {
|
|
|
13
13
|
'250': '#d6e1e3',
|
|
14
14
|
'300': '#d4d4d4',
|
|
15
15
|
'350': '#c8daec',
|
|
16
|
+
'380': '#b6c2cf',
|
|
16
17
|
'375': '#bfbfbf',
|
|
17
18
|
'400': '#a3a3a3',
|
|
18
19
|
'500': '#737373',
|
|
@@ -44,6 +45,7 @@ exports.ebonyClay = {
|
|
|
44
45
|
'625': '#252c40',
|
|
45
46
|
'700': '#1d2331',
|
|
46
47
|
'800': '#171d27',
|
|
48
|
+
'825': '#1d2843',
|
|
47
49
|
'850': '#131826',
|
|
48
50
|
'900': '#11171e',
|
|
49
51
|
'950': '#0c111a',
|
|
@@ -108,6 +110,10 @@ exports.blue = {
|
|
|
108
110
|
'50': '#f5fcff',
|
|
109
111
|
'100': '#ebf8ff',
|
|
110
112
|
'200': '#cceafc',
|
|
113
|
+
'250': '#a6c5e2',
|
|
114
|
+
'251': '#9ca9c2',
|
|
115
|
+
'250-10': '#a6c5e228',
|
|
116
|
+
'250-20': '#a6c5e25c',
|
|
111
117
|
'300': '#afd9fa',
|
|
112
118
|
'400': '#74b4f7',
|
|
113
119
|
'500': '#3b82f6',
|
|
@@ -119,7 +125,8 @@ exports.blue = {
|
|
|
119
125
|
'951': '#126a6f',
|
|
120
126
|
'952': '#75e2e7',
|
|
121
127
|
'953': '#c6f0f2',
|
|
122
|
-
'954': '#363d51'
|
|
128
|
+
'954': '#363d51',
|
|
129
|
+
'955': '#062a4a'
|
|
123
130
|
};
|
|
124
131
|
exports.purple = {
|
|
125
132
|
'50': '#fbf7fc',
|
package/dist/cjs/theme.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { theme as antdTheme, ThemeConfig } from 'antd';
|
|
2
|
-
import { CustomTokens } from './types';
|
|
2
|
+
import { CustomTokens, NavCardToken } from './types';
|
|
3
3
|
export declare const fontSize = 16;
|
|
4
4
|
type ColorName = 'akinon' | 'azure' | 'blue' | 'orange' | 'red' | 'green' | 'pink' | 'purple' | 'gray' | 'ebonyClay' | 'neutral';
|
|
5
5
|
type Color = {
|
|
@@ -8,7 +8,8 @@ type Color = {
|
|
|
8
8
|
type Colors = Record<ColorName, Color>;
|
|
9
9
|
export type DefaultThemeConfig = ThemeConfig & {
|
|
10
10
|
colors: Colors;
|
|
11
|
-
|
|
11
|
+
NavCardTokens: NavCardToken;
|
|
12
|
+
CustomTokens: CustomTokens;
|
|
12
13
|
};
|
|
13
14
|
/**
|
|
14
15
|
* Non-editable akinon theme object.
|
package/dist/cjs/theme.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAevD,OAAO,EAML,YAAY,
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAevD,OAAO,EAML,YAAY,EAUZ,YAAY,EAWb,MAAM,SAAS,CAAC;AAGjB,eAAO,MAAM,QAAQ,KAAK,CAAC;AAE3B,KAAK,SAAS,GACV,QAAQ,GACR,OAAO,GACP,MAAM,GACN,QAAQ,GACR,KAAK,GACL,OAAO,GACP,MAAM,GACN,QAAQ,GACR,MAAM,GACN,WAAW,GACX,SAAS,CAAC;AAEd,KAAK,KAAK,GAAG;IACX,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB,CAAC;AAEF,KAAK,MAAM,GAAG,MAAM,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;AAevC,MAAM,MAAM,kBAAkB,GAAG,WAAW,GAAG;IAC7C,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,YAAY,CAAC;IAC5B,YAAY,EAAE,YAAY,CAAC;CAC5B,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,KAAK,EAAE,kBAgmBnB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,QAAQ,EAAE,OAAO,SAAS,CAAC,QAA6B,CAAC;AAEtE;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe;;CA2B3B,CAAC"}
|
package/dist/cjs/theme.js
CHANGED
|
@@ -51,7 +51,7 @@ exports.theme = {
|
|
|
51
51
|
fontFamily: "'Jost Variable'," + antd_1.theme.getDesignToken().fontFamily,
|
|
52
52
|
fontSize: exports.fontSize * 0.875
|
|
53
53
|
},
|
|
54
|
-
|
|
54
|
+
CustomTokens: {
|
|
55
55
|
layout: {
|
|
56
56
|
displayFlex: 'flex',
|
|
57
57
|
displayGrid: 'grid',
|
|
@@ -59,11 +59,18 @@ exports.theme = {
|
|
|
59
59
|
displayInline: 'inline',
|
|
60
60
|
displayInlineBlock: 'inline-block',
|
|
61
61
|
displayNone: 'none',
|
|
62
|
+
displayContents: 'contents',
|
|
62
63
|
positionAbsolute: 'absolute',
|
|
63
64
|
positionRelative: 'relative',
|
|
64
65
|
positionFixed: 'fixed',
|
|
65
66
|
positionSticky: 'sticky',
|
|
66
|
-
positionStatic: 'static'
|
|
67
|
+
positionStatic: 'static',
|
|
68
|
+
flexStart: 'start',
|
|
69
|
+
flexCenter: 'center',
|
|
70
|
+
flexDirectionRow: 'row',
|
|
71
|
+
flexDirectionRowReverse: 'row-reverse',
|
|
72
|
+
flexDirectionColumn: 'column',
|
|
73
|
+
flexDirectionColumnReverse: 'column-reverse'
|
|
67
74
|
},
|
|
68
75
|
typography: {
|
|
69
76
|
textTransformUppercase: 'uppercase',
|
|
@@ -78,9 +85,13 @@ exports.theme = {
|
|
|
78
85
|
whiteSpacePre: 'pre',
|
|
79
86
|
whiteSpacePreLine: 'pre-line',
|
|
80
87
|
whiteSpacePreWrap: 'pre-wrap',
|
|
88
|
+
whiteSpaceBreakSpaces: 'break-spaces',
|
|
89
|
+
wordBreak: 'break-word',
|
|
81
90
|
textDecorationUnderline: 'underline',
|
|
82
91
|
textDecorationOverline: 'overline',
|
|
83
|
-
textDecorationLineThrough: 'line-through'
|
|
92
|
+
textDecorationLineThrough: 'line-through',
|
|
93
|
+
fontWeightBold: '600',
|
|
94
|
+
fontWeightMedium: '500'
|
|
84
95
|
},
|
|
85
96
|
sizing: {
|
|
86
97
|
sizeMaxContent: 'max-content',
|
|
@@ -91,7 +102,8 @@ exports.theme = {
|
|
|
91
102
|
valueHalf: '50%',
|
|
92
103
|
valueQuarter: '25%',
|
|
93
104
|
valueZero: '0',
|
|
94
|
-
valueAuto: 'auto'
|
|
105
|
+
valueAuto: 'auto',
|
|
106
|
+
valueInherit: 'inherit'
|
|
95
107
|
},
|
|
96
108
|
others: {
|
|
97
109
|
colorTransparent: 'transparent',
|
|
@@ -99,7 +111,12 @@ exports.theme = {
|
|
|
99
111
|
valueUnset: 'unset',
|
|
100
112
|
emptyContent: '""',
|
|
101
113
|
lineHeightShort: '1',
|
|
102
|
-
lineHeightTall: '2'
|
|
114
|
+
lineHeightTall: '2',
|
|
115
|
+
cursorNotAllowed: 'not-allowed',
|
|
116
|
+
cursorPointer: 'pointer',
|
|
117
|
+
verticalAlignMiddle: 'middle',
|
|
118
|
+
opacityFull: '1',
|
|
119
|
+
opacityNone: '0'
|
|
103
120
|
},
|
|
104
121
|
border: {
|
|
105
122
|
borderNone: 'none',
|
|
@@ -107,7 +124,8 @@ exports.theme = {
|
|
|
107
124
|
borderDashed: 'dashed',
|
|
108
125
|
borderDotted: 'dotted',
|
|
109
126
|
borderWidthThin: '1px',
|
|
110
|
-
borderWidthThick: '2px'
|
|
127
|
+
borderWidthThick: '2px',
|
|
128
|
+
borderRadiusSm: '0.125rem'
|
|
111
129
|
},
|
|
112
130
|
overflow: {
|
|
113
131
|
overflowVisible: 'visible',
|
|
@@ -115,6 +133,9 @@ exports.theme = {
|
|
|
115
133
|
overflowScroll: 'scroll'
|
|
116
134
|
}
|
|
117
135
|
},
|
|
136
|
+
NavCardTokens: {
|
|
137
|
+
shadow: '2px 2px 4px 0 rgba(0, 0, 0, 0.2)'
|
|
138
|
+
},
|
|
118
139
|
components: {
|
|
119
140
|
// TODO: Please order these props alphabetically.
|
|
120
141
|
Button: {
|
|
@@ -123,7 +144,6 @@ exports.theme = {
|
|
|
123
144
|
colorPrimaryHover: colors.azure['600'],
|
|
124
145
|
colorPrimaryActive: colors.azure['700'],
|
|
125
146
|
colorPrimaryText: colors.neutral['50'],
|
|
126
|
-
primaryShadow: 'unset',
|
|
127
147
|
// type: default (secondary)
|
|
128
148
|
defaultBg: colors.neutral['50'],
|
|
129
149
|
defaultColor: colors.azure['500'],
|
|
@@ -132,7 +152,6 @@ exports.theme = {
|
|
|
132
152
|
defaultActiveBg: colors.neutral['50'],
|
|
133
153
|
defaultActiveColor: colors.azure['500'],
|
|
134
154
|
defaultBorderColor: colors.azure['500'],
|
|
135
|
-
defaultShadow: 'unset',
|
|
136
155
|
defaultBgSm: colors.gray['750'],
|
|
137
156
|
defaultBgSmHover: colors.gray['800'],
|
|
138
157
|
// prop: danger
|
|
@@ -140,7 +159,6 @@ exports.theme = {
|
|
|
140
159
|
colorErrorHover: colors.red['500'],
|
|
141
160
|
colorErrorActive: colors.red['600'],
|
|
142
161
|
colorErrorBorder: colors.red['500'],
|
|
143
|
-
dangerShadow: 'unset',
|
|
144
162
|
colorErrorBgSM: colors.red['425'],
|
|
145
163
|
colorErrorBgSMHover: colors.red['450'],
|
|
146
164
|
colorErrorSMHover: colors.neutral['50'],
|
|
@@ -160,7 +178,6 @@ exports.theme = {
|
|
|
160
178
|
colorTextDisabled: colors.neutral['350'],
|
|
161
179
|
borderColorDisabled: colors.neutral['350'],
|
|
162
180
|
// prop: ghost
|
|
163
|
-
defaultGhostBorderColor: 'transparent',
|
|
164
181
|
defaultGhostColor: colors.azure['500'],
|
|
165
182
|
// all buttons
|
|
166
183
|
contentFontSizeSM: exports.fontSize * 0.75,
|
|
@@ -169,13 +186,15 @@ exports.theme = {
|
|
|
169
186
|
paddingInlineSM: 20,
|
|
170
187
|
colorText: colors.neutral['50'],
|
|
171
188
|
colorTextHover: colors.neutral['50'],
|
|
172
|
-
contentLineHeightSM: 1,
|
|
173
189
|
controlHeight: 40,
|
|
174
190
|
borderRadius: 5,
|
|
175
191
|
paddingBlock: 10,
|
|
176
192
|
paddingInline: 45,
|
|
177
193
|
contentLineHeight: 'normal',
|
|
178
|
-
fontWeight: 600
|
|
194
|
+
fontWeight: 600,
|
|
195
|
+
defaultShadow: 'none',
|
|
196
|
+
primaryShadow: 'none',
|
|
197
|
+
dangerShadow: 'none'
|
|
179
198
|
},
|
|
180
199
|
Checkbox: {
|
|
181
200
|
colorPrimary: colors.ebonyClay['25'],
|
|
@@ -225,33 +244,22 @@ exports.theme = {
|
|
|
225
244
|
lightSubIconColor: `${colors.ebonyClay['125']} !important`,
|
|
226
245
|
lightchildItemBg: `${colors.neutral['350']} !important`,
|
|
227
246
|
lightChildItemColor: `${colors.ebonyClay['500']} !important`,
|
|
228
|
-
itemBorderRadius: 0,
|
|
229
|
-
itemMarginBlock: 0,
|
|
230
|
-
itemMarginInline: 0,
|
|
231
247
|
itemHeight: exports.fontSize * 3.25,
|
|
232
|
-
none: 'none !important',
|
|
233
|
-
unset: 'unset !important',
|
|
234
|
-
iconPosition: 'absolute !important',
|
|
235
248
|
mainBorder: `1px solid ${colors.gray['900']}`,
|
|
236
249
|
mainMenuIconSize: '12px !important',
|
|
237
250
|
mainMenuExpandIconSize: '16px !important',
|
|
238
|
-
mainMenuColor: colors.neutral['50']
|
|
239
|
-
mainMenuFontWeight: '600 !important',
|
|
251
|
+
mainMenuColor: `${colors.neutral['50']} !important`,
|
|
240
252
|
subMenuTitleColor: `${colors.gray['500']} !important`,
|
|
241
253
|
subMenuTitleIconMargin: '-25px !important',
|
|
242
|
-
subMenufontWeigth: '500 !important',
|
|
243
254
|
subMenuOnlyChildSize: '6px !important',
|
|
244
255
|
subMenuItemSelectedChildColor: `${colors.neutral['50']} !important`,
|
|
245
|
-
subMenuOnlyChildRadius: '50% !important',
|
|
246
256
|
subMenuOnlyChildBgColor: `${colors.ebonyClay['125']} !important`,
|
|
247
257
|
subMenuOnlyChildMargin: '-23px !important',
|
|
248
|
-
subMenuOnlyChildOpacity: '1 !important',
|
|
249
258
|
subMenuIconSize: '10px !important',
|
|
250
259
|
childMenuItemSelectedChildWidth: '10px !important',
|
|
251
260
|
childMenuItemSelectedChildHeight: '2px !important',
|
|
252
261
|
childMenuItemSelectedChildRadius: '1px !important',
|
|
253
262
|
childMenuItemSelectedChildMargin: '-17px !important',
|
|
254
|
-
childMenuItemSelectedChildOpacity: '1 !important',
|
|
255
263
|
childMenuItemSelectedChildBgColor: `${colors.ebonyClay['125']} !important`
|
|
256
264
|
},
|
|
257
265
|
Breadcrumb: {
|
|
@@ -267,9 +275,7 @@ exports.theme = {
|
|
|
267
275
|
fontWeight: 600,
|
|
268
276
|
lineHeight: 1.5,
|
|
269
277
|
separatorColor: colors.azure['500'],
|
|
270
|
-
letterSpacing: exports.fontSize * 0.03
|
|
271
|
-
marginInline: 0,
|
|
272
|
-
height: 'auto'
|
|
278
|
+
letterSpacing: exports.fontSize * 0.03
|
|
273
279
|
},
|
|
274
280
|
Tag: {
|
|
275
281
|
defaultColorSuccess: colors.green['951'],
|
|
@@ -294,8 +300,7 @@ exports.theme = {
|
|
|
294
300
|
fontSize: exports.fontSize * 0.8125,
|
|
295
301
|
paddingLeft: 15,
|
|
296
302
|
paddingRight: 15,
|
|
297
|
-
fontSizeClose: exports.fontSize * 0.6875
|
|
298
|
-
fontWeight: 500
|
|
303
|
+
fontSizeClose: exports.fontSize * 0.6875
|
|
299
304
|
},
|
|
300
305
|
Tooltip: {
|
|
301
306
|
bgColor: colors.ebonyClay['951']
|
|
@@ -354,32 +359,16 @@ exports.theme = {
|
|
|
354
359
|
verticalErrorPadding: '7px 0'
|
|
355
360
|
},
|
|
356
361
|
Pagination: {
|
|
357
|
-
zero: '0 !important',
|
|
358
|
-
none: 'none !important',
|
|
359
|
-
unset: 'unset !important',
|
|
360
|
-
maxContent: 'max-content !important',
|
|
361
362
|
fontSize: '14px !important',
|
|
362
|
-
transparent: 'transparent !important',
|
|
363
|
-
displayFlex: 'flex !important',
|
|
364
|
-
displayFlexRow: 'row !important',
|
|
365
|
-
displayContents: 'contents !important',
|
|
366
|
-
displayGrid: 'grid !important',
|
|
367
|
-
center: 'center !important',
|
|
368
|
-
full: '100% !important',
|
|
369
|
-
lineHeight: '1 !important',
|
|
370
|
-
auto: 'auto !important',
|
|
371
|
-
hidden: 'hidden !important',
|
|
372
363
|
Simple: {
|
|
373
364
|
minWidth: '68.56px !important',
|
|
374
365
|
fontWeight: 'normal !important',
|
|
375
366
|
color: `${colors.gray['500']} !important`,
|
|
376
367
|
input: {
|
|
377
|
-
textColor: `${colors.ebonyClay['960']} !important
|
|
378
|
-
fontWeight: '600 !important'
|
|
368
|
+
textColor: `${colors.ebonyClay['960']} !important`
|
|
379
369
|
},
|
|
380
370
|
prevNextButton: {
|
|
381
371
|
svgWidth: '10px !important',
|
|
382
|
-
svgHeight: '100% !important',
|
|
383
372
|
svgFill: `${colors.gray['500']} !important`
|
|
384
373
|
},
|
|
385
374
|
slashPadding: '8px !important',
|
|
@@ -388,8 +377,6 @@ exports.theme = {
|
|
|
388
377
|
},
|
|
389
378
|
Table: {
|
|
390
379
|
totalText: {
|
|
391
|
-
width: 'fit-content !important',
|
|
392
|
-
fontWeight: '500 !important',
|
|
393
380
|
color: `${colors.gray['500']} !important`,
|
|
394
381
|
margin: 'auto 32px !important'
|
|
395
382
|
},
|
|
@@ -414,7 +401,6 @@ exports.theme = {
|
|
|
414
401
|
sizeChanger: {
|
|
415
402
|
bgColor: `${colors.neutral['50']} !important`,
|
|
416
403
|
textColor: `${colors.ebonyClay['951']} !important`,
|
|
417
|
-
width: 'fit-content !important',
|
|
418
404
|
colGap: '10px !important',
|
|
419
405
|
border: `1px solid ${colors.neutral['350']} !important`,
|
|
420
406
|
borderRadius: '5px !important',
|
|
@@ -424,15 +410,12 @@ exports.theme = {
|
|
|
424
410
|
padding: '10px 16px !important'
|
|
425
411
|
},
|
|
426
412
|
item2: {
|
|
427
|
-
textColor: `${colors.gray['500']} !important
|
|
428
|
-
fontWeight: '600 !important'
|
|
413
|
+
textColor: `${colors.gray['500']} !important`
|
|
429
414
|
},
|
|
430
415
|
icon: {
|
|
431
416
|
bgColor: `${colors.neutral['50']} !important`,
|
|
432
417
|
textColor: `${colors.gray['500']} !important`,
|
|
433
|
-
width: '10px !important'
|
|
434
|
-
position: 'relative !important',
|
|
435
|
-
fontWeight: '600 !important'
|
|
418
|
+
width: '10px !important'
|
|
436
419
|
}
|
|
437
420
|
}
|
|
438
421
|
},
|
|
@@ -440,12 +423,8 @@ exports.theme = {
|
|
|
440
423
|
border: `1px solid ${colors.neutral['350']} !important`,
|
|
441
424
|
bgColor: `${colors.neutral['75']} !important`,
|
|
442
425
|
textColor: `${colors.ebonyClay['960']} !important`,
|
|
443
|
-
fontWeight: '600',
|
|
444
426
|
minWidth: '18px',
|
|
445
|
-
height: 'calc(100% - 3px)'
|
|
446
|
-
spanVisibility: 'hidden',
|
|
447
|
-
spanWhiteSpace: 'pre',
|
|
448
|
-
spanPosition: 'absolute'
|
|
427
|
+
height: 'calc(100% - 3px)'
|
|
449
428
|
}
|
|
450
429
|
},
|
|
451
430
|
Select: {
|
|
@@ -464,9 +443,15 @@ exports.theme = {
|
|
|
464
443
|
selectItemHoverBgColor: 'rgba(68, 130, 255, 0.2)'
|
|
465
444
|
},
|
|
466
445
|
Table: {
|
|
446
|
+
headerBorderRadius: 0,
|
|
447
|
+
headerBg: 'transparent',
|
|
448
|
+
headerColor: '#9b9b9b',
|
|
449
|
+
headerSplitColor: 'transparent',
|
|
467
450
|
colorBgContainer: 'transparent',
|
|
468
451
|
rowHoverBg: 'unset',
|
|
469
|
-
borderColor: colors.neutral['350']
|
|
452
|
+
borderColor: colors.neutral['350'],
|
|
453
|
+
cellPaddingInline: 0,
|
|
454
|
+
fontSize: exports.fontSize
|
|
470
455
|
},
|
|
471
456
|
Input: {
|
|
472
457
|
colorBgContainer: colors.ebonyClay['475'],
|
|
@@ -489,36 +474,23 @@ exports.theme = {
|
|
|
489
474
|
Modal: {
|
|
490
475
|
titleFontSize: exports.fontSize * 1.25,
|
|
491
476
|
padding: '20px 35px',
|
|
492
|
-
fontWeight: 500,
|
|
493
477
|
borderBottom: `1px solid ${colors.blue['954']}`,
|
|
494
478
|
footerPadding: '0 35px 20px 35px',
|
|
495
479
|
closeIconColor: colors.neutral['100'],
|
|
496
|
-
contentPadding: 0,
|
|
497
|
-
footerMarginTop: 0,
|
|
498
480
|
closeTop: 20,
|
|
499
481
|
closeRight: 27,
|
|
500
|
-
headerMarginBottom: 0,
|
|
501
|
-
badgeColorContent: '',
|
|
502
482
|
badgeColorTop: 27,
|
|
503
|
-
badgeColorLeft: 0,
|
|
504
483
|
badgeColorWidth: 4,
|
|
505
484
|
badgeColorHeight: 16,
|
|
506
|
-
badgeColorPosition: 'absolute',
|
|
507
485
|
badgeColorBackgroundColor: colors.red['425']
|
|
508
486
|
},
|
|
509
487
|
Progress: {
|
|
510
488
|
strokeColor: colors.ebonyClay['625'],
|
|
511
489
|
trailColor: colors.neutral['50'],
|
|
512
|
-
borderRadius: '0',
|
|
513
490
|
height: '18px !important',
|
|
514
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'
|
|
515
492
|
},
|
|
516
493
|
Steps: {
|
|
517
|
-
zero: '0',
|
|
518
|
-
auto: 'auto',
|
|
519
|
-
none: 'none',
|
|
520
|
-
full: '100% !important',
|
|
521
|
-
flex: 'flex',
|
|
522
494
|
rowGap: '10px',
|
|
523
495
|
iconWidthHeight: '38px !important',
|
|
524
496
|
iconSize: '18px !important',
|
|
@@ -526,7 +498,7 @@ exports.theme = {
|
|
|
526
498
|
tailTop: '16px',
|
|
527
499
|
tailHeight: '3px',
|
|
528
500
|
titleFontSize: '14px',
|
|
529
|
-
iconColor: '
|
|
501
|
+
iconColor: colors.neutral['50'],
|
|
530
502
|
tailColor: 'linear-gradient(to right, #343639 50%, transparent 50%)',
|
|
531
503
|
tailLastChildColor: 'linear-gradient(to right, #4482ff 50%, transparent 50%)',
|
|
532
504
|
tailFirstChildColor: 'linear-gradient(to right, transparent 50%, #4482ff 50%)',
|
|
@@ -546,7 +518,6 @@ exports.theme = {
|
|
|
546
518
|
manyItemsTransform: 'rotate(-40deg)',
|
|
547
519
|
manyItemsWidth: '90px',
|
|
548
520
|
manyItemsHeight: '80px',
|
|
549
|
-
manyItemsWhiteSpace: 'break-spaces',
|
|
550
521
|
manyItemsMarginInlineStart: '40px',
|
|
551
522
|
manyItemsIconWidthHeight: '22px',
|
|
552
523
|
manyItemsTailHeight: '4px',
|
|
@@ -563,8 +534,7 @@ exports.theme = {
|
|
|
563
534
|
colorTextTertiary: colors.gray['300'],
|
|
564
535
|
handleBg: colors.neutral['80'],
|
|
565
536
|
handleShadow: '1px 1px 2px 0 rgba(156, 169, 194, 0.5)',
|
|
566
|
-
fontSizeSM: exports.fontSize * 0.5625
|
|
567
|
-
innerMinMargin: 0
|
|
537
|
+
fontSizeSM: exports.fontSize * 0.5625
|
|
568
538
|
},
|
|
569
539
|
Divider: {
|
|
570
540
|
colorSplit: colors.ebonyClay['175'],
|
|
@@ -577,29 +547,16 @@ exports.theme = {
|
|
|
577
547
|
DatePicker: {
|
|
578
548
|
general: {
|
|
579
549
|
fontSize: '14px',
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
wideBorder: '2px solid #262e47',
|
|
584
|
-
itemCenter: 'center',
|
|
550
|
+
fontColor: colors.gray['500'],
|
|
551
|
+
bgDarkBlue: colors.ebonyClay['475'],
|
|
552
|
+
wideBorder: `2px solid ${colors.ebonyClay['550']}`,
|
|
585
553
|
inputMarginBottom: '7px',
|
|
586
|
-
inputPadding: '
|
|
587
|
-
lightThemeBorder:
|
|
554
|
+
inputPadding: '7px 16px !important',
|
|
555
|
+
lightThemeBorder: `1px solid ${colors.neutral['350']}`
|
|
588
556
|
},
|
|
589
557
|
title: {
|
|
590
558
|
lightColor: `${colors.ebonyClay['500']}`
|
|
591
559
|
},
|
|
592
|
-
pickerTriangle: {
|
|
593
|
-
transform: 'translateX(-50%)',
|
|
594
|
-
beforeTop: '-8px',
|
|
595
|
-
beforeBorderX: '12px solid transparent',
|
|
596
|
-
beforeBorderBottom: '9px solid #262e47',
|
|
597
|
-
beforeZIndex: '1',
|
|
598
|
-
afterTop: '-6px',
|
|
599
|
-
afterBorderX: '10px solid transparent',
|
|
600
|
-
afterBorderBottom: '8px solid #2b344c',
|
|
601
|
-
afterZIndex: '2'
|
|
602
|
-
},
|
|
603
560
|
pickerPanel: {
|
|
604
561
|
shadow: '0 3px 6px 0 rgba(0, 0, 0, 0.2)',
|
|
605
562
|
width: '292px',
|
|
@@ -607,7 +564,7 @@ exports.theme = {
|
|
|
607
564
|
marginY: '20px',
|
|
608
565
|
padding: '0 22px',
|
|
609
566
|
textSize: '16px',
|
|
610
|
-
textColor: '
|
|
567
|
+
textColor: colors.neutral['380'],
|
|
611
568
|
arrawWidth: '10.2px',
|
|
612
569
|
arrowPaddingLeft: '12px',
|
|
613
570
|
arrowPaddingRight: '20px',
|
|
@@ -617,9 +574,9 @@ exports.theme = {
|
|
|
617
574
|
padding: '0 20px'
|
|
618
575
|
},
|
|
619
576
|
content: {
|
|
620
|
-
tableHeaderBorder:
|
|
577
|
+
tableHeaderBorder: `1px solid ${colors.blue['250-10']}`,
|
|
621
578
|
tableHeaderFontSize: '12px',
|
|
622
|
-
tableHeaderFontColor: '
|
|
579
|
+
tableHeaderFontColor: colors.neutral['380'],
|
|
623
580
|
tableHeaderWidth: '36px',
|
|
624
581
|
tableHeaderPaddingBottom: '6px'
|
|
625
582
|
},
|
|
@@ -628,15 +585,15 @@ exports.theme = {
|
|
|
628
585
|
previousCellWidth: '36px',
|
|
629
586
|
cellLineHeight: '1.43',
|
|
630
587
|
cellFontWeight: 'normal',
|
|
631
|
-
cellTextColor: '
|
|
632
|
-
cellBg: '
|
|
633
|
-
cellBorder:
|
|
588
|
+
cellTextColor: colors.neutral['380'],
|
|
589
|
+
cellBg: colors.ebonyClay['825'],
|
|
590
|
+
cellBorder: `2px solid ${colors.blue['250-10']}`,
|
|
634
591
|
cellBorderRadius: '3px'
|
|
635
592
|
},
|
|
636
593
|
separator: {
|
|
637
594
|
width: '6px',
|
|
638
595
|
height: '2px',
|
|
639
|
-
backgroundColor: '
|
|
596
|
+
backgroundColor: colors.ebonyClay['550']
|
|
640
597
|
},
|
|
641
598
|
range: {
|
|
642
599
|
iconPosition: '10px',
|
|
@@ -649,13 +606,12 @@ exports.theme = {
|
|
|
649
606
|
lineHeight: 'normal',
|
|
650
607
|
fontSize: '12px',
|
|
651
608
|
padding: '0 27px',
|
|
652
|
-
border:
|
|
609
|
+
border: `1px solid ${colors.azure['500']}`,
|
|
653
610
|
borderRadius: '11px',
|
|
654
|
-
datePickerBorderTop:
|
|
611
|
+
datePickerBorderTop: `1px solid ${colors.blue['250-10']}`,
|
|
655
612
|
datePickerPadding: '28px 0 23px',
|
|
656
|
-
rangeDirection: 'row',
|
|
657
613
|
rangeColGap: '50px',
|
|
658
|
-
rangeBorder:
|
|
614
|
+
rangeBorder: `1px solid ${colors.blue['250-20']}`,
|
|
659
615
|
rangePadding: '13px 20px 16px',
|
|
660
616
|
rangeCol: '12px',
|
|
661
617
|
rangeInputPadding: '10px 12px 10px 16px',
|
|
@@ -669,7 +625,8 @@ exports.theme = {
|
|
|
669
625
|
colorError: colors.red['450'],
|
|
670
626
|
lineWidth: 0,
|
|
671
627
|
controlHeightLG: 30,
|
|
672
|
-
paddingXS: 0
|
|
628
|
+
paddingXS: 0,
|
|
629
|
+
svgColor: colors.neutral['1000']
|
|
673
630
|
}
|
|
674
631
|
}
|
|
675
632
|
};
|