"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: 'm'
    },
    variations: {
        view: {
            default: (0, _styledcomponents.css)`
                ${_styledcomponents.codeAreaTokens.wrapperBackgroundColor}: transparent;
                ${_styledcomponents.codeAreaTokens.fieldBackgroundColor}: ${_sdds_serv.surfaceTransparentPrimary};

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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