suomifi-ui-components
Version:
Suomi.fi UI component library
13 lines (10 loc) • 672 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, globalMargins, propMargins) {
return css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n margin: 0;\n ", "\n ", "\n"], ["\n ", "\n ", "\n margin: 0;\n ", "\n ", "\n"])), element(theme), font(theme)('bodyText'), buildSpacingCSS(globalMargins), buildSpacingCSS(propMargins, true));
};
var templateObject_1;
export { baseStyles };
//# sourceMappingURL=Paragraph.baseStyles.js.map