UNPKG

@uifabric/experiments

Version:

Experimental React components for building experiences for Office 365.

48 lines 1.76 kB
define(["require", "exports", "../../../Styling"], function (require, exports, Styling_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var GlobalClassNames = { root: 'ms-ShimmerCircle-root', svg: 'ms-ShimmerCircle-svg' }; function getStyles(props) { var height = props.height, borderStyle = props.borderStyle, theme = props.theme; var palette = theme.palette; var classNames = Styling_1.getGlobalClassNames(GlobalClassNames, theme); var styles = !!borderStyle ? borderStyle : {}; return { root: [ classNames.root, theme.fonts.medium, styles, { width: height + "px", height: height + "px", minWidth: height + "px", borderTopStyle: 'solid', borderBottomStyle: 'solid', borderColor: palette.white, selectors: (_a = {}, _a[Styling_1.HighContrastSelector] = { borderColor: 'Window' }, _a) } ], svg: [ classNames.svg, { fill: palette.white, selectors: (_b = {}, _b[Styling_1.HighContrastSelector] = { fill: 'Window' }, _b) } ] }; var _a, _b; } exports.getStyles = getStyles; }); //# sourceMappingURL=ShimmerCircle.styles.js.map