UNPKG

@up-group-ui/react-controls

Version:
23 lines 853 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getTagStyle = void 0; var typestyle_1 = require("typestyle"); var getTagStyle = function (theme, isSelected) { return (0, typestyle_1.style)({ backgroundColor: isSelected ? theme.colorMap.primary : 'white', color: isSelected ? theme.colorMap.white : 'black', outline: isSelected ? 'none' : "1px solid " + theme.colorMap.darkSilver, borderRadius: '19px', fontWeight: isSelected ? 'bold' : 'normal', fontSize: '14px', lineHeight: '16px', opacity: 1, padding: '9px 20px', marginRight: '9px', cursor: 'pointer', userSelect: 'none', transition: 'color .3s, background-color .3s', }); }; exports.getTagStyle = getTagStyle; //# sourceMappingURL=UpTag.style.js.map