@oceanbase/design 1.0.0-alpha.0 → 1.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/design.min.js +1 -1
- package/es/form/FormItem.d.ts +1 -1
- package/es/theme/default.js +37 -44
- package/es/theme/style/aliyun.less +85 -85
- package/es/theme/style/compact.less +103 -103
- package/es/theme/style/dark.less +98 -98
- package/es/theme/style/default.less +103 -103
- package/lib/form/FormItem.d.ts +1 -1
- package/lib/theme/default.js +35 -44
- package/lib/theme/style/aliyun.less +85 -85
- package/lib/theme/style/compact.less +103 -103
- package/lib/theme/style/dark.less +98 -98
- package/lib/theme/style/default.less +103 -103
- package/package.json +6 -6
package/es/theme/style/dark.less
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
@blue: #0e5fd1;
|
|
2
2
|
@purple: #722ED1;
|
|
3
3
|
@cyan: #13C2C2;
|
|
4
|
-
@green: #
|
|
4
|
+
@green: #149f71;
|
|
5
5
|
@magenta: #EB2F96;
|
|
6
6
|
@pink: #EB2F96;
|
|
7
|
-
@red: #
|
|
7
|
+
@red: #ce3c3c;
|
|
8
8
|
@orange: #FA8C16;
|
|
9
|
-
@yellow: #
|
|
9
|
+
@yellow: #d28a22;
|
|
10
10
|
@volcano: #FA541C;
|
|
11
11
|
@geekblue: #2F54EB;
|
|
12
12
|
@gold: #FAAD14;
|
|
13
13
|
@lime: #A0D911;
|
|
14
14
|
@colorPrimary: #0e5fd1;
|
|
15
|
-
@colorSuccess: #
|
|
16
|
-
@colorWarning: #
|
|
17
|
-
@colorError: #
|
|
15
|
+
@colorSuccess: #149f71;
|
|
16
|
+
@colorWarning: #d28a22;
|
|
17
|
+
@colorError: #ce3c3c;
|
|
18
18
|
@colorInfo: #0e5fd1;
|
|
19
19
|
@colorLink: #0e5fd1;
|
|
20
20
|
@colorTextBase: #fff;
|
|
@@ -104,26 +104,26 @@
|
|
|
104
104
|
@cyan9: #84e2d8;
|
|
105
105
|
@cyan-10: #b2f1e8;
|
|
106
106
|
@cyan10: #b2f1e8;
|
|
107
|
-
@green-1: #
|
|
108
|
-
@green1: #
|
|
109
|
-
@green-2: #
|
|
110
|
-
@green2: #
|
|
111
|
-
@green-3: #
|
|
112
|
-
@green3: #
|
|
113
|
-
@green-4: #
|
|
114
|
-
@green4: #
|
|
115
|
-
@green-5: #
|
|
116
|
-
@green5: #
|
|
117
|
-
@green-6: #
|
|
118
|
-
@green6: #
|
|
119
|
-
@green-7: #
|
|
120
|
-
@green7: #
|
|
121
|
-
@green-8: #
|
|
122
|
-
@green8: #
|
|
123
|
-
@green-9: #
|
|
124
|
-
@green9: #
|
|
125
|
-
@green-10: #
|
|
126
|
-
@green10: #
|
|
107
|
+
@green-1: #11211d;
|
|
108
|
+
@green1: #11211d;
|
|
109
|
+
@green-2: #113329;
|
|
110
|
+
@green2: #113329;
|
|
111
|
+
@green-3: #144535;
|
|
112
|
+
@green3: #144535;
|
|
113
|
+
@green-4: #145d45;
|
|
114
|
+
@green4: #145d45;
|
|
115
|
+
@green-5: #147e5b;
|
|
116
|
+
@green5: #147e5b;
|
|
117
|
+
@green-6: #149f71;
|
|
118
|
+
@green6: #149f71;
|
|
119
|
+
@green-7: #32b284;
|
|
120
|
+
@green7: #32b284;
|
|
121
|
+
@green-8: #57c89a;
|
|
122
|
+
@green8: #57c89a;
|
|
123
|
+
@green-9: #80d8b1;
|
|
124
|
+
@green9: #80d8b1;
|
|
125
|
+
@green-10: #ade7cb;
|
|
126
|
+
@green10: #ade7cb;
|
|
127
127
|
@magenta-1: #291321;
|
|
128
128
|
@magenta1: #291321;
|
|
129
129
|
@magenta-2: #40162f;
|
|
@@ -164,26 +164,26 @@
|
|
|
164
164
|
@pink9: #f8a8cc;
|
|
165
165
|
@pink-10: #fad2e3;
|
|
166
166
|
@pink10: #fad2e3;
|
|
167
|
-
@red-1: #
|
|
168
|
-
@red1: #
|
|
169
|
-
@red-2: #
|
|
170
|
-
@red2: #
|
|
171
|
-
@red-3: #
|
|
172
|
-
@red3: #
|
|
173
|
-
@red-4: #
|
|
174
|
-
@red4: #
|
|
175
|
-
@red-5: #
|
|
176
|
-
@red5: #
|
|
177
|
-
@red-6: #
|
|
178
|
-
@red6: #
|
|
179
|
-
@red-7: #
|
|
180
|
-
@red7: #
|
|
181
|
-
@red-8: #
|
|
182
|
-
@red8: #
|
|
183
|
-
@red-9: #
|
|
184
|
-
@red9: #
|
|
185
|
-
@red-10: #
|
|
186
|
-
@red10: #
|
|
167
|
+
@red-1: #291517;
|
|
168
|
+
@red1: #291517;
|
|
169
|
+
@red-2: #411b1c;
|
|
170
|
+
@red2: #411b1c;
|
|
171
|
+
@red-3: #562222;
|
|
172
|
+
@red3: #562222;
|
|
173
|
+
@red-4: #772929;
|
|
174
|
+
@red4: #772929;
|
|
175
|
+
@red-5: #a23333;
|
|
176
|
+
@red5: #a23333;
|
|
177
|
+
@red-6: #ce3c3c;
|
|
178
|
+
@red6: #ce3c3c;
|
|
179
|
+
@red-7: #e56a66;
|
|
180
|
+
@red7: #e56a66;
|
|
181
|
+
@red-8: #f39992;
|
|
182
|
+
@red8: #f39992;
|
|
183
|
+
@red-9: #f8c3bd;
|
|
184
|
+
@red9: #f8c3bd;
|
|
185
|
+
@red-10: #fae9e7;
|
|
186
|
+
@red10: #fae9e7;
|
|
187
187
|
@orange-1: #2b1d11;
|
|
188
188
|
@orange1: #2b1d11;
|
|
189
189
|
@orange-2: #442a11;
|
|
@@ -204,26 +204,26 @@
|
|
|
204
204
|
@orange9: #f8cf8d;
|
|
205
205
|
@orange-10: #fae3b7;
|
|
206
206
|
@orange10: #fae3b7;
|
|
207
|
-
@yellow-1: #
|
|
208
|
-
@yellow1: #
|
|
209
|
-
@yellow-2: #
|
|
210
|
-
@yellow2: #
|
|
211
|
-
@yellow-3: #
|
|
212
|
-
@yellow3: #
|
|
213
|
-
@yellow-4: #
|
|
214
|
-
@yellow4: #
|
|
215
|
-
@yellow-5: #
|
|
216
|
-
@yellow5: #
|
|
217
|
-
@yellow-6: #
|
|
218
|
-
@yellow6: #
|
|
219
|
-
@yellow-7: #
|
|
220
|
-
@yellow7: #
|
|
221
|
-
@yellow-8: #
|
|
222
|
-
@yellow8: #
|
|
223
|
-
@yellow-9: #
|
|
224
|
-
@yellow9: #
|
|
225
|
-
@yellow-10: #
|
|
226
|
-
@yellow10: #
|
|
207
|
+
@yellow-1: #2a1f12;
|
|
208
|
+
@yellow1: #2a1f12;
|
|
209
|
+
@yellow-2: #432e14;
|
|
210
|
+
@yellow2: #432e14;
|
|
211
|
+
@yellow-3: #573e19;
|
|
212
|
+
@yellow3: #573e19;
|
|
213
|
+
@yellow-4: #79531c;
|
|
214
|
+
@yellow4: #79531c;
|
|
215
|
+
@yellow-5: #a66e1f;
|
|
216
|
+
@yellow5: #a66e1f;
|
|
217
|
+
@yellow-6: #d28a22;
|
|
218
|
+
@yellow6: #d28a22;
|
|
219
|
+
@yellow-7: #e8ab49;
|
|
220
|
+
@yellow7: #e8ab49;
|
|
221
|
+
@yellow-8: #f3c773;
|
|
222
|
+
@yellow8: #f3c773;
|
|
223
|
+
@yellow-9: #f8db9d;
|
|
224
|
+
@yellow9: #f8db9d;
|
|
225
|
+
@yellow-10: #faecc5;
|
|
226
|
+
@yellow10: #faecc5;
|
|
227
227
|
@volcano-1: #2b1611;
|
|
228
228
|
@volcano1: #2b1611;
|
|
229
229
|
@volcano-2: #441d12;
|
|
@@ -331,35 +331,35 @@
|
|
|
331
331
|
@colorPrimaryTextHover: #3384e8;
|
|
332
332
|
@colorPrimaryText: #0e5fd1;
|
|
333
333
|
@colorPrimaryTextActive: #0f4da4;
|
|
334
|
-
@colorSuccessBg: #
|
|
335
|
-
@colorSuccessBgHover: #
|
|
336
|
-
@colorSuccessBorder: #
|
|
337
|
-
@colorSuccessBorderHover: #
|
|
338
|
-
@colorSuccessHover: #
|
|
339
|
-
@colorSuccessActive: #
|
|
340
|
-
@colorSuccessTextHover: #
|
|
341
|
-
@colorSuccessText: #
|
|
342
|
-
@colorSuccessTextActive: #
|
|
343
|
-
@colorErrorBg: #
|
|
344
|
-
@colorErrorBgHover: #
|
|
345
|
-
@colorErrorBgFilledHover: #
|
|
346
|
-
@colorErrorBgActive: #
|
|
347
|
-
@colorErrorBorder: #
|
|
348
|
-
@colorErrorBorderHover: #
|
|
349
|
-
@colorErrorHover: #
|
|
350
|
-
@colorErrorActive: #
|
|
351
|
-
@colorErrorTextHover: #
|
|
352
|
-
@colorErrorText: #
|
|
353
|
-
@colorErrorTextActive: #
|
|
354
|
-
@colorWarningBg: #
|
|
355
|
-
@colorWarningBgHover: #
|
|
356
|
-
@colorWarningBorder: #
|
|
357
|
-
@colorWarningBorderHover: #
|
|
358
|
-
@colorWarningHover: #
|
|
359
|
-
@colorWarningActive: #
|
|
360
|
-
@colorWarningTextHover: #
|
|
361
|
-
@colorWarningText: #
|
|
362
|
-
@colorWarningTextActive: #
|
|
334
|
+
@colorSuccessBg: #11211d;
|
|
335
|
+
@colorSuccessBgHover: #113329;
|
|
336
|
+
@colorSuccessBorder: #144535;
|
|
337
|
+
@colorSuccessBorderHover: #145d45;
|
|
338
|
+
@colorSuccessHover: #145d45;
|
|
339
|
+
@colorSuccessActive: #147e5b;
|
|
340
|
+
@colorSuccessTextHover: #32b284;
|
|
341
|
+
@colorSuccessText: #149f71;
|
|
342
|
+
@colorSuccessTextActive: #147e5b;
|
|
343
|
+
@colorErrorBg: #291517;
|
|
344
|
+
@colorErrorBgHover: #411b1c;
|
|
345
|
+
@colorErrorBgFilledHover: #401c1d;
|
|
346
|
+
@colorErrorBgActive: #562222;
|
|
347
|
+
@colorErrorBorder: #562222;
|
|
348
|
+
@colorErrorBorderHover: #772929;
|
|
349
|
+
@colorErrorHover: #e56a66;
|
|
350
|
+
@colorErrorActive: #a23333;
|
|
351
|
+
@colorErrorTextHover: #e56a66;
|
|
352
|
+
@colorErrorText: #ce3c3c;
|
|
353
|
+
@colorErrorTextActive: #a23333;
|
|
354
|
+
@colorWarningBg: #2a1f12;
|
|
355
|
+
@colorWarningBgHover: #432e14;
|
|
356
|
+
@colorWarningBorder: #573e19;
|
|
357
|
+
@colorWarningBorderHover: #79531c;
|
|
358
|
+
@colorWarningHover: #79531c;
|
|
359
|
+
@colorWarningActive: #a66e1f;
|
|
360
|
+
@colorWarningTextHover: #e8ab49;
|
|
361
|
+
@colorWarningText: #d28a22;
|
|
362
|
+
@colorWarningTextActive: #a66e1f;
|
|
363
363
|
@colorInfoBg: #111a2a;
|
|
364
364
|
@colorInfoBgHover: #0f2342;
|
|
365
365
|
@colorInfoBorder: #122e57;
|
|
@@ -424,13 +424,13 @@
|
|
|
424
424
|
@colorTextLabel: rgba(255,255,255,0.65);
|
|
425
425
|
@colorTextDescription: rgba(255,255,255,0.45);
|
|
426
426
|
@colorTextLightSolid: #fff;
|
|
427
|
-
@colorHighlight: #
|
|
427
|
+
@colorHighlight: #ce3c3c;
|
|
428
428
|
@colorBgTextHover: rgba(255,255,255,0.12);
|
|
429
429
|
@colorBgTextActive: rgba(255,255,255,0.18);
|
|
430
430
|
@colorIcon: rgba(255,255,255,0.45);
|
|
431
431
|
@colorIconHover: rgba(255,255,255,0.85);
|
|
432
|
-
@colorErrorOutline: rgba(
|
|
433
|
-
@colorWarningOutline: rgba(
|
|
432
|
+
@colorErrorOutline: rgba(253,31,53,0.09);
|
|
433
|
+
@colorWarningOutline: rgba(240,130,0,0.1);
|
|
434
434
|
@fontSizeIcon: 10px;
|
|
435
435
|
@lineWidthFocus: 3px;
|
|
436
436
|
@controlOutlineWidth: 2px;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
@blue: #0d6cf2;
|
|
2
2
|
@purple: #722ED1;
|
|
3
3
|
@cyan: #13C2C2;
|
|
4
|
-
@green: #
|
|
4
|
+
@green: #14b781;
|
|
5
5
|
@magenta: #EB2F96;
|
|
6
6
|
@pink: #EB2F96;
|
|
7
|
-
@red: #
|
|
7
|
+
@red: #ef4343;
|
|
8
8
|
@orange: #FA8C16;
|
|
9
|
-
@yellow: #
|
|
9
|
+
@yellow: #f49f25;
|
|
10
10
|
@volcano: #FA541C;
|
|
11
11
|
@geekblue: #2F54EB;
|
|
12
12
|
@gold: #FAAD14;
|
|
13
13
|
@lime: #A0D911;
|
|
14
14
|
@colorPrimary: #0d6cf2;
|
|
15
|
-
@colorSuccess: #
|
|
16
|
-
@colorWarning: #
|
|
17
|
-
@colorError: #
|
|
15
|
+
@colorSuccess: #14b781;
|
|
16
|
+
@colorWarning: #f49f25;
|
|
17
|
+
@colorError: #ef4343;
|
|
18
18
|
@colorInfo: #0d6cf2;
|
|
19
19
|
@colorLink: #0d6cf2;
|
|
20
20
|
@colorTextBase: #000000;
|
|
@@ -104,26 +104,26 @@
|
|
|
104
104
|
@cyan9: #00474f;
|
|
105
105
|
@cyan-10: #002329;
|
|
106
106
|
@cyan10: #002329;
|
|
107
|
-
@green-1: #
|
|
108
|
-
@green1: #
|
|
109
|
-
@green-2: #
|
|
110
|
-
@green2: #
|
|
111
|
-
@green-3: #
|
|
112
|
-
@green3: #
|
|
113
|
-
@green-4: #
|
|
114
|
-
@green4: #
|
|
115
|
-
@green-5: #
|
|
116
|
-
@green5: #
|
|
117
|
-
@green-6: #
|
|
118
|
-
@green6: #
|
|
119
|
-
@green-7: #
|
|
120
|
-
@green7: #
|
|
121
|
-
@green-8: #
|
|
122
|
-
@green8: #
|
|
123
|
-
@green-9: #
|
|
124
|
-
@green9: #
|
|
125
|
-
@green-10: #
|
|
126
|
-
@green10: #
|
|
107
|
+
@green-1: #e1f7ec;
|
|
108
|
+
@green1: #e1f7ec;
|
|
109
|
+
@green-2: #b0ebcf;
|
|
110
|
+
@green2: #b0ebcf;
|
|
111
|
+
@green-3: #83deb6;
|
|
112
|
+
@green3: #83deb6;
|
|
113
|
+
@green-4: #5ad1a1;
|
|
114
|
+
@green4: #5ad1a1;
|
|
115
|
+
@green-5: #35c490;
|
|
116
|
+
@green5: #35c490;
|
|
117
|
+
@green-6: #14b781;
|
|
118
|
+
@green6: #14b781;
|
|
119
|
+
@green-7: #099168;
|
|
120
|
+
@green7: #099168;
|
|
121
|
+
@green-8: #016b4f;
|
|
122
|
+
@green8: #016b4f;
|
|
123
|
+
@green-9: #004535;
|
|
124
|
+
@green9: #004535;
|
|
125
|
+
@green-10: #001f18;
|
|
126
|
+
@green10: #001f18;
|
|
127
127
|
@magenta-1: #fff0f6;
|
|
128
128
|
@magenta1: #fff0f6;
|
|
129
129
|
@magenta-2: #ffd6e7;
|
|
@@ -166,24 +166,24 @@
|
|
|
166
166
|
@pink10: #520339;
|
|
167
167
|
@red-1: #fff2f0;
|
|
168
168
|
@red1: #fff2f0;
|
|
169
|
-
@red-2: #
|
|
170
|
-
@red2: #
|
|
171
|
-
@red-3: #
|
|
172
|
-
@red3: #
|
|
173
|
-
@red-4: #
|
|
174
|
-
@red4: #
|
|
175
|
-
@red-5: #
|
|
176
|
-
@red5: #
|
|
177
|
-
@red-6: #
|
|
178
|
-
@red6: #
|
|
179
|
-
@red-7: #
|
|
180
|
-
@red7: #
|
|
181
|
-
@red-8: #
|
|
182
|
-
@red8: #
|
|
183
|
-
@red-9: #
|
|
184
|
-
@red9: #
|
|
185
|
-
@red-10: #
|
|
186
|
-
@red10: #
|
|
169
|
+
@red-2: #ffedeb;
|
|
170
|
+
@red2: #ffedeb;
|
|
171
|
+
@red-3: #ffc8c2;
|
|
172
|
+
@red3: #ffc8c2;
|
|
173
|
+
@red-4: #ffa099;
|
|
174
|
+
@red4: #ffa099;
|
|
175
|
+
@red-5: #fc746f;
|
|
176
|
+
@red5: #fc746f;
|
|
177
|
+
@red-6: #ef4343;
|
|
178
|
+
@red6: #ef4343;
|
|
179
|
+
@red-7: #c92e34;
|
|
180
|
+
@red7: #c92e34;
|
|
181
|
+
@red-8: #a31d26;
|
|
182
|
+
@red8: #a31d26;
|
|
183
|
+
@red-9: #7d101b;
|
|
184
|
+
@red9: #7d101b;
|
|
185
|
+
@red-10: #570a15;
|
|
186
|
+
@red10: #570a15;
|
|
187
187
|
@orange-1: #fff7e6;
|
|
188
188
|
@orange1: #fff7e6;
|
|
189
189
|
@orange-2: #ffe7ba;
|
|
@@ -204,26 +204,26 @@
|
|
|
204
204
|
@orange9: #873800;
|
|
205
205
|
@orange-10: #612500;
|
|
206
206
|
@orange10: #612500;
|
|
207
|
-
@yellow-1: #
|
|
208
|
-
@yellow1: #
|
|
209
|
-
@yellow-2: #
|
|
210
|
-
@yellow2: #
|
|
211
|
-
@yellow-3: #
|
|
212
|
-
@yellow3: #
|
|
213
|
-
@yellow-4: #
|
|
214
|
-
@yellow4: #
|
|
215
|
-
@yellow-5: #
|
|
216
|
-
@yellow5: #
|
|
217
|
-
@yellow-6: #
|
|
218
|
-
@yellow6: #
|
|
219
|
-
@yellow-7: #
|
|
220
|
-
@yellow7: #
|
|
221
|
-
@yellow-8: #
|
|
222
|
-
@yellow8: #
|
|
223
|
-
@yellow-9: #
|
|
224
|
-
@yellow9: #
|
|
225
|
-
@yellow-10: #
|
|
226
|
-
@yellow10: #
|
|
207
|
+
@yellow-1: #fffbf0;
|
|
208
|
+
@yellow1: #fffbf0;
|
|
209
|
+
@yellow-2: #fff0c9;
|
|
210
|
+
@yellow2: #fff0c9;
|
|
211
|
+
@yellow-3: #ffe1a1;
|
|
212
|
+
@yellow3: #ffe1a1;
|
|
213
|
+
@yellow-4: #ffd078;
|
|
214
|
+
@yellow4: #ffd078;
|
|
215
|
+
@yellow-5: #ffbc4f;
|
|
216
|
+
@yellow5: #ffbc4f;
|
|
217
|
+
@yellow-6: #f49f25;
|
|
218
|
+
@yellow6: #f49f25;
|
|
219
|
+
@yellow-7: #cf7b15;
|
|
220
|
+
@yellow7: #cf7b15;
|
|
221
|
+
@yellow-8: #a85b08;
|
|
222
|
+
@yellow8: #a85b08;
|
|
223
|
+
@yellow-9: #823f00;
|
|
224
|
+
@yellow9: #823f00;
|
|
225
|
+
@yellow-10: #5c2900;
|
|
226
|
+
@yellow10: #5c2900;
|
|
227
227
|
@volcano-1: #fff2e8;
|
|
228
228
|
@volcano1: #fff2e8;
|
|
229
229
|
@volcano-2: #ffd8bf;
|
|
@@ -331,49 +331,49 @@
|
|
|
331
331
|
@colorPrimaryTextHover: #3690ff;
|
|
332
332
|
@colorPrimaryText: #0d6cf2;
|
|
333
333
|
@colorPrimaryTextActive: #004ecc;
|
|
334
|
-
@colorSuccessBg: #
|
|
335
|
-
@colorSuccessBgHover: #
|
|
336
|
-
@colorSuccessBorder: #
|
|
337
|
-
@colorSuccessBorderHover: #
|
|
338
|
-
@colorSuccessHover: #
|
|
339
|
-
@colorSuccessActive: #
|
|
340
|
-
@colorSuccessTextHover: #
|
|
341
|
-
@colorSuccessText: #
|
|
342
|
-
@colorSuccessTextActive: #
|
|
343
|
-
@colorErrorBg: #
|
|
344
|
-
@colorErrorBgHover: #
|
|
345
|
-
@colorErrorBgFilledHover: #
|
|
346
|
-
@colorErrorBgActive: #
|
|
347
|
-
@colorErrorBorder: #
|
|
348
|
-
@colorErrorBorderHover: #
|
|
349
|
-
@colorErrorHover: #
|
|
350
|
-
@colorErrorActive: #
|
|
351
|
-
@colorErrorTextHover: #
|
|
352
|
-
@colorErrorText: #
|
|
353
|
-
@colorErrorTextActive: #
|
|
354
|
-
@colorWarningBg: #
|
|
355
|
-
@colorWarningBgHover: #
|
|
356
|
-
@colorWarningBorder: #
|
|
357
|
-
@colorWarningBorderHover: #
|
|
358
|
-
@colorWarningHover: #
|
|
359
|
-
@colorWarningActive: #
|
|
360
|
-
@colorWarningTextHover: #
|
|
361
|
-
@colorWarningText: #
|
|
362
|
-
@colorWarningTextActive: #
|
|
363
|
-
@colorInfoBg: #
|
|
334
|
+
@colorSuccessBg: #e8f8f3;
|
|
335
|
+
@colorSuccessBgHover: #b0ebcf;
|
|
336
|
+
@colorSuccessBorder: #7ed7ba;
|
|
337
|
+
@colorSuccessBorderHover: #5ad1a1;
|
|
338
|
+
@colorSuccessHover: #5ad1a1;
|
|
339
|
+
@colorSuccessActive: #099168;
|
|
340
|
+
@colorSuccessTextHover: #35c490;
|
|
341
|
+
@colorSuccessText: #096547;
|
|
342
|
+
@colorSuccessTextActive: #099168;
|
|
343
|
+
@colorErrorBg: #fdecec;
|
|
344
|
+
@colorErrorBgHover: #ffedeb;
|
|
345
|
+
@colorErrorBgFilledHover: #ffddd9;
|
|
346
|
+
@colorErrorBgActive: #ffc8c2;
|
|
347
|
+
@colorErrorBorder: #f69898;
|
|
348
|
+
@colorErrorBorderHover: #ffa099;
|
|
349
|
+
@colorErrorHover: #fc746f;
|
|
350
|
+
@colorErrorActive: #c92e34;
|
|
351
|
+
@colorErrorTextHover: #fc746f;
|
|
352
|
+
@colorErrorText: #8a1b1b;
|
|
353
|
+
@colorErrorTextActive: #c92e34;
|
|
354
|
+
@colorWarningBg: #fef6e9;
|
|
355
|
+
@colorWarningBgHover: #fff0c9;
|
|
356
|
+
@colorWarningBorder: #f9cb87;
|
|
357
|
+
@colorWarningBorderHover: #ffd078;
|
|
358
|
+
@colorWarningHover: #ffd078;
|
|
359
|
+
@colorWarningActive: #cf7b15;
|
|
360
|
+
@colorWarningTextHover: #ffbc4f;
|
|
361
|
+
@colorWarningText: #5b3600;
|
|
362
|
+
@colorWarningTextActive: #cf7b15;
|
|
363
|
+
@colorInfoBg: #eaf1ff;
|
|
364
364
|
@colorInfoBgHover: #b0dbff;
|
|
365
|
-
@colorInfoBorder: #
|
|
365
|
+
@colorInfoBorder: #598cf3;
|
|
366
366
|
@colorInfoBorderHover: #5eacff;
|
|
367
367
|
@colorInfoHover: #5eacff;
|
|
368
368
|
@colorInfoActive: #004ecc;
|
|
369
369
|
@colorInfoTextHover: #3690ff;
|
|
370
|
-
@colorInfoText: #
|
|
370
|
+
@colorInfoText: #083e8b;
|
|
371
371
|
@colorInfoTextActive: #004ecc;
|
|
372
372
|
@colorLinkHover: #5eacff;
|
|
373
373
|
@colorLinkActive: #004ecc;
|
|
374
374
|
@colorBgMask: rgba(19, 32, 57, 0.45);
|
|
375
375
|
@colorWhite: #fff;
|
|
376
|
-
@fontSizeSM:
|
|
376
|
+
@fontSizeSM: 12px;
|
|
377
377
|
@fontSizeLG: 14px;
|
|
378
378
|
@fontSizeXL: 18px;
|
|
379
379
|
@fontSizeHeading1: 34px;
|
|
@@ -410,8 +410,9 @@
|
|
|
410
410
|
@lineWidthBold: 2px;
|
|
411
411
|
@borderRadiusXS: 1px;
|
|
412
412
|
@borderRadiusSM: 2px;
|
|
413
|
-
@borderRadiusLG:
|
|
413
|
+
@borderRadiusLG: 6px;
|
|
414
414
|
@borderRadiusOuter: 4px;
|
|
415
|
+
@colorIcon: #8592ad;
|
|
415
416
|
@boxShadow: 0 6px 16px 0 rgba(54, 69, 99, 0.08), 0 3px 6px -4px rgba(54, 69, 99, 0.12), 0 9px 28px 8px rgba(54, 69, 99, 0.05);
|
|
416
417
|
@boxShadowSecondary: 0 6px 16px 0 rgba(54, 69, 99, 0.08), 0 3px 6px -4px rgba(54, 69, 99, 0.12), 0 9px 28px 8px rgba(54, 69, 99, 0.05);
|
|
417
418
|
@boxShadowTertiary: 0 1px 2px 0 rgba(54, 69, 99, 0.03), 0 1px 6px -1px rgba(54, 69, 99, 0.02), 0 2px 4px 0 rgba(54, 69, 99, 0.02);
|
|
@@ -428,14 +429,13 @@
|
|
|
428
429
|
@colorTextLabel: #5c6b8a;
|
|
429
430
|
@colorTextDescription: #8592ad;
|
|
430
431
|
@colorTextLightSolid: #fff;
|
|
431
|
-
@colorHighlight: #
|
|
432
|
+
@colorHighlight: #ef4343;
|
|
432
433
|
@colorBgTextHover: #e2e8f3;
|
|
433
434
|
@colorBgTextActive: #cdd5e4;
|
|
434
|
-
@colorIcon: #8592ad;
|
|
435
435
|
@colorIconHover: #132039;
|
|
436
|
-
@colorErrorOutline: rgba(
|
|
437
|
-
@colorWarningOutline: rgba(
|
|
438
|
-
@fontSizeIcon:
|
|
436
|
+
@colorErrorOutline: rgba(230,17,17,0.08);
|
|
437
|
+
@colorWarningOutline: rgba(244,155,11,0.09);
|
|
438
|
+
@fontSizeIcon: 12px;
|
|
439
439
|
@controlOutlineWidth: 2px;
|
|
440
440
|
@controlInteractiveSize: 16px;
|
|
441
441
|
@controlItemBgHover: #f3f6fc;
|
package/lib/form/FormItem.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { FormItemProps as AntFormItemProps } from 'antd/es/form';
|
|
|
4
4
|
import type { TooltipProps } from '../tooltip';
|
|
5
5
|
declare const AntFormItem: (<Values = any>(props: AntFormItemProps<Values>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & {
|
|
6
6
|
useStatus: () => {
|
|
7
|
-
status?: "" | "
|
|
7
|
+
status?: "" | "error" | "warning" | "success" | "validating";
|
|
8
8
|
errors: React.ReactNode[];
|
|
9
9
|
warnings: React.ReactNode[];
|
|
10
10
|
};
|
package/lib/theme/default.js
CHANGED
|
@@ -27,7 +27,10 @@ var import_format = require("./util/format");
|
|
|
27
27
|
var colorPrimary = "#0D6CF2";
|
|
28
28
|
var colorPrimarySecondary = "#598CF3";
|
|
29
29
|
var colorText = "#132039";
|
|
30
|
-
var colorTextSecondary = "#
|
|
30
|
+
var colorTextSecondary = "#5C6B8A";
|
|
31
|
+
var colorTextTertiary = "#8592AD";
|
|
32
|
+
var colorTextQuaternary = "#C1CBE0";
|
|
33
|
+
var colorFill = "#CDD5E4";
|
|
31
34
|
var colorFillSecondary = "#E2E8F3";
|
|
32
35
|
var colorFillTertiary = "#F3F6FC";
|
|
33
36
|
var colorFillQuaternary = "#F8FAFE";
|
|
@@ -39,56 +42,42 @@ var defaultTheme = {
|
|
|
39
42
|
fontFamily: `-apple-system, 'Noto Sans', BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'`,
|
|
40
43
|
fontFamilyCode: `Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace`,
|
|
41
44
|
borderRadius: 4,
|
|
42
|
-
borderRadiusLG:
|
|
45
|
+
borderRadiusLG: 6,
|
|
43
46
|
borderRadiusSM: 2,
|
|
44
47
|
fontSize: 13,
|
|
45
|
-
fontSizeSM:
|
|
48
|
+
fontSizeSM: 12,
|
|
46
49
|
colorPrimary,
|
|
47
50
|
colorInfo: colorPrimary,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
colorWarningHover: "#FFC166",
|
|
64
|
-
colorWarningActive: "#FF9700",
|
|
65
|
-
colorWarningTextHover: "#FFC166",
|
|
66
|
-
colorWarningText: "#FFA21A",
|
|
67
|
-
colorWarningTextActive: "#FF9700",
|
|
68
|
-
colorErrorBg: "#ffebeb",
|
|
69
|
-
colorErrorBgHover: "#ffd6d6",
|
|
70
|
-
colorErrorBorder: "#FFB3B3",
|
|
71
|
-
colorErrorBorderHover: "#ff7575",
|
|
72
|
-
colorErrorHover: "#ff7575",
|
|
73
|
-
colorErrorActive: "#CC0000",
|
|
74
|
-
colorErrorTextHover: "#ff7575",
|
|
75
|
-
colorErrorText: "#ff1a1a",
|
|
76
|
-
colorErrorTextActive: "#CC0000",
|
|
77
|
-
colorError: "#F93939",
|
|
51
|
+
colorInfoBorder: "#598CF3",
|
|
52
|
+
colorInfoBg: "#EAF1FF",
|
|
53
|
+
colorInfoText: "#083E8B",
|
|
54
|
+
colorSuccess: "#14B781",
|
|
55
|
+
colorSuccessBorder: "#7ED7BA",
|
|
56
|
+
colorSuccessBg: "#E8F8F3",
|
|
57
|
+
colorSuccessText: "#096547",
|
|
58
|
+
colorWarning: "#F49F25",
|
|
59
|
+
colorWarningBorder: "#F9CB87",
|
|
60
|
+
colorWarningBg: "#FEF6E9",
|
|
61
|
+
colorWarningText: "#5B3600",
|
|
62
|
+
colorError: "#EF4343",
|
|
63
|
+
colorErrorBorder: "#F69898",
|
|
64
|
+
colorErrorBg: "#FDECEC",
|
|
65
|
+
colorErrorText: "#8A1B1B",
|
|
78
66
|
colorTextBase: "#000000",
|
|
79
67
|
colorText,
|
|
80
68
|
colorTextSecondary,
|
|
81
|
-
|
|
82
|
-
|
|
69
|
+
colorTextTertiary,
|
|
70
|
+
colorTextQuaternary,
|
|
71
|
+
colorIcon: colorTextSecondary,
|
|
83
72
|
colorBgBase: "#ffffff",
|
|
84
73
|
colorBgContainer: "#ffffff",
|
|
85
74
|
colorBgLayout: colorFillQuaternary,
|
|
86
|
-
colorBorder:
|
|
75
|
+
colorBorder: colorFill,
|
|
87
76
|
colorBorderSecondary,
|
|
88
|
-
|
|
89
|
-
colorFillTertiary,
|
|
77
|
+
colorFill,
|
|
90
78
|
colorFillSecondary,
|
|
91
|
-
|
|
79
|
+
colorFillTertiary,
|
|
80
|
+
colorFillQuaternary,
|
|
92
81
|
colorBgMask: "rgba(19, 32, 57, 0.45)",
|
|
93
82
|
colorBgElevated: "#ffffff",
|
|
94
83
|
colorBgSpotlight: "#ffffff",
|
|
@@ -110,6 +99,10 @@ var defaultTheme = {
|
|
|
110
99
|
fontHeight: 20,
|
|
111
100
|
lastItemColor: colorTextSecondary
|
|
112
101
|
},
|
|
102
|
+
Card: {
|
|
103
|
+
headerFontSize: 16,
|
|
104
|
+
borderRadiusLG: 8
|
|
105
|
+
},
|
|
113
106
|
Collapse: {
|
|
114
107
|
colorBorder: colorBorderSecondary
|
|
115
108
|
},
|
|
@@ -162,17 +155,15 @@ var defaultTheme = {
|
|
|
162
155
|
colorBgSpotlight: "#ffffff",
|
|
163
156
|
colorTextLightSolid: colorText
|
|
164
157
|
},
|
|
165
|
-
Card: {
|
|
166
|
-
borderRadiusLG: 8
|
|
167
|
-
},
|
|
168
158
|
Menu: {
|
|
169
159
|
paddingContentVertical: 0,
|
|
170
160
|
itemHeight: 30,
|
|
171
161
|
itemBorderRadius: 4,
|
|
172
162
|
// 80 means 50% opacity
|
|
173
|
-
itemSelectedBg: colorFillSecondary + "80",
|
|
174
163
|
itemHoverBg: colorFillSecondary + "80",
|
|
175
|
-
|
|
164
|
+
itemActiveBg: colorFillSecondary + "80",
|
|
165
|
+
itemSelectedBg: colorFillSecondary + "80",
|
|
166
|
+
itemColor: "#36496F",
|
|
176
167
|
itemSelectedColor: colorText,
|
|
177
168
|
itemMarginBlock: 6,
|
|
178
169
|
groupTitleFontSize: 11
|