"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)`
                ${_emotion.codeAreaTokens.wrapperBackgroundColor}: ${_sdds_serv.surfaceTransparentPrimary};
                ${_emotion.codeAreaTokens.fieldBackgroundColor}: ${_sdds_serv.surfaceSolidCard};

                ${_emotion.codeAreaTokens.codeColor}: ${_sdds_serv.textPrimary};
                ${_emotion.codeAreaTokens.lineNumberColor}: ${_sdds_serv.textTertiary};
                ${_emotion.codeAreaTokens.dividerColor}: ${_sdds_serv.surfaceTransparentTertiary};

                ${_emotion.codeAreaTokens.scrollTrackColor}: ${_sdds_serv.surfaceTransparentPrimary};
                ${_emotion.codeAreaTokens.scrollThumbColor}: ${_sdds_serv.surfaceTransparentTertiary};

                ${_emotion.codeAreaTokens.syntaxYellow}: ${_sdds_serv.syntaxYellow};
                ${_emotion.codeAreaTokens.syntaxOrange}: ${_sdds_serv.syntaxOrange};
                ${_emotion.codeAreaTokens.syntaxPink}: ${_sdds_serv.syntaxPink};
                ${_emotion.codeAreaTokens.syntaxSpring}: ${_sdds_serv.syntaxSpring};
                ${_emotion.codeAreaTokens.syntaxSkyBlue}: ${_sdds_serv.syntaxSkyBlue};
                ${_emotion.codeAreaTokens.syntaxRed}: ${_sdds_serv.syntaxRed};
            `
        },
        size: {
            xl: (0, _emotion.css)`
                ${_emotion.codeAreaTokens.wrapperPadding}: 1.25rem;
                ${_emotion.codeAreaTokens.wrapperGap}: 1.25rem;
                ${_emotion.codeAreaTokens.wrapperBorderRadius}: 2.25rem;

                ${_emotion.codeAreaTokens.overlayBorderRadius}: 1rem;
                ${_emotion.codeAreaTokens.overlayPadding}: 1.25rem 1.125rem;

                ${_emotion.codeAreaTokens.headerMarginBottom}: 1.25rem;
                ${_emotion.codeAreaTokens.contentGap}: 0.5rem;
                ${_emotion.codeAreaTokens.lineNumberGap}: 0.5rem;
                ${_emotion.codeAreaTokens.numerationPaddingRight}: 0.5rem;
                ${_emotion.codeAreaTokens.codeMarginRight}: -1rem;
                ${_emotion.codeAreaTokens.codePaddingRight}: 2.875rem;

                ${_emotion.codeAreaTokens.fontFamily}: 'SB Sans Text Mono', sans-serif;
                ${_emotion.codeAreaTokens.fontSize}: ${_sdds_serv.bodyL.fontSize};
                ${_emotion.codeAreaTokens.fontStyle}: ${_sdds_serv.bodyL.fontStyle};
                ${_emotion.codeAreaTokens.fontWeight}: ${_sdds_serv.bodyL.fontWeight};
                ${_emotion.codeAreaTokens.letterSpacing}: ${_sdds_serv.bodyL.letterSpacing};
                ${_emotion.codeAreaTokens.lineHeight}: ${_sdds_serv.bodyL.lineHeight};

                ${_emotion.codeAreaTokens.scrollWidth}: 0.125rem;
            `,
            l: (0, _emotion.css)`
                ${_emotion.codeAreaTokens.wrapperPadding}: 1rem;
                ${_emotion.codeAreaTokens.wrapperGap}: 1rem;
                ${_emotion.codeAreaTokens.wrapperBorderRadius}: 1.875rem;

                ${_emotion.codeAreaTokens.overlayBorderRadius}: 0.875rem;
                ${_emotion.codeAreaTokens.overlayPadding}: 1rem;

                ${_emotion.codeAreaTokens.headerMarginBottom}: 1rem;
                ${_emotion.codeAreaTokens.contentGap}: 0.5rem;
                ${_emotion.codeAreaTokens.lineNumberGap}: 0.5rem;
                ${_emotion.codeAreaTokens.numerationPaddingRight}: 0.5rem;
                ${_emotion.codeAreaTokens.codeMarginRight}: -0.875rem;
                ${_emotion.codeAreaTokens.codePaddingRight}: 2.75rem;

                ${_emotion.codeAreaTokens.fontFamily}: 'SB Sans Text Mono', sans-serif;
                ${_emotion.codeAreaTokens.fontSize}: ${_sdds_serv.bodyL.fontSize};
                ${_emotion.codeAreaTokens.fontStyle}: ${_sdds_serv.bodyL.fontStyle};
                ${_emotion.codeAreaTokens.fontWeight}: ${_sdds_serv.bodyL.fontWeight};
                ${_emotion.codeAreaTokens.letterSpacing}: ${_sdds_serv.bodyL.letterSpacing};
                ${_emotion.codeAreaTokens.lineHeight}: ${_sdds_serv.bodyL.lineHeight};

                ${_emotion.codeAreaTokens.scrollWidth}: 0.125rem;
            `,
            m: (0, _emotion.css)`
                ${_emotion.codeAreaTokens.wrapperPadding}: 0.75rem;
                ${_emotion.codeAreaTokens.wrapperGap}: 0.75rem;
                ${_emotion.codeAreaTokens.wrapperBorderRadius}: 1.5rem;

                ${_emotion.codeAreaTokens.overlayBorderRadius}: 0.75rem;
                ${_emotion.codeAreaTokens.overlayPadding}: 0.75rem 0.875rem;

                ${_emotion.codeAreaTokens.headerMarginBottom}: 0.75rem;
                ${_emotion.codeAreaTokens.contentGap}: 0.375rem;
                ${_emotion.codeAreaTokens.lineNumberGap}: 0.375rem;
                ${_emotion.codeAreaTokens.numerationPaddingRight}: 0.375rem;
                ${_emotion.codeAreaTokens.codeMarginRight}: -0.75rem;
                ${_emotion.codeAreaTokens.codePaddingRight}: 2.5rem;

                ${_emotion.codeAreaTokens.fontFamily}: 'SB Sans Text Mono', sans-serif;
                ${_emotion.codeAreaTokens.fontSize}: ${_sdds_serv.bodyM.fontSize};
                ${_emotion.codeAreaTokens.fontStyle}: ${_sdds_serv.bodyM.fontStyle};
                ${_emotion.codeAreaTokens.fontWeight}: ${_sdds_serv.bodyM.fontWeight};
                ${_emotion.codeAreaTokens.letterSpacing}: ${_sdds_serv.bodyM.letterSpacing};
                ${_emotion.codeAreaTokens.lineHeight}: ${_sdds_serv.bodyM.lineHeight};

                ${_emotion.codeAreaTokens.scrollWidth}: 0.125rem;
            `,
            s: (0, _emotion.css)`
                ${_emotion.codeAreaTokens.wrapperPadding}: 0.5rem;
                ${_emotion.codeAreaTokens.wrapperGap}: 0.5rem;
                ${_emotion.codeAreaTokens.wrapperBorderRadius}: 1.125rem;

                ${_emotion.codeAreaTokens.overlayBorderRadius}: 0.625rem;
                ${_emotion.codeAreaTokens.overlayPadding}: 0.5rem 0.75rem;

                ${_emotion.codeAreaTokens.headerMarginBottom}: 0.5rem;
                ${_emotion.codeAreaTokens.contentGap}: 0.375rem;
                ${_emotion.codeAreaTokens.lineNumberGap}: 0.25rem;
                ${_emotion.codeAreaTokens.numerationPaddingRight}: 0.25rem;
                ${_emotion.codeAreaTokens.codeMarginRight}: -0.625rem;
                ${_emotion.codeAreaTokens.codePaddingRight}: 2.375rem;

                ${_emotion.codeAreaTokens.fontFamily}: 'SB Sans Text Mono', sans-serif;
                ${_emotion.codeAreaTokens.fontSize}: ${_sdds_serv.bodyS.fontSize};
                ${_emotion.codeAreaTokens.fontStyle}: ${_sdds_serv.bodyS.fontStyle};
                ${_emotion.codeAreaTokens.fontWeight}: ${_sdds_serv.bodyS.fontWeight};
                ${_emotion.codeAreaTokens.letterSpacing}: ${_sdds_serv.bodyS.letterSpacing};
                ${_emotion.codeAreaTokens.lineHeight}: ${_sdds_serv.bodyS.lineHeight};

                ${_emotion.codeAreaTokens.scrollWidth}: 0.125rem;
            `,
            xs: (0, _emotion.css)`
                ${_emotion.codeAreaTokens.wrapperPadding}: 0.5rem;
                ${_emotion.codeAreaTokens.wrapperGap}: 0.5rem;
                ${_emotion.codeAreaTokens.wrapperBorderRadius}: 1rem;

                ${_emotion.codeAreaTokens.overlayBorderRadius}: 0.5rem;
                ${_emotion.codeAreaTokens.overlayPadding}: 0.5rem;

                ${_emotion.codeAreaTokens.headerMarginBottom}: 0.5rem;
                ${_emotion.codeAreaTokens.contentGap}: 0.25rem;
                ${_emotion.codeAreaTokens.lineNumberGap}: 0.25rem;
                ${_emotion.codeAreaTokens.numerationPaddingRight}: 0.25rem;
                ${_emotion.codeAreaTokens.codeMarginRight}: -0.375rem;
                ${_emotion.codeAreaTokens.codePaddingRight}: 1.5rem;

                ${_emotion.codeAreaTokens.fontFamily}: 'SB Sans Text Mono', sans-serif;
                ${_emotion.codeAreaTokens.fontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_emotion.codeAreaTokens.fontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_emotion.codeAreaTokens.fontWeight}: ${_sdds_serv.bodyXS.fontWeight};
                ${_emotion.codeAreaTokens.letterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_emotion.codeAreaTokens.lineHeight}: ${_sdds_serv.bodyXS.lineHeight};

                ${_emotion.codeAreaTokens.scrollWidth}: 0.125rem;
            `
        }
    }
};
