@chaoswise/business 0.0.18 → 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.
Files changed (91) hide show
  1. package/config/babel/index.js +2 -29
  2. package/config/swc.js +5 -0
  3. package/lib/AggregateSearch/CLSPL/SPLStagy.js +17 -7
  4. package/lib/AggregateSearch/CLSPL/index.js +17 -5
  5. package/lib/AggregateSearch/components/CloseAllIcon/index.js +1 -1
  6. package/lib/AggregateSearch/components/DropDown/config.js +54 -0
  7. package/lib/AggregateSearch/components/DropDown/index.js +57 -76
  8. package/lib/AggregateSearch/components/DropDown/index.less +18 -17
  9. package/lib/AggregateSearch/components/SwitchBtn/index.js +9 -7
  10. package/lib/AggregateSearch/index.js +47 -37
  11. package/lib/AggregateSearch/index.less +2 -1
  12. package/lib/AggregateSearch/utils/index.js +1 -1
  13. package/lib/ContentEditableSearch/components/CloseAllIcon/index.js +13 -0
  14. package/lib/ContentEditableSearch/components/CloseAllIcon/index.less +11 -0
  15. package/lib/ContentEditableSearch/index.js +157 -0
  16. package/lib/ContentEditableSearch/index.less +65 -0
  17. package/lib/ContentEditableSearch/utils/index.js +98 -0
  18. package/lib/PropertyControlViewer/components/DoAppIcon/CustomIcon/index.js +1 -1
  19. package/lib/PropertyControlViewer/components/DoCiUnitBitmap.js +1 -1
  20. package/lib/PropertyControlViewer/components/DoCommon.js +20 -17
  21. package/lib/PropertyControlViewer/components/DoQuote/components/QuoteView.js +3 -3
  22. package/lib/PropertyControlViewer/components/DoSelect.js +1 -1
  23. package/lib/PropertyControlViewer/components/DoUser.js +15 -19
  24. package/lib/PropertyControlViewer/components/TagShowMoreList/index.js +8 -3
  25. package/lib/PropertyControlViewer/config/utils.js +58 -59
  26. package/lib/PropertyControlViewer/index.js +83 -15
  27. package/lib/PropertyControlViewer/index.less +1 -0
  28. package/lib/Watermark/index.js +35 -16
  29. package/lib/index.js +2 -1
  30. package/lib/locales/en_US.json +1 -0
  31. package/lib/locales/index.js +42 -0
  32. package/lib/locales/intl.js +75 -0
  33. package/lib/locales/withLocale.js +37 -0
  34. package/lib/locales/zh_CN.json +1 -0
  35. package/lib/locales/zh_TW.json +1 -0
  36. package/package.json +12 -7
  37. package/config/babel/antdComs.js +0 -51
  38. package/config/babel/formily.js +0 -22
  39. package/config/city/citys.js +0 -1964
  40. package/config/theme/CWTheme.js +0 -427
  41. package/config/theme/chart.dark.js +0 -394
  42. package/config/theme/chart.light.js +0 -3
  43. package/config/theme/common.less +0 -161
  44. package/config/theme/dark.js +0 -784
  45. package/config/theme/dark.less +0 -80
  46. package/config/theme/default.js +0 -717
  47. package/config/theme/default.less +0 -144
  48. package/config/theme/style/color/bezierEasing.less +0 -110
  49. package/config/theme/style/color/colorPalette.less +0 -85
  50. package/config/theme/style/color/colors.less +0 -162
  51. package/config/theme/style/color/tinyColor.less +0 -1184
  52. package/config/theme/style/compact.less +0 -4
  53. package/config/theme/style/components.less +0 -65
  54. package/config/theme/style/core/base.less +0 -10
  55. package/config/theme/style/core/global.less +0 -491
  56. package/config/theme/style/core/iconfont.less +0 -22
  57. package/config/theme/style/core/index.less +0 -5
  58. package/config/theme/style/core/motion/fade.less +0 -34
  59. package/config/theme/style/core/motion/move.less +0 -129
  60. package/config/theme/style/core/motion/other.less +0 -51
  61. package/config/theme/style/core/motion/slide.less +0 -129
  62. package/config/theme/style/core/motion/zoom.less +0 -179
  63. package/config/theme/style/core/motion.less +0 -22
  64. package/config/theme/style/css.js +0 -3
  65. package/config/theme/style/dark.less +0 -4
  66. package/config/theme/style/default.css +0 -1784
  67. package/config/theme/style/default.less +0 -4
  68. package/config/theme/style/index-pure.less +0 -2
  69. package/config/theme/style/index.css +0 -1784
  70. package/config/theme/style/index.d.ts +0 -1
  71. package/config/theme/style/index.js +0 -3
  72. package/config/theme/style/index.less +0 -3
  73. package/config/theme/style/mixins/box.less +0 -7
  74. package/config/theme/style/mixins/clearfix.less +0 -16
  75. package/config/theme/style/mixins/compatibility.less +0 -13
  76. package/config/theme/style/mixins/customize.less +0 -181
  77. package/config/theme/style/mixins/iconfont.less +0 -28
  78. package/config/theme/style/mixins/index.less +0 -14
  79. package/config/theme/style/mixins/modal-mask.less +0 -30
  80. package/config/theme/style/mixins/motion.less +0 -33
  81. package/config/theme/style/mixins/operation-unit.less +0 -16
  82. package/config/theme/style/mixins/reset.less +0 -11
  83. package/config/theme/style/mixins/rounded-arrow.less +0 -44
  84. package/config/theme/style/mixins/size.less +0 -10
  85. package/config/theme/style/mixins/typography.less +0 -58
  86. package/config/theme/style/themes/compact.less +0 -295
  87. package/config/theme/style/themes/dark.less +0 -457
  88. package/config/theme/style/themes/default.less +0 -1080
  89. package/config/theme/style/themes/index.less +0 -7
  90. package/config/theme/style/themes/variable.less +0 -1135
  91. package/config/theme/style/variable.less +0 -4
@@ -1,457 +0,0 @@
1
- // @import './default.less';
2
- @import '../color/colors.less';
3
- @theme: dark;
4
- // color palettes
5
- @blue-1: mix(color(~`colorPalette('@{blue-base}', 8) `), @component-background, 15%);
6
- @blue-2: mix(color(~`colorPalette('@{blue-base}', 7) `), @component-background, 25%);
7
- @blue-3: mix(@blue-base, @component-background, 30%);
8
- @blue-4: mix(@blue-base, @component-background, 45%);
9
- @blue-5: mix(@blue-base, @component-background, 65%);
10
- @blue-6: mix(@blue-base, @component-background, 85%);
11
- @blue-7: mix(color(~`colorPalette('@{blue-base}', 5) `), @component-background, 90%);
12
- @blue-8: mix(color(~`colorPalette('@{blue-base}', 4) `), @component-background, 95%);
13
- @blue-9: mix(color(~`colorPalette('@{blue-base}', 3) `), @component-background, 97%);
14
- @blue-10: mix(color(~`colorPalette('@{blue-base}', 2) `), @component-background, 98%);
15
-
16
- @purple-1: mix(color(~`colorPalette('@{purple-base}', 8) `), @component-background, 15%);
17
- @purple-2: mix(color(~`colorPalette('@{purple-base}', 7) `), @component-background, 25%);
18
- @purple-3: mix(@purple-base, @component-background, 30%);
19
- @purple-4: mix(@purple-base, @component-background, 45%);
20
- @purple-5: mix(@purple-base, @component-background, 65%);
21
- @purple-6: mix(@purple-base, @component-background, 85%);
22
- @purple-7: mix(color(~`colorPalette('@{purple-base}', 5) `), @component-background, 90%);
23
- @purple-8: mix(color(~`colorPalette('@{purple-base}', 4) `), @component-background, 95%);
24
- @purple-9: mix(color(~`colorPalette('@{purple-base}', 3) `), @component-background, 97%);
25
- @purple-10: mix(color(~`colorPalette('@{purple-base}', 2) `), @component-background, 98%);
26
-
27
- @cyan-1: mix(color(~`colorPalette('@{cyan-base}', 8) `), @component-background, 15%);
28
- @cyan-2: mix(color(~`colorPalette('@{cyan-base}', 7) `), @component-background, 25%);
29
- @cyan-3: mix(@cyan-base, @component-background, 30%);
30
- @cyan-4: mix(@cyan-base, @component-background, 45%);
31
- @cyan-5: mix(@cyan-base, @component-background, 65%);
32
- @cyan-6: mix(@cyan-base, @component-background, 85%);
33
- @cyan-7: mix(color(~`colorPalette('@{cyan-base}', 5) `), @component-background, 90%);
34
- @cyan-8: mix(color(~`colorPalette('@{cyan-base}', 4) `), @component-background, 95%);
35
- @cyan-9: mix(color(~`colorPalette('@{cyan-base}', 3) `), @component-background, 97%);
36
- @cyan-10: mix(color(~`colorPalette('@{cyan-base}', 2) `), @component-background, 98%);
37
-
38
- @green-1: mix(color(~`colorPalette('@{green-base}', 8) `), @component-background, 15%);
39
- @green-2: mix(color(~`colorPalette('@{green-base}', 7) `), @component-background, 25%);
40
- @green-3: mix(@green-base, @component-background, 30%);
41
- @green-4: mix(@green-base, @component-background, 45%);
42
- @green-5: mix(@green-base, @component-background, 65%);
43
- @green-6: mix(@green-base, @component-background, 85%);
44
- @green-7: mix(color(~`colorPalette('@{green-base}', 5) `), @component-background, 90%);
45
- @green-8: mix(color(~`colorPalette('@{green-base}', 4) `), @component-background, 95%);
46
- @green-9: mix(color(~`colorPalette('@{green-base}', 3) `), @component-background, 97%);
47
- @green-10: mix(color(~`colorPalette('@{green-base}', 2) `), @component-background, 98%);
48
-
49
- @magenta-1: mix(color(~`colorPalette('@{magenta-base}', 8) `), @component-background, 15%);
50
- @magenta-2: mix(color(~`colorPalette('@{magenta-base}', 7) `), @component-background, 25%);
51
- @magenta-3: mix(@magenta-base, @component-background, 30%);
52
- @magenta-4: mix(@magenta-base, @component-background, 45%);
53
- @magenta-5: mix(@magenta-base, @component-background, 65%);
54
- @magenta-6: mix(@magenta-base, @component-background, 85%);
55
- @magenta-7: mix(color(~`colorPalette('@{magenta-base}', 5) `), @component-background, 90%);
56
- @magenta-8: mix(color(~`colorPalette('@{magenta-base}', 4) `), @component-background, 95%);
57
- @magenta-9: mix(color(~`colorPalette('@{magenta-base}', 3) `), @component-background, 97%);
58
- @magenta-10: mix(color(~`colorPalette('@{magenta-base}', 2) `), @component-background, 98%);
59
-
60
- @pink-1: mix(color(~`colorPalette('@{pink-base}', 8) `), @component-background, 15%);
61
- @pink-2: mix(color(~`colorPalette('@{pink-base}', 7) `), @component-background, 25%);
62
- @pink-3: mix(@pink-base, @component-background, 30%);
63
- @pink-4: mix(@pink-base, @component-background, 45%);
64
- @pink-5: mix(@pink-base, @component-background, 65%);
65
- @pink-6: mix(@pink-base, @component-background, 85%);
66
- @pink-7: mix(color(~`colorPalette('@{pink-base}', 5) `), @component-background, 90%);
67
- @pink-8: mix(color(~`colorPalette('@{pink-base}', 4) `), @component-background, 95%);
68
- @pink-9: mix(color(~`colorPalette('@{pink-base}', 3) `), @component-background, 97%);
69
- @pink-10: mix(color(~`colorPalette('@{pink-base}', 2) `), @component-background, 98%);
70
-
71
- @red-1: mix(color(~`colorPalette('@{red-base}', 8) `), @component-background, 15%);
72
- @red-2: mix(color(~`colorPalette('@{red-base}', 7) `), @component-background, 25%);
73
- @red-3: mix(@red-base, @component-background, 30%);
74
- @red-4: mix(@red-base, @component-background, 45%);
75
- @red-5: mix(@red-base, @component-background, 65%);
76
- @red-6: mix(@red-base, @component-background, 85%);
77
- @red-7: mix(color(~`colorPalette('@{red-base}', 5) `), @component-background, 90%);
78
- @red-8: mix(color(~`colorPalette('@{red-base}', 4) `), @component-background, 95%);
79
- @red-9: mix(color(~`colorPalette('@{red-base}', 3) `), @component-background, 97%);
80
- @red-10: mix(color(~`colorPalette('@{red-base}', 2) `), @component-background, 98%);
81
-
82
- @orange-1: mix(color(~`colorPalette('@{orange-base}', 8) `), @component-background, 15%);
83
- @orange-2: mix(color(~`colorPalette('@{orange-base}', 7) `), @component-background, 25%);
84
- @orange-3: mix(@orange-base, @component-background, 30%);
85
- @orange-4: mix(@orange-base, @component-background, 45%);
86
- @orange-5: mix(@orange-base, @component-background, 65%);
87
- @orange-6: mix(@orange-base, @component-background, 85%);
88
- @orange-7: mix(color(~`colorPalette('@{orange-base}', 5) `), @component-background, 90%);
89
- @orange-8: mix(color(~`colorPalette('@{orange-base}', 4) `), @component-background, 95%);
90
- @orange-9: mix(color(~`colorPalette('@{orange-base}', 3) `), @component-background, 97%);
91
- @orange-10: mix(color(~`colorPalette('@{orange-base}', 2) `), @component-background, 98%);
92
-
93
- @yellow-1: mix(color(~`colorPalette('@{yellow-base}', 8) `), @component-background, 15%);
94
- @yellow-2: mix(color(~`colorPalette('@{yellow-base}', 7) `), @component-background, 25%);
95
- @yellow-3: mix(@yellow-base, @component-background, 30%);
96
- @yellow-4: mix(@yellow-base, @component-background, 45%);
97
- @yellow-5: mix(@yellow-base, @component-background, 65%);
98
- @yellow-6: mix(@yellow-base, @component-background, 85%);
99
- @yellow-7: mix(color(~`colorPalette('@{yellow-base}', 5) `), @component-background, 90%);
100
- @yellow-8: mix(color(~`colorPalette('@{yellow-base}', 4) `), @component-background, 95%);
101
- @yellow-9: mix(color(~`colorPalette('@{yellow-base}', 3) `), @component-background, 97%);
102
- @yellow-10: mix(color(~`colorPalette('@{yellow-base}', 2) `), @component-background, 98%);
103
-
104
- @volcano-1: mix(color(~`colorPalette('@{volcano-base}', 8) `), @component-background, 15%);
105
- @volcano-2: mix(color(~`colorPalette('@{volcano-base}', 7) `), @component-background, 25%);
106
- @volcano-3: mix(@volcano-base, @component-background, 30%);
107
- @volcano-4: mix(@volcano-base, @component-background, 45%);
108
- @volcano-5: mix(@volcano-base, @component-background, 65%);
109
- @volcano-6: mix(@volcano-base, @component-background, 85%);
110
- @volcano-7: mix(color(~`colorPalette('@{volcano-base}', 5) `), @component-background, 90%);
111
- @volcano-8: mix(color(~`colorPalette('@{volcano-base}', 4) `), @component-background, 95%);
112
- @volcano-9: mix(color(~`colorPalette('@{volcano-base}', 3) `), @component-background, 97%);
113
- @volcano-10: mix(color(~`colorPalette('@{volcano-base}', 2) `), @component-background, 98%);
114
-
115
- @geekblue-1: mix(color(~`colorPalette('@{geekblue-base}', 8) `), @component-background, 15%);
116
- @geekblue-2: mix(color(~`colorPalette('@{geekblue-base}', 7) `), @component-background, 25%);
117
- @geekblue-3: mix(@geekblue-base, @component-background, 30%);
118
- @geekblue-4: mix(@geekblue-base, @component-background, 45%);
119
- @geekblue-5: mix(@geekblue-base, @component-background, 65%);
120
- @geekblue-6: mix(@geekblue-base, @component-background, 85%);
121
- @geekblue-7: mix(color(~`colorPalette('@{geekblue-base}', 5) `), @component-background, 90%);
122
- @geekblue-8: mix(color(~`colorPalette('@{geekblue-base}', 4) `), @component-background, 95%);
123
- @geekblue-9: mix(color(~`colorPalette('@{geekblue-base}', 3) `), @component-background, 97%);
124
- @geekblue-10: mix(color(~`colorPalette('@{geekblue-base}', 2) `), @component-background, 98%);
125
-
126
- @lime-1: mix(color(~`colorPalette('@{lime-base}', 8) `), @component-background, 15%);
127
- @lime-2: mix(color(~`colorPalette('@{lime-base}', 7) `), @component-background, 25%);
128
- @lime-3: mix(@lime-base, @component-background, 30%);
129
- @lime-4: mix(@lime-base, @component-background, 45%);
130
- @lime-5: mix(@lime-base, @component-background, 65%);
131
- @lime-6: mix(@lime-base, @component-background, 85%);
132
- @lime-7: mix(color(~`colorPalette('@{lime-base}', 5) `), @component-background, 90%);
133
- @lime-8: mix(color(~`colorPalette('@{lime-base}', 4) `), @component-background, 95%);
134
- @lime-9: mix(color(~`colorPalette('@{lime-base}', 3) `), @component-background, 97%);
135
- @lime-10: mix(color(~`colorPalette('@{lime-base}', 2) `), @component-background, 98%);
136
-
137
- @gold-1: mix(color(~`colorPalette('@{gold-base}', 8) `), @component-background, 15%);
138
- @gold-2: mix(color(~`colorPalette('@{gold-base}', 7) `), @component-background, 25%);
139
- @gold-3: mix(@gold-base, @component-background, 30%);
140
- @gold-4: mix(@gold-base, @component-background, 45%);
141
- @gold-5: mix(@gold-base, @component-background, 65%);
142
- @gold-6: mix(@gold-base, @component-background, 85%);
143
- @gold-7: mix(color(~`colorPalette('@{gold-base}', 5) `), @component-background, 90%);
144
- @gold-8: mix(color(~`colorPalette('@{gold-base}', 4) `), @component-background, 95%);
145
- @gold-9: mix(color(~`colorPalette('@{gold-base}', 3) `), @component-background, 97%);
146
- @gold-10: mix(color(~`colorPalette('@{gold-base}', 2) `), @component-background, 98%);
147
-
148
- // Color used by default to control hover and active backgrounds and for
149
- // alert info backgrounds.
150
- @primary-1: mix(color(~`colorPalette('@{primary-color}', 8) `), @component-background, 15%);
151
- @primary-2: mix(color(~`colorPalette('@{primary-color}', 7) `), @component-background, 25%);
152
- @primary-3: mix(@primary-color, @component-background, 30%);
153
- @primary-4: mix(@primary-color, @component-background, 45%);
154
- @primary-5: mix(@primary-color, @component-background, 65%);
155
- @primary-6: @primary-color;
156
- @primary-7: mix(color(~`colorPalette('@{primary-color}', 5) `), @component-background, 90%);
157
- @primary-8: mix(color(~`colorPalette('@{primary-color}', 4) `), @component-background, 95%);
158
- @primary-9: mix(color(~`colorPalette('@{primary-color}', 3) `), @component-background, 97%);
159
- @primary-10: mix(color(~`colorPalette('@{primary-color}', 2) `), @component-background, 98%);
160
-
161
- // Layer background
162
- @popover-background: #1f1f1f;
163
- @popover-customize-border-color: #3a3a3a;
164
- @body-background: @black;
165
- @component-background: #141414;
166
-
167
- @text-color: fade(@white, 85%);
168
- @text-color-secondary: fade(@white, 45%);
169
- @text-color-inverse: @white;
170
- @icon-color-hover: fade(@white, 75%);
171
- @heading-color: fade(@white, 85%);
172
-
173
- // The background colors for active and hover states for things like
174
- // list items or table cells.
175
- @item-active-bg: @primary-1;
176
- @item-hover-bg: fade(@white, 8%);
177
-
178
- // Border color
179
- @border-color-base: #434343; // base border outline a component
180
- @border-color-split: #303030; // split border inside a component
181
-
182
- @background-color-light: fade(@white, 4%); // background of header and selected item
183
- @background-color-base: fade(@white, 8%); // Default grey background color
184
-
185
- // Disabled states
186
- @disabled-color: fade(@white, 30%);
187
- @disabled-bg: @background-color-base;
188
- @disabled-color-dark: fade(@white, 30%);
189
-
190
- // Tree
191
- // ---
192
- @tree-bg: transparent;
193
-
194
- // List
195
- // ---
196
- @list-customize-card-bg: transparent;
197
-
198
- // Shadow
199
- // ---
200
- @shadow-color: rgba(0, 0, 0, 0.45);
201
- @shadow-color-inverse: @component-background;
202
- @box-shadow-base: @shadow-2;
203
- @shadow-1-up: 0 -6px 16px -8px rgba(0, 0, 0, 0.32), 0 -9px 28px 0 rgba(0, 0, 0, 0.2),
204
- 0 -12px 48px 16px rgba(0, 0, 0, 0.12);
205
- @shadow-1-down: 0 6px 16px -8px rgba(0, 0, 0, 0.32), 0 9px 28px 0 rgba(0, 0, 0, 0.2),
206
- 0 12px 48px 16px rgba(0, 0, 0, 0.12);
207
- @shadow-1-right: 6px 0 16px -8px rgba(0, 0, 0, 0.32), 9px 0 28px 0 rgba(0, 0, 0, 0.2),
208
- 12px 0 48px 16px rgba(0, 0, 0, 0.12);
209
- @shadow-2: 0 3px 6px -4px rgba(0, 0, 0, 0.48), 0 6px 16px 0 rgba(0, 0, 0, 0.32),
210
- 0 9px 28px 8px rgba(0, 0, 0, 0.2);
211
-
212
- // Buttons
213
- // ---
214
- @btn-shadow: 0 2px 0 rgba(0, 0, 0, 0.015);
215
- @btn-primary-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);
216
- @btn-text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);
217
-
218
- @btn-default-bg: transparent;
219
-
220
- @btn-default-ghost-color: @text-color;
221
- @btn-default-ghost-border: fade(@white, 25%);
222
-
223
- @btn-text-hover-bg: rgba(255, 255, 255, 0.03);
224
-
225
- // Checkbox
226
- // ---
227
- @checkbox-check-bg: transparent;
228
-
229
- // Descriptions
230
- // ---
231
- @descriptions-bg: @background-color-light;
232
-
233
- // Divider
234
- // ---
235
- @divider-color: rgba(255, 255, 255, 12%);
236
-
237
- // Modal
238
- // ---
239
- @modal-header-bg: @popover-background;
240
- @modal-header-border-color-split: @border-color-split;
241
- @modal-content-bg: @popover-background;
242
- @modal-footer-border-color-split: @border-color-split;
243
-
244
- // Radio
245
- // ---
246
- @radio-solid-checked-color: @white;
247
- @radio-dot-disabled-color: fade(@white, 20%);
248
-
249
- // Radio buttons
250
- // ---
251
- @radio-disabled-button-checked-bg: fade(@white, 20%);
252
- @radio-disabled-button-checked-color: @disabled-color;
253
-
254
- // Layout
255
- // ---
256
- @layout-body-background: @body-background;
257
- @layout-header-background: @popover-background;
258
- @layout-trigger-background: #262626;
259
-
260
- // Input
261
- // ---
262
- @input-bg: transparent;
263
- @input-placeholder-color: fade(@white, 30%);
264
- @input-icon-color: fade(@white, 30%);
265
- @input-number-handler-active-bg: @item-hover-bg;
266
- @input-icon-hover-color: fade(@white, 85%);
267
-
268
- // Select
269
- // ---
270
- @select-background: transparent;
271
- @select-dropdown-bg: @popover-background;
272
- @select-clear-background: @component-background;
273
- @select-selection-item-bg: fade(@white, 8);
274
- @select-selection-item-border-color: @border-color-split;
275
- @select-multiple-disabled-background: @component-background;
276
- @select-multiple-item-disabled-color: #595959;
277
- @select-multiple-item-disabled-border-color: @popover-background;
278
-
279
- // Cascader
280
- // ---
281
- @cascader-bg: transparent;
282
- @cascader-menu-bg: @popover-background;
283
- @cascader-menu-border-color-split: @border-color-split;
284
-
285
- // Tooltip
286
- // ---
287
- // Tooltip background color
288
- @tooltip-bg: #434343;
289
-
290
- // Menu
291
- // ---
292
- // dark theme
293
- @menu-dark-inline-submenu-bg: @component-background;
294
- @menu-dark-bg: @popover-background;
295
- @menu-popup-bg: @popover-background;
296
-
297
- // Message
298
- // ---
299
- @message-notice-content-bg: @popover-background;
300
-
301
- // Notification
302
- @notification-bg: @popover-background;
303
-
304
- // LINK
305
- @link-hover-color: @primary-5;
306
- @link-active-color: @primary-7;
307
-
308
- // Table
309
- // --
310
- @table-header-bg: #1d1d1d;
311
- @table-body-sort-bg: fade(@white, 1%);
312
- @table-row-hover-bg: #262626;
313
- @table-header-cell-split-color: fade(@white, 8%);
314
- @table-header-sort-bg: #262626;
315
- @table-header-filter-active-bg: #434343;
316
- @table-header-sort-active-bg: #303030;
317
- @table-fixed-header-sort-active-bg: #222;
318
- @table-filter-btns-bg: @popover-background;
319
- @table-expanded-row-bg: @table-header-bg;
320
- @table-filter-dropdown-bg: @popover-background;
321
- @table-expand-icon-bg: transparent;
322
-
323
- // Tag
324
- // ---
325
- @info-color-deprecated-bg: @primary-1;
326
- @info-color-deprecated-border: @primary-3;
327
- @success-color-deprecated-bg: @green-1;
328
- @success-color-deprecated-border: @green-3;
329
- @warning-color-deprecated-bg: @orange-1;
330
- @warning-color-deprecated-border: @orange-3;
331
- @error-color-deprecated-bg: @red-1;
332
- @error-color-deprecated-border: @red-3;
333
-
334
- // TimePicker
335
- // ---
336
- @picker-basic-cell-hover-with-range-color: darken(@primary-color, 35%);
337
- @picker-basic-cell-disabled-bg: #303030;
338
- @picker-border-color: @border-color-split;
339
- @picker-bg: transparent;
340
- @picker-date-hover-range-border-color: darken(@primary-color, 20%);
341
-
342
- // Dropdown
343
- // ---
344
- @dropdown-menu-bg: @popover-background;
345
- @dropdown-menu-submenu-disabled-bg: transparent;
346
-
347
- // Steps
348
- // ---
349
- @steps-nav-arrow-color: fade(@white, 20%);
350
- @steps-background: transparent;
351
-
352
- // Avatar
353
- // ---
354
- @avatar-bg: fade(@white, 30%);
355
-
356
- // Progress
357
- // ---
358
- @progress-steps-item-bg: fade(@white, 8%);
359
-
360
- // Calendar
361
- // ---
362
- @calendar-bg: @popover-background;
363
- @calendar-input-bg: @calendar-bg;
364
- @calendar-border-color: transparent;
365
- @calendar-full-bg: @component-background;
366
-
367
- // Badge
368
- // ---
369
- @badge-text-color: @white;
370
-
371
- // Popover
372
- @popover-bg: @popover-background;
373
-
374
- // Drawer
375
- @drawer-bg: @popover-background;
376
-
377
- // Card
378
- // ---
379
- @card-actions-background: @component-background;
380
- @card-skeleton-bg: #303030;
381
- @card-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.64), 0 3px 6px 0 rgba(0, 0, 0, 0.48),
382
- 0 5px 12px 4px rgba(0, 0, 0, 0.36);
383
-
384
- // Transfer
385
- // ---
386
- @transfer-item-hover-bg: #262626;
387
-
388
- // Comment
389
- // ---
390
- @comment-bg: transparent;
391
- @comment-author-time-color: fade(@white, 30%);
392
- @comment-action-hover-color: fade(@white, 65%);
393
-
394
- // Rate
395
- // ---
396
- @rate-star-bg: fade(@white, 12%);
397
-
398
- // Switch
399
- // ---
400
- @switch-bg: @white;
401
-
402
- // Pagination
403
- // ---
404
- @pagination-item-bg: transparent;
405
- @pagination-item-bg-active: transparent;
406
- @pagination-item-link-bg: transparent;
407
- @pagination-item-disabled-bg-active: fade(@white, 25%);
408
- @pagination-item-disabled-color-active: @black;
409
- @pagination-item-input-bg: @pagination-item-bg;
410
-
411
- // PageHeader
412
- // ---
413
- @page-header-back-color: @icon-color;
414
- @page-header-ghost-bg: transparent;
415
-
416
- // Slider
417
- // ---
418
- @slider-rail-background-color: #262626;
419
- @slider-rail-background-color-hover: @border-color-base;
420
- @slider-dot-border-color: @border-color-split;
421
- @slider-dot-border-color-active: @primary-4;
422
-
423
- // Skeleton
424
- // ---
425
- @skeleton-to-color: fade(@white, 16%);
426
-
427
- // Alert
428
- // ---
429
- @alert-success-border-color: @green-3;
430
- @alert-success-bg-color: @green-1;
431
- @alert-success-icon-color: @success-color;
432
- @alert-info-border-color: @primary-3;
433
- @alert-info-bg-color: @primary-1;
434
- @alert-info-icon-color: @info-color;
435
- @alert-warning-border-color: @gold-3;
436
- @alert-warning-bg-color: @gold-1;
437
- @alert-warning-icon-color: @warning-color;
438
- @alert-error-border-color: @red-3;
439
- @alert-error-bg-color: @red-1;
440
- @alert-error-icon-color: @error-color;
441
-
442
- // Timeline
443
- // ---
444
- @timeline-color: @border-color-split;
445
- @timeline-dot-color: @primary-color;
446
-
447
- // Mentions
448
- // ---
449
- @mentions-dropdown-bg: @popover-background;
450
-
451
- // Segmented
452
- // ---
453
- @segmented-bg: fade(@black, 25%);
454
- @segmented-hover-bg: fade(@black, 45%);
455
- @segmented-selected-bg: #333333;
456
- @segmented-label-color: fade(@white, 65%);
457
- @segmented-label-hover-color: fade(@white, 85%);