Merge "Separate image inversion from widget inversion"

This commit is contained in:
jenkins-bot 2024-02-28 21:04:39 +00:00 committed by Gerrit Code Review
commit 1b55f553bb
4 changed files with 6 additions and 5 deletions

View file

@ -75,6 +75,6 @@
line-height: 1.4;
}
.night-mode-invert() {
.night-mode-invert-image() {
filter: invert( 1 ) hue-rotate( 180deg );
}

View file

@ -103,6 +103,7 @@
.night-mode-invert() {
color-scheme: light;
.light-mode-palette();
// Keep in sync with .night-mode-invert-image() mixin.
filter: invert( 1 ) hue-rotate( 180deg );
}

View file

@ -58,14 +58,14 @@
// Night mode
html.skin-night-mode-clientpref-1 {
.minerva-footer-logo img {
.night-mode-invert();
.night-mode-invert-image();
}
}
@media ( prefers-color-scheme: dark ) {
html.skin-night-mode-clientpref-2 {
.minerva-footer-logo img {
.night-mode-invert();
.night-mode-invert-image();
}
}
}

View file

@ -76,14 +76,14 @@
// Night mode
html.skin-night-mode-clientpref-1 {
.branding-box img {
.night-mode-invert();
.night-mode-invert-image();
}
}
@media ( prefers-color-scheme: dark ) {
html.skin-night-mode-clientpref-2 {
.branding-box img {
.night-mode-invert();
.night-mode-invert-image();
}
}
}