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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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