|
2 | 2 | color-scheme: dark;
|
3 | 3 |
|
4 | 4 | /* Framework color */
|
5 |
| - --main-bg: rgb(24, 24, 37); |
6 |
| - --mask-bg: rgb(69, 71, 90); |
7 |
| - --main-border-color: rgb(69, 71, 90); |
| 5 | + --main-bg: rgb(24 24 37); |
| 6 | + --mask-bg: rgb(69 71 90); |
| 7 | + --main-border-color: rgb(69 71 90); |
8 | 8 |
|
9 | 9 | /* Common color */
|
10 |
| - --text-color: rgb(205, 214, 244); |
11 |
| - --text-muted-color: rgb(186, 194, 222); |
12 |
| - --text-muted-highlight-color: rgb(170, 190, 255); /* replaced pink */ |
13 |
| - --heading-color: rgb(116, 199, 236); |
14 |
| - --label-color: rgb(180, 190, 254); |
15 |
| - --blockquote-border-color: rgb(69, 71, 90); |
16 |
| - --blockquote-text-color: rgb(186, 194, 222); |
17 |
| - --link-color: rgb(137, 180, 250); |
18 |
| - --link-underline-color: rgb(137, 180, 250); |
19 |
| - --button-bg: rgb(69, 71, 90); |
20 |
| - --btn-border-color: rgb(69, 71, 90); |
| 10 | + --text-color: rgb(205 214 244); |
| 11 | + --text-muted-color: rgb(186 194 222); |
| 12 | + --text-muted-highlight-color: rgb(170 190 255); /* replaced pink */ |
| 13 | + --heading-color: rgb(116 199 236); |
| 14 | + --label-color: rgb(180 190 254); |
| 15 | + --blockquote-border-color: rgb(69 71 90); |
| 16 | + --blockquote-text-color: rgb(186 194 222); |
| 17 | + --link-color: rgb(137 180 250); |
| 18 | + --link-underline-color: rgb(137 180 250); |
| 19 | + --button-bg: rgb(69 71 90); |
| 20 | + --btn-border-color: rgb(69 71 90); |
21 | 21 | --btn-backtotop-color: var(--text-color);
|
22 |
| - --btn-backtotop-border-color: rgb(69, 71, 90); |
23 |
| - --card-header-bg: rgb(49, 50, 68); |
24 |
| - --card-bg: rgb(30, 30, 46); |
25 |
| - --checkbox-color: rgb(235, 160, 172); |
| 22 | + --btn-backtotop-border-color: rgb(69 71 90); |
| 23 | + --card-header-bg: rgb(49 50 68); |
| 24 | + --card-bg: rgb(30 30 46); |
| 25 | + --checkbox-color: rgb(235 160 172); |
26 | 26 | --checkbox-checked-color: var(--link-color);
|
27 |
| - --img-bg: radial-gradient(circle, rgb(17, 17, 27) 0%, rgb(24, 24, 37) 100%); |
28 |
| - --shimmer-bg: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(58, 55, 55, 0.4) 50%, rgba(255, 255, 255, 0) 100%); |
| 27 | + --img-bg: radial-gradient(circle, rgb(17 17 27) 0%, rgb(24 24 37) 100%); |
| 28 | + --shimmer-bg: linear-gradient(90deg, rgb(255 255 255 / 0%) 0%, rgb(58 55 55 / 40%) 50%, rgb(255 255 255 / 0%) 100%); |
29 | 29 |
|
30 | 30 | /* Sidebar */
|
31 | 31 | --site-title-color: var(--text-color);
|
32 |
| - --site-subtitle-color: rgb(186, 194, 222); |
33 |
| - --sidebar-bg: rgb(30, 30, 46); |
34 |
| - --sidebar-border-color: rgb(69, 71, 90); |
35 |
| - --sidebar-muted-color: rgb(166, 173, 200); |
36 |
| - --sidebar-active-color: rgb(250, 179, 135); |
37 |
| - --sidebar-hover-bg: rgb(17, 17, 27); |
38 |
| - --sidebar-btn-bg: rgb(30, 30, 46); |
39 |
| - --sidebar-btn-color: rgb(166, 173, 200); |
40 |
| - --avatar-border-color: rgb(69, 71, 90); |
| 32 | + --site-subtitle-color: rgb(186 194 222); |
| 33 | + --sidebar-bg: rgb(30 30 46); |
| 34 | + --sidebar-border-color: rgb(69 71 90); |
| 35 | + --sidebar-muted-color: rgb(166 173 200); |
| 36 | + --sidebar-active-color: rgb(250 179 135); |
| 37 | + --sidebar-hover-bg: rgb(17 17 27); |
| 38 | + --sidebar-btn-bg: rgb(30 30 46); |
| 39 | + --sidebar-btn-color: rgb(166 173 200); |
| 40 | + --avatar-border-color: rgb(69 71 90); |
41 | 41 |
|
42 | 42 | /* Topbar */
|
43 |
| - --topbar-bg: rgba(24, 24, 37, 0.64); |
| 43 | + --topbar-bg: rgb(24 24 37 / 64%); |
44 | 44 | --topbar-text-color: var(--text-color);
|
45 |
| - --search-border-color: rgb(69, 71, 90); |
| 45 | + --search-border-color: rgb(69 71 90); |
46 | 46 | --search-icon-color: var(--text-color);
|
47 |
| - --input-focus-border-color: rgb(250, 180, 100); /* replaced orange */ |
| 47 | + --input-focus-border-color: rgb(250 180 100); /* replaced orange */ |
48 | 48 |
|
49 | 49 | /* Home page */
|
50 | 50 | --post-list-text-color: var(--text-color);
|
51 | 51 | --btn-patinator-text-color: var(--text-color);
|
52 |
| - --btn-paginator-hover-color: rgb(91, 114, 186); /* replaced pink */ |
| 52 | + --btn-paginator-hover-color: rgb(91 114 186); /* replaced pink */ |
53 | 53 |
|
54 | 54 | /* Posts */
|
55 |
| - --toc-highlight: rgb(166, 227, 161); |
56 |
| - --tag-hover: rgb(17, 17, 27); |
57 |
| - --tb-odd-bg: rgb(30, 30, 46); |
58 |
| - --tb-even-bg: rgb(31, 31, 34); |
| 55 | + --toc-highlight: rgb(166 227 161); |
| 56 | + --tag-hover: rgb(17 17 27); |
| 57 | + --tb-odd-bg: rgb(30 30 46); |
| 58 | + --tb-even-bg: rgb(31 31 34); |
59 | 59 | --tb-border-color: var(--tb-odd-bg);
|
60 |
| - --footnote-target-bg: rgb(63, 81, 181); |
| 60 | + --footnote-target-bg: rgb(63 81 181); |
61 | 61 | --btn-share-color: var(--text-color);
|
62 |
| - --btn-share-hover-color: rgb(250, 180, 100); /* replaced orange */ |
63 |
| - --card-hover-bg: rgb(49, 50, 68); |
| 62 | + --btn-share-hover-color: rgb(250 180 100); /* replaced orange */ |
| 63 | + --card-hover-bg: rgb(49 50 68); |
64 | 64 | --card-shadow: rgb(0 0 0 / 35%) 0 4px 16px 0,
|
65 | 65 | rgb(137 180, 250 / 6%) 0 0 0 1px;
|
66 |
| - |
67 |
| - --kbd-wrap-color: rgb(166, 173, 200); |
| 66 | + --kbd-wrap-color: rgb(166 173 200); |
68 | 67 | --kbd-text-color: var(--text-color);
|
69 |
| - --kbd-bg-color: rgb(30, 30, 46); |
| 68 | + --kbd-bg-color: rgb(30 30 46); |
70 | 69 | --prompt-text-color: rgb(240 240 242 / 85%);
|
71 |
| - --prompt-tip-bg: rgba(34, 139, 69, 0.65); |
72 |
| - --prompt-tip-icon-color: rgb(74, 222, 128); |
73 |
| - --prompt-info-bg: rgba(90, 123, 194, 0.65); |
74 |
| - --prompt-info-icon-color: rgb(124, 157, 217); |
75 |
| - --prompt-warning-bg: rgba(255, 180, 100, 0.65); /* replaced orange */ |
76 |
| - --prompt-warning-icon-color: rgb(255, 180, 100); /* replaced orange */ |
77 |
| - --prompt-danger-bg: rgba(185, 28, 28, 0.65); |
78 |
| - --prompt-danger-icon-color: rgb(248, 113, 113); |
| 70 | + --prompt-tip-bg: rgb(34 139 69 / 65%); |
| 71 | + --prompt-tip-icon-color: rgb(74 222 128); |
| 72 | + --prompt-info-bg: rgb(90 123 194 / 65%); |
| 73 | + --prompt-info-icon-color: rgb(124 157 217); |
| 74 | + --prompt-warning-bg: rgb(255 180 100 / 65%); /* replaced orange */ |
| 75 | + --prompt-warning-icon-color: rgb(255 180 100); /* replaced orange */ |
| 76 | + --prompt-danger-bg: rgb(185 28 28 / 65%); |
| 77 | + --prompt-danger-icon-color: rgb(248 113 113); |
79 | 78 |
|
80 | 79 | /* Tags & Categories */
|
81 |
| - --tag-border: rgb(69, 71, 90); |
82 |
| - --tag-shadow: rgb(30, 30, 46); |
83 |
| - --dash-color: rgb(166, 173, 200); |
84 |
| - --search-tag-bg: rgb(30, 30, 46); |
85 |
| - --categories-border: rgba(74, 74, 80, 0.35); |
86 |
| - --categories-hover-bg: rgb(30, 30, 46); |
87 |
| - --categories-icon-hover-color: rgb(250, 180, 100); |
| 80 | + --tag-border: rgb(69 71 90); |
| 81 | + --tag-shadow: rgb(30 30 46); |
| 82 | + --dash-color: rgb(166 173 200); |
| 83 | + --search-tag-bg: rgb(30 30 46); |
| 84 | + --categories-border: rgb(74 74 80 / 35%); |
| 85 | + --categories-hover-bg: rgb(30 30 46); |
| 86 | + --categories-icon-hover-color: rgb(250 180 100); |
88 | 87 |
|
89 | 88 | /* Archive */
|
90 |
| - --timeline-node-bg: rgb(166, 173, 200); |
91 |
| - --timeline-color: rgb(69, 71, 90); |
| 89 | + --timeline-node-bg: rgb(166 173 200); |
| 90 | + --timeline-color: rgb(69 71 90); |
92 | 91 | --timeline-year-dot-color: var(--timeline-color);
|
93 | 92 |
|
94 | 93 | /* Code highlight */
|
95 |
| - --language-border-color: rgb(69, 71, 90); |
96 |
| - --highlight-bg-color: rgb(17, 17, 27); |
97 |
| - --highlighter-rouge-color: rgb(255, 180, 100); /* replaced orange */ |
98 |
| - --highlight-lineno-color: rgb(166, 173, 200); |
99 |
| - --inline-code-bg: rgb(30, 30, 46); |
100 |
| - --code-color: rgb(205, 214, 244); |
101 |
| - --code-header-text-color: rgb(255, 180, 100); /* replaced orange */ |
102 |
| - --code-header-muted-color: rgb(255, 180, 100); |
103 |
| - --code-header-icon-color: rgb(255, 180, 100); |
104 |
| - --clipboard-checked-color: rgb(170, 190, 255); /* replaced pink */ |
105 |
| - --filepath-text-color: rgb(170, 190, 255); |
| 94 | + --language-border-color: rgb(69 71 90); |
| 95 | + --highlight-bg-color: rgb(17 17 27); |
| 96 | + --highlighter-rouge-color: rgb(255 180 100); /* replaced orange */ |
| 97 | + --highlight-lineno-color: rgb(166 173 200); |
| 98 | + --inline-code-bg: rgb(30 30 46); |
| 99 | + --code-color: rgb(205 214 244); |
| 100 | + --code-header-text-color: rgb(255 180 100); /* replaced orange */ |
| 101 | + --code-header-muted-color: rgb(255 180 100); |
| 102 | + --code-header-icon-color: rgb(255 180 100); |
| 103 | + --clipboard-checked-color: rgb(170 190 255); /* replaced pink */ |
| 104 | + --filepath-text-color: rgb(170 190 255); |
106 | 105 |
|
107 | 106 | .light {
|
108 | 107 | display: none;
|
|
0 commit comments