mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-14 11:15:33 +00:00
c5cfd4dce8
Removes gradients from tabs (i.e. article toolbar) in new Vector, moving the existing MenuTabs.less component into the skins.vector.styles.legacy module and creating a new MenuTabs.less component for modern Vector. Bug: T309398 Change-Id: I5d807f09bfbbceaded756daa78dbb023efcc91dc
14 lines
545 B
JavaScript
14 lines
545 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/components/MenuTabs.less';
|
|
import '../resources/skins.vector.styles/TabWatchstarLink.less';
|
|
|
|
export default {
|
|
title: 'MenuTabs'
|
|
};
|
|
|
|
export const pageActionTabs = () => mustache.render( vectorTabsTemplate, pageActionsData );
|
|
|
|
export const namespaceTabs = () => mustache.render( vectorTabsTemplate, namespaceTabsData );
|