define(["require", "exports", "@uifabric/styling", "../BaseButton.styles", "@uifabric/utilities"], function (require, exports, styling_1, BaseButton_styles_1, utilities_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var DEFAULT_BUTTON_HEIGHT = '40px';
    var DEFAULT_PADDING = '0 4px';
    exports.getStyles = utilities_1.memoize(function (theme, customStyles) {
        if (theme === void 0) { theme = styling_1.getTheme(); }
        var baseButtonStyles = BaseButton_styles_1.getStyles(theme);
        var commandButtonStyles = {
            root: styling_1.mergeStyles({
                borderWidth: '0',
                padding: DEFAULT_PADDING,
                height: DEFAULT_BUTTON_HEIGHT,
            }),
            flexContainer: styling_1.mergeStyles({
                justifyContent: 'flex-start'
            }),
            rootEnabled: styling_1.mergeStyles({
                color: theme.palette.neutralPrimary,
                backgroundColor: 'transparent',
                ':hover': {
                    color: theme.palette.themeDarker
                },
                ':active': {
                    color: theme.palette.themePrimary
                }
            }),
            rootDisabled: styling_1.mergeStyles({
                color: theme.palette.neutralTertiary,
                backgroundColor: 'transparent'
            }),
            iconEnabled: styling_1.mergeStyles({
                color: theme.palette.themePrimary
            })
        };
        return styling_1.mergeStyleSets(baseButtonStyles, commandButtonStyles, customStyles);
    });
});

//# sourceMappingURL=CommandButton.styles.js.map
