File tree 2 files changed +11
-0
lines changed
2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 5
5
: root {
6
6
/* Browser default font-size is 16px, this way 1 rem = 10px */
7
7
font-size : 62.5% ;
8
+ color-scheme : var (--color-scheme );
8
9
}
9
10
10
11
html {
Original file line number Diff line number Diff line change 50
50
--searchresults-border-color : # 888 ;
51
51
--searchresults-li-bg : # 252932 ;
52
52
--search-mark-bg : # e3b171 ;
53
+
54
+ --color-scheme : dark;
53
55
}
54
56
55
57
.coal {
90
92
--searchresults-border-color : # 98a3ad ;
91
93
--searchresults-li-bg : # 2b2b2f ;
92
94
--search-mark-bg : # 355c7d ;
95
+
96
+ --color-scheme : dark;
93
97
}
94
98
95
99
.light {
130
134
--searchresults-border-color : # 888 ;
131
135
--searchresults-li-bg : # e4f2fe ;
132
136
--search-mark-bg : # a2cff5 ;
137
+
138
+ --color-scheme : light;
133
139
}
134
140
135
141
.navy {
170
176
--searchresults-border-color : # 5c5c68 ;
171
177
--searchresults-li-bg : # 242430 ;
172
178
--search-mark-bg : # a2cff5 ;
179
+
180
+ --color-scheme : dark;
173
181
}
174
182
175
183
.rust {
210
218
--searchresults-border-color : # 888 ;
211
219
--searchresults-li-bg : # dec2a2 ;
212
220
--search-mark-bg : # e69f67 ;
221
+
222
+ --color-scheme : light;
213
223
}
214
224
215
225
@media (prefers-color-scheme : dark) {
You can’t perform that action at this time.
0 commit comments