var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
    if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
    return cooked;
};
import styled, { css } from 'styled-components';
import { colors } from '../../styles/colors';
import { spacing } from '../../styles/spacing';
import { getTypographyIntent } from '../Typography/Typography.styles';
export var StyledPill = styled.span(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n  ", "\n  display: inline-block;\n  padding: 1px ", "px;\n  border: 1px solid;\n  border-radius: 10px;\n  font-weight: 600;\n\n  & + & {\n    margin-left: ", "px;\n  }\n\n  ", "\n"], ["\n  ", "\n  display: inline-block;\n  padding: 1px ", "px;\n  border: 1px solid;\n  border-radius: 10px;\n  font-weight: 600;\n\n  & + & {\n    margin-left: ", "px;\n  }\n\n  ", "\n"])), getTypographyIntent('small'), spacing.sm, spacing.xs, function (_a) {
    var $color = _a.$color;
    switch ($color) {
        case 'blue':
            return css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n          background-color: ", ";\n          border-color: ", ";\n          color: ", ";\n        "], ["\n          background-color: ", ";\n          border-color: ", ";\n          color: ", ";\n        "])), colors.blue94, colors.blue85, colors.blue45);
        case 'cyan':
            return css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n          background-color: ", ";\n          border-color: ", ";\n          color: ", ";\n        "], ["\n          background-color: ", ";\n          border-color: ", ";\n          color: ", ";\n        "])), colors.cyan94, colors.cyan85, colors.cyan30);
        case 'gray':
            return css(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n          background-color: ", ";\n          border-color: ", ";\n          color: ", ";\n        "], ["\n          background-color: ", ";\n          border-color: ", ";\n          color: ", ";\n        "])), colors.gray94, colors.gray85, colors.gray30);
        case 'green':
            return css(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n          background-color: ", ";\n          border-color: ", ";\n          color: ", ";\n        "], ["\n          background-color: ", ";\n          border-color: ", ";\n          color: ", ";\n        "])), colors.green94, colors.green70, colors.green30);
        case 'magenta':
            return css(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n          background-color: ", ";\n          border-color: ", ";\n          color: ", ";\n        "], ["\n          background-color: ", ";\n          border-color: ", ";\n          color: ", ";\n        "])), colors.magenta94, colors.magenta85, colors.magenta40);
        case 'red':
            return css(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n          background-color: ", ";\n          border-color: ", ";\n          color: ", ";\n        "], ["\n          background-color: ", ";\n          border-color: ", ";\n          color: ", ";\n        "])), colors.red94, colors.red85, colors.red45);
        case 'yellow':
            return css(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n          background-color: ", ";\n          border-color: ", ";\n          color: ", ";\n        "], ["\n          background-color: ", ";\n          border-color: ", ";\n          color: ", ";\n        "])), colors.yellow90, colors.yellow60, colors.orange30);
        default:
            return '';
    }
});
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8;
//# sourceMappingURL=Pill.styles.js.map