"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 _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, _styledcomponents.css)`
                ${_styledcomponents.badgeTokens.color}: ${_sdds_serv.textPrimary};
                ${_styledcomponents.badgeTokens.background}: ${_sdds_serv.surfaceTransparentSecondary};
            `,
            accent: (0, _styledcomponents.css)`
                ${_styledcomponents.badgeTokens.color}: ${_sdds_serv.textAccent};
                ${_styledcomponents.badgeTokens.background}: ${_sdds_serv.surfaceTransparentAccent};
            `,
            positive: (0, _styledcomponents.css)`
                ${_styledcomponents.badgeTokens.color}: ${_sdds_serv.textPositive};
                ${_styledcomponents.badgeTokens.background}: ${_sdds_serv.surfaceTransparentPositive};
            `,
            warning: (0, _styledcomponents.css)`
                ${_styledcomponents.badgeTokens.color}: ${_sdds_serv.textWarning};
                ${_styledcomponents.badgeTokens.background}: ${_sdds_serv.surfaceTransparentWarning};
            `,
            negative: (0, _styledcomponents.css)`
                ${_styledcomponents.badgeTokens.color}: ${_sdds_serv.textNegative};
                ${_styledcomponents.badgeTokens.background}: ${_sdds_serv.surfaceTransparentNegative};
            `,
            dark: (0, _styledcomponents.css)`
                ${_styledcomponents.badgeTokens.color}: ${_sdds_serv.onDarkTextPrimary};
                ${_styledcomponents.badgeTokens.background}: ${_sdds_serv.onLightSurfaceTransparentDeep};
            `,
            light: (0, _styledcomponents.css)`
                ${_styledcomponents.badgeTokens.color}: ${_sdds_serv.onDarkTextPrimary};
                ${_styledcomponents.badgeTokens.background}: ${_sdds_serv.onDarkSurfaceTransparentCard};
            `
        },
        size: {
            l: (0, _styledcomponents.css)`
                ${_Badgeconfigcommon.sizeL}
            `,
            m: (0, _styledcomponents.css)`
                ${_Badgeconfigcommon.sizeM}
            `,
            s: (0, _styledcomponents.css)`
                ${_Badgeconfigcommon.sizeS}
            `,
            xs: (0, _styledcomponents.css)`
                ${_Badgeconfigcommon.sizeXS}
            `
        },
        pilled: {
            true: (0, _styledcomponents.css)`
                ${_Badgeconfigcommon.pilled}
            `
        },
        transparent: {
            true: (0, _styledcomponents.css)``
        },
        truncate: {
            true: (0, _styledcomponents.css)``
        }
    }
};
