office-ui-fabric-react
Version: 
Reusable React components for building experiences for Office 365.
27 lines • 770 B
JavaScript
import { getGlobalClassNames } from '../../Styling';
var GlobalClassNames = {
    focusedContainer: 'ms-swatchColorPickerBodyContainer'
};
export var getStyles = function (props) {
    var className = props.className, theme = props.theme;
    var classNames = getGlobalClassNames(GlobalClassNames, theme);
    return {
        root: {
            padding: 2,
            outline: 'none'
        },
        tableCell: {
            padding: 0
        },
        focusedContainer: [
            classNames.focusedContainer,
            {
                clear: 'both',
                display: 'block',
                minWidth: '180px'
            },
            className
        ]
    };
};
//# sourceMappingURL=SwatchColorPicker.styles.js.map