UNPKG

suomifi-ui-components

Version:
15 lines (11 loc) 1.27 kB
'use strict'; var tslib = require('tslib'); var styled = require('styled-components'); var index = require('../../theme/reset/index.js'); var spacing = require('../../theme/utils/spacing.js'); var baseStyles = function baseStyles(theme, globalMargins, propMargins) { return styled.css(templateObject_1 || (templateObject_1 = tslib.__makeTemplateObject(["\n ", "\n ", "\n\n &.fi-label {\n & .fi-label_label-span {\n ", ";\n display: inline-block;\n vertical-align: middle;\n color: ", ";\n\n & .fi-label_optional-text {\n ", ";\n }\n & .fi-tooltip {\n margin-left: ", ";\n }\n }\n }\n"], ["\n ", "\n ", "\n\n &.fi-label {\n & .fi-label_label-span {\n ", ";\n display: inline-block;\n vertical-align: middle;\n color: ", ";\n\n & .fi-label_optional-text {\n ", ";\n }\n & .fi-tooltip {\n margin-left: ", ";\n }\n }\n }\n"])), spacing.buildSpacingCSS(globalMargins), spacing.buildSpacingCSS(propMargins, true), index.font(theme)('actionElementInnerTextBold'), theme.colors.blackBase, theme.typography.bodyTextSmall, theme.spacing.insetS); }; var templateObject_1; exports.baseStyles = baseStyles; //# sourceMappingURL=Label.baseStyles.js.map