suomifi-ui-components
Version:
Suomi.fi UI component library
13 lines (10 loc) • 767 B
JavaScript
import { __makeTemplateObject } from 'tslib';
import { css } from 'styled-components';
import { 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 color: ", ";\n ", ";\n ", "\n ", "\n\n &.fi-hint-text {\n display: block;\n }\n"], ["\n color: ", ";\n ", ";\n ", "\n ", "\n\n &.fi-hint-text {\n display: block;\n }\n"])), theme.colors.blackBase, font(theme)('bodyTextSmall'), buildSpacingCSS(globalMargins), buildSpacingCSS(propMargins, true));
};
var templateObject_1;
export { baseStyles };
//# sourceMappingURL=HintText.baseStyles.js.map