mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-13 17:37:07 +00:00
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:
parent
9864299738
commit
65f1300b78
|
@ -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",
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue