Add color: var( --color-base ); to .notheme class

Adds a rule that makes elements using the .notheme class
inherit black text unless specified otherwise.
This addresses situations where elements relying on
inheritance for color.

Bug: T358528
Change-Id: Ie59c31b5e25684ff5ecad507a273fbe71af4bca0
This commit is contained in:
Jan Drewniak 2024-03-07 16:21:37 -05:00 committed by Jon Robson
parent 9864299738
commit 65f1300b78
2 changed files with 8 additions and 6 deletions

View file

@ -1,27 +1,27 @@
[
{
"resourceModule": "skins.minerva.base.styles",
"maxSize": "9KB"
"maxSize": "9.2KB"
},
{
"resourceModule": "skins.minerva.content.styles.images",
"maxSize": "0.5KB"
"maxSize": "0.3KB"
},
{
"resourceModule": "mediawiki.hlist",
"maxSize": "0.5KB"
"maxSize": "0.3KB"
},
{
"resourceModule": "skins.minerva.icons.wikimedia",
"maxSize": "1.0KB"
"maxSize": "0.7KB"
},
{
"resourceModule": "skins.minerva.mainMenu.icons",
"maxSize": "0.4KB"
"maxSize": "0.3KB"
},
{
"resourceModule": "skins.minerva.mainMenu.styles",
"maxSize": "1.2KB"
"maxSize": "1.0KB"
},
{
"resourceModule": "skins.minerva.scripts",

View file

@ -105,6 +105,7 @@ html.skin-night-mode-clientpref-1 .skin-invert {
html.skin-night-mode-clientpref-1 .notheme {
color-scheme: light;
color: var( --color-base );
}
/**
@ -120,6 +121,7 @@ html.skin-night-mode-clientpref-1 .notheme {
html.skin-night-mode-clientpref-2 .notheme {
color-scheme: light;
color: var( --color-base );
}
html.skin-night-mode-clientpref-2 .skin-invert {