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