UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Microsoft 365.

29 lines 883 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var Styling_1 = require("../../Styling"); var GlobalClassNames = { focusedContainer: 'ms-swatchColorPickerBodyContainer', }; exports.getStyles = function (props) { var className = props.className, theme = props.theme, cellMargin = props.cellMargin; var classNames = Styling_1.getGlobalClassNames(GlobalClassNames, theme); return { root: { margin: '8px 0', borderCollapse: 'collapse', }, tableCell: { padding: cellMargin / 2, }, focusedContainer: [ classNames.focusedContainer, { clear: 'both', display: 'block', minWidth: '180px', }, className, ], }; }; //# sourceMappingURL=SwatchColorPicker.styles.js.map