Naming convention using 'skin' as entrance point

Similar to Ief1c469724d4ffe238d307407c3ddb46f2e1abfa

Change-Id: Ibca2473b14ef258f92e71524489298e2f53ed873
This commit is contained in:
Volker E 2020-05-29 13:54:09 -07:00
parent 0267700d05
commit bb6827122c
7 changed files with 5 additions and 5 deletions

View file

@ -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';

View file

@ -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"

View file

@ -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'
),

View file

@ -279,7 +279,7 @@ class MinervaTemplate extends BaseTemplate {
] : false,
];
// begin rendering
echo $templateParser->processTemplate( 'minerva', $templateData );
echo $templateParser->processTemplate( 'skin', $templateData );
$this->printTrail();
?>
</body>

View file

@ -256,7 +256,7 @@
"desktop"
],
"styles": [
"resources/skins.minerva.base.styles/index.less"
"resources/skins.minerva.base.styles/skin.less"
]
},
"skins.minerva.content.styles": {