suomifi-ui-components
Version:
Suomi.fi UI component library
14 lines (10 loc) • 1.55 kB
JavaScript
'use strict';
var tslib = require('tslib');
var index = require('../../../../theme/reset/index.js');
var styled = require('styled-components');
var selectItemAdditionStyles = function selectItemAdditionStyles(theme) {
return styled.css(templateObject_1 || (templateObject_1 = tslib.__makeTemplateObject(["\n & .fi-select-item-addition_hint-text {\n padding: 8px 32px 8px 10px;\n ", "\n background: ", ";\n color: ", ";\n }\n\n & .fi-select-item-addition_item {\n padding: 8px 32px 8px 10px;\n cursor: pointer;\n ", "\n font-weight: bold;\n &:hover {\n background-color: ", ";\n color: ", ";\n }\n &--hasKeyboardFocus {\n background-color: ", ";\n color: ", ";\n }\n }\n"], ["\n & .fi-select-item-addition_hint-text {\n padding: 8px 32px 8px 10px;\n ", "\n background: ", ";\n color: ", ";\n }\n\n & .fi-select-item-addition_item {\n padding: 8px 32px 8px 10px;\n cursor: pointer;\n ", "\n font-weight: bold;\n &:hover {\n background-color: ", ";\n color: ", ";\n }\n &--hasKeyboardFocus {\n background-color: ", ";\n color: ", ";\n }\n }\n"])), index.font(theme)('bodyTextSmall'), theme.colors.depthLight3, theme.colors.depthDark1, index.font(theme)('actionElementInnerText'), theme.colors.highlightBase, theme.colors.whiteBase, theme.colors.highlightBase, theme.colors.whiteBase);
};
var templateObject_1;
exports.selectItemAdditionStyles = selectItemAdditionStyles;
//# sourceMappingURL=SelectItemAddition.baseStyles.js.map