mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-30 17:04:28 +00:00
Disable unused icon variants
By default this module was inheriting variants and since it doesnt declare a property selectorWithVariant it was using the default selectorWithVariant rule which impacts OOUI icons. Explicitly disable the variants for this module as they are unused. This reduces the size of the modules. Follow up to: I87b060cf98194d81679da2610944f58e8d941389 Bug: T374145 Bug: T376226 Change-Id: Icc008449ee498a946066c4ce5d46adcac194bd3b
This commit is contained in:
parent
6b12257456
commit
1b38bfbfc6
|
@ -13,11 +13,11 @@
|
|||
},
|
||||
{
|
||||
"resourceModule": "skins.minerva.icons.wikimedia",
|
||||
"maxSize": "0.95KB"
|
||||
"maxSize": "0.5KB"
|
||||
},
|
||||
{
|
||||
"resourceModule": "skins.minerva.mainMenu.icons",
|
||||
"maxSize": "0.8KB"
|
||||
"maxSize": "0.4KB"
|
||||
},
|
||||
{
|
||||
"resourceModule": "skins.minerva.mainMenu.styles",
|
||||
|
|
|
@ -372,6 +372,7 @@
|
|||
"useDataURI": false,
|
||||
"defaultColor": "#54595d",
|
||||
"class": "MediaWiki\\ResourceLoader\\OOUIIconPackModule",
|
||||
"variants": [],
|
||||
"useMaskImage": true,
|
||||
"icons": [
|
||||
"block",
|
||||
|
@ -400,6 +401,7 @@
|
|||
"useDataURI": false,
|
||||
"defaultColor": "#54595d",
|
||||
"class": "MediaWiki\\ResourceLoader\\OOUIIconPackModule",
|
||||
"variants": [],
|
||||
"useMaskImage": true,
|
||||
"icons": [
|
||||
"edit",
|
||||
|
@ -428,6 +430,7 @@
|
|||
},
|
||||
"skins.minerva.personalMenu.icons": {
|
||||
"class": "MediaWiki\\ResourceLoader\\OOUIIconPackModule",
|
||||
"variants": [],
|
||||
"useMaskImage": true,
|
||||
"selectorWithoutVariant": ".minerva-icon--{name}",
|
||||
"defaultColor": "#54595d",
|
||||
|
@ -451,6 +454,7 @@
|
|||
},
|
||||
"skins.minerva.mainMenu.icons": {
|
||||
"class": "MediaWiki\\ResourceLoader\\OOUIIconPackModule",
|
||||
"variants": [],
|
||||
"useMaskImage": true,
|
||||
"selectorWithoutVariant": ".minerva-icon--{name}",
|
||||
"defaultColor": "#54595d",
|
||||
|
|
Loading…
Reference in a new issue