@fle-ui/next 1.0.5-alpha.5 → 1.0.5-alpha.6
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/@fle-ui/next.css +3102 -322
- package/dist/@fle-ui/next.css.map +1 -1
- package/dist/@fle-ui/next.js +1 -1
- package/dist/@fle-ui/next.min.css +3 -3
- package/dist/@fle-ui/next.min.css.map +1 -1
- package/dist/@fle-ui/next.min.js +1 -1
- package/es/affix/style/index.css +42 -0
- package/es/alert/style/index.css +50 -8
- package/es/anchor/style/index.css +42 -0
- package/es/auto-complete/style/index.css +42 -0
- package/es/avatar/style/index.css +42 -0
- package/es/back-top/style/index.css +42 -0
- package/es/badge/style/index.css +55 -13
- package/es/breadcrumb/style/index.css +42 -0
- package/es/button/style/index.css +122 -72
- package/es/calendar/style/index.css +43 -1
- package/es/card/style/index.css +42 -0
- package/es/carousel/style/index.css +42 -0
- package/es/cascader/style/index.css +44 -2
- package/es/checkbox/style/index.css +42 -0
- package/es/collapse/style/index.css +42 -0
- package/es/comment/style/index.css +42 -0
- package/es/config-provider/style/index.css +42 -0
- package/es/date-picker/style/index.css +77 -35
- package/es/descriptions/style/index.css +42 -0
- package/es/divider/style/index.css +42 -0
- package/es/drawer/style/index.css +42 -0
- package/es/dropdown/style/index.css +46 -4
- package/es/empty/style/index.css +42 -0
- package/es/form/style/index.css +43 -1
- package/es/grid/style/index.css +42 -0
- package/es/icon/style/index.css +42 -0
- package/es/image/style/index.css +42 -0
- package/es/input/style/index.css +61 -19
- package/es/input-number/style/index.css +61 -19
- package/es/layout/style/index.css +42 -0
- package/es/list/style/index.css +42 -0
- package/es/locale-provider/style/index.css +42 -0
- package/es/mentions/style/index.css +51 -9
- package/es/menu/style/index.css +50 -8
- package/es/message/style/index.css +42 -0
- package/es/modal/style/index.css +43 -1
- package/es/modal/style/modal.less +1 -1
- package/es/notification/style/index.css +42 -0
- package/es/page-header/style/index.css +44 -2
- package/es/pagination/style/index.css +53 -11
- package/es/pagination/style/index.less +5 -3
- package/es/popconfirm/style/index.css +42 -0
- package/es/popover/style/index.css +51 -9
- package/es/progress/style/index.css +47 -5
- package/es/radio/style/index.css +57 -15
- package/es/rate/style/index.css +42 -0
- package/es/result/style/index.css +42 -0
- package/es/segmented/style/index.css +42 -0
- package/es/select/style/index.css +50 -8
- package/es/skeleton/style/index.css +42 -0
- package/es/slider/style/index.css +49 -7
- package/es/space/style/index.css +42 -0
- package/es/spin/style/index.css +42 -0
- package/es/statistic/style/index.css +42 -0
- package/es/steps/style/index.css +42 -0
- package/es/style/color/colors.less +3 -3
- package/es/style/index.css +44 -2
- package/es/style/themes/compact.less +12 -6
- package/es/style/themes/dark.less +445 -106
- package/es/style/themes/default.less +6 -6
- package/es/style/themes/index.less +1 -1
- package/es/style/themes/variable.less +76 -38
- package/es/switch/style/index.css +43 -1
- package/es/table/style/index.css +47 -5
- package/es/tabs/style/index.css +47 -5
- package/es/tag/style/index.css +66 -24
- package/es/time-picker/style/index.css +42 -0
- package/es/timeline/style/index.css +42 -0
- package/es/tooltip/style/index.css +51 -9
- package/es/transfer/style/index.css +53 -11
- package/es/tree/style/index.css +44 -2
- package/es/tree-select/style/index.css +44 -2
- package/es/typography/style/index.css +49 -7
- package/es/upload/style/index.css +46 -4
- package/lib/affix/style/index.css +42 -0
- package/lib/alert/style/index.css +50 -8
- package/lib/anchor/style/index.css +42 -0
- package/lib/auto-complete/style/index.css +42 -0
- package/lib/avatar/style/index.css +42 -0
- package/lib/back-top/style/index.css +42 -0
- package/lib/badge/style/index.css +55 -13
- package/lib/breadcrumb/style/index.css +42 -0
- package/lib/button/style/index.css +122 -72
- package/lib/calendar/style/index.css +43 -1
- package/lib/card/style/index.css +42 -0
- package/lib/carousel/style/index.css +42 -0
- package/lib/cascader/style/index.css +44 -2
- package/lib/checkbox/style/index.css +42 -0
- package/lib/collapse/style/index.css +42 -0
- package/lib/comment/style/index.css +42 -0
- package/lib/config-provider/style/index.css +42 -0
- package/lib/date-picker/style/index.css +77 -35
- package/lib/descriptions/style/index.css +42 -0
- package/lib/divider/style/index.css +42 -0
- package/lib/drawer/style/index.css +42 -0
- package/lib/dropdown/style/index.css +46 -4
- package/lib/empty/style/index.css +42 -0
- package/lib/form/style/index.css +43 -1
- package/lib/grid/style/index.css +42 -0
- package/lib/icon/style/index.css +42 -0
- package/lib/image/style/index.css +42 -0
- package/lib/input/style/index.css +61 -19
- package/lib/input-number/style/index.css +61 -19
- package/lib/layout/style/index.css +42 -0
- package/lib/list/style/index.css +42 -0
- package/lib/locale-provider/style/index.css +42 -0
- package/lib/mentions/style/index.css +51 -9
- package/lib/menu/style/index.css +50 -8
- package/lib/message/style/index.css +42 -0
- package/lib/modal/style/index.css +43 -1
- package/lib/modal/style/modal.less +1 -1
- package/lib/notification/style/index.css +42 -0
- package/lib/page-header/style/index.css +44 -2
- package/lib/pagination/style/index.css +53 -11
- package/lib/pagination/style/index.less +5 -3
- package/lib/popconfirm/style/index.css +42 -0
- package/lib/popover/style/index.css +51 -9
- package/lib/progress/style/index.css +47 -5
- package/lib/radio/style/index.css +57 -15
- package/lib/rate/style/index.css +42 -0
- package/lib/result/style/index.css +42 -0
- package/lib/segmented/style/index.css +42 -0
- package/lib/select/style/index.css +50 -8
- package/lib/skeleton/style/index.css +42 -0
- package/lib/slider/style/index.css +49 -7
- package/lib/space/style/index.css +42 -0
- package/lib/spin/style/index.css +42 -0
- package/lib/statistic/style/index.css +42 -0
- package/lib/steps/style/index.css +42 -0
- package/lib/style/color/colors.less +3 -3
- package/lib/style/index.css +44 -2
- package/lib/style/themes/compact.less +12 -6
- package/lib/style/themes/dark.less +445 -106
- package/lib/style/themes/default.less +6 -6
- package/lib/style/themes/index.less +1 -1
- package/lib/style/themes/variable.less +76 -38
- package/lib/switch/style/index.css +43 -1
- package/lib/table/style/index.css +47 -5
- package/lib/tabs/style/index.css +47 -5
- package/lib/tag/style/index.css +66 -24
- package/lib/time-picker/style/index.css +42 -0
- package/lib/timeline/style/index.css +42 -0
- package/lib/tooltip/style/index.css +51 -9
- package/lib/transfer/style/index.css +53 -11
- package/lib/tree/style/index.css +44 -2
- package/lib/tree-select/style/index.css +44 -2
- package/lib/typography/style/index.css +49 -7
- package/lib/upload/style/index.css +46 -4
- package/package.json +1 -1
@@ -2,6 +2,48 @@
|
|
2
2
|
/* stylelint-disable no-duplicate-selectors */
|
3
3
|
/* stylelint-disable */
|
4
4
|
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
5
|
+
html {
|
6
|
+
--ant-primary-color: #1890ff;
|
7
|
+
--ant-primary-color-hover: #40a9ff;
|
8
|
+
--ant-primary-color-active: #096dd9;
|
9
|
+
--ant-primary-color-outline: rgba(24, 144, 255, 0.2);
|
10
|
+
--ant-primary-1: #e6f7ff;
|
11
|
+
--ant-primary-2: #bae7ff;
|
12
|
+
--ant-primary-3: #91d5ff;
|
13
|
+
--ant-primary-4: #69c0ff;
|
14
|
+
--ant-primary-5: #40a9ff;
|
15
|
+
--ant-primary-6: #1890ff;
|
16
|
+
--ant-primary-7: #096dd9;
|
17
|
+
--ant-primary-color-deprecated-pure: ;
|
18
|
+
--ant-primary-color-deprecated-l-35: #cbe6ff;
|
19
|
+
--ant-primary-color-deprecated-l-20: #7ec1ff;
|
20
|
+
--ant-primary-color-deprecated-t-20: #46a6ff;
|
21
|
+
--ant-primary-color-deprecated-t-50: #8cc8ff;
|
22
|
+
--ant-primary-color-deprecated-f-12: rgba(24, 144, 255, 0.12);
|
23
|
+
--ant-primary-color-active-deprecated-f-30: rgba(230, 247, 255, 0.3);
|
24
|
+
--ant-primary-color-active-deprecated-d-02: #dcf4ff;
|
25
|
+
--ant-success-color: #36c626;
|
26
|
+
--ant-success-color-hover: #5cd44a;
|
27
|
+
--ant-success-color-active: #20a116;
|
28
|
+
--ant-success-color-outline: rgba(54, 198, 38, 0.2);
|
29
|
+
--ant-success-color-deprecated-bg: #f4fff0;
|
30
|
+
--ant-success-color-deprecated-border: #afed9f;
|
31
|
+
--ant-error-color: #ff5c57;
|
32
|
+
--ant-error-color-hover: #ff8880;
|
33
|
+
--ant-error-color-active: #d93f3f;
|
34
|
+
--ant-error-color-outline: rgba(255, 92, 87, 0.2);
|
35
|
+
--ant-error-color-deprecated-bg: #fff3f0;
|
36
|
+
--ant-error-color-deprecated-border: #ffd7d1;
|
37
|
+
--ant-warning-color: #ffab00;
|
38
|
+
--ant-warning-color-hover: #ffbf29;
|
39
|
+
--ant-warning-color-active: #d98900;
|
40
|
+
--ant-warning-color-outline: rgba(255, 171, 0, 0.2);
|
41
|
+
--ant-warning-color-deprecated-bg: #fffbe6;
|
42
|
+
--ant-warning-color-deprecated-border: #ffe07a;
|
43
|
+
--ant-info-color: #1890ff;
|
44
|
+
--ant-info-color-deprecated-bg: #e6f7ff;
|
45
|
+
--ant-info-color-deprecated-border: #91d5ff;
|
46
|
+
}
|
5
47
|
.ant-select-single .ant-select-selector {
|
6
48
|
display: flex;
|
7
49
|
}
|
@@ -324,8 +366,8 @@
|
|
324
366
|
}
|
325
367
|
.ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input).ant-select-open .ant-select-selector,
|
326
368
|
.ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input).ant-select-focused .ant-select-selector {
|
327
|
-
border-color:
|
328
|
-
box-shadow: 0 0 0 2px
|
369
|
+
border-color: var(--ant-error-color-hover);
|
370
|
+
box-shadow: 0 0 0 2px var(--ant-error-color-outline);
|
329
371
|
border-right-width: 1px;
|
330
372
|
outline: 0;
|
331
373
|
}
|
@@ -335,8 +377,8 @@
|
|
335
377
|
}
|
336
378
|
.ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input).ant-select-open .ant-select-selector,
|
337
379
|
.ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input).ant-select-focused .ant-select-selector {
|
338
|
-
border-color:
|
339
|
-
box-shadow: 0 0 0 2px
|
380
|
+
border-color: var(--ant-warning-color-hover);
|
381
|
+
box-shadow: 0 0 0 2px var(--ant-warning-color-outline);
|
340
382
|
border-right-width: 1px;
|
341
383
|
outline: 0;
|
342
384
|
}
|
@@ -384,8 +426,8 @@
|
|
384
426
|
cursor: auto;
|
385
427
|
}
|
386
428
|
.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector {
|
387
|
-
border-color:
|
388
|
-
box-shadow: 0 0 0 2px
|
429
|
+
border-color: var(--ant-primary-color-hover);
|
430
|
+
box-shadow: 0 0 0 2px var(--ant-primary-color-outline);
|
389
431
|
border-right-width: 1px;
|
390
432
|
outline: 0;
|
391
433
|
}
|
@@ -416,7 +458,7 @@
|
|
416
458
|
-webkit-appearance: none;
|
417
459
|
}
|
418
460
|
.ant-select:not(.ant-select-disabled):hover .ant-select-selector {
|
419
|
-
border-color:
|
461
|
+
border-color: var(--ant-primary-5);
|
420
462
|
border-right-width: 1px;
|
421
463
|
}
|
422
464
|
.ant-select-selection-item {
|
@@ -620,7 +662,7 @@
|
|
620
662
|
.ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
|
621
663
|
color: #4c4c4c;
|
622
664
|
font-weight: 600;
|
623
|
-
background-color:
|
665
|
+
background-color: var(--ant-primary-1);
|
624
666
|
}
|
625
667
|
.ant-select-item-option-selected:not(.ant-select-item-option-disabled) .ant-select-item-option-state {
|
626
668
|
color: #2c68ff;
|
@@ -2,6 +2,48 @@
|
|
2
2
|
/* stylelint-disable no-duplicate-selectors */
|
3
3
|
/* stylelint-disable */
|
4
4
|
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
5
|
+
html {
|
6
|
+
--ant-primary-color: #1890ff;
|
7
|
+
--ant-primary-color-hover: #40a9ff;
|
8
|
+
--ant-primary-color-active: #096dd9;
|
9
|
+
--ant-primary-color-outline: rgba(24, 144, 255, 0.2);
|
10
|
+
--ant-primary-1: #e6f7ff;
|
11
|
+
--ant-primary-2: #bae7ff;
|
12
|
+
--ant-primary-3: #91d5ff;
|
13
|
+
--ant-primary-4: #69c0ff;
|
14
|
+
--ant-primary-5: #40a9ff;
|
15
|
+
--ant-primary-6: #1890ff;
|
16
|
+
--ant-primary-7: #096dd9;
|
17
|
+
--ant-primary-color-deprecated-pure: ;
|
18
|
+
--ant-primary-color-deprecated-l-35: #cbe6ff;
|
19
|
+
--ant-primary-color-deprecated-l-20: #7ec1ff;
|
20
|
+
--ant-primary-color-deprecated-t-20: #46a6ff;
|
21
|
+
--ant-primary-color-deprecated-t-50: #8cc8ff;
|
22
|
+
--ant-primary-color-deprecated-f-12: rgba(24, 144, 255, 0.12);
|
23
|
+
--ant-primary-color-active-deprecated-f-30: rgba(230, 247, 255, 0.3);
|
24
|
+
--ant-primary-color-active-deprecated-d-02: #dcf4ff;
|
25
|
+
--ant-success-color: #36c626;
|
26
|
+
--ant-success-color-hover: #5cd44a;
|
27
|
+
--ant-success-color-active: #20a116;
|
28
|
+
--ant-success-color-outline: rgba(54, 198, 38, 0.2);
|
29
|
+
--ant-success-color-deprecated-bg: #f4fff0;
|
30
|
+
--ant-success-color-deprecated-border: #afed9f;
|
31
|
+
--ant-error-color: #ff5c57;
|
32
|
+
--ant-error-color-hover: #ff8880;
|
33
|
+
--ant-error-color-active: #d93f3f;
|
34
|
+
--ant-error-color-outline: rgba(255, 92, 87, 0.2);
|
35
|
+
--ant-error-color-deprecated-bg: #fff3f0;
|
36
|
+
--ant-error-color-deprecated-border: #ffd7d1;
|
37
|
+
--ant-warning-color: #ffab00;
|
38
|
+
--ant-warning-color-hover: #ffbf29;
|
39
|
+
--ant-warning-color-active: #d98900;
|
40
|
+
--ant-warning-color-outline: rgba(255, 171, 0, 0.2);
|
41
|
+
--ant-warning-color-deprecated-bg: #fffbe6;
|
42
|
+
--ant-warning-color-deprecated-border: #ffe07a;
|
43
|
+
--ant-info-color: #1890ff;
|
44
|
+
--ant-info-color-deprecated-bg: #e6f7ff;
|
45
|
+
--ant-info-color-deprecated-border: #91d5ff;
|
46
|
+
}
|
5
47
|
.ant-skeleton {
|
6
48
|
display: table;
|
7
49
|
width: 100%;
|
@@ -2,6 +2,48 @@
|
|
2
2
|
/* stylelint-disable no-duplicate-selectors */
|
3
3
|
/* stylelint-disable */
|
4
4
|
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
5
|
+
html {
|
6
|
+
--ant-primary-color: #1890ff;
|
7
|
+
--ant-primary-color-hover: #40a9ff;
|
8
|
+
--ant-primary-color-active: #096dd9;
|
9
|
+
--ant-primary-color-outline: rgba(24, 144, 255, 0.2);
|
10
|
+
--ant-primary-1: #e6f7ff;
|
11
|
+
--ant-primary-2: #bae7ff;
|
12
|
+
--ant-primary-3: #91d5ff;
|
13
|
+
--ant-primary-4: #69c0ff;
|
14
|
+
--ant-primary-5: #40a9ff;
|
15
|
+
--ant-primary-6: #1890ff;
|
16
|
+
--ant-primary-7: #096dd9;
|
17
|
+
--ant-primary-color-deprecated-pure: ;
|
18
|
+
--ant-primary-color-deprecated-l-35: #cbe6ff;
|
19
|
+
--ant-primary-color-deprecated-l-20: #7ec1ff;
|
20
|
+
--ant-primary-color-deprecated-t-20: #46a6ff;
|
21
|
+
--ant-primary-color-deprecated-t-50: #8cc8ff;
|
22
|
+
--ant-primary-color-deprecated-f-12: rgba(24, 144, 255, 0.12);
|
23
|
+
--ant-primary-color-active-deprecated-f-30: rgba(230, 247, 255, 0.3);
|
24
|
+
--ant-primary-color-active-deprecated-d-02: #dcf4ff;
|
25
|
+
--ant-success-color: #36c626;
|
26
|
+
--ant-success-color-hover: #5cd44a;
|
27
|
+
--ant-success-color-active: #20a116;
|
28
|
+
--ant-success-color-outline: rgba(54, 198, 38, 0.2);
|
29
|
+
--ant-success-color-deprecated-bg: #f4fff0;
|
30
|
+
--ant-success-color-deprecated-border: #afed9f;
|
31
|
+
--ant-error-color: #ff5c57;
|
32
|
+
--ant-error-color-hover: #ff8880;
|
33
|
+
--ant-error-color-active: #d93f3f;
|
34
|
+
--ant-error-color-outline: rgba(255, 92, 87, 0.2);
|
35
|
+
--ant-error-color-deprecated-bg: #fff3f0;
|
36
|
+
--ant-error-color-deprecated-border: #ffd7d1;
|
37
|
+
--ant-warning-color: #ffab00;
|
38
|
+
--ant-warning-color-hover: #ffbf29;
|
39
|
+
--ant-warning-color-active: #d98900;
|
40
|
+
--ant-warning-color-outline: rgba(255, 171, 0, 0.2);
|
41
|
+
--ant-warning-color-deprecated-bg: #fffbe6;
|
42
|
+
--ant-warning-color-deprecated-border: #ffe07a;
|
43
|
+
--ant-info-color: #1890ff;
|
44
|
+
--ant-info-color-deprecated-bg: #e6f7ff;
|
45
|
+
--ant-info-color-deprecated-border: #91d5ff;
|
46
|
+
}
|
5
47
|
.ant-slider {
|
6
48
|
box-sizing: border-box;
|
7
49
|
margin: 0;
|
@@ -87,7 +129,7 @@
|
|
87
129
|
.ant-slider-track {
|
88
130
|
position: absolute;
|
89
131
|
height: 4px;
|
90
|
-
background-color:
|
132
|
+
background-color: var(--ant-primary-3);
|
91
133
|
border-radius: 4px;
|
92
134
|
transition: background-color 0.3s;
|
93
135
|
}
|
@@ -97,7 +139,7 @@
|
|
97
139
|
height: 14px;
|
98
140
|
margin-top: -5px;
|
99
141
|
background-color: #fff;
|
100
|
-
border: solid 2px
|
142
|
+
border: solid 2px var(--ant-primary-3);
|
101
143
|
border-radius: 50%;
|
102
144
|
box-shadow: 0;
|
103
145
|
cursor: pointer;
|
@@ -107,9 +149,9 @@
|
|
107
149
|
z-index: 1;
|
108
150
|
}
|
109
151
|
.ant-slider-handle:focus {
|
110
|
-
border-color:
|
152
|
+
border-color: var(--ant-primary-color-deprecated-t-20);
|
111
153
|
outline: none;
|
112
|
-
box-shadow: 0 0 0 5px
|
154
|
+
box-shadow: 0 0 0 5px var(--ant-primary-color-deprecated-f-12);
|
113
155
|
}
|
114
156
|
.ant-slider-handle.ant-tooltip-open {
|
115
157
|
border-color: #2c68ff;
|
@@ -126,10 +168,10 @@
|
|
126
168
|
background-color: #e1e1e1;
|
127
169
|
}
|
128
170
|
.ant-slider:hover .ant-slider-track {
|
129
|
-
background-color:
|
171
|
+
background-color: var(--ant-primary-4);
|
130
172
|
}
|
131
173
|
.ant-slider:hover .ant-slider-handle:not(.ant-tooltip-open) {
|
132
|
-
border-color:
|
174
|
+
border-color: var(--ant-primary-4);
|
133
175
|
}
|
134
176
|
.ant-slider-mark {
|
135
177
|
position: absolute;
|
@@ -171,7 +213,7 @@
|
|
171
213
|
cursor: pointer;
|
172
214
|
}
|
173
215
|
.ant-slider-dot-active {
|
174
|
-
border-color:
|
216
|
+
border-color: var(--ant-primary-color-deprecated-t-50);
|
175
217
|
}
|
176
218
|
.ant-slider-disabled {
|
177
219
|
cursor: not-allowed;
|
@@ -2,6 +2,48 @@
|
|
2
2
|
/* stylelint-disable no-duplicate-selectors */
|
3
3
|
/* stylelint-disable */
|
4
4
|
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
5
|
+
html {
|
6
|
+
--ant-primary-color: #1890ff;
|
7
|
+
--ant-primary-color-hover: #40a9ff;
|
8
|
+
--ant-primary-color-active: #096dd9;
|
9
|
+
--ant-primary-color-outline: rgba(24, 144, 255, 0.2);
|
10
|
+
--ant-primary-1: #e6f7ff;
|
11
|
+
--ant-primary-2: #bae7ff;
|
12
|
+
--ant-primary-3: #91d5ff;
|
13
|
+
--ant-primary-4: #69c0ff;
|
14
|
+
--ant-primary-5: #40a9ff;
|
15
|
+
--ant-primary-6: #1890ff;
|
16
|
+
--ant-primary-7: #096dd9;
|
17
|
+
--ant-primary-color-deprecated-pure: ;
|
18
|
+
--ant-primary-color-deprecated-l-35: #cbe6ff;
|
19
|
+
--ant-primary-color-deprecated-l-20: #7ec1ff;
|
20
|
+
--ant-primary-color-deprecated-t-20: #46a6ff;
|
21
|
+
--ant-primary-color-deprecated-t-50: #8cc8ff;
|
22
|
+
--ant-primary-color-deprecated-f-12: rgba(24, 144, 255, 0.12);
|
23
|
+
--ant-primary-color-active-deprecated-f-30: rgba(230, 247, 255, 0.3);
|
24
|
+
--ant-primary-color-active-deprecated-d-02: #dcf4ff;
|
25
|
+
--ant-success-color: #36c626;
|
26
|
+
--ant-success-color-hover: #5cd44a;
|
27
|
+
--ant-success-color-active: #20a116;
|
28
|
+
--ant-success-color-outline: rgba(54, 198, 38, 0.2);
|
29
|
+
--ant-success-color-deprecated-bg: #f4fff0;
|
30
|
+
--ant-success-color-deprecated-border: #afed9f;
|
31
|
+
--ant-error-color: #ff5c57;
|
32
|
+
--ant-error-color-hover: #ff8880;
|
33
|
+
--ant-error-color-active: #d93f3f;
|
34
|
+
--ant-error-color-outline: rgba(255, 92, 87, 0.2);
|
35
|
+
--ant-error-color-deprecated-bg: #fff3f0;
|
36
|
+
--ant-error-color-deprecated-border: #ffd7d1;
|
37
|
+
--ant-warning-color: #ffab00;
|
38
|
+
--ant-warning-color-hover: #ffbf29;
|
39
|
+
--ant-warning-color-active: #d98900;
|
40
|
+
--ant-warning-color-outline: rgba(255, 171, 0, 0.2);
|
41
|
+
--ant-warning-color-deprecated-bg: #fffbe6;
|
42
|
+
--ant-warning-color-deprecated-border: #ffe07a;
|
43
|
+
--ant-info-color: #1890ff;
|
44
|
+
--ant-info-color-deprecated-bg: #e6f7ff;
|
45
|
+
--ant-info-color-deprecated-border: #91d5ff;
|
46
|
+
}
|
5
47
|
.ant-space {
|
6
48
|
display: inline-flex;
|
7
49
|
}
|
package/lib/spin/style/index.css
CHANGED
@@ -2,6 +2,48 @@
|
|
2
2
|
/* stylelint-disable no-duplicate-selectors */
|
3
3
|
/* stylelint-disable */
|
4
4
|
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
5
|
+
html {
|
6
|
+
--ant-primary-color: #1890ff;
|
7
|
+
--ant-primary-color-hover: #40a9ff;
|
8
|
+
--ant-primary-color-active: #096dd9;
|
9
|
+
--ant-primary-color-outline: rgba(24, 144, 255, 0.2);
|
10
|
+
--ant-primary-1: #e6f7ff;
|
11
|
+
--ant-primary-2: #bae7ff;
|
12
|
+
--ant-primary-3: #91d5ff;
|
13
|
+
--ant-primary-4: #69c0ff;
|
14
|
+
--ant-primary-5: #40a9ff;
|
15
|
+
--ant-primary-6: #1890ff;
|
16
|
+
--ant-primary-7: #096dd9;
|
17
|
+
--ant-primary-color-deprecated-pure: ;
|
18
|
+
--ant-primary-color-deprecated-l-35: #cbe6ff;
|
19
|
+
--ant-primary-color-deprecated-l-20: #7ec1ff;
|
20
|
+
--ant-primary-color-deprecated-t-20: #46a6ff;
|
21
|
+
--ant-primary-color-deprecated-t-50: #8cc8ff;
|
22
|
+
--ant-primary-color-deprecated-f-12: rgba(24, 144, 255, 0.12);
|
23
|
+
--ant-primary-color-active-deprecated-f-30: rgba(230, 247, 255, 0.3);
|
24
|
+
--ant-primary-color-active-deprecated-d-02: #dcf4ff;
|
25
|
+
--ant-success-color: #36c626;
|
26
|
+
--ant-success-color-hover: #5cd44a;
|
27
|
+
--ant-success-color-active: #20a116;
|
28
|
+
--ant-success-color-outline: rgba(54, 198, 38, 0.2);
|
29
|
+
--ant-success-color-deprecated-bg: #f4fff0;
|
30
|
+
--ant-success-color-deprecated-border: #afed9f;
|
31
|
+
--ant-error-color: #ff5c57;
|
32
|
+
--ant-error-color-hover: #ff8880;
|
33
|
+
--ant-error-color-active: #d93f3f;
|
34
|
+
--ant-error-color-outline: rgba(255, 92, 87, 0.2);
|
35
|
+
--ant-error-color-deprecated-bg: #fff3f0;
|
36
|
+
--ant-error-color-deprecated-border: #ffd7d1;
|
37
|
+
--ant-warning-color: #ffab00;
|
38
|
+
--ant-warning-color-hover: #ffbf29;
|
39
|
+
--ant-warning-color-active: #d98900;
|
40
|
+
--ant-warning-color-outline: rgba(255, 171, 0, 0.2);
|
41
|
+
--ant-warning-color-deprecated-bg: #fffbe6;
|
42
|
+
--ant-warning-color-deprecated-border: #ffe07a;
|
43
|
+
--ant-info-color: #1890ff;
|
44
|
+
--ant-info-color-deprecated-bg: #e6f7ff;
|
45
|
+
--ant-info-color-deprecated-border: #91d5ff;
|
46
|
+
}
|
5
47
|
.ant-spin {
|
6
48
|
box-sizing: border-box;
|
7
49
|
margin: 0;
|
@@ -2,6 +2,48 @@
|
|
2
2
|
/* stylelint-disable no-duplicate-selectors */
|
3
3
|
/* stylelint-disable */
|
4
4
|
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
5
|
+
html {
|
6
|
+
--ant-primary-color: #1890ff;
|
7
|
+
--ant-primary-color-hover: #40a9ff;
|
8
|
+
--ant-primary-color-active: #096dd9;
|
9
|
+
--ant-primary-color-outline: rgba(24, 144, 255, 0.2);
|
10
|
+
--ant-primary-1: #e6f7ff;
|
11
|
+
--ant-primary-2: #bae7ff;
|
12
|
+
--ant-primary-3: #91d5ff;
|
13
|
+
--ant-primary-4: #69c0ff;
|
14
|
+
--ant-primary-5: #40a9ff;
|
15
|
+
--ant-primary-6: #1890ff;
|
16
|
+
--ant-primary-7: #096dd9;
|
17
|
+
--ant-primary-color-deprecated-pure: ;
|
18
|
+
--ant-primary-color-deprecated-l-35: #cbe6ff;
|
19
|
+
--ant-primary-color-deprecated-l-20: #7ec1ff;
|
20
|
+
--ant-primary-color-deprecated-t-20: #46a6ff;
|
21
|
+
--ant-primary-color-deprecated-t-50: #8cc8ff;
|
22
|
+
--ant-primary-color-deprecated-f-12: rgba(24, 144, 255, 0.12);
|
23
|
+
--ant-primary-color-active-deprecated-f-30: rgba(230, 247, 255, 0.3);
|
24
|
+
--ant-primary-color-active-deprecated-d-02: #dcf4ff;
|
25
|
+
--ant-success-color: #36c626;
|
26
|
+
--ant-success-color-hover: #5cd44a;
|
27
|
+
--ant-success-color-active: #20a116;
|
28
|
+
--ant-success-color-outline: rgba(54, 198, 38, 0.2);
|
29
|
+
--ant-success-color-deprecated-bg: #f4fff0;
|
30
|
+
--ant-success-color-deprecated-border: #afed9f;
|
31
|
+
--ant-error-color: #ff5c57;
|
32
|
+
--ant-error-color-hover: #ff8880;
|
33
|
+
--ant-error-color-active: #d93f3f;
|
34
|
+
--ant-error-color-outline: rgba(255, 92, 87, 0.2);
|
35
|
+
--ant-error-color-deprecated-bg: #fff3f0;
|
36
|
+
--ant-error-color-deprecated-border: #ffd7d1;
|
37
|
+
--ant-warning-color: #ffab00;
|
38
|
+
--ant-warning-color-hover: #ffbf29;
|
39
|
+
--ant-warning-color-active: #d98900;
|
40
|
+
--ant-warning-color-outline: rgba(255, 171, 0, 0.2);
|
41
|
+
--ant-warning-color-deprecated-bg: #fffbe6;
|
42
|
+
--ant-warning-color-deprecated-border: #ffe07a;
|
43
|
+
--ant-info-color: #1890ff;
|
44
|
+
--ant-info-color-deprecated-bg: #e6f7ff;
|
45
|
+
--ant-info-color-deprecated-border: #91d5ff;
|
46
|
+
}
|
5
47
|
.ant-statistic {
|
6
48
|
box-sizing: border-box;
|
7
49
|
margin: 0;
|
@@ -2,6 +2,48 @@
|
|
2
2
|
/* stylelint-disable no-duplicate-selectors */
|
3
3
|
/* stylelint-disable */
|
4
4
|
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
5
|
+
html {
|
6
|
+
--ant-primary-color: #1890ff;
|
7
|
+
--ant-primary-color-hover: #40a9ff;
|
8
|
+
--ant-primary-color-active: #096dd9;
|
9
|
+
--ant-primary-color-outline: rgba(24, 144, 255, 0.2);
|
10
|
+
--ant-primary-1: #e6f7ff;
|
11
|
+
--ant-primary-2: #bae7ff;
|
12
|
+
--ant-primary-3: #91d5ff;
|
13
|
+
--ant-primary-4: #69c0ff;
|
14
|
+
--ant-primary-5: #40a9ff;
|
15
|
+
--ant-primary-6: #1890ff;
|
16
|
+
--ant-primary-7: #096dd9;
|
17
|
+
--ant-primary-color-deprecated-pure: ;
|
18
|
+
--ant-primary-color-deprecated-l-35: #cbe6ff;
|
19
|
+
--ant-primary-color-deprecated-l-20: #7ec1ff;
|
20
|
+
--ant-primary-color-deprecated-t-20: #46a6ff;
|
21
|
+
--ant-primary-color-deprecated-t-50: #8cc8ff;
|
22
|
+
--ant-primary-color-deprecated-f-12: rgba(24, 144, 255, 0.12);
|
23
|
+
--ant-primary-color-active-deprecated-f-30: rgba(230, 247, 255, 0.3);
|
24
|
+
--ant-primary-color-active-deprecated-d-02: #dcf4ff;
|
25
|
+
--ant-success-color: #36c626;
|
26
|
+
--ant-success-color-hover: #5cd44a;
|
27
|
+
--ant-success-color-active: #20a116;
|
28
|
+
--ant-success-color-outline: rgba(54, 198, 38, 0.2);
|
29
|
+
--ant-success-color-deprecated-bg: #f4fff0;
|
30
|
+
--ant-success-color-deprecated-border: #afed9f;
|
31
|
+
--ant-error-color: #ff5c57;
|
32
|
+
--ant-error-color-hover: #ff8880;
|
33
|
+
--ant-error-color-active: #d93f3f;
|
34
|
+
--ant-error-color-outline: rgba(255, 92, 87, 0.2);
|
35
|
+
--ant-error-color-deprecated-bg: #fff3f0;
|
36
|
+
--ant-error-color-deprecated-border: #ffd7d1;
|
37
|
+
--ant-warning-color: #ffab00;
|
38
|
+
--ant-warning-color-hover: #ffbf29;
|
39
|
+
--ant-warning-color-active: #d98900;
|
40
|
+
--ant-warning-color-outline: rgba(255, 171, 0, 0.2);
|
41
|
+
--ant-warning-color-deprecated-bg: #fffbe6;
|
42
|
+
--ant-warning-color-deprecated-border: #ffe07a;
|
43
|
+
--ant-info-color: #1890ff;
|
44
|
+
--ant-info-color-deprecated-bg: #e6f7ff;
|
45
|
+
--ant-info-color-deprecated-border: #91d5ff;
|
46
|
+
}
|
5
47
|
.ant-steps {
|
6
48
|
box-sizing: border-box;
|
7
49
|
margin: 0;
|
@@ -37,7 +37,7 @@
|
|
37
37
|
@cyan-9: color(~`colorPalette('@{cyan-6}', 9) `);
|
38
38
|
@cyan-10: color(~`colorPalette('@{cyan-6}', 10) `);
|
39
39
|
|
40
|
-
@green-base: #
|
40
|
+
@green-base: #36c626;
|
41
41
|
@green-1: color(~`colorPalette('@{green-6}', 1) `);
|
42
42
|
@green-2: color(~`colorPalette('@{green-6}', 2) `);
|
43
43
|
@green-3: color(~`colorPalette('@{green-6}', 3) `);
|
@@ -74,7 +74,7 @@
|
|
74
74
|
@pink-9: color(~`colorPalette('@{pink-6}', 9) `);
|
75
75
|
@pink-10: color(~`colorPalette('@{pink-6}', 10) `);
|
76
76
|
|
77
|
-
@red-base: #
|
77
|
+
@red-base: #f42d2d;
|
78
78
|
@red-1: color(~`colorPalette('@{red-6}', 1) `);
|
79
79
|
@red-2: color(~`colorPalette('@{red-6}', 2) `);
|
80
80
|
@red-3: color(~`colorPalette('@{red-6}', 3) `);
|
@@ -146,7 +146,7 @@
|
|
146
146
|
@lime-9: color(~`colorPalette('@{lime-6}', 9) `);
|
147
147
|
@lime-10: color(~`colorPalette('@{lime-6}', 10) `);
|
148
148
|
|
149
|
-
@gold-base: #
|
149
|
+
@gold-base: #ffab00;
|
150
150
|
@gold-1: color(~`colorPalette('@{gold-6}', 1) `);
|
151
151
|
@gold-2: color(~`colorPalette('@{gold-6}', 2) `);
|
152
152
|
@gold-3: color(~`colorPalette('@{gold-6}', 3) `);
|
package/lib/style/index.css
CHANGED
@@ -2,6 +2,48 @@
|
|
2
2
|
/* stylelint-disable no-duplicate-selectors */
|
3
3
|
/* stylelint-disable */
|
4
4
|
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
5
|
+
html {
|
6
|
+
--ant-primary-color: #1890ff;
|
7
|
+
--ant-primary-color-hover: #40a9ff;
|
8
|
+
--ant-primary-color-active: #096dd9;
|
9
|
+
--ant-primary-color-outline: rgba(24, 144, 255, 0.2);
|
10
|
+
--ant-primary-1: #e6f7ff;
|
11
|
+
--ant-primary-2: #bae7ff;
|
12
|
+
--ant-primary-3: #91d5ff;
|
13
|
+
--ant-primary-4: #69c0ff;
|
14
|
+
--ant-primary-5: #40a9ff;
|
15
|
+
--ant-primary-6: #1890ff;
|
16
|
+
--ant-primary-7: #096dd9;
|
17
|
+
--ant-primary-color-deprecated-pure: ;
|
18
|
+
--ant-primary-color-deprecated-l-35: #cbe6ff;
|
19
|
+
--ant-primary-color-deprecated-l-20: #7ec1ff;
|
20
|
+
--ant-primary-color-deprecated-t-20: #46a6ff;
|
21
|
+
--ant-primary-color-deprecated-t-50: #8cc8ff;
|
22
|
+
--ant-primary-color-deprecated-f-12: rgba(24, 144, 255, 0.12);
|
23
|
+
--ant-primary-color-active-deprecated-f-30: rgba(230, 247, 255, 0.3);
|
24
|
+
--ant-primary-color-active-deprecated-d-02: #dcf4ff;
|
25
|
+
--ant-success-color: #36c626;
|
26
|
+
--ant-success-color-hover: #5cd44a;
|
27
|
+
--ant-success-color-active: #20a116;
|
28
|
+
--ant-success-color-outline: rgba(54, 198, 38, 0.2);
|
29
|
+
--ant-success-color-deprecated-bg: #f4fff0;
|
30
|
+
--ant-success-color-deprecated-border: #afed9f;
|
31
|
+
--ant-error-color: #ff5c57;
|
32
|
+
--ant-error-color-hover: #ff8880;
|
33
|
+
--ant-error-color-active: #d93f3f;
|
34
|
+
--ant-error-color-outline: rgba(255, 92, 87, 0.2);
|
35
|
+
--ant-error-color-deprecated-bg: #fff3f0;
|
36
|
+
--ant-error-color-deprecated-border: #ffd7d1;
|
37
|
+
--ant-warning-color: #ffab00;
|
38
|
+
--ant-warning-color-hover: #ffbf29;
|
39
|
+
--ant-warning-color-active: #d98900;
|
40
|
+
--ant-warning-color-outline: rgba(255, 171, 0, 0.2);
|
41
|
+
--ant-warning-color-deprecated-bg: #fffbe6;
|
42
|
+
--ant-warning-color-deprecated-border: #ffe07a;
|
43
|
+
--ant-info-color: #1890ff;
|
44
|
+
--ant-info-color-deprecated-bg: #e6f7ff;
|
45
|
+
--ant-info-color-deprecated-border: #91d5ff;
|
46
|
+
}
|
5
47
|
[class^=ant-]::-ms-clear,
|
6
48
|
[class*= ant-]::-ms-clear,
|
7
49
|
[class^=ant-] input::-ms-clear,
|
@@ -143,10 +185,10 @@ a {
|
|
143
185
|
-webkit-text-decoration-skip: objects;
|
144
186
|
}
|
145
187
|
a:hover {
|
146
|
-
color:
|
188
|
+
color: var(--ant-primary-color-hover);
|
147
189
|
}
|
148
190
|
a:active {
|
149
|
-
color:
|
191
|
+
color: var(--ant-primary-color-active);
|
150
192
|
}
|
151
193
|
a:active,
|
152
194
|
a:hover {
|
@@ -104,8 +104,12 @@
|
|
104
104
|
// ---
|
105
105
|
@input-padding-vertical-base: round(
|
106
106
|
max(
|
107
|
-
(
|
108
|
-
|
107
|
+
(
|
108
|
+
round(
|
109
|
+
((@input-height-base - @font-size-base * @line-height-base) / 2) *
|
110
|
+
10
|
111
|
+
) / 10
|
112
|
+
) - @border-width-base,
|
109
113
|
2px
|
110
114
|
)
|
111
115
|
);
|
@@ -132,7 +136,8 @@
|
|
132
136
|
// ---
|
133
137
|
@select-dropdown-height: @height-base;
|
134
138
|
@select-single-item-height-lg: 32px;
|
135
|
-
@select-multiple-item-height: @input-height-base -
|
139
|
+
@select-multiple-item-height: @input-height-base -
|
140
|
+
max(@input-padding-vertical-base, 4) * 2; // Normal 24px
|
136
141
|
@select-multiple-item-height-lg: 24px;
|
137
142
|
@select-multiple-item-spacing-half: 3px;
|
138
143
|
|
@@ -186,8 +191,8 @@
|
|
186
191
|
|
187
192
|
// Modal
|
188
193
|
// --
|
189
|
-
@modal-header-padding:
|
190
|
-
@modal-footer-padding-vertical:
|
194
|
+
@modal-header-padding: 20px 20px;
|
195
|
+
@modal-footer-padding-vertical: 16px;
|
191
196
|
@modal-header-close-size: 44px;
|
192
197
|
@modal-confirm-body-padding: 24px 24px 16px;
|
193
198
|
|
@@ -231,7 +236,8 @@
|
|
231
236
|
// ---
|
232
237
|
@alert-with-description-no-icon-padding-vertical: 7px;
|
233
238
|
@alert-with-description-padding-vertical: 11px;
|
234
|
-
@alert-icon-top: 7px + @font-size-base * (@line-height-base / 2) -
|
239
|
+
@alert-icon-top: 7px + @font-size-base * (@line-height-base / 2) -
|
240
|
+
(@font-size-base / 2);
|
235
241
|
@alert-with-description-icon-size: 20px;
|
236
242
|
|
237
243
|
// Skeleton
|