inl-ui 0.1.20 → 0.1.21

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.
@@ -1,790 +1,790 @@
1
- @import "./default.less";
2
- @theme: dark;
3
- // color palettes
4
- @blue-1: mix(
5
- color(~`colorPalette("@{blue-base}", 8) `),
6
- @component-background,
7
- 15%
8
- );
9
- @blue-2: mix(
10
- color(~`colorPalette("@{blue-base}", 7) `),
11
- @component-background,
12
- 25%
13
- );
14
- @blue-3: mix(@blue-base, @component-background, 30%);
15
- @blue-4: mix(@blue-base, @component-background, 45%);
16
- @blue-5: mix(@blue-base, @component-background, 65%);
17
- @blue-6: mix(@blue-base, @component-background, 85%);
18
- @blue-7: mix(
19
- color(~`colorPalette("@{blue-base}", 5) `),
20
- @component-background,
21
- 90%
22
- );
23
- @blue-8: mix(
24
- color(~`colorPalette("@{blue-base}", 4) `),
25
- @component-background,
26
- 95%
27
- );
28
- @blue-9: mix(
29
- color(~`colorPalette("@{blue-base}", 3) `),
30
- @component-background,
31
- 97%
32
- );
33
- @blue-10: mix(
34
- color(~`colorPalette("@{blue-base}", 2) `),
35
- @component-background,
36
- 98%
37
- );
38
-
39
- @purple-1: mix(
40
- color(~`colorPalette("@{purple-base}", 8) `),
41
- @component-background,
42
- 15%
43
- );
44
- @purple-2: mix(
45
- color(~`colorPalette("@{purple-base}", 7) `),
46
- @component-background,
47
- 25%
48
- );
49
- @purple-3: mix(@purple-base, @component-background, 30%);
50
- @purple-4: mix(@purple-base, @component-background, 45%);
51
- @purple-5: mix(@purple-base, @component-background, 65%);
52
- @purple-6: mix(@purple-base, @component-background, 85%);
53
- @purple-7: mix(
54
- color(~`colorPalette("@{purple-base}", 5) `),
55
- @component-background,
56
- 90%
57
- );
58
- @purple-8: mix(
59
- color(~`colorPalette("@{purple-base}", 4) `),
60
- @component-background,
61
- 95%
62
- );
63
- @purple-9: mix(
64
- color(~`colorPalette("@{purple-base}", 3) `),
65
- @component-background,
66
- 97%
67
- );
68
- @purple-10: mix(
69
- color(~`colorPalette("@{purple-base}", 2) `),
70
- @component-background,
71
- 98%
72
- );
73
-
74
- @cyan-1: mix(
75
- color(~`colorPalette("@{cyan-base}", 8) `),
76
- @component-background,
77
- 15%
78
- );
79
- @cyan-2: mix(
80
- color(~`colorPalette("@{cyan-base}", 7) `),
81
- @component-background,
82
- 25%
83
- );
84
- @cyan-3: mix(@cyan-base, @component-background, 30%);
85
- @cyan-4: mix(@cyan-base, @component-background, 45%);
86
- @cyan-5: mix(@cyan-base, @component-background, 65%);
87
- @cyan-6: mix(@cyan-base, @component-background, 85%);
88
- @cyan-7: mix(
89
- color(~`colorPalette("@{cyan-base}", 5) `),
90
- @component-background,
91
- 90%
92
- );
93
- @cyan-8: mix(
94
- color(~`colorPalette("@{cyan-base}", 4) `),
95
- @component-background,
96
- 95%
97
- );
98
- @cyan-9: mix(
99
- color(~`colorPalette("@{cyan-base}", 3) `),
100
- @component-background,
101
- 97%
102
- );
103
- @cyan-10: mix(
104
- color(~`colorPalette("@{cyan-base}", 2) `),
105
- @component-background,
106
- 98%
107
- );
108
-
109
- @green-1: mix(
110
- color(~`colorPalette("@{green-base}", 8) `),
111
- @component-background,
112
- 15%
113
- );
114
- @green-2: mix(
115
- color(~`colorPalette("@{green-base}", 7) `),
116
- @component-background,
117
- 25%
118
- );
119
- @green-3: mix(@green-base, @component-background, 30%);
120
- @green-4: mix(@green-base, @component-background, 45%);
121
- @green-5: mix(@green-base, @component-background, 65%);
122
- @green-6: mix(@green-base, @component-background, 85%);
123
- @green-7: mix(
124
- color(~`colorPalette("@{green-base}", 5) `),
125
- @component-background,
126
- 90%
127
- );
128
- @green-8: mix(
129
- color(~`colorPalette("@{green-base}", 4) `),
130
- @component-background,
131
- 95%
132
- );
133
- @green-9: mix(
134
- color(~`colorPalette("@{green-base}", 3) `),
135
- @component-background,
136
- 97%
137
- );
138
- @green-10: mix(
139
- color(~`colorPalette("@{green-base}", 2) `),
140
- @component-background,
141
- 98%
142
- );
143
-
144
- @magenta-1: mix(
145
- color(~`colorPalette("@{magenta-base}", 8) `),
146
- @component-background,
147
- 15%
148
- );
149
- @magenta-2: mix(
150
- color(~`colorPalette("@{magenta-base}", 7) `),
151
- @component-background,
152
- 25%
153
- );
154
- @magenta-3: mix(@magenta-base, @component-background, 30%);
155
- @magenta-4: mix(@magenta-base, @component-background, 45%);
156
- @magenta-5: mix(@magenta-base, @component-background, 65%);
157
- @magenta-6: mix(@magenta-base, @component-background, 85%);
158
- @magenta-7: mix(
159
- color(~`colorPalette("@{magenta-base}", 5) `),
160
- @component-background,
161
- 90%
162
- );
163
- @magenta-8: mix(
164
- color(~`colorPalette("@{magenta-base}", 4) `),
165
- @component-background,
166
- 95%
167
- );
168
- @magenta-9: mix(
169
- color(~`colorPalette("@{magenta-base}", 3) `),
170
- @component-background,
171
- 97%
172
- );
173
- @magenta-10: mix(
174
- color(~`colorPalette("@{magenta-base}", 2) `),
175
- @component-background,
176
- 98%
177
- );
178
-
179
- @pink-1: mix(
180
- color(~`colorPalette("@{pink-base}", 8) `),
181
- @component-background,
182
- 15%
183
- );
184
- @pink-2: mix(
185
- color(~`colorPalette("@{pink-base}", 7) `),
186
- @component-background,
187
- 25%
188
- );
189
- @pink-3: mix(@pink-base, @component-background, 30%);
190
- @pink-4: mix(@pink-base, @component-background, 45%);
191
- @pink-5: mix(@pink-base, @component-background, 65%);
192
- @pink-6: mix(@pink-base, @component-background, 85%);
193
- @pink-7: mix(
194
- color(~`colorPalette("@{pink-base}", 5) `),
195
- @component-background,
196
- 90%
197
- );
198
- @pink-8: mix(
199
- color(~`colorPalette("@{pink-base}", 4) `),
200
- @component-background,
201
- 95%
202
- );
203
- @pink-9: mix(
204
- color(~`colorPalette("@{pink-base}", 3) `),
205
- @component-background,
206
- 97%
207
- );
208
- @pink-10: mix(
209
- color(~`colorPalette("@{pink-base}", 2) `),
210
- @component-background,
211
- 98%
212
- );
213
-
214
- @red-1: mix(
215
- color(~`colorPalette("@{red-base}", 8) `),
216
- @component-background,
217
- 15%
218
- );
219
- @red-2: mix(
220
- color(~`colorPalette("@{red-base}", 7) `),
221
- @component-background,
222
- 25%
223
- );
224
- @red-3: mix(@red-base, @component-background, 30%);
225
- @red-4: mix(@red-base, @component-background, 45%);
226
- @red-5: mix(@red-base, @component-background, 65%);
227
- @red-6: mix(@red-base, @component-background, 85%);
228
- @red-7: mix(
229
- color(~`colorPalette("@{red-base}", 5) `),
230
- @component-background,
231
- 90%
232
- );
233
- @red-8: mix(
234
- color(~`colorPalette("@{red-base}", 4) `),
235
- @component-background,
236
- 95%
237
- );
238
- @red-9: mix(
239
- color(~`colorPalette("@{red-base}", 3) `),
240
- @component-background,
241
- 97%
242
- );
243
- @red-10: mix(
244
- color(~`colorPalette("@{red-base}", 2) `),
245
- @component-background,
246
- 98%
247
- );
248
-
249
- @orange-1: mix(
250
- color(~`colorPalette("@{orange-base}", 8) `),
251
- @component-background,
252
- 15%
253
- );
254
- @orange-2: mix(
255
- color(~`colorPalette("@{orange-base}", 7) `),
256
- @component-background,
257
- 25%
258
- );
259
- @orange-3: mix(@orange-base, @component-background, 30%);
260
- @orange-4: mix(@orange-base, @component-background, 45%);
261
- @orange-5: mix(@orange-base, @component-background, 65%);
262
- @orange-6: mix(@orange-base, @component-background, 85%);
263
- @orange-7: mix(
264
- color(~`colorPalette("@{orange-base}", 5) `),
265
- @component-background,
266
- 90%
267
- );
268
- @orange-8: mix(
269
- color(~`colorPalette("@{orange-base}", 4) `),
270
- @component-background,
271
- 95%
272
- );
273
- @orange-9: mix(
274
- color(~`colorPalette("@{orange-base}", 3) `),
275
- @component-background,
276
- 97%
277
- );
278
- @orange-10: mix(
279
- color(~`colorPalette("@{orange-base}", 2) `),
280
- @component-background,
281
- 98%
282
- );
283
-
284
- @yellow-1: mix(
285
- color(~`colorPalette("@{yellow-base}", 8) `),
286
- @component-background,
287
- 15%
288
- );
289
- @yellow-2: mix(
290
- color(~`colorPalette("@{yellow-base}", 7) `),
291
- @component-background,
292
- 25%
293
- );
294
- @yellow-3: mix(@yellow-base, @component-background, 30%);
295
- @yellow-4: mix(@yellow-base, @component-background, 45%);
296
- @yellow-5: mix(@yellow-base, @component-background, 65%);
297
- @yellow-6: mix(@yellow-base, @component-background, 85%);
298
- @yellow-7: mix(
299
- color(~`colorPalette("@{yellow-base}", 5) `),
300
- @component-background,
301
- 90%
302
- );
303
- @yellow-8: mix(
304
- color(~`colorPalette("@{yellow-base}", 4) `),
305
- @component-background,
306
- 95%
307
- );
308
- @yellow-9: mix(
309
- color(~`colorPalette("@{yellow-base}", 3) `),
310
- @component-background,
311
- 97%
312
- );
313
- @yellow-10: mix(
314
- color(~`colorPalette("@{yellow-base}", 2) `),
315
- @component-background,
316
- 98%
317
- );
318
-
319
- @volcano-1: mix(
320
- color(~`colorPalette("@{volcano-base}", 8) `),
321
- @component-background,
322
- 15%
323
- );
324
- @volcano-2: mix(
325
- color(~`colorPalette("@{volcano-base}", 7) `),
326
- @component-background,
327
- 25%
328
- );
329
- @volcano-3: mix(@volcano-base, @component-background, 30%);
330
- @volcano-4: mix(@volcano-base, @component-background, 45%);
331
- @volcano-5: mix(@volcano-base, @component-background, 65%);
332
- @volcano-6: mix(@volcano-base, @component-background, 85%);
333
- @volcano-7: mix(
334
- color(~`colorPalette("@{volcano-base}", 5) `),
335
- @component-background,
336
- 90%
337
- );
338
- @volcano-8: mix(
339
- color(~`colorPalette("@{volcano-base}", 4) `),
340
- @component-background,
341
- 95%
342
- );
343
- @volcano-9: mix(
344
- color(~`colorPalette("@{volcano-base}", 3) `),
345
- @component-background,
346
- 97%
347
- );
348
- @volcano-10: mix(
349
- color(~`colorPalette("@{volcano-base}", 2) `),
350
- @component-background,
351
- 98%
352
- );
353
-
354
- @geekblue-1: mix(
355
- color(~`colorPalette("@{geekblue-base}", 8) `),
356
- @component-background,
357
- 15%
358
- );
359
- @geekblue-2: mix(
360
- color(~`colorPalette("@{geekblue-base}", 7) `),
361
- @component-background,
362
- 25%
363
- );
364
- @geekblue-3: mix(@geekblue-base, @component-background, 30%);
365
- @geekblue-4: mix(@geekblue-base, @component-background, 45%);
366
- @geekblue-5: mix(@geekblue-base, @component-background, 65%);
367
- @geekblue-6: mix(@geekblue-base, @component-background, 85%);
368
- @geekblue-7: mix(
369
- color(~`colorPalette("@{geekblue-base}", 5) `),
370
- @component-background,
371
- 90%
372
- );
373
- @geekblue-8: mix(
374
- color(~`colorPalette("@{geekblue-base}", 4) `),
375
- @component-background,
376
- 95%
377
- );
378
- @geekblue-9: mix(
379
- color(~`colorPalette("@{geekblue-base}", 3) `),
380
- @component-background,
381
- 97%
382
- );
383
- @geekblue-10: mix(
384
- color(~`colorPalette("@{geekblue-base}", 2) `),
385
- @component-background,
386
- 98%
387
- );
388
-
389
- @lime-1: mix(
390
- color(~`colorPalette("@{lime-base}", 8) `),
391
- @component-background,
392
- 15%
393
- );
394
- @lime-2: mix(
395
- color(~`colorPalette("@{lime-base}", 7) `),
396
- @component-background,
397
- 25%
398
- );
399
- @lime-3: mix(@lime-base, @component-background, 30%);
400
- @lime-4: mix(@lime-base, @component-background, 45%);
401
- @lime-5: mix(@lime-base, @component-background, 65%);
402
- @lime-6: mix(@lime-base, @component-background, 85%);
403
- @lime-7: mix(
404
- color(~`colorPalette("@{lime-base}", 5) `),
405
- @component-background,
406
- 90%
407
- );
408
- @lime-8: mix(
409
- color(~`colorPalette("@{lime-base}", 4) `),
410
- @component-background,
411
- 95%
412
- );
413
- @lime-9: mix(
414
- color(~`colorPalette("@{lime-base}", 3) `),
415
- @component-background,
416
- 97%
417
- );
418
- @lime-10: mix(
419
- color(~`colorPalette("@{lime-base}", 2) `),
420
- @component-background,
421
- 98%
422
- );
423
-
424
- @gold-1: mix(
425
- color(~`colorPalette("@{gold-base}", 8) `),
426
- @component-background,
427
- 15%
428
- );
429
- @gold-2: mix(
430
- color(~`colorPalette("@{gold-base}", 7) `),
431
- @component-background,
432
- 25%
433
- );
434
- @gold-3: mix(@gold-base, @component-background, 30%);
435
- @gold-4: mix(@gold-base, @component-background, 45%);
436
- @gold-5: mix(@gold-base, @component-background, 65%);
437
- @gold-6: mix(@gold-base, @component-background, 85%);
438
- @gold-7: mix(
439
- color(~`colorPalette("@{gold-base}", 5) `),
440
- @component-background,
441
- 90%
442
- );
443
- @gold-8: mix(
444
- color(~`colorPalette("@{gold-base}", 4) `),
445
- @component-background,
446
- 95%
447
- );
448
- @gold-9: mix(
449
- color(~`colorPalette("@{gold-base}", 3) `),
450
- @component-background,
451
- 97%
452
- );
453
- @gold-10: mix(
454
- color(~`colorPalette("@{gold-base}", 2) `),
455
- @component-background,
456
- 98%
457
- );
458
-
459
- // Color used by default to control hover and active backgrounds and for
460
- // alert info backgrounds.
461
- @primary-1: mix(
462
- color(~`colorPalette("@{primary-color}", 8) `),
463
- @component-background,
464
- 15%
465
- );
466
- @primary-2: mix(
467
- color(~`colorPalette("@{primary-color}", 7) `),
468
- @component-background,
469
- 25%
470
- );
471
- @primary-3: mix(@primary-color, @component-background, 30%);
472
- @primary-4: mix(@primary-color, @component-background, 45%);
473
- @primary-5: mix(@primary-color, @component-background, 65%);
474
- @primary-6: @primary-color;
475
- @primary-7: mix(
476
- color(~`colorPalette("@{primary-color}", 5) `),
477
- @component-background,
478
- 90%
479
- );
480
- @primary-8: mix(
481
- color(~`colorPalette("@{primary-color}", 4) `),
482
- @component-background,
483
- 95%
484
- );
485
- @primary-9: mix(
486
- color(~`colorPalette("@{primary-color}", 3) `),
487
- @component-background,
488
- 97%
489
- );
490
- @primary-10: mix(
491
- color(~`colorPalette("@{primary-color}", 2) `),
492
- @component-background,
493
- 98%
494
- );
495
-
496
- // Layer background
497
- @popover-background: #1f1f1f;
498
- @popover-customize-border-color: #3a3a3a;
499
- @body-background: @black;
500
- @component-background: #141414;
501
-
502
- @text-color: fade(@white, 85%);
503
- @text-color-secondary: fade(@white, 45%);
504
- @text-color-inverse: @white;
505
- @icon-color-hover: fade(@white, 75%);
506
- @heading-color: fade(@white, 85%);
507
-
508
- // The background colors for active and hover states for things like
509
- // list items or table cells.
510
- @item-active-bg: @primary-1;
511
- @item-hover-bg: fade(@white, 8%);
512
-
513
- // Border color
514
- @border-color-base: #434343; // base border outline a component
515
- @border-color-split: #303030; // split border inside a component
516
-
517
- @background-color-light: fade(
518
- @white,
519
- 4%
520
- ); // background of header and selected item
521
- @background-color-base: fade(@white, 8%); // Default grey background color
522
-
523
- // Disabled states
524
- @disabled-color: fade(@white, 30%);
525
- @disabled-bg: @background-color-base;
526
- @disabled-color-dark: fade(@white, 30%);
527
-
528
- // Tree
529
- // ---
530
- @tree-bg: transparent;
531
-
532
- // List
533
- // ---
534
- @list-customize-card-bg: transparent;
535
-
536
- // Shadow
537
- // ---
538
- @shadow-color: rgba(0, 0, 0, 0.45);
539
- @shadow-color-inverse: @component-background;
540
- @box-shadow-base: @shadow-2;
541
- @shadow-1-up: 0 -6px 16px -8px rgba(0, 0, 0, 0.32),
542
- 0 -9px 28px 0 rgba(0, 0, 0, 0.2), 0 -12px 48px 16px rgba(0, 0, 0, 0.12);
543
- @shadow-1-down: 0 6px 16px -8px rgba(0, 0, 0, 0.32),
544
- 0 9px 28px 0 rgba(0, 0, 0, 0.2), 0 12px 48px 16px rgba(0, 0, 0, 0.12);
545
- @shadow-1-right: 6px 0 16px -8px rgba(0, 0, 0, 0.32),
546
- 9px 0 28px 0 rgba(0, 0, 0, 0.2), 12px 0 48px 16px rgba(0, 0, 0, 0.12);
547
- @shadow-2: 0 3px 6px -4px rgba(0, 0, 0, 0.48), 0 6px 16px 0 rgba(0, 0, 0, 0.32),
548
- 0 9px 28px 8px rgba(0, 0, 0, 0.2);
549
-
550
- // Buttons
551
- // ---
552
- @btn-shadow: 0 2px 0 rgba(0, 0, 0, 0.015);
553
- @btn-primary-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);
554
- @btn-text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);
555
-
556
- @btn-default-bg: transparent;
557
-
558
- @btn-default-ghost-color: @text-color;
559
- @btn-default-ghost-border: fade(@white, 25%);
560
-
561
- @btn-text-hover-bg: rgba(255, 255, 255, 0.03);
562
-
563
- // Checkbox
564
- // ---
565
- @checkbox-check-bg: transparent;
566
-
567
- // Descriptions
568
- // ---
569
- @descriptions-bg: @background-color-light;
570
-
571
- // Divider
572
- // ---
573
- @divider-color: rgba(255, 255, 255, 12%);
574
-
575
- // Modal
576
- // ---
577
- @modal-header-bg: @popover-background;
578
- @modal-header-border-color-split: @border-color-split;
579
- @modal-content-bg: @popover-background;
580
- @modal-footer-border-color-split: @border-color-split;
581
-
582
- // Radio
583
- // ---
584
- @radio-solid-checked-color: @white;
585
- @radio-dot-disabled-color: fade(@white, 20%);
586
-
587
- // Radio buttons
588
- // ---
589
- @radio-disabled-button-checked-bg: fade(@white, 20%);
590
- @radio-disabled-button-checked-color: @disabled-color;
591
-
592
- // Layout
593
- // ---
594
- @layout-body-background: @body-background;
595
- @layout-header-background: @popover-background;
596
- @layout-trigger-background: #262626;
597
-
598
- // Input
599
- // ---
600
- @input-bg: transparent;
601
- @input-placeholder-color: fade(@white, 30%);
602
- @input-icon-color: fade(@white, 30%);
603
- @input-number-handler-active-bg: @item-hover-bg;
604
- @input-icon-hover-color: fade(@white, 85%);
605
-
606
- // Select
607
- // ---
608
- @select-background: transparent;
609
- @select-dropdown-bg: @popover-background;
610
- @select-clear-background: @component-background;
611
- @select-selection-item-bg: fade(@white, 8);
612
- @select-selection-item-border-color: @border-color-split;
613
- @select-multiple-disabled-background: @component-background;
614
- @select-multiple-item-disabled-color: #595959;
615
- @select-multiple-item-disabled-border-color: @popover-background;
616
-
617
- // Cascader
618
- // ---
619
- @cascader-bg: transparent;
620
- @cascader-menu-bg: @popover-background;
621
- @cascader-menu-border-color-split: @border-color-split;
622
-
623
- // Tooltip
624
- // ---
625
- // Tooltip background color
626
- @tooltip-bg: #434343;
627
-
628
- // Menu
629
- // ---
630
- // dark theme
631
- @menu-dark-inline-submenu-bg: @component-background;
632
- @menu-dark-bg: @popover-background;
633
- @menu-popup-bg: @popover-background;
634
-
635
- // Message
636
- // ---
637
- @message-notice-content-bg: @popover-background;
638
-
639
- // Notification
640
- @notification-bg: @popover-background;
641
-
642
- // LINK
643
- @link-hover-color: @primary-5;
644
- @link-active-color: @primary-7;
645
-
646
- // Table
647
- // --
648
- @table-header-bg: #1d1d1d;
649
- @table-body-sort-bg: fade(@white, 1%);
650
- @table-row-hover-bg: #f2f3f8;
651
- @table-header-cell-split-color: fade(@white, 8%);
652
- @table-header-sort-bg: #262626;
653
- @table-header-filter-active-bg: #434343;
654
- @table-header-sort-active-bg: #303030;
655
- @table-fixed-header-sort-active-bg: #222;
656
- @table-filter-btns-bg: @popover-background;
657
- @table-expanded-row-bg: @table-header-bg;
658
- @table-filter-dropdown-bg: @popover-background;
659
- @table-expand-icon-bg: transparent;
660
- @table-selected-row-bg: #eff2f6;
661
-
662
- // Tag
663
- // ---
664
- @info-color-deprecated-bg: @primary-1;
665
- @info-color-deprecated-border: @primary-3;
666
- @success-color-deprecated-bg: @green-1;
667
- @success-color-deprecated-border: @green-3;
668
- @warning-color-deprecated-bg: @orange-1;
669
- @warning-color-deprecated-border: @orange-3;
670
- @error-color-deprecated-bg: @red-1;
671
- @error-color-deprecated-border: @red-3;
672
-
673
- // TimePicker
674
- // ---
675
- @picker-basic-cell-hover-with-range-color: darken(@primary-color, 35%);
676
- @picker-basic-cell-disabled-bg: #303030;
677
- @picker-border-color: @border-color-split;
678
- @picker-bg: transparent;
679
- @picker-date-hover-range-border-color: darken(@primary-color, 20%);
680
-
681
- // Dropdown
682
- // ---
683
- @dropdown-menu-bg: @popover-background;
684
- @dropdown-menu-submenu-disabled-bg: transparent;
685
-
686
- // Steps
687
- // ---
688
- @steps-nav-arrow-color: fade(@white, 20%);
689
- @steps-background: transparent;
690
-
691
- // Avatar
692
- // ---
693
- @avatar-bg: fade(@white, 30%);
694
-
695
- // Progress
696
- // ---
697
- @progress-steps-item-bg: fade(@white, 8%);
698
-
699
- // Calendar
700
- // ---
701
- @calendar-bg: @popover-background;
702
- @calendar-input-bg: @calendar-bg;
703
- @calendar-border-color: transparent;
704
- @calendar-full-bg: @component-background;
705
-
706
- // Badge
707
- // ---
708
- @badge-text-color: @white;
709
-
710
- // Popover
711
- @popover-bg: @popover-background;
712
-
713
- // Drawer
714
- @drawer-bg: @popover-background;
715
-
716
- // Card
717
- // ---
718
- @card-actions-background: @component-background;
719
- @card-skeleton-bg: #303030;
720
- @card-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.64),
721
- 0 3px 6px 0 rgba(0, 0, 0, 0.48), 0 5px 12px 4px rgba(0, 0, 0, 0.36);
722
-
723
- // Transfer
724
- // ---
725
- @transfer-item-hover-bg: #262626;
726
-
727
- // Comment
728
- // ---
729
- @comment-bg: transparent;
730
- @comment-author-time-color: fade(@white, 30%);
731
- @comment-action-hover-color: fade(@white, 65%);
732
-
733
- // Rate
734
- // ---
735
- @rate-star-bg: fade(@white, 12%);
736
-
737
- // Switch
738
- // ---
739
- @switch-bg: @white;
740
-
741
- // Pagination
742
- // ---
743
- @pagination-item-bg: transparent;
744
- @pagination-item-bg-active: transparent;
745
- @pagination-item-link-bg: transparent;
746
- @pagination-item-disabled-bg-active: fade(@white, 25%);
747
- @pagination-item-disabled-color-active: @black;
748
- @pagination-item-input-bg: @pagination-item-bg;
749
-
750
- // PageHeader
751
- // ---
752
- @page-header-back-color: @icon-color;
753
- @page-header-ghost-bg: transparent;
754
-
755
- // Slider
756
- // ---
757
- @slider-rail-background-color: #262626;
758
- @slider-rail-background-color-hover: @border-color-base;
759
- @slider-dot-border-color: @border-color-split;
760
- @slider-dot-border-color-active: @primary-4;
761
-
762
- // Skeleton
763
- // ---
764
- @skeleton-to-color: fade(@white, 16%);
765
-
766
- // Alert
767
- // ---
768
- @alert-success-border-color: @green-3;
769
- @alert-success-bg-color: @green-1;
770
- @alert-success-icon-color: @success-color;
771
- @alert-info-border-color: @primary-3;
772
- @alert-info-bg-color: @primary-1;
773
- @alert-info-icon-color: @info-color;
774
- @alert-warning-border-color: @gold-3;
775
- @alert-warning-bg-color: @gold-1;
776
- @alert-warning-icon-color: @warning-color;
777
- @alert-error-border-color: @red-3;
778
- @alert-error-bg-color: @red-1;
779
- @alert-error-icon-color: @error-color;
780
-
781
- // Timeline
782
- // ---
783
- @timeline-color: @border-color-split;
784
- @timeline-dot-color: @primary-color;
785
-
786
- // Mentions
787
- // ---
788
- @mentions-dropdown-bg: @popover-background;
789
-
790
- @import "./var-dark.less";
1
+ @import "./default.less";
2
+ @theme: dark;
3
+ // color palettes
4
+ @blue-1: mix(
5
+ color(~`colorPalette("@{blue-base}", 8) `),
6
+ @component-background,
7
+ 15%
8
+ );
9
+ @blue-2: mix(
10
+ color(~`colorPalette("@{blue-base}", 7) `),
11
+ @component-background,
12
+ 25%
13
+ );
14
+ @blue-3: mix(@blue-base, @component-background, 30%);
15
+ @blue-4: mix(@blue-base, @component-background, 45%);
16
+ @blue-5: mix(@blue-base, @component-background, 65%);
17
+ @blue-6: mix(@blue-base, @component-background, 85%);
18
+ @blue-7: mix(
19
+ color(~`colorPalette("@{blue-base}", 5) `),
20
+ @component-background,
21
+ 90%
22
+ );
23
+ @blue-8: mix(
24
+ color(~`colorPalette("@{blue-base}", 4) `),
25
+ @component-background,
26
+ 95%
27
+ );
28
+ @blue-9: mix(
29
+ color(~`colorPalette("@{blue-base}", 3) `),
30
+ @component-background,
31
+ 97%
32
+ );
33
+ @blue-10: mix(
34
+ color(~`colorPalette("@{blue-base}", 2) `),
35
+ @component-background,
36
+ 98%
37
+ );
38
+
39
+ @purple-1: mix(
40
+ color(~`colorPalette("@{purple-base}", 8) `),
41
+ @component-background,
42
+ 15%
43
+ );
44
+ @purple-2: mix(
45
+ color(~`colorPalette("@{purple-base}", 7) `),
46
+ @component-background,
47
+ 25%
48
+ );
49
+ @purple-3: mix(@purple-base, @component-background, 30%);
50
+ @purple-4: mix(@purple-base, @component-background, 45%);
51
+ @purple-5: mix(@purple-base, @component-background, 65%);
52
+ @purple-6: mix(@purple-base, @component-background, 85%);
53
+ @purple-7: mix(
54
+ color(~`colorPalette("@{purple-base}", 5) `),
55
+ @component-background,
56
+ 90%
57
+ );
58
+ @purple-8: mix(
59
+ color(~`colorPalette("@{purple-base}", 4) `),
60
+ @component-background,
61
+ 95%
62
+ );
63
+ @purple-9: mix(
64
+ color(~`colorPalette("@{purple-base}", 3) `),
65
+ @component-background,
66
+ 97%
67
+ );
68
+ @purple-10: mix(
69
+ color(~`colorPalette("@{purple-base}", 2) `),
70
+ @component-background,
71
+ 98%
72
+ );
73
+
74
+ @cyan-1: mix(
75
+ color(~`colorPalette("@{cyan-base}", 8) `),
76
+ @component-background,
77
+ 15%
78
+ );
79
+ @cyan-2: mix(
80
+ color(~`colorPalette("@{cyan-base}", 7) `),
81
+ @component-background,
82
+ 25%
83
+ );
84
+ @cyan-3: mix(@cyan-base, @component-background, 30%);
85
+ @cyan-4: mix(@cyan-base, @component-background, 45%);
86
+ @cyan-5: mix(@cyan-base, @component-background, 65%);
87
+ @cyan-6: mix(@cyan-base, @component-background, 85%);
88
+ @cyan-7: mix(
89
+ color(~`colorPalette("@{cyan-base}", 5) `),
90
+ @component-background,
91
+ 90%
92
+ );
93
+ @cyan-8: mix(
94
+ color(~`colorPalette("@{cyan-base}", 4) `),
95
+ @component-background,
96
+ 95%
97
+ );
98
+ @cyan-9: mix(
99
+ color(~`colorPalette("@{cyan-base}", 3) `),
100
+ @component-background,
101
+ 97%
102
+ );
103
+ @cyan-10: mix(
104
+ color(~`colorPalette("@{cyan-base}", 2) `),
105
+ @component-background,
106
+ 98%
107
+ );
108
+
109
+ @green-1: mix(
110
+ color(~`colorPalette("@{green-base}", 8) `),
111
+ @component-background,
112
+ 15%
113
+ );
114
+ @green-2: mix(
115
+ color(~`colorPalette("@{green-base}", 7) `),
116
+ @component-background,
117
+ 25%
118
+ );
119
+ @green-3: mix(@green-base, @component-background, 30%);
120
+ @green-4: mix(@green-base, @component-background, 45%);
121
+ @green-5: mix(@green-base, @component-background, 65%);
122
+ @green-6: mix(@green-base, @component-background, 85%);
123
+ @green-7: mix(
124
+ color(~`colorPalette("@{green-base}", 5) `),
125
+ @component-background,
126
+ 90%
127
+ );
128
+ @green-8: mix(
129
+ color(~`colorPalette("@{green-base}", 4) `),
130
+ @component-background,
131
+ 95%
132
+ );
133
+ @green-9: mix(
134
+ color(~`colorPalette("@{green-base}", 3) `),
135
+ @component-background,
136
+ 97%
137
+ );
138
+ @green-10: mix(
139
+ color(~`colorPalette("@{green-base}", 2) `),
140
+ @component-background,
141
+ 98%
142
+ );
143
+
144
+ @magenta-1: mix(
145
+ color(~`colorPalette("@{magenta-base}", 8) `),
146
+ @component-background,
147
+ 15%
148
+ );
149
+ @magenta-2: mix(
150
+ color(~`colorPalette("@{magenta-base}", 7) `),
151
+ @component-background,
152
+ 25%
153
+ );
154
+ @magenta-3: mix(@magenta-base, @component-background, 30%);
155
+ @magenta-4: mix(@magenta-base, @component-background, 45%);
156
+ @magenta-5: mix(@magenta-base, @component-background, 65%);
157
+ @magenta-6: mix(@magenta-base, @component-background, 85%);
158
+ @magenta-7: mix(
159
+ color(~`colorPalette("@{magenta-base}", 5) `),
160
+ @component-background,
161
+ 90%
162
+ );
163
+ @magenta-8: mix(
164
+ color(~`colorPalette("@{magenta-base}", 4) `),
165
+ @component-background,
166
+ 95%
167
+ );
168
+ @magenta-9: mix(
169
+ color(~`colorPalette("@{magenta-base}", 3) `),
170
+ @component-background,
171
+ 97%
172
+ );
173
+ @magenta-10: mix(
174
+ color(~`colorPalette("@{magenta-base}", 2) `),
175
+ @component-background,
176
+ 98%
177
+ );
178
+
179
+ @pink-1: mix(
180
+ color(~`colorPalette("@{pink-base}", 8) `),
181
+ @component-background,
182
+ 15%
183
+ );
184
+ @pink-2: mix(
185
+ color(~`colorPalette("@{pink-base}", 7) `),
186
+ @component-background,
187
+ 25%
188
+ );
189
+ @pink-3: mix(@pink-base, @component-background, 30%);
190
+ @pink-4: mix(@pink-base, @component-background, 45%);
191
+ @pink-5: mix(@pink-base, @component-background, 65%);
192
+ @pink-6: mix(@pink-base, @component-background, 85%);
193
+ @pink-7: mix(
194
+ color(~`colorPalette("@{pink-base}", 5) `),
195
+ @component-background,
196
+ 90%
197
+ );
198
+ @pink-8: mix(
199
+ color(~`colorPalette("@{pink-base}", 4) `),
200
+ @component-background,
201
+ 95%
202
+ );
203
+ @pink-9: mix(
204
+ color(~`colorPalette("@{pink-base}", 3) `),
205
+ @component-background,
206
+ 97%
207
+ );
208
+ @pink-10: mix(
209
+ color(~`colorPalette("@{pink-base}", 2) `),
210
+ @component-background,
211
+ 98%
212
+ );
213
+
214
+ @red-1: mix(
215
+ color(~`colorPalette("@{red-base}", 8) `),
216
+ @component-background,
217
+ 15%
218
+ );
219
+ @red-2: mix(
220
+ color(~`colorPalette("@{red-base}", 7) `),
221
+ @component-background,
222
+ 25%
223
+ );
224
+ @red-3: mix(@red-base, @component-background, 30%);
225
+ @red-4: mix(@red-base, @component-background, 45%);
226
+ @red-5: mix(@red-base, @component-background, 65%);
227
+ @red-6: mix(@red-base, @component-background, 85%);
228
+ @red-7: mix(
229
+ color(~`colorPalette("@{red-base}", 5) `),
230
+ @component-background,
231
+ 90%
232
+ );
233
+ @red-8: mix(
234
+ color(~`colorPalette("@{red-base}", 4) `),
235
+ @component-background,
236
+ 95%
237
+ );
238
+ @red-9: mix(
239
+ color(~`colorPalette("@{red-base}", 3) `),
240
+ @component-background,
241
+ 97%
242
+ );
243
+ @red-10: mix(
244
+ color(~`colorPalette("@{red-base}", 2) `),
245
+ @component-background,
246
+ 98%
247
+ );
248
+
249
+ @orange-1: mix(
250
+ color(~`colorPalette("@{orange-base}", 8) `),
251
+ @component-background,
252
+ 15%
253
+ );
254
+ @orange-2: mix(
255
+ color(~`colorPalette("@{orange-base}", 7) `),
256
+ @component-background,
257
+ 25%
258
+ );
259
+ @orange-3: mix(@orange-base, @component-background, 30%);
260
+ @orange-4: mix(@orange-base, @component-background, 45%);
261
+ @orange-5: mix(@orange-base, @component-background, 65%);
262
+ @orange-6: mix(@orange-base, @component-background, 85%);
263
+ @orange-7: mix(
264
+ color(~`colorPalette("@{orange-base}", 5) `),
265
+ @component-background,
266
+ 90%
267
+ );
268
+ @orange-8: mix(
269
+ color(~`colorPalette("@{orange-base}", 4) `),
270
+ @component-background,
271
+ 95%
272
+ );
273
+ @orange-9: mix(
274
+ color(~`colorPalette("@{orange-base}", 3) `),
275
+ @component-background,
276
+ 97%
277
+ );
278
+ @orange-10: mix(
279
+ color(~`colorPalette("@{orange-base}", 2) `),
280
+ @component-background,
281
+ 98%
282
+ );
283
+
284
+ @yellow-1: mix(
285
+ color(~`colorPalette("@{yellow-base}", 8) `),
286
+ @component-background,
287
+ 15%
288
+ );
289
+ @yellow-2: mix(
290
+ color(~`colorPalette("@{yellow-base}", 7) `),
291
+ @component-background,
292
+ 25%
293
+ );
294
+ @yellow-3: mix(@yellow-base, @component-background, 30%);
295
+ @yellow-4: mix(@yellow-base, @component-background, 45%);
296
+ @yellow-5: mix(@yellow-base, @component-background, 65%);
297
+ @yellow-6: mix(@yellow-base, @component-background, 85%);
298
+ @yellow-7: mix(
299
+ color(~`colorPalette("@{yellow-base}", 5) `),
300
+ @component-background,
301
+ 90%
302
+ );
303
+ @yellow-8: mix(
304
+ color(~`colorPalette("@{yellow-base}", 4) `),
305
+ @component-background,
306
+ 95%
307
+ );
308
+ @yellow-9: mix(
309
+ color(~`colorPalette("@{yellow-base}", 3) `),
310
+ @component-background,
311
+ 97%
312
+ );
313
+ @yellow-10: mix(
314
+ color(~`colorPalette("@{yellow-base}", 2) `),
315
+ @component-background,
316
+ 98%
317
+ );
318
+
319
+ @volcano-1: mix(
320
+ color(~`colorPalette("@{volcano-base}", 8) `),
321
+ @component-background,
322
+ 15%
323
+ );
324
+ @volcano-2: mix(
325
+ color(~`colorPalette("@{volcano-base}", 7) `),
326
+ @component-background,
327
+ 25%
328
+ );
329
+ @volcano-3: mix(@volcano-base, @component-background, 30%);
330
+ @volcano-4: mix(@volcano-base, @component-background, 45%);
331
+ @volcano-5: mix(@volcano-base, @component-background, 65%);
332
+ @volcano-6: mix(@volcano-base, @component-background, 85%);
333
+ @volcano-7: mix(
334
+ color(~`colorPalette("@{volcano-base}", 5) `),
335
+ @component-background,
336
+ 90%
337
+ );
338
+ @volcano-8: mix(
339
+ color(~`colorPalette("@{volcano-base}", 4) `),
340
+ @component-background,
341
+ 95%
342
+ );
343
+ @volcano-9: mix(
344
+ color(~`colorPalette("@{volcano-base}", 3) `),
345
+ @component-background,
346
+ 97%
347
+ );
348
+ @volcano-10: mix(
349
+ color(~`colorPalette("@{volcano-base}", 2) `),
350
+ @component-background,
351
+ 98%
352
+ );
353
+
354
+ @geekblue-1: mix(
355
+ color(~`colorPalette("@{geekblue-base}", 8) `),
356
+ @component-background,
357
+ 15%
358
+ );
359
+ @geekblue-2: mix(
360
+ color(~`colorPalette("@{geekblue-base}", 7) `),
361
+ @component-background,
362
+ 25%
363
+ );
364
+ @geekblue-3: mix(@geekblue-base, @component-background, 30%);
365
+ @geekblue-4: mix(@geekblue-base, @component-background, 45%);
366
+ @geekblue-5: mix(@geekblue-base, @component-background, 65%);
367
+ @geekblue-6: mix(@geekblue-base, @component-background, 85%);
368
+ @geekblue-7: mix(
369
+ color(~`colorPalette("@{geekblue-base}", 5) `),
370
+ @component-background,
371
+ 90%
372
+ );
373
+ @geekblue-8: mix(
374
+ color(~`colorPalette("@{geekblue-base}", 4) `),
375
+ @component-background,
376
+ 95%
377
+ );
378
+ @geekblue-9: mix(
379
+ color(~`colorPalette("@{geekblue-base}", 3) `),
380
+ @component-background,
381
+ 97%
382
+ );
383
+ @geekblue-10: mix(
384
+ color(~`colorPalette("@{geekblue-base}", 2) `),
385
+ @component-background,
386
+ 98%
387
+ );
388
+
389
+ @lime-1: mix(
390
+ color(~`colorPalette("@{lime-base}", 8) `),
391
+ @component-background,
392
+ 15%
393
+ );
394
+ @lime-2: mix(
395
+ color(~`colorPalette("@{lime-base}", 7) `),
396
+ @component-background,
397
+ 25%
398
+ );
399
+ @lime-3: mix(@lime-base, @component-background, 30%);
400
+ @lime-4: mix(@lime-base, @component-background, 45%);
401
+ @lime-5: mix(@lime-base, @component-background, 65%);
402
+ @lime-6: mix(@lime-base, @component-background, 85%);
403
+ @lime-7: mix(
404
+ color(~`colorPalette("@{lime-base}", 5) `),
405
+ @component-background,
406
+ 90%
407
+ );
408
+ @lime-8: mix(
409
+ color(~`colorPalette("@{lime-base}", 4) `),
410
+ @component-background,
411
+ 95%
412
+ );
413
+ @lime-9: mix(
414
+ color(~`colorPalette("@{lime-base}", 3) `),
415
+ @component-background,
416
+ 97%
417
+ );
418
+ @lime-10: mix(
419
+ color(~`colorPalette("@{lime-base}", 2) `),
420
+ @component-background,
421
+ 98%
422
+ );
423
+
424
+ @gold-1: mix(
425
+ color(~`colorPalette("@{gold-base}", 8) `),
426
+ @component-background,
427
+ 15%
428
+ );
429
+ @gold-2: mix(
430
+ color(~`colorPalette("@{gold-base}", 7) `),
431
+ @component-background,
432
+ 25%
433
+ );
434
+ @gold-3: mix(@gold-base, @component-background, 30%);
435
+ @gold-4: mix(@gold-base, @component-background, 45%);
436
+ @gold-5: mix(@gold-base, @component-background, 65%);
437
+ @gold-6: mix(@gold-base, @component-background, 85%);
438
+ @gold-7: mix(
439
+ color(~`colorPalette("@{gold-base}", 5) `),
440
+ @component-background,
441
+ 90%
442
+ );
443
+ @gold-8: mix(
444
+ color(~`colorPalette("@{gold-base}", 4) `),
445
+ @component-background,
446
+ 95%
447
+ );
448
+ @gold-9: mix(
449
+ color(~`colorPalette("@{gold-base}", 3) `),
450
+ @component-background,
451
+ 97%
452
+ );
453
+ @gold-10: mix(
454
+ color(~`colorPalette("@{gold-base}", 2) `),
455
+ @component-background,
456
+ 98%
457
+ );
458
+
459
+ // Color used by default to control hover and active backgrounds and for
460
+ // alert info backgrounds.
461
+ @primary-1: mix(
462
+ color(~`colorPalette("@{primary-color}", 8) `),
463
+ @component-background,
464
+ 15%
465
+ );
466
+ @primary-2: mix(
467
+ color(~`colorPalette("@{primary-color}", 7) `),
468
+ @component-background,
469
+ 25%
470
+ );
471
+ @primary-3: mix(@primary-color, @component-background, 30%);
472
+ @primary-4: mix(@primary-color, @component-background, 45%);
473
+ @primary-5: mix(@primary-color, @component-background, 65%);
474
+ @primary-6: @primary-color;
475
+ @primary-7: mix(
476
+ color(~`colorPalette("@{primary-color}", 5) `),
477
+ @component-background,
478
+ 90%
479
+ );
480
+ @primary-8: mix(
481
+ color(~`colorPalette("@{primary-color}", 4) `),
482
+ @component-background,
483
+ 95%
484
+ );
485
+ @primary-9: mix(
486
+ color(~`colorPalette("@{primary-color}", 3) `),
487
+ @component-background,
488
+ 97%
489
+ );
490
+ @primary-10: mix(
491
+ color(~`colorPalette("@{primary-color}", 2) `),
492
+ @component-background,
493
+ 98%
494
+ );
495
+
496
+ // Layer background
497
+ @popover-background: #1f1f1f;
498
+ @popover-customize-border-color: #3a3a3a;
499
+ @body-background: @black;
500
+ @component-background: #141414;
501
+
502
+ @text-color: fade(@white, 85%);
503
+ @text-color-secondary: fade(@white, 45%);
504
+ @text-color-inverse: @white;
505
+ @icon-color-hover: fade(@white, 75%);
506
+ @heading-color: fade(@white, 85%);
507
+
508
+ // The background colors for active and hover states for things like
509
+ // list items or table cells.
510
+ @item-active-bg: @primary-1;
511
+ @item-hover-bg: fade(@white, 8%);
512
+
513
+ // Border color
514
+ @border-color-base: #434343; // base border outline a component
515
+ @border-color-split: #303030; // split border inside a component
516
+
517
+ @background-color-light: fade(
518
+ @white,
519
+ 4%
520
+ ); // background of header and selected item
521
+ @background-color-base: fade(@white, 8%); // Default grey background color
522
+
523
+ // Disabled states
524
+ @disabled-color: fade(@white, 30%);
525
+ @disabled-bg: @background-color-base;
526
+ @disabled-color-dark: fade(@white, 30%);
527
+
528
+ // Tree
529
+ // ---
530
+ @tree-bg: transparent;
531
+
532
+ // List
533
+ // ---
534
+ @list-customize-card-bg: transparent;
535
+
536
+ // Shadow
537
+ // ---
538
+ @shadow-color: rgba(0, 0, 0, 0.45);
539
+ @shadow-color-inverse: @component-background;
540
+ @box-shadow-base: @shadow-2;
541
+ @shadow-1-up: 0 -6px 16px -8px rgba(0, 0, 0, 0.32),
542
+ 0 -9px 28px 0 rgba(0, 0, 0, 0.2), 0 -12px 48px 16px rgba(0, 0, 0, 0.12);
543
+ @shadow-1-down: 0 6px 16px -8px rgba(0, 0, 0, 0.32),
544
+ 0 9px 28px 0 rgba(0, 0, 0, 0.2), 0 12px 48px 16px rgba(0, 0, 0, 0.12);
545
+ @shadow-1-right: 6px 0 16px -8px rgba(0, 0, 0, 0.32),
546
+ 9px 0 28px 0 rgba(0, 0, 0, 0.2), 12px 0 48px 16px rgba(0, 0, 0, 0.12);
547
+ @shadow-2: 0 3px 6px -4px rgba(0, 0, 0, 0.48), 0 6px 16px 0 rgba(0, 0, 0, 0.32),
548
+ 0 9px 28px 8px rgba(0, 0, 0, 0.2);
549
+
550
+ // Buttons
551
+ // ---
552
+ @btn-shadow: 0 2px 0 rgba(0, 0, 0, 0.015);
553
+ @btn-primary-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);
554
+ @btn-text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);
555
+
556
+ @btn-default-bg: transparent;
557
+
558
+ @btn-default-ghost-color: @text-color;
559
+ @btn-default-ghost-border: fade(@white, 25%);
560
+
561
+ @btn-text-hover-bg: rgba(255, 255, 255, 0.03);
562
+
563
+ // Checkbox
564
+ // ---
565
+ @checkbox-check-bg: transparent;
566
+
567
+ // Descriptions
568
+ // ---
569
+ @descriptions-bg: @background-color-light;
570
+
571
+ // Divider
572
+ // ---
573
+ @divider-color: rgba(255, 255, 255, 12%);
574
+
575
+ // Modal
576
+ // ---
577
+ @modal-header-bg: @popover-background;
578
+ @modal-header-border-color-split: @border-color-split;
579
+ @modal-content-bg: @popover-background;
580
+ @modal-footer-border-color-split: @border-color-split;
581
+
582
+ // Radio
583
+ // ---
584
+ @radio-solid-checked-color: @white;
585
+ @radio-dot-disabled-color: fade(@white, 20%);
586
+
587
+ // Radio buttons
588
+ // ---
589
+ @radio-disabled-button-checked-bg: fade(@white, 20%);
590
+ @radio-disabled-button-checked-color: @disabled-color;
591
+
592
+ // Layout
593
+ // ---
594
+ @layout-body-background: @body-background;
595
+ @layout-header-background: @popover-background;
596
+ @layout-trigger-background: #262626;
597
+
598
+ // Input
599
+ // ---
600
+ @input-bg: transparent;
601
+ @input-placeholder-color: fade(@white, 30%);
602
+ @input-icon-color: fade(@white, 30%);
603
+ @input-number-handler-active-bg: @item-hover-bg;
604
+ @input-icon-hover-color: fade(@white, 85%);
605
+
606
+ // Select
607
+ // ---
608
+ @select-background: transparent;
609
+ @select-dropdown-bg: @popover-background;
610
+ @select-clear-background: @component-background;
611
+ @select-selection-item-bg: fade(@white, 8);
612
+ @select-selection-item-border-color: @border-color-split;
613
+ @select-multiple-disabled-background: @component-background;
614
+ @select-multiple-item-disabled-color: #595959;
615
+ @select-multiple-item-disabled-border-color: @popover-background;
616
+
617
+ // Cascader
618
+ // ---
619
+ @cascader-bg: transparent;
620
+ @cascader-menu-bg: @popover-background;
621
+ @cascader-menu-border-color-split: @border-color-split;
622
+
623
+ // Tooltip
624
+ // ---
625
+ // Tooltip background color
626
+ @tooltip-bg: #434343;
627
+
628
+ // Menu
629
+ // ---
630
+ // dark theme
631
+ @menu-dark-inline-submenu-bg: @component-background;
632
+ @menu-dark-bg: @popover-background;
633
+ @menu-popup-bg: @popover-background;
634
+
635
+ // Message
636
+ // ---
637
+ @message-notice-content-bg: @popover-background;
638
+
639
+ // Notification
640
+ @notification-bg: @popover-background;
641
+
642
+ // LINK
643
+ @link-hover-color: @primary-5;
644
+ @link-active-color: @primary-7;
645
+
646
+ // Table
647
+ // --
648
+ @table-header-bg: #1d1d1d;
649
+ @table-body-sort-bg: fade(@white, 1%);
650
+ @table-row-hover-bg: #f2f3f8;
651
+ @table-header-cell-split-color: fade(@white, 8%);
652
+ @table-header-sort-bg: #262626;
653
+ @table-header-filter-active-bg: #434343;
654
+ @table-header-sort-active-bg: #303030;
655
+ @table-fixed-header-sort-active-bg: #222;
656
+ @table-filter-btns-bg: @popover-background;
657
+ @table-expanded-row-bg: @table-header-bg;
658
+ @table-filter-dropdown-bg: @popover-background;
659
+ @table-expand-icon-bg: transparent;
660
+ @table-selected-row-bg: #eff2f6;
661
+
662
+ // Tag
663
+ // ---
664
+ @info-color-deprecated-bg: @primary-1;
665
+ @info-color-deprecated-border: @primary-3;
666
+ @success-color-deprecated-bg: @green-1;
667
+ @success-color-deprecated-border: @green-3;
668
+ @warning-color-deprecated-bg: @orange-1;
669
+ @warning-color-deprecated-border: @orange-3;
670
+ @error-color-deprecated-bg: @red-1;
671
+ @error-color-deprecated-border: @red-3;
672
+
673
+ // TimePicker
674
+ // ---
675
+ @picker-basic-cell-hover-with-range-color: darken(@primary-color, 35%);
676
+ @picker-basic-cell-disabled-bg: #303030;
677
+ @picker-border-color: @border-color-split;
678
+ @picker-bg: transparent;
679
+ @picker-date-hover-range-border-color: darken(@primary-color, 20%);
680
+
681
+ // Dropdown
682
+ // ---
683
+ @dropdown-menu-bg: @popover-background;
684
+ @dropdown-menu-submenu-disabled-bg: transparent;
685
+
686
+ // Steps
687
+ // ---
688
+ @steps-nav-arrow-color: fade(@white, 20%);
689
+ @steps-background: transparent;
690
+
691
+ // Avatar
692
+ // ---
693
+ @avatar-bg: fade(@white, 30%);
694
+
695
+ // Progress
696
+ // ---
697
+ @progress-steps-item-bg: fade(@white, 8%);
698
+
699
+ // Calendar
700
+ // ---
701
+ @calendar-bg: @popover-background;
702
+ @calendar-input-bg: @calendar-bg;
703
+ @calendar-border-color: transparent;
704
+ @calendar-full-bg: @component-background;
705
+
706
+ // Badge
707
+ // ---
708
+ @badge-text-color: @white;
709
+
710
+ // Popover
711
+ @popover-bg: @popover-background;
712
+
713
+ // Drawer
714
+ @drawer-bg: @popover-background;
715
+
716
+ // Card
717
+ // ---
718
+ @card-actions-background: @component-background;
719
+ @card-skeleton-bg: #303030;
720
+ @card-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.64),
721
+ 0 3px 6px 0 rgba(0, 0, 0, 0.48), 0 5px 12px 4px rgba(0, 0, 0, 0.36);
722
+
723
+ // Transfer
724
+ // ---
725
+ @transfer-item-hover-bg: #262626;
726
+
727
+ // Comment
728
+ // ---
729
+ @comment-bg: transparent;
730
+ @comment-author-time-color: fade(@white, 30%);
731
+ @comment-action-hover-color: fade(@white, 65%);
732
+
733
+ // Rate
734
+ // ---
735
+ @rate-star-bg: fade(@white, 12%);
736
+
737
+ // Switch
738
+ // ---
739
+ @switch-bg: @white;
740
+
741
+ // Pagination
742
+ // ---
743
+ @pagination-item-bg: transparent;
744
+ @pagination-item-bg-active: transparent;
745
+ @pagination-item-link-bg: transparent;
746
+ @pagination-item-disabled-bg-active: fade(@white, 25%);
747
+ @pagination-item-disabled-color-active: @black;
748
+ @pagination-item-input-bg: @pagination-item-bg;
749
+
750
+ // PageHeader
751
+ // ---
752
+ @page-header-back-color: @icon-color;
753
+ @page-header-ghost-bg: transparent;
754
+
755
+ // Slider
756
+ // ---
757
+ @slider-rail-background-color: #262626;
758
+ @slider-rail-background-color-hover: @border-color-base;
759
+ @slider-dot-border-color: @border-color-split;
760
+ @slider-dot-border-color-active: @primary-4;
761
+
762
+ // Skeleton
763
+ // ---
764
+ @skeleton-to-color: fade(@white, 16%);
765
+
766
+ // Alert
767
+ // ---
768
+ @alert-success-border-color: @green-3;
769
+ @alert-success-bg-color: @green-1;
770
+ @alert-success-icon-color: @success-color;
771
+ @alert-info-border-color: @primary-3;
772
+ @alert-info-bg-color: @primary-1;
773
+ @alert-info-icon-color: @info-color;
774
+ @alert-warning-border-color: @gold-3;
775
+ @alert-warning-bg-color: @gold-1;
776
+ @alert-warning-icon-color: @warning-color;
777
+ @alert-error-border-color: @red-3;
778
+ @alert-error-bg-color: @red-1;
779
+ @alert-error-icon-color: @error-color;
780
+
781
+ // Timeline
782
+ // ---
783
+ @timeline-color: @border-color-split;
784
+ @timeline-dot-color: @primary-color;
785
+
786
+ // Mentions
787
+ // ---
788
+ @mentions-dropdown-bg: @popover-background;
789
+
790
+ @import "./var-dark.less";