UNPKG

suomifi-ui-components

Version:
13 lines (10 loc) 727 B
import { __makeTemplateObject } from 'tslib'; import { css } from 'styled-components'; import { element, font } from '../theme/reset/index.js'; import { buildSpacingCSS } from '../theme/utils/spacing.js'; var baseStyles = function baseStyles(theme, variant, globalMargins, propSpacing) { return css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n ", ";\n ", ";\n"], ["\n ", "\n ", "\n ", "\n ", ";\n ", ";\n"])), element(theme), font(theme)('bodyText'), !!variant && variant === 'span' ? 'display: inline-block' : '', buildSpacingCSS(globalMargins), buildSpacingCSS(propSpacing)); }; var templateObject_1; export { baseStyles }; //# sourceMappingURL=Block.baseStyles.js.map