"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 _sdds_serv = require("@salutejs/sdds-themes/tokens/sdds_serv");
const _Badgeconfigcommon = require("./Badge.config.common");
const config = {
    defaults: {
        view: 'default',
        size: 'm'
    },
    variations: {
        view: {
            default: (0, _emotion.css)`
                ${_emotion.badgeTokens.color}: ${_sdds_serv.textPrimary};
                ${_emotion.badgeTokens.background}: ${_sdds_serv.surfaceTransparentSecondary};
            `,
            accent: (0, _emotion.css)`
                ${_emotion.badgeTokens.color}: ${_sdds_serv.textAccent};
                ${_emotion.badgeTokens.background}: ${_sdds_serv.surfaceTransparentAccent};
            `,
            positive: (0, _emotion.css)`
                ${_emotion.badgeTokens.color}: ${_sdds_serv.textPositive};
                ${_emotion.badgeTokens.background}: ${_sdds_serv.surfaceTransparentPositive};
            `,
            warning: (0, _emotion.css)`
                ${_emotion.badgeTokens.color}: ${_sdds_serv.textWarning};
                ${_emotion.badgeTokens.background}: ${_sdds_serv.surfaceTransparentWarning};
            `,
            negative: (0, _emotion.css)`
                ${_emotion.badgeTokens.color}: ${_sdds_serv.textNegative};
                ${_emotion.badgeTokens.background}: ${_sdds_serv.surfaceTransparentNegative};
            `,
            dark: (0, _emotion.css)`
                ${_emotion.badgeTokens.color}: ${_sdds_serv.onDarkTextPrimary};
                ${_emotion.badgeTokens.background}: ${_sdds_serv.onLightSurfaceTransparentDeep};
            `,
            light: (0, _emotion.css)`
                ${_emotion.badgeTokens.color}: ${_sdds_serv.onDarkTextPrimary};
                ${_emotion.badgeTokens.background}: ${_sdds_serv.onDarkSurfaceTransparentCard};
            `
        },
        size: {
            l: (0, _emotion.css)`
                ${_Badgeconfigcommon.sizeL}
            `,
            m: (0, _emotion.css)`
                ${_Badgeconfigcommon.sizeM}
            `,
            s: (0, _emotion.css)`
                ${_Badgeconfigcommon.sizeS}
            `,
            xs: (0, _emotion.css)`
                ${_Badgeconfigcommon.sizeXS}
            `
        },
        pilled: {
            true: (0, _emotion.css)`
                ${_Badgeconfigcommon.pilled}
            `
        },
        transparent: {
            true: (0, _emotion.css)``
        },
        truncate: {
            true: (0, _emotion.css)``
        }
    }
};
