Removed nested double eval.
← Previous revision | Revision as of 11:19, 26 December 2021 | ||
Line 1: | Line 1: | ||
:root {
|
:root {
|
||
–dt: “dark1”;
|
|||
|
|
||
/* colour names */
|
/* colour names */
|
||
Line 10: | Line 9: | ||
|
|
||
|
|
||
/* map colours to
|
/* map colours to page parts */
|
||
⚫ | |||
⚫ | |||
⚫ | |||
|
|
||
⚫ | |||
⚫ | |||
⚫ | |||
}
|
}
|
||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||
/* make the border dark, normal is #f6f6f6 */
|
/* make the border dark, normal is #f6f6f6 */
|
||
body{background-color: var(–body-bg
|
body{background-color: var(–body-bg);}
|
||
|
|
||
/* main content panel */
|
/* main content panel */
|
||
.mw-body,.parsoid-body{
|
.mw-body,.parsoid-body{
|
||
background-color: var(–content-bg
|
background-color: var(–content-bg);
|
||
color: var(–content-fg
|
color: var(–content-fg);
|
||
}
|
}
|
||
}
|
}
|