"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "config", {
    enumerable: true,
    get: function() {
        return config;
    }
});
const _styledcomponents = require("@salutejs/plasma-new-hope/styled-components");
const config = {
    defaults: {
        view: 'default',
        size: 'm'
    },
    variations: {
        view: {
            default: (0, _styledcomponents.css)`
                ${_styledcomponents.badgeTokens.color}: var(--inverse-text-primary);
                ${_styledcomponents.badgeTokens.background}: var(--surface-solid-default);

                ${_styledcomponents.badgeTokens.colorTransparent}: var(--text-primary);
                ${_styledcomponents.badgeTokens.backgroundTransparent}: var(--surface-transparent-secondary);

                ${_styledcomponents.badgeTokens.colorClear}: var(--text-primary);
            `,
            accent: (0, _styledcomponents.css)`
                ${_styledcomponents.badgeTokens.color}: var(--on-dark-text-primary);
                ${_styledcomponents.badgeTokens.background}: var(--surface-accent);

                ${_styledcomponents.badgeTokens.colorTransparent}: var(--text-accent);
                ${_styledcomponents.badgeTokens.backgroundTransparent}: var(--surface-transparent-accent);

                ${_styledcomponents.badgeTokens.colorClear}: var(--text-accent);
            `,
            positive: (0, _styledcomponents.css)`
                ${_styledcomponents.badgeTokens.color}: var(--on-dark-text-primary);
                ${_styledcomponents.badgeTokens.background}: var(--surface-positive);

                ${_styledcomponents.badgeTokens.colorTransparent}: var(--text-positive);
                ${_styledcomponents.badgeTokens.backgroundTransparent}: var(--surface-transparent-positive);

                ${_styledcomponents.badgeTokens.colorClear}: var(--text-positive);
            `,
            warning: (0, _styledcomponents.css)`
                ${_styledcomponents.badgeTokens.color}: var(--on-dark-text-primary);
                ${_styledcomponents.badgeTokens.background}: var(--surface-warning);

                ${_styledcomponents.badgeTokens.colorTransparent}: var(--text-warning);
                ${_styledcomponents.badgeTokens.backgroundTransparent}: var(--surface-transparent-warning);

                ${_styledcomponents.badgeTokens.colorClear}: var(--text-warning);
            `,
            negative: (0, _styledcomponents.css)`
                ${_styledcomponents.badgeTokens.color}: var(--on-dark-text-primary);
                ${_styledcomponents.badgeTokens.background}: var(--surface-negative);

                ${_styledcomponents.badgeTokens.colorTransparent}: var(--text-negative);
                ${_styledcomponents.badgeTokens.backgroundTransparent}: var(--surface-transparent-negative);

                ${_styledcomponents.badgeTokens.colorClear}: var(--text-negative);
            `,
            dark: (0, _styledcomponents.css)`
                ${_styledcomponents.badgeTokens.color}: var(--on-dark-text-primary);
                ${_styledcomponents.badgeTokens.background}: var(--on-light-surface-solid-default);

                ${_styledcomponents.badgeTokens.colorTransparent}: var(--on-dark-text-primary);
                ${_styledcomponents.badgeTokens.backgroundTransparent}: var(--on-light-surface-transparent-deep);

                ${_styledcomponents.badgeTokens.colorClear}: var(--on-light-text-primary);
            `,
            light: (0, _styledcomponents.css)`
                ${_styledcomponents.badgeTokens.color}: var(--on-light-text-primary);
                ${_styledcomponents.badgeTokens.background}: var(--on-dark-surface-solid-default);

                ${_styledcomponents.badgeTokens.colorTransparent}: var(--on-dark-text-primary);
                ${_styledcomponents.badgeTokens.backgroundTransparent}: var(--on-dark-surface-transparent-card);

                ${_styledcomponents.badgeTokens.colorClear}: var(--on-dark-text-primary);
            `
        },
        size: {
            l: (0, _styledcomponents.css)`
                ${_styledcomponents.badgeTokens.borderRadius}: 0.5rem;
                ${_styledcomponents.badgeTokens.height}: 1.75rem;
                ${_styledcomponents.badgeTokens.padding}: 0 0.6875rem;
                ${_styledcomponents.badgeTokens.paddingIconOnly}: 0 0.375rem;

                ${_styledcomponents.badgeTokens.fontFamily}: var(--plasma-typo-body-s-font-family);
                ${_styledcomponents.badgeTokens.fontSize}: var(--plasma-typo-body-s-font-size);
                ${_styledcomponents.badgeTokens.fontStyle}: var(--plasma-typo-body-s-font-style);
                ${_styledcomponents.badgeTokens.fontWeight}: var(--plasma-typo-body-s-font-weight);
                ${_styledcomponents.badgeTokens.letterSpacing}: var(--plasma-typo-body-s-letter-spacing);
                ${_styledcomponents.badgeTokens.lineHeight}: var(--plasma-typo-body-s-line-height);

                ${_styledcomponents.badgeTokens.leftContentMarginLeft}: -0.0625rem;
                ${_styledcomponents.badgeTokens.leftContentMarginRight}: 0.25rem;

                ${_styledcomponents.badgeTokens.rightContentMarginLeft}: 0.25rem;
                ${_styledcomponents.badgeTokens.rightContentMarginRight}: -0.0625rem;
            `,
            m: (0, _styledcomponents.css)`
                ${_styledcomponents.badgeTokens.borderRadius}: 0.375rem;
                ${_styledcomponents.badgeTokens.height}: 1.5rem;
                ${_styledcomponents.badgeTokens.padding}: 0 0.5625rem;
                ${_styledcomponents.badgeTokens.paddingIconOnly}: 0 0.375rem;

                ${_styledcomponents.badgeTokens.fontFamily}: var(--plasma-typo-body-xs-font-family);
                ${_styledcomponents.badgeTokens.fontSize}: var(--plasma-typo-body-xs-font-size);
                ${_styledcomponents.badgeTokens.fontStyle}: var(--plasma-typo-body-xs-font-style);
                ${_styledcomponents.badgeTokens.fontWeight}: var(--plasma-typo-body-xs-font-weight);
                ${_styledcomponents.badgeTokens.letterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
                ${_styledcomponents.badgeTokens.lineHeight}: var(--plasma-typo-body-xs-line-height);

                ${_styledcomponents.badgeTokens.leftContentMarginLeft}: -0.0625rem;
                ${_styledcomponents.badgeTokens.leftContentMarginRight}: 0.1875rem;

                ${_styledcomponents.badgeTokens.rightContentMarginLeft}: 0.1875rem;
                ${_styledcomponents.badgeTokens.rightContentMarginRight}: -0.0625rem;
            `,
            s: (0, _styledcomponents.css)`
                ${_styledcomponents.badgeTokens.borderRadius}: 0.375rem;
                ${_styledcomponents.badgeTokens.height}: 1.25rem;
                ${_styledcomponents.badgeTokens.padding}: 0 0.4375rem;
                ${_styledcomponents.badgeTokens.paddingIconOnly}: 0 0.25rem;

                ${_styledcomponents.badgeTokens.fontFamily}: var(--plasma-typo-body-xxs-font-family);
                ${_styledcomponents.badgeTokens.fontSize}: var(--plasma-typo-body-xxs-font-size);
                ${_styledcomponents.badgeTokens.fontStyle}: var(--plasma-typo-body-xxs-font-style);
                ${_styledcomponents.badgeTokens.fontWeight}: var(--plasma-typo-body-xxs-font-weight);
                ${_styledcomponents.badgeTokens.letterSpacing}: var(--plasma-typo-body-xxs-letter-spacing);
                ${_styledcomponents.badgeTokens.lineHeight}: var(--plasma-typo-body-xxs-line-height);

                ${_styledcomponents.badgeTokens.leftContentMarginLeft}: -0.0625rem;
                ${_styledcomponents.badgeTokens.leftContentMarginRight}: 0.125rem;

                ${_styledcomponents.badgeTokens.rightContentMarginLeft}: 0.125rem;
                ${_styledcomponents.badgeTokens.rightContentMarginRight}: -0.0625rem;
            `,
            xs: (0, _styledcomponents.css)`
                ${_styledcomponents.badgeTokens.borderRadius}: 0.25rem;
                ${_styledcomponents.badgeTokens.height}: 1rem;
                ${_styledcomponents.badgeTokens.padding}: 0 0.25rem;
                ${_styledcomponents.badgeTokens.paddingIconOnly}: 0 0.188rem;

                ${_styledcomponents.badgeTokens.fontFamily}: var(--plasma-typo-body-xxs-font-family);
                ${_styledcomponents.badgeTokens.fontSize}: var(--plasma-typo-body-xxs-font-size);
                ${_styledcomponents.badgeTokens.fontStyle}: var(--plasma-typo-body-xxs-font-style);
                ${_styledcomponents.badgeTokens.fontWeight}: var(--plasma-typo-body-xxs-font-weight);
                ${_styledcomponents.badgeTokens.letterSpacing}: var(--plasma-typo-body-xxs-letter-spacing);
                ${_styledcomponents.badgeTokens.lineHeight}: var(--plasma-typo-body-xxs-line-height);

                ${_styledcomponents.badgeTokens.leftContentMarginLeft}: -0.0625rem;
                ${_styledcomponents.badgeTokens.leftContentMarginRight}: 0.125rem;

                ${_styledcomponents.badgeTokens.rightContentMarginLeft}: 0.125rem;
                ${_styledcomponents.badgeTokens.rightContentMarginRight}: -0.0625rem;
            `
        },
        pilled: {
            true: (0, _styledcomponents.css)`
                ${_styledcomponents.badgeTokens.pilledBorderRadius}: 1.25rem;
            `
        },
        transparent: {
            true: (0, _styledcomponents.css)``
        },
        clear: {
            true: (0, _styledcomponents.css)`
                ${_styledcomponents.badgeTokens.backgroundClear}: var(--surface-clear);
            `
        }
    }
};
