Files
starface-outlook-sync-addin/node_modules/@fluentui/react/lib/components/Shimmer/ShimmerGap/ShimmerGap.styles.js
T
Stefan Hacker 37ad745546 first commit
2026-04-03 09:38:48 +02:00

34 lines
1.2 KiB
JavaScript

import { getGlobalClassNames, HighContrastSelector } from '../../../Styling';
var GlobalClassNames = {
root: 'ms-ShimmerGap-root',
};
export function getStyles(props) {
var _a;
// eslint-disable-next-line @typescript-eslint/no-deprecated
var height = props.height, borderStyle = props.borderStyle, theme = props.theme;
var semanticColors = theme.semanticColors;
var globalClassNames = getGlobalClassNames(GlobalClassNames, theme);
var borderStyles = borderStyle || {};
return {
root: [
globalClassNames.root,
theme.fonts.medium,
{
backgroundColor: semanticColors.bodyBackground,
height: "".concat(height, "px"),
boxSizing: 'content-box',
borderTopStyle: 'solid',
borderBottomStyle: 'solid',
borderColor: semanticColors.bodyBackground,
selectors: (_a = {},
_a[HighContrastSelector] = {
backgroundColor: 'Window',
borderColor: 'Window',
},
_a),
},
borderStyles,
],
};
}
//# sourceMappingURL=ShimmerGap.styles.js.map