suomifi-ui-components
Version:
Suomi.fi UI component library
13 lines (10 loc) • 727 B
JavaScript
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