mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 06:13:54 +00:00
Merge "Move color-scheme property from :root to .skin-night-mode-clientpref-2"
This commit is contained in:
commit
e5c670f25b
|
@ -61,7 +61,6 @@
|
|||
}
|
||||
|
||||
:root {
|
||||
color-scheme: dark light;
|
||||
.light-mode-palette();
|
||||
}
|
||||
|
||||
|
@ -119,6 +118,7 @@ html.skin-night-mode-clientpref-1 {
|
|||
|
||||
@media ( prefers-color-scheme: dark ) {
|
||||
html.skin-night-mode-clientpref-2 {
|
||||
color-scheme: light dark;
|
||||
.night-mode-palette();
|
||||
|
||||
/** Content that uses the mw-invert class is inverted and the light mode palette should be used. */
|
||||
|
|
Loading…
Reference in a new issue