office-ui-fabric-react
Version:
Reusable React components for building experiences for Microsoft 365.
30 lines • 1.04 kB
JavaScript
define(["require", "exports", "../../Styling"], function (require, exports, Styling_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
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