"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: 'm'
    },
    variations: {
        view: {
            default: (0, _emotion.css)`
                /* TODO: заменить значение box-shadow на ${_sdds_serv.shadowDownSoftS}. https://github.com/salute-developers/plasma/issues/1131 */
                ${_emotion.toolbarTokens.boxShadow}: 0px 4px 14px -4px rgba(8, 8, 8, 0.08), 0px 1px 4px -1px rgba(0, 0, 0, 0.04);
                ${_emotion.toolbarTokens.background}: ${_sdds_serv.surfaceSolidCardBrightness};

                ${_emotion.toolbarTokens.dividerColor}: ${_sdds_serv.surfaceTransparentTertiary};
            `
        },
        size: {
            xs: (0, _emotion.css)`
                ${_emotion.toolbarTokens.size}: 2.5rem;
                ${_emotion.toolbarTokens.padding}: 0.25rem;
                ${_emotion.toolbarTokens.borderRadius}: 0.75rem;

                ${_emotion.toolbarTokens.dividerSize}: 1.25rem;
                ${_emotion.toolbarTokens.dividerOffset}: 0.5rem;
                ${_emotion.toolbarTokens.dividerBorderRadius}: 0.0625rem;
            `,
            s: (0, _emotion.css)`
                ${_emotion.toolbarTokens.size}: 3rem;
                ${_emotion.toolbarTokens.padding}: 0.25rem;
                ${_emotion.toolbarTokens.borderRadius}: 0.875rem;

                ${_emotion.toolbarTokens.dividerSize}: 1.5rem;
                ${_emotion.toolbarTokens.dividerOffset}: 0.5rem;
                ${_emotion.toolbarTokens.dividerBorderRadius}: 0.0625rem;
            `,
            m: (0, _emotion.css)`
                ${_emotion.toolbarTokens.size}: 3.75rem;
                ${_emotion.toolbarTokens.padding}: 0.375rem;
                ${_emotion.toolbarTokens.borderRadius}: 1rem;

                ${_emotion.toolbarTokens.dividerSize}: 1.75rem;
                ${_emotion.toolbarTokens.dividerOffset}: 0.625rem;
                ${_emotion.toolbarTokens.dividerBorderRadius}: 0.0625rem;
            `,
            l: (0, _emotion.css)`
                ${_emotion.toolbarTokens.size}: 4.5rem;
                ${_emotion.toolbarTokens.padding}: 0.5rem;
                ${_emotion.toolbarTokens.borderRadius}: 1.25rem;

                ${_emotion.toolbarTokens.dividerSize}: 2rem;
                ${_emotion.toolbarTokens.dividerOffset}: 0.75rem;
                ${_emotion.toolbarTokens.dividerBorderRadius}: 0.0625rem;
            `
        }
    }
};
