@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.
Files changed (155) hide show
  1. package/dist/@fle-ui/next.css +3102 -322
  2. package/dist/@fle-ui/next.css.map +1 -1
  3. package/dist/@fle-ui/next.js +1 -1
  4. package/dist/@fle-ui/next.min.css +3 -3
  5. package/dist/@fle-ui/next.min.css.map +1 -1
  6. package/dist/@fle-ui/next.min.js +1 -1
  7. package/es/affix/style/index.css +42 -0
  8. package/es/alert/style/index.css +50 -8
  9. package/es/anchor/style/index.css +42 -0
  10. package/es/auto-complete/style/index.css +42 -0
  11. package/es/avatar/style/index.css +42 -0
  12. package/es/back-top/style/index.css +42 -0
  13. package/es/badge/style/index.css +55 -13
  14. package/es/breadcrumb/style/index.css +42 -0
  15. package/es/button/style/index.css +122 -72
  16. package/es/calendar/style/index.css +43 -1
  17. package/es/card/style/index.css +42 -0
  18. package/es/carousel/style/index.css +42 -0
  19. package/es/cascader/style/index.css +44 -2
  20. package/es/checkbox/style/index.css +42 -0
  21. package/es/collapse/style/index.css +42 -0
  22. package/es/comment/style/index.css +42 -0
  23. package/es/config-provider/style/index.css +42 -0
  24. package/es/date-picker/style/index.css +77 -35
  25. package/es/descriptions/style/index.css +42 -0
  26. package/es/divider/style/index.css +42 -0
  27. package/es/drawer/style/index.css +42 -0
  28. package/es/dropdown/style/index.css +46 -4
  29. package/es/empty/style/index.css +42 -0
  30. package/es/form/style/index.css +43 -1
  31. package/es/grid/style/index.css +42 -0
  32. package/es/icon/style/index.css +42 -0
  33. package/es/image/style/index.css +42 -0
  34. package/es/input/style/index.css +61 -19
  35. package/es/input-number/style/index.css +61 -19
  36. package/es/layout/style/index.css +42 -0
  37. package/es/list/style/index.css +42 -0
  38. package/es/locale-provider/style/index.css +42 -0
  39. package/es/mentions/style/index.css +51 -9
  40. package/es/menu/style/index.css +50 -8
  41. package/es/message/style/index.css +42 -0
  42. package/es/modal/style/index.css +43 -1
  43. package/es/modal/style/modal.less +1 -1
  44. package/es/notification/style/index.css +42 -0
  45. package/es/page-header/style/index.css +44 -2
  46. package/es/pagination/style/index.css +53 -11
  47. package/es/pagination/style/index.less +5 -3
  48. package/es/popconfirm/style/index.css +42 -0
  49. package/es/popover/style/index.css +51 -9
  50. package/es/progress/style/index.css +47 -5
  51. package/es/radio/style/index.css +57 -15
  52. package/es/rate/style/index.css +42 -0
  53. package/es/result/style/index.css +42 -0
  54. package/es/segmented/style/index.css +42 -0
  55. package/es/select/style/index.css +50 -8
  56. package/es/skeleton/style/index.css +42 -0
  57. package/es/slider/style/index.css +49 -7
  58. package/es/space/style/index.css +42 -0
  59. package/es/spin/style/index.css +42 -0
  60. package/es/statistic/style/index.css +42 -0
  61. package/es/steps/style/index.css +42 -0
  62. package/es/style/color/colors.less +3 -3
  63. package/es/style/index.css +44 -2
  64. package/es/style/themes/compact.less +12 -6
  65. package/es/style/themes/dark.less +445 -106
  66. package/es/style/themes/default.less +6 -6
  67. package/es/style/themes/index.less +1 -1
  68. package/es/style/themes/variable.less +76 -38
  69. package/es/switch/style/index.css +43 -1
  70. package/es/table/style/index.css +47 -5
  71. package/es/tabs/style/index.css +47 -5
  72. package/es/tag/style/index.css +66 -24
  73. package/es/time-picker/style/index.css +42 -0
  74. package/es/timeline/style/index.css +42 -0
  75. package/es/tooltip/style/index.css +51 -9
  76. package/es/transfer/style/index.css +53 -11
  77. package/es/tree/style/index.css +44 -2
  78. package/es/tree-select/style/index.css +44 -2
  79. package/es/typography/style/index.css +49 -7
  80. package/es/upload/style/index.css +46 -4
  81. package/lib/affix/style/index.css +42 -0
  82. package/lib/alert/style/index.css +50 -8
  83. package/lib/anchor/style/index.css +42 -0
  84. package/lib/auto-complete/style/index.css +42 -0
  85. package/lib/avatar/style/index.css +42 -0
  86. package/lib/back-top/style/index.css +42 -0
  87. package/lib/badge/style/index.css +55 -13
  88. package/lib/breadcrumb/style/index.css +42 -0
  89. package/lib/button/style/index.css +122 -72
  90. package/lib/calendar/style/index.css +43 -1
  91. package/lib/card/style/index.css +42 -0
  92. package/lib/carousel/style/index.css +42 -0
  93. package/lib/cascader/style/index.css +44 -2
  94. package/lib/checkbox/style/index.css +42 -0
  95. package/lib/collapse/style/index.css +42 -0
  96. package/lib/comment/style/index.css +42 -0
  97. package/lib/config-provider/style/index.css +42 -0
  98. package/lib/date-picker/style/index.css +77 -35
  99. package/lib/descriptions/style/index.css +42 -0
  100. package/lib/divider/style/index.css +42 -0
  101. package/lib/drawer/style/index.css +42 -0
  102. package/lib/dropdown/style/index.css +46 -4
  103. package/lib/empty/style/index.css +42 -0
  104. package/lib/form/style/index.css +43 -1
  105. package/lib/grid/style/index.css +42 -0
  106. package/lib/icon/style/index.css +42 -0
  107. package/lib/image/style/index.css +42 -0
  108. package/lib/input/style/index.css +61 -19
  109. package/lib/input-number/style/index.css +61 -19
  110. package/lib/layout/style/index.css +42 -0
  111. package/lib/list/style/index.css +42 -0
  112. package/lib/locale-provider/style/index.css +42 -0
  113. package/lib/mentions/style/index.css +51 -9
  114. package/lib/menu/style/index.css +50 -8
  115. package/lib/message/style/index.css +42 -0
  116. package/lib/modal/style/index.css +43 -1
  117. package/lib/modal/style/modal.less +1 -1
  118. package/lib/notification/style/index.css +42 -0
  119. package/lib/page-header/style/index.css +44 -2
  120. package/lib/pagination/style/index.css +53 -11
  121. package/lib/pagination/style/index.less +5 -3
  122. package/lib/popconfirm/style/index.css +42 -0
  123. package/lib/popover/style/index.css +51 -9
  124. package/lib/progress/style/index.css +47 -5
  125. package/lib/radio/style/index.css +57 -15
  126. package/lib/rate/style/index.css +42 -0
  127. package/lib/result/style/index.css +42 -0
  128. package/lib/segmented/style/index.css +42 -0
  129. package/lib/select/style/index.css +50 -8
  130. package/lib/skeleton/style/index.css +42 -0
  131. package/lib/slider/style/index.css +49 -7
  132. package/lib/space/style/index.css +42 -0
  133. package/lib/spin/style/index.css +42 -0
  134. package/lib/statistic/style/index.css +42 -0
  135. package/lib/steps/style/index.css +42 -0
  136. package/lib/style/color/colors.less +3 -3
  137. package/lib/style/index.css +44 -2
  138. package/lib/style/themes/compact.less +12 -6
  139. package/lib/style/themes/dark.less +445 -106
  140. package/lib/style/themes/default.less +6 -6
  141. package/lib/style/themes/index.less +1 -1
  142. package/lib/style/themes/variable.less +76 -38
  143. package/lib/switch/style/index.css +43 -1
  144. package/lib/table/style/index.css +47 -5
  145. package/lib/tabs/style/index.css +47 -5
  146. package/lib/tag/style/index.css +66 -24
  147. package/lib/time-picker/style/index.css +42 -0
  148. package/lib/timeline/style/index.css +42 -0
  149. package/lib/tooltip/style/index.css +51 -9
  150. package/lib/transfer/style/index.css +53 -11
  151. package/lib/tree/style/index.css +44 -2
  152. package/lib/tree-select/style/index.css +44 -2
  153. package/lib/typography/style/index.css +49 -7
  154. package/lib/upload/style/index.css +46 -4
  155. 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-timeline {
6
48
  box-sizing: border-box;
7
49
  color: #4c4c4c;
@@ -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-tooltip {
6
48
  box-sizing: border-box;
7
49
  margin: 0;
@@ -84,7 +126,7 @@
84
126
  background-color: transparent;
85
127
  content: '';
86
128
  pointer-events: auto;
87
- border-radius: 0 0 2px;
129
+ border-radius: 0 0 4px;
88
130
  pointer-events: none;
89
131
  }
90
132
  .ant-tooltip-arrow-content::before {
@@ -97,8 +139,8 @@
97
139
  background-repeat: no-repeat;
98
140
  background-position: -10px -10px;
99
141
  content: '';
100
- -webkit-clip-path: path('M 9.849242404917499 24.091883092036785 A 5 5 0 0 1 13.384776310850237 22.627416997969522 L 20.627416997969522 22.627416997969522 A 2 2 0 0 0 22.627416997969522 20.627416997969522 L 22.627416997969522 13.384776310850237 A 5 5 0 0 1 24.091883092036785 9.849242404917499 L 23.091883092036785 9.849242404917499 L 9.849242404917499 23.091883092036785 Z');
101
- clip-path: path('M 9.849242404917499 24.091883092036785 A 5 5 0 0 1 13.384776310850237 22.627416997969522 L 20.627416997969522 22.627416997969522 A 2 2 0 0 0 22.627416997969522 20.627416997969522 L 22.627416997969522 13.384776310850237 A 5 5 0 0 1 24.091883092036785 9.849242404917499 L 23.091883092036785 9.849242404917499 L 9.849242404917499 23.091883092036785 Z');
142
+ -webkit-clip-path: path('M 9.849242404917499 24.091883092036785 A 5 5 0 0 1 13.384776310850237 22.627416997969522 L 18.627416997969522 22.627416997969522 A 4 4 0 0 0 22.627416997969522 18.627416997969522 L 22.627416997969522 13.384776310850237 A 5 5 0 0 1 24.091883092036785 9.849242404917499 L 23.091883092036785 9.849242404917499 L 9.849242404917499 23.091883092036785 Z');
143
+ clip-path: path('M 9.849242404917499 24.091883092036785 A 5 5 0 0 1 13.384776310850237 22.627416997969522 L 18.627416997969522 22.627416997969522 A 4 4 0 0 0 22.627416997969522 18.627416997969522 L 22.627416997969522 13.384776310850237 A 5 5 0 0 1 24.091883092036785 9.849242404917499 L 23.091883092036785 9.849242404917499 L 9.849242404917499 23.091883092036785 Z');
102
144
  }
103
145
  .ant-tooltip-placement-top .ant-tooltip-arrow,
104
146
  .ant-tooltip-placement-topLeft .ant-tooltip-arrow,
@@ -201,10 +243,10 @@
201
243
  background: #eb2f96;
202
244
  }
203
245
  .ant-tooltip-red .ant-tooltip-inner {
204
- background-color: #f5222d;
246
+ background-color: #f42d2d;
205
247
  }
206
248
  .ant-tooltip-red .ant-tooltip-arrow-content::before {
207
- background: #f5222d;
249
+ background: #f42d2d;
208
250
  }
209
251
  .ant-tooltip-volcano .ant-tooltip-inner {
210
252
  background-color: #fa541c;
@@ -225,10 +267,10 @@
225
267
  background: #fadb14;
226
268
  }
227
269
  .ant-tooltip-gold .ant-tooltip-inner {
228
- background-color: #faad14;
270
+ background-color: #ffab00;
229
271
  }
230
272
  .ant-tooltip-gold .ant-tooltip-arrow-content::before {
231
- background: #faad14;
273
+ background: #ffab00;
232
274
  }
233
275
  .ant-tooltip-cyan .ant-tooltip-inner {
234
276
  background-color: #13c2c2;
@@ -243,10 +285,10 @@
243
285
  background: #a0d911;
244
286
  }
245
287
  .ant-tooltip-green .ant-tooltip-inner {
246
- background-color: #52c41a;
288
+ background-color: #36c626;
247
289
  }
248
290
  .ant-tooltip-green .ant-tooltip-arrow-content::before {
249
- background: #52c41a;
291
+ background: #36c626;
250
292
  }
251
293
  .ant-tooltip-blue .ant-tooltip-inner {
252
294
  background-color: #1890ff;
@@ -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
  @-webkit-keyframes antCheckboxEffect {
6
48
  0% {
7
49
  transform: scale(1);
@@ -58,12 +100,12 @@
58
100
  border-color: #d2d2d2;
59
101
  }
60
102
  .ant-transfer-status-error .ant-transfer-list-search:not([disabled]):hover {
61
- border-color: #548aff;
103
+ border-color: var(--ant-primary-5);
62
104
  border-right-width: 1px;
63
105
  }
64
106
  .ant-transfer-status-error .ant-transfer-list-search:not([disabled]):focus {
65
- border-color: #548aff;
66
- box-shadow: 0 0 0 2px rgba(44, 104, 255, 0.2);
107
+ border-color: var(--ant-primary-color-hover);
108
+ box-shadow: 0 0 0 2px var(--ant-primary-color-outline);
67
109
  border-right-width: 1px;
68
110
  outline: 0;
69
111
  }
@@ -74,12 +116,12 @@
74
116
  border-color: #d2d2d2;
75
117
  }
76
118
  .ant-transfer-status-warning .ant-transfer-list-search:not([disabled]):hover {
77
- border-color: #548aff;
119
+ border-color: var(--ant-primary-5);
78
120
  border-right-width: 1px;
79
121
  }
80
122
  .ant-transfer-status-warning .ant-transfer-list-search:not([disabled]):focus {
81
- border-color: #548aff;
82
- box-shadow: 0 0 0 2px rgba(44, 104, 255, 0.2);
123
+ border-color: var(--ant-primary-color-hover);
124
+ box-shadow: 0 0 0 2px var(--ant-primary-color-outline);
83
125
  border-right-width: 1px;
84
126
  outline: 0;
85
127
  }
@@ -197,10 +239,10 @@
197
239
  }
198
240
  .ant-transfer-list-content-item-remove:focus,
199
241
  .ant-transfer-list-content-item-remove:hover {
200
- color: #548aff;
242
+ color: var(--ant-primary-color-hover);
201
243
  }
202
244
  .ant-transfer-list-content-item-remove:active {
203
- color: #1a4ad9;
245
+ color: var(--ant-primary-color-active);
204
246
  }
205
247
  .ant-transfer-list-content-item-remove::after {
206
248
  position: absolute;
@@ -211,21 +253,21 @@
211
253
  content: '';
212
254
  }
213
255
  .ant-transfer-list-content-item-remove:hover {
214
- color: #548aff;
256
+ color: var(--ant-primary-color-hover);
215
257
  }
216
258
  .ant-transfer-list-content-item:not(.ant-transfer-list-content-item-disabled):hover {
217
259
  background-color: #f5f5f5;
218
260
  cursor: pointer;
219
261
  }
220
262
  .ant-transfer-list-content-item:not(.ant-transfer-list-content-item-disabled).ant-transfer-list-content-item-checked:hover {
221
- background-color: #e6f2ff;
263
+ background-color: var(--ant-primary-color-active-deprecated-d-02);
222
264
  }
223
265
  .ant-transfer-list-content-show-remove .ant-transfer-list-content-item:not(.ant-transfer-list-content-item-disabled):hover {
224
266
  background: transparent;
225
267
  cursor: default;
226
268
  }
227
269
  .ant-transfer-list-content-item-checked {
228
- background-color: #f0f7ff;
270
+ background-color: var(--ant-primary-1);
229
271
  }
230
272
  .ant-transfer-list-content-item-disabled {
231
273
  color: #a9a9a9;
@@ -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
  @-webkit-keyframes antCheckboxEffect {
6
48
  0% {
7
49
  transform: scale(1);
@@ -302,7 +344,7 @@
302
344
  transition: background-color 0.3s;
303
345
  }
304
346
  .ant-tree-focused:not(:hover):not(.ant-tree-active-focused) {
305
- background: #f0f7ff;
347
+ background: var(--ant-primary-1);
306
348
  }
307
349
  .ant-tree-list-holder-inner {
308
350
  align-items: flex-start;
@@ -452,7 +494,7 @@
452
494
  background-color: #f5f5f5;
453
495
  }
454
496
  .ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected {
455
- background-color: #cfe3ff;
497
+ background-color: var(--ant-primary-2);
456
498
  }
457
499
  .ant-tree .ant-tree-node-content-wrapper .ant-tree-iconEle {
458
500
  display: inline-block;
@@ -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
  @-webkit-keyframes ant-tree-node-fx-do-not-use {
6
48
  0% {
7
49
  opacity: 0;
@@ -270,7 +312,7 @@
270
312
  transition: background-color 0.3s;
271
313
  }
272
314
  .ant-select-tree-focused:not(:hover):not(.ant-select-tree-active-focused) {
273
- background: #f0f7ff;
315
+ background: var(--ant-primary-1);
274
316
  }
275
317
  .ant-select-tree-list-holder-inner {
276
318
  align-items: flex-start;
@@ -420,7 +462,7 @@
420
462
  background-color: #f5f5f5;
421
463
  }
422
464
  .ant-select-tree .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected {
423
- background-color: #cfe3ff;
465
+ background-color: var(--ant-primary-2);
424
466
  }
425
467
  .ant-select-tree .ant-select-tree-node-content-wrapper .ant-select-tree-iconEle {
426
468
  display: inline-block;
@@ -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-typography {
6
48
  color: #4c4c4c;
7
49
  overflow-wrap: break-word;
@@ -20,10 +62,10 @@
20
62
  }
21
63
  a.ant-typography.ant-typography-danger:active,
22
64
  a.ant-typography.ant-typography-danger:focus {
23
- color: #cf1b21;
65
+ color: var(--ant-error-color-active);
24
66
  }
25
67
  a.ant-typography.ant-typography-danger:hover {
26
- color: #ff5c57;
68
+ color: var(--ant-error-color-hover);
27
69
  }
28
70
  .ant-typography.ant-typography-disabled {
29
71
  color: #a9a9a9;
@@ -158,11 +200,11 @@ a.ant-typography:focus,
158
200
  .ant-typography a:focus,
159
201
  a.ant-typography:hover,
160
202
  .ant-typography a:hover {
161
- color: #548aff;
203
+ color: var(--ant-primary-color-hover);
162
204
  }
163
205
  a.ant-typography:active,
164
206
  .ant-typography a:active {
165
- color: #1a4ad9;
207
+ color: var(--ant-primary-color-active);
166
208
  }
167
209
  a.ant-typography:active,
168
210
  .ant-typography a:active,
@@ -212,7 +254,7 @@ a.ant-typography.ant-typography-disabled:active,
212
254
  }
213
255
  .ant-typography mark {
214
256
  padding: 0;
215
- background-color: #ffe58f;
257
+ background-color: #ffe07a;
216
258
  }
217
259
  .ant-typography u,
218
260
  .ant-typography ins {
@@ -243,12 +285,12 @@ a.ant-typography.ant-typography-disabled:active,
243
285
  .ant-typography-expand:hover,
244
286
  .ant-typography-edit:hover,
245
287
  .ant-typography-copy:hover {
246
- color: #548aff;
288
+ color: var(--ant-primary-color-hover);
247
289
  }
248
290
  .ant-typography-expand:active,
249
291
  .ant-typography-edit:active,
250
292
  .ant-typography-copy:active {
251
- color: #1a4ad9;
293
+ color: var(--ant-primary-color-active);
252
294
  }
253
295
  .ant-typography-copy-success,
254
296
  .ant-typography-copy-success:hover,
@@ -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-upload {
6
48
  box-sizing: border-box;
7
49
  margin: 0;
@@ -72,7 +114,7 @@
72
114
  padding: 16px 0;
73
115
  }
74
116
  .ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled) {
75
- border-color: #1a4ad9;
117
+ border-color: var(--ant-primary-7);
76
118
  }
77
119
  .ant-upload.ant-upload-drag.ant-upload-disabled {
78
120
  cursor: not-allowed;
@@ -86,13 +128,13 @@
86
128
  vertical-align: middle;
87
129
  }
88
130
  .ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover {
89
- border-color: #548aff;
131
+ border-color: var(--ant-primary-5);
90
132
  }
91
133
  .ant-upload.ant-upload-drag p.ant-upload-drag-icon {
92
134
  margin-bottom: 20px;
93
135
  }
94
136
  .ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon {
95
- color: #548aff;
137
+ color: var(--ant-primary-5);
96
138
  font-size: 48px;
97
139
  }
98
140
  .ant-upload.ant-upload-drag p.ant-upload-text {
@@ -273,7 +315,7 @@
273
315
  }
274
316
  .ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill='#e6f7ff'],
275
317
  .ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill='#e6f7ff'] {
276
- fill: #fff2f0;
318
+ fill: var(--ant-error-color-deprecated-bg);
277
319
  }
278
320
  .ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill='#1890ff'],
279
321
  .ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill='#1890ff'] {
@@ -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-affix {
6
48
  position: fixed;
7
49
  z-index: 10;