UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

22 lines 952 B
import { concatStyleSets } from '../../../Styling'; import { memoizeFunction } from '../../../Utilities'; import { getStyles as getBaseButtonStyles } from '../BaseButton.styles'; export var getStyles = memoizeFunction(function (theme, customStyles, focusInset, focusColor) { var baseButtonStyles = getBaseButtonStyles(theme); var messageBarButtonStyles = { root: { backgroundColor: theme.palette.neutralQuaternaryAlt, color: theme.palette.neutralPrimary }, rootHovered: { backgroundColor: theme.palette.neutralTertiaryAlt, color: theme.palette.neutralDark }, rootPressed: { backgroundColor: theme.palette.neutralTertiary, color: theme.palette.neutralDark } }; return concatStyleSets(baseButtonStyles, messageBarButtonStyles, customStyles); }); //# sourceMappingURL=MessageBarButton.styles.js.map