mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-11 16:38:20 +00:00
Naming convention using 'skin' as entrance point
Similar to Ief1c469724d4ffe238d307407c3ddb46f2e1abfa Change-Id: Ibca2473b14ef258f92e71524489298e2f53ed873
This commit is contained in:
parent
0267700d05
commit
bb6827122c
|
@ -1,6 +1,6 @@
|
|||
import { configure } from '@storybook/html';
|
||||
// Ideally we'd import at the story level, but we will need to reorganise our styles first.
|
||||
import '../resources/skins.minerva.base.styles/index.less';
|
||||
import '../resources/skins.minerva.base.styles/skin.less';
|
||||
import '../resources/skins.minerva.content.styles/index.less';
|
||||
import '../resources/skins.minerva.scripts/styles.less';
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ curl "https://phabricator.wikimedia.org/source/mediawiki/browse/master/resources
|
|||
echo "@wgMinervaApplyKnownTemplateHacks: 1;" >> .resolve-less-imports/mediawiki.ui/variables.less
|
||||
|
||||
# Build the render blocking bundles for testing
|
||||
npx lessc resources/skins.minerva.base.styles/index.less tmp/skins.minerva.base.styles.css --include-path=".resolve-less-imports"
|
||||
npx lessc resources/skins.minerva.base.styles/skin.less tmp/skins.minerva.base.styles.css --include-path=".resolve-less-imports"
|
||||
npx lessc resources/skins.minerva.content.styles/index.less tmp/skins.minerva.content.styles.css --include-path=".resolve-less-imports"
|
||||
npx lessc resources/skins.minerva.amc.styles/index.less tmp/skins.minerva.amc.styles.css --include-path=".resolve-less-imports"
|
||||
npx lessc resources/skins.minerva.mainMenu.styles/index.less tmp/skins.minerva.mainMenu.styles.css --include-path=".resolve-less-imports"
|
||||
|
|
|
@ -61,7 +61,7 @@ final class UserMenuDirector {
|
|||
: $templateParser->processTemplate( 'ToggleList', [
|
||||
'class' => 'minerva-user-menu',
|
||||
'checkboxID' => 'minerva-user-menu-checkbox',
|
||||
'toggleID' => 'minerva-user-menu-toggle', // See minerva.mustache too.
|
||||
'toggleID' => 'minerva-user-menu-toggle', // See skin.mustache too.
|
||||
'toggleClass' => MinervaUI::iconClass(
|
||||
'userAvatarOutline', 'element'
|
||||
),
|
||||
|
|
|
@ -279,7 +279,7 @@ class MinervaTemplate extends BaseTemplate {
|
|||
] : false,
|
||||
];
|
||||
// begin rendering
|
||||
echo $templateParser->processTemplate( 'minerva', $templateData );
|
||||
echo $templateParser->processTemplate( 'skin', $templateData );
|
||||
$this->printTrail();
|
||||
?>
|
||||
</body>
|
||||
|
|
Loading…
Reference in a new issue