mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-12-13 14:48:16 +00:00
14 lines
230 B
Plaintext
14 lines
230 B
Plaintext
|
.darkmode( @prop, @value ) {
|
||
|
@media screen {
|
||
|
html.skin-theme-clientpref-night & {
|
||
|
@{prop}: @value;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@media screen and ( prefers-color-scheme: dark ) {
|
||
|
html.skin-theme-clientpref-os & {
|
||
|
@{prop}: @value;
|
||
|
}
|
||
|
}
|
||
|
}
|