UNPKG

@fluentui/react-northstar

Version:
20 lines (19 loc) 661 B
import { getColorScheme } from '../../colors'; import { pxToRem } from '../../../../utils'; import { activeIndicatorUrl } from './activeIndicatorUrl'; export var toolbarMenuItemActiveIndicatorStyles = { root: function root(_ref) { var v = _ref.variables; var colors = getColorScheme(v.colorScheme); return { backgroundImage: activeIndicatorUrl(v.menuItemForeground || colors.foreground1), backgroundPosition: 'center', backgroundRepeat: 'no-repeat', width: pxToRem(24), height: '100%', position: 'absolute', right: pxToRem(7) }; } }; //# sourceMappingURL=toolbarMenuItemActiveIndicatorStyles.js.map