"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 config = {
    defaults: {
        view: 'default',
        size: 'xs'
    },
    variations: {
        view: {
            default: (0, _emotion.css)`
                ${_emotion.counterTokens.color}: ${_sdds_serv.inverseTextPrimary};
                ${_emotion.counterTokens.background}: ${_sdds_serv.surfaceSolidDefault};
            `,
            accent: (0, _emotion.css)`
                ${_emotion.counterTokens.color}: ${_sdds_serv.onDarkTextPrimary};
                ${_emotion.counterTokens.background}: ${_sdds_serv.surfaceAccent};
            `,
            positive: (0, _emotion.css)`
                ${_emotion.counterTokens.color}: ${_sdds_serv.onDarkTextPrimary};
                ${_emotion.counterTokens.background}: ${_sdds_serv.surfacePositive};
            `,
            warning: (0, _emotion.css)`
                ${_emotion.counterTokens.color}: ${_sdds_serv.onDarkTextPrimary};
                ${_emotion.counterTokens.background}: ${_sdds_serv.surfaceWarning};
            `,
            negative: (0, _emotion.css)`
                ${_emotion.counterTokens.color}: ${_sdds_serv.onDarkTextPrimary};
                ${_emotion.counterTokens.background}: ${_sdds_serv.surfaceNegative};
            `,
            dark: (0, _emotion.css)`
                ${_emotion.counterTokens.color}: ${_sdds_serv.onDarkTextPrimary};
                ${_emotion.counterTokens.background}: ${_sdds_serv.onLightSurfaceSolidDefault};
            `,
            light: (0, _emotion.css)`
                ${_emotion.counterTokens.color}: ${_sdds_serv.onLightTextPrimary};
                ${_emotion.counterTokens.background}: ${_sdds_serv.onDarkSurfaceSolidDefault};
            `
        },
        size: {
            l: (0, _emotion.css)`
                ${_emotion.counterTokens.borderRadius}: 1rem;
                ${_emotion.counterTokens.height}: 1.75rem;
                ${_emotion.counterTokens.padding}: 0 0.625rem;
                ${_emotion.counterTokens.fontFamily}: ${_sdds_serv.bodyS.fontFamily};
                ${_emotion.counterTokens.fontSize}: ${_sdds_serv.bodyS.fontSize};
                ${_emotion.counterTokens.fontStyle}: ${_sdds_serv.bodyS.fontStyle};
                ${_emotion.counterTokens.fontWeight}: ${_sdds_serv.bodyS.fontWeight};
                ${_emotion.counterTokens.letterSpacing}: ${_sdds_serv.bodyS.letterSpacing};
                ${_emotion.counterTokens.lineHeight}: ${_sdds_serv.bodyS.lineHeight};
            `,
            m: (0, _emotion.css)`
                ${_emotion.counterTokens.borderRadius}: 1rem;
                ${_emotion.counterTokens.height}: 1.5rem;
                ${_emotion.counterTokens.padding}: 0 0.5rem;
                ${_emotion.counterTokens.fontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_emotion.counterTokens.fontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_emotion.counterTokens.fontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_emotion.counterTokens.fontWeight}: ${_sdds_serv.bodyXS.fontWeight};
                ${_emotion.counterTokens.letterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_emotion.counterTokens.lineHeight}: ${_sdds_serv.bodyXS.lineHeight};
            `,
            s: (0, _emotion.css)`
                ${_emotion.counterTokens.borderRadius}: 1rem;
                ${_emotion.counterTokens.height}: 1.25rem;
                ${_emotion.counterTokens.padding}: 0 0.375rem;
                ${_emotion.counterTokens.fontFamily}: ${_sdds_serv.bodyXXS.fontFamily};
                ${_emotion.counterTokens.fontSize}: ${_sdds_serv.bodyXXS.fontSize};
                ${_emotion.counterTokens.fontStyle}: ${_sdds_serv.bodyXXS.fontStyle};
                ${_emotion.counterTokens.fontWeight}: ${_sdds_serv.bodyXXS.fontWeight};
                ${_emotion.counterTokens.letterSpacing}: ${_sdds_serv.bodyXXS.letterSpacing};
                ${_emotion.counterTokens.lineHeight}: ${_sdds_serv.bodyXXS.lineHeight};
            `,
            xs: (0, _emotion.css)`
                ${_emotion.counterTokens.borderRadius}: 1rem;
                ${_emotion.counterTokens.height}: 1rem;
                ${_emotion.counterTokens.padding}: 0 0.25rem;
                ${_emotion.counterTokens.fontFamily}: ${_sdds_serv.bodyXXS.fontFamily};
                ${_emotion.counterTokens.fontSize}: ${_sdds_serv.bodyXXS.fontSize};
                ${_emotion.counterTokens.fontStyle}: ${_sdds_serv.bodyXXS.fontStyle};
                ${_emotion.counterTokens.fontWeight}: ${_sdds_serv.bodyXXS.fontWeight};
                ${_emotion.counterTokens.letterSpacing}: ${_sdds_serv.bodyXXS.letterSpacing};
                ${_emotion.counterTokens.lineHeight}: ${_sdds_serv.bodyXXS.lineHeight};
            `,
            xxs: (0, _emotion.css)`
                ${_emotion.counterTokens.borderRadius}: 1rem;
                ${_emotion.counterTokens.height}: 0.75rem;
                ${_emotion.counterTokens.padding}: 0 0.125rem;
                ${_emotion.counterTokens.fontFamily}: ${_sdds_serv.bodyXXS.fontFamily};
                ${_emotion.counterTokens.fontSize}: ${_sdds_serv.bodyXXS.fontSize};
                ${_emotion.counterTokens.fontStyle}: ${_sdds_serv.bodyXXS.fontStyle};
                ${_emotion.counterTokens.fontWeight}: ${_sdds_serv.bodyXXS.fontWeight};
                ${_emotion.counterTokens.letterSpacing}: ${_sdds_serv.bodyXXS.letterSpacing};
                ${_emotion.counterTokens.lineHeight}: ${_sdds_serv.bodyXXS.lineHeight};
            `
        }
    }
};
