File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 55: root {
66 /* Browser default font-size is 16px, this way 1 rem = 10px */
77 font-size : 62.5% ;
8+ color-scheme : var (--color-scheme );
89}
910
1011html {
Original file line number Diff line number Diff line change 5050 --searchresults-border-color : # 888 ;
5151 --searchresults-li-bg : # 252932 ;
5252 --search-mark-bg : # e3b171 ;
53+
54+ --color-scheme : dark;
5355}
5456
5557.coal {
9092 --searchresults-border-color : # 98a3ad ;
9193 --searchresults-li-bg : # 2b2b2f ;
9294 --search-mark-bg : # 355c7d ;
95+
96+ --color-scheme : dark;
9397}
9498
9599.light {
130134 --searchresults-border-color : # 888 ;
131135 --searchresults-li-bg : # e4f2fe ;
132136 --search-mark-bg : # a2cff5 ;
137+
138+ --color-scheme : light;
133139}
134140
135141.navy {
170176 --searchresults-border-color : # 5c5c68 ;
171177 --searchresults-li-bg : # 242430 ;
172178 --search-mark-bg : # a2cff5 ;
179+
180+ --color-scheme : dark;
173181}
174182
175183.rust {
210218 --searchresults-border-color : # 888 ;
211219 --searchresults-li-bg : # dec2a2 ;
212220 --search-mark-bg : # e69f67 ;
221+
222+ --color-scheme : light;
213223}
214224
215225@media (prefers-color-scheme : dark) {
You can’t perform that action at this time.
0 commit comments