feat(MediaWiki): add mediawiki.filewarning skinstyle (#682)

* Create mediawiki.filewarning.less

* Update skin.json

* Update README.md

* Update mediawiki.filewarning.less
This commit is contained in:
沈澄心 2023-07-05 09:11:34 +08:00 committed by GitHub
parent 00f252ae26
commit 88f8cfb435
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 3 deletions

View file

@ -29,9 +29,9 @@ Please feel free to submit PRs if you want to add support for more extensions!
### Core
Name | Grade | Version | Last updated
:--- | :--- | :--- | :---
MediaWiki UI | A | 1.39.0 | 2023-06-29
Codex | A | 0.1.1| 2022-12-01
OOUI | A | 0.44.3 | 2023-05-29
MediaWiki UI | A | 1.39.0 | 2023-07-04
Codex | A | 0.1.1 | 2022-12-01
OOUI | A | 0.44.3 | 2023-06-24
### Extensions
Name | Grade | Version | Last updated

View file

@ -502,6 +502,7 @@
"+mediawiki.ui.input": "skinStyles/mediawiki/ui/mediawiki.ui.input.less",
"+mediawiki.ui.icon": "skinStyles/mediawiki/ui/mediawiki.ui.icon.less",
"+mediawiki.diff.styles": "skinStyles/mediawiki/mediawiki.diff.styles.less",
"+mediawiki.filewarning": "skinStyles/mediawiki/mediawiki.filewarning.less",
"+mediawiki.htmlform.styles": "skinStyles/mediawiki/mediawiki.htmlform.styles.less",
"+mediawiki.htmlform.ooui.styles": "skinStyles/mediawiki/mediawiki.htmlform.ooui.styles.less",
"+mediawiki.legacy.shared": "skinStyles/mediawiki/mediawiki.legacy.shared.less",

View file

@ -0,0 +1,29 @@
/*
* Citizen
*
* SkinStyles for file warnings
* Module: mediawiki.filewarning
* Version: 1.39.0
*
* Date: 2023-07-04
*/
.mediawiki-filewarning {
.mediawiki-filewarning-header {
color: var( --color-base--emphasized );
}
.mediawiki-filewarning-main {
color: var( --color-base );
}
.mediawiki-filewarning-footer {
color: var( --color-base--subtle );
}
}
.mime-type {
&.has-warning {
color: var( --color-text-warning );
}
}