mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-11-27 15:40:00 +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;
|
||
|
}
|
||
|
}
|
||
|
}
|