mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 17:40:12 +00:00
e4a4050b81
Moving styles from the existing styles to common/layout or components stylesheets they should be associated with. Components are identified using PascalCase. Lowercase names are used for things that are not components. This distinction should help us reason with the code better and make it clearer where CSS belongs, saving us lots of wasted effort discussing conventions. Patch isn't making actual CSS changes themselves - for testing purposes this should be a NOOP. In preparation for the gradient removal, 'background-gradient.less' is marked as legacy. Merged 'externalLinks.less' into content.less, they belong to content. Bug: T249073 Change-Id: I8dbc29b7a19f7613b57b0984a8befaeae9c08798
15 lines
570 B
JavaScript
15 lines
570 B
JavaScript
import mustache from 'mustache';
|
|
import { menuTemplate as vectorTabsTemplate } from './Menu.stories.data';
|
|
import { namespaceTabsData, pageActionsData } from './MenuTabs.stories.data';
|
|
import '../resources/skins.vector.styles/MenuTabs.less';
|
|
import '../resources/skins.vector.styles/TabWatchstarLink.less';
|
|
import '../.storybook/common.less';
|
|
|
|
export default {
|
|
title: 'MenuTabs'
|
|
};
|
|
|
|
export const pageActionTabs = () => mustache.render( vectorTabsTemplate, pageActionsData );
|
|
|
|
export const namespaceTabs = () => mustache.render( vectorTabsTemplate, namespaceTabsData );
|