UNPKG

use-monaco

Version:

[![npm](https://img.shields.io/npm/v/use-monaco)](https://npm.im/use-monaco)

1,797 lines 58 kB
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const dot_object_1 = tslib_1.__importDefault(require("dot-object"));
const colors_1 = require("../utils/colors");
/*
  we use dot to convert objects to vscode dot notation

  the object style is better authoring experience, it helps
  organizing the file better, let's us lint the file and find
  duplicates / clashingstyles.
*/
const colors = {
    contrastBorder: colors_1.colors.blueGray[600],
    contrastActiveBorder: null,
    errorForeground: colors_1.colors.red[500],
    focusBorder: colors_1.colors.blueGray[600],
    foreground: colors_1.colors.blueGray[200],
    activityBar: {
        background: colors_1.colors.blueGray[700],
        border: colors_1.colors.blueGray[600],
    },
    activityBarBadge: {
        background: colors_1.colors.blueGray[500],
    },
    button: {
        background: colors_1.colors.blue[600],
        foreground: colors_1.colors.white,
        border: colors_1.colors.blue[600],
    },
    dropdown: {
        background: colors_1.colors.blueGray[700],
        border: colors_1.colors.blueGray[600],
        foreground: colors_1.colors.white,
    },
    editor: {
        background: colors_1.colors.blueGray[700],
        foreground: colors_1.colors.blueGray[300],
        hoverHighlightBackground: colors_1.colors.blueGray[500],
        inactiveSelectionBackground: colors_1.colors.blueGray[500],
        lineHighlightBackground: colors_1.colors.blueGray[600],
        lineHighlightBorder: colors_1.colors.blueGray[600],
        rangeHighlightBackground: colors_1.colors.blueGray[600],
        selectionBackground: colors_1.colors.blue[500] + "33",
        selectionHighlightBackground: colors_1.colors.blueGray[600],
        wordHighlightStrongBackground: colors_1.colors.blueGray[600],
        wordHighlightBackground: colors_1.colors.blueGray[600],
    },
    editorBracketMatch: {
        background: colors_1.colors.blueGray[600],
    },
    editorCodeLens: {
        foreground: colors_1.colors.blueGray[600],
    },
    editorCursor: {
        background: colors_1.colors.blueGray[700],
        foreground: colors_1.colors.white,
    },
    editorError: {
        border: colors_1.colors.blueGray[600],
        foreground: colors_1.colors.red[500],
    },
    editorGroup: {
        background: colors_1.colors.blueGray[700],
        border: colors_1.colors.blueGray[600],
        dropBackground: colors_1.colors.blue[500] + "1a",
    },
    editorGroupHeader: {
        noTabsBackground: null,
        tabsBackground: colors_1.colors.blueGray[700],
        tabsBorder: colors_1.colors.blueGray[600],
    },
    editorGutter: {
        background: colors_1.colors.blueGray[700],
        deletedBackground: colors_1.colors.red[500],
        modifiedBackground: colors_1.colors.blueGray[700],
    },
    editorHoverWidget: {
        background: colors_1.colors.blueGray[700],
        border: colors_1.colors.blueGray[600],
    },
    editorIndentGuide: {
        background: colors_1.colors.blueGray[700],
    },
    editorLink: {
        activeForeground: colors_1.colors.blueGray[300],
    },
    editorLineNumber: {
        foreground: colors_1.colors.blueGray[600],
        activeForeground: colors_1.colors.blueGray[400],
    },
    editorRuler: {
        foreground: colors_1.colors.white,
    },
    editorMarkerNavigation: {
        background: colors_1.colors.blueGray[700],
    },
    editorMarkerNavigationWarning: {
        background: colors_1.colors.blueGray[600],
    },
    editorMarkerNavigationError: {
        background: colors_1.colors.blueGray[700],
    },
    editorOverviewRuler: {
        border: colors_1.colors.blueGray[600],
        commonContentForeground: colors_1.colors.blueGray[600],
        currentContentForeground: colors_1.colors.red[500],
        incomingContentForeground: colors_1.colors.green,
    },
    editorSuggestWidget: {
        background: colors_1.colors.blueGray[700],
        border: colors_1.colors.blueGray[600],
        foreground: colors_1.colors.blueGray[300],
        selectedBackground: colors_1.colors.blueGray[600],
    },
    editorWarning: {
        border: colors_1.colors.blueGray[600],
        foreground: colors_1.colors.red[300],
    },
    editorWhitespace: {
        foreground: colors_1.colors.blueGray[500],
    },
    editorWidget: {
        background: colors_1.colors.blueGray[700],
        border: colors_1.colors.blueGray[600],
    },
    extensionButton: {
        prominentBackground: colors_1.colors.blueGray[600],
        prominentForeground: colors_1.colors.white,
        prominentHoverBackground: colors_1.colors.blueGray[600],
    },
    input: {
        background: colors_1.colors.blueGray[600],
        foreground: colors_1.colors.white,
        border: colors_1.colors.blueGray[900],
        placeholderForeground: colors_1.colors.blueGray[300],
    },
    inputOption: {
        activeBorder: colors_1.colors.blueGray[500],
    },
    inputValidation: {
        infoForeground: null,
        infoBackground: null,
        infoBorder: colors_1.colors.purple,
        warningForeground: null,
        warningBackground: null,
        warningBorder: colors_1.colors.yellow,
        errorForeground: null,
        errorBackground: null,
        errorBorder: colors_1.colors.red[500],
    },
    list: {
        dropBackground: colors_1.colors.blueGray[700],
        highlightForeground: colors_1.colors.blue[300],
        hoverBackground: colors_1.colors.blueGray[600],
        focusBackground: colors_1.colors.blueGray[600],
        activeSelectionBackground: colors_1.colors.blueGray[600],
        activeSelectionForeground: colors_1.colors.white,
        inactiveSelectionBackground: colors_1.colors.blueGray[600],
        inactiveSelectionForeground: colors_1.colors.white,
        warningForeground: colors_1.colors.yellow,
        errorForeground: colors_1.colors.red[500],
        hoverForeground: null,
        focusForeground: null,
    },
    menu: {
        background: colors_1.colors.blueGray[700],
        selectionBackground: colors_1.colors.blueGray[600],
    },
    peekView: {
        border: colors_1.colors.blueGray[500],
    },
    peekViewEditor: {
        background: colors_1.colors.blueGray[600],
        matchHighlightBackground: colors_1.colors.blue[500] + "33",
    },
    peekViewEditorGutter: {
        background: null,
    },
    peekViewResult: {
        background: colors_1.colors.blueGray[600],
        fileForeground: colors_1.colors.white,
        lineForeground: colors_1.colors.white,
        matchHighlightBackground: colors_1.colors.blue[500] + "33",
        selectionBackground: colors_1.colors.blueGray[600],
        selectionForeground: colors_1.colors.white,
    },
    peekViewTitle: {
        background: colors_1.colors.blueGray[600],
    },
    peekViewTitleDescription: {
        foreground: colors_1.colors.blue[700],
    },
    peekViewTitleLabel: {
        foreground: colors_1.colors.white,
    },
    scrollbarSlider: {
        activeBackground: colors_1.colors.white,
        border: colors_1.colors.blueGray[600],
        background: null,
        hoverBackground: null,
    },
    selection: {
        background: colors_1.colors.blue[500] + "40",
    },
    separator: {
        background: colors_1.colors.blueGray[900],
        foreground: colors_1.colors.white,
    },
    sideBar: {
        background: colors_1.colors.blueGray[700],
        hoverBackground: colors_1.colors.blueGray[600],
        border: colors_1.colors.blueGray[600],
        foreground: colors_1.colors.blueGray[200],
    },
    sideBarSectionHeader: {
        background: colors_1.colors.blueGray[700],
        foreground: colors_1.colors.white,
        border: colors_1.colors.blueGray[600],
    },
    sideBarTitle: {
        foreground: colors_1.colors.white,
    },
    statusBar: {
        background: colors_1.colors.blueGray[600],
        foreground: colors_1.colors.white,
        debuggingBackground: colors_1.colors.red[500],
        debuggingForeground: colors_1.colors.blueGray[600],
        noFolderBackground: colors_1.colors.blueGray[600],
        noFolderForeground: colors_1.colors.white,
        border: colors_1.colors.blueGray[600],
    },
    statusBarItem: {
        activeBackground: null,
        hoverBackground: null,
        prominentBackground: colors_1.colors.red[500],
        prominentHoverBackground: colors_1.colors.yellow,
        remoteForeground: colors_1.colors.blueGray[100],
        remoteBackground: colors_1.colors.purple,
    },
    tab: {
        activeBackground: colors_1.colors.blueGray[700],
        activeForeground: colors_1.colors.white,
        border: colors_1.colors.blueGray[600],
        activeBorder: colors_1.colors.blue[300],
        unfocusedActiveBorder: null,
        inactiveBackground: colors_1.colors.blueGray[700],
        inactiveForeground: colors_1.colors.blueGray[400],
        unfocusedActiveForeground: colors_1.colors.white,
        unfocusedInactiveForeground: colors_1.colors.blueGray[400],
    },
    terminal: {
        background: colors_1.colors.blueGray[700],
        foreground: colors_1.colors.white,
        ansiBrightBlack: colors_1.colors.blue[700],
        ansiBrightRed: colors_1.colors.red[500],
        ansiBrightGreen: colors_1.colors.green,
        ansiBrightYellow: colors_1.colors.yellow,
        ansiBlack: colors_1.colors.blueGray[600],
        ansiRed: colors_1.colors.red[500],
        ansiGreen: colors_1.colors.green,
        ansiYellow: colors_1.colors.yellow,
        ansiBlue: colors_1.colors.blue[700],
        ansiMagenta: colors_1.colors.purple,
        ansiCyan: colors_1.colors.blue[300],
        ansiWhite: colors_1.colors.white,
    },
    titleBar: {
        background: colors_1.colors.blueGray[700],
        activeBackground: colors_1.colors.blueGray[700],
        activeForeground: colors_1.colors.white,
        border: colors_1.colors.blueGray[600],
        inactiveBackground: colors_1.colors.blueGray[700],
        inactiveForeground: colors_1.colors.blueGray[300],
    },
};
const theme = {
    name: "CodeSandbox Black",
    type: "dark",
    // convert to vscode style flat dot notation
    colors: dot_object_1.default.dot(colors),
    tokenColors: [
        {
            name: "Comment",
            scope: ["comment"],
            settings: {
                foreground: "#5C6370",
                fontStyle: "italic",
            },
        },
        {
            name: "Comment Markup Link",
            scope: ["comment markup.link"],
            settings: {
                foreground: "#5C6370",
            },
        },
        {
            name: "Entity Name Type",
            scope: ["entity.name.type"],
            settings: {
                foreground: "#E5C07B",
            },
        },
        {
            name: "Entity Other Inherited Class",
            scope: ["entity.other.inherited-class"],
            settings: {
                foreground: "#98C379",
            },
        },
        {
            name: "Keyword",
            scope: ["keyword"],
            settings: {
                foreground: "#C678DD",
            },
        },
        {
            name: "Keyword Control",
            scope: ["keyword.control"],
            settings: {
                foreground: "#C678DD",
            },
        },
        {
            name: "Keyword Operator",
            scope: ["keyword.operator"],
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "Keyword Other Special Method",
            scope: ["keyword.other.special-method"],
            settings: {
                foreground: "#61AFEF",
            },
        },
        {
            name: "Keyword Other Unit",
            scope: ["keyword.other.unit"],
            settings: {
                foreground: "#D19A66",
            },
        },
        {
            name: "Storage",
            scope: ["storage"],
            settings: {
                foreground: "#C678DD",
            },
        },
        {
            name: "Storage Type Annotation,storage Type Primitive",
            scope: ["storage.type.annotation", "storage.type.primitive"],
            settings: {
                foreground: "#C678DD",
            },
        },
        {
            name: "Storage Modifier Package,storage Modifier Import",
            scope: ["storage.modifier.package", "storage.modifier.import"],
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "Constant",
            scope: ["constant"],
            settings: {
                foreground: "#D19A66",
            },
        },
        {
            name: "Constant Variable",
            scope: ["constant.variable"],
            settings: {
                foreground: "#D19A66",
            },
        },
        {
            name: "Constant Character Escape",
            scope: ["constant.character.escape"],
            settings: {
                foreground: "#56B6C2",
            },
        },
        {
            name: "Constant Numeric",
            scope: ["constant.numeric"],
            settings: {
                foreground: "#D19A66",
            },
        },
        {
            name: "Constant Other Color",
            scope: ["constant.other.color"],
            settings: {
                foreground: "#56B6C2",
            },
        },
        {
            name: "Constant Other Symbol",
            scope: ["constant.other.symbol"],
            settings: {
                foreground: "#56B6C2",
            },
        },
        {
            name: "Variable",
            scope: ["variable"],
            settings: {
                foreground: "#E06C75",
            },
        },
        {
            name: "Variable Interpolation",
            scope: ["variable.interpolation"],
            settings: {
                foreground: "#BE5046",
            },
        },
        {
            name: "Variable Parameter",
            scope: ["variable.parameter"],
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "String",
            scope: ["string"],
            settings: {
                foreground: "#98C379",
            },
        },
        {
            name: "String Regexp",
            scope: ["string.regexp"],
            settings: {
                foreground: "#56B6C2",
            },
        },
        {
            name: "String Regexp Source Ruby Embedded",
            scope: ["string.regexp source.ruby.embedded"],
            settings: {
                foreground: "#E5C07B",
            },
        },
        {
            name: "String Other Link",
            scope: ["string.other.link"],
            settings: {
                foreground: "#E06C75",
            },
        },
        {
            name: "Punctuation Definition Comment",
            scope: ["punctuation.definition.comment"],
            settings: {
                foreground: "#5C6370",
            },
        },
        {
            name: "Punctuation Definition Method Parameters,punctuation Definition Function Parameters,punctuation Definition Parameters,punctuation Definition Separator,punctuation Definition Seperator,punctuation Definition Array",
            scope: [
                "punctuation.definition.method-parameters",
                "punctuation.definition.function-parameters",
                "punctuation.definition.parameters",
                "punctuation.definition.separator",
                "punctuation.definition.seperator",
                "punctuation.definition.array",
            ],
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "Punctuation Definition Heading,punctuation Definition Identity",
            scope: [
                "punctuation.definition.heading",
                "punctuation.definition.identity",
            ],
            settings: {
                foreground: "#61AFEF",
            },
        },
        {
            name: "Punctuation Definition Bold",
            scope: ["punctuation.definition.bold"],
            settings: {
                foreground: "#E5C07B",
                fontStyle: "bold",
            },
        },
        {
            name: "Punctuation Definition Italic",
            scope: ["punctuation.definition.italic"],
            settings: {
                foreground: "#C678DD",
                fontStyle: "italic",
            },
        },
        {
            name: "Punctuation Section Embedded",
            scope: ["punctuation.section.embedded"],
            settings: {
                foreground: "#BE5046",
            },
        },
        {
            name: "Punctuation Section Method,punctuation Section Class,punctuation Section Inner Class",
            scope: [
                "punctuation.section.method",
                "punctuation.section.class",
                "punctuation.section.inner-class",
            ],
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "Support Class",
            scope: ["support.class"],
            settings: {
                foreground: "#E5C07B",
            },
        },
        {
            name: "Support Type",
            scope: ["support.type"],
            settings: {
                foreground: "#56B6C2",
            },
        },
        {
            name: "Support Function",
            scope: ["support.function"],
            settings: {
                foreground: "#56B6C2",
            },
        },
        {
            name: "Support Function Any Method",
            scope: ["support.function.any-method"],
            settings: {
                foreground: "#61AFEF",
            },
        },
        {
            name: "Entity Name Function",
            scope: ["entity.name.function"],
            settings: {
                foreground: "#61AFEF",
            },
        },
        {
            name: "Entity Name Class,entity Name Type Class",
            scope: ["entity.name.class", "entity.name.type.class"],
            settings: {
                foreground: "#E5C07B",
            },
        },
        {
            name: "Entity Name Section",
            scope: ["entity.name.section"],
            settings: {
                foreground: "#61AFEF",
            },
        },
        {
            name: "Entity Name Tag",
            scope: ["entity.name.tag"],
            settings: {
                foreground: "#E06C75",
            },
        },
        {
            name: "Entity Other Attribute Name",
            scope: ["entity.other.attribute-name"],
            settings: {
                foreground: "#D19A66",
            },
        },
        {
            name: "Entity Other Attribute Name Id",
            scope: ["entity.other.attribute-name.id"],
            settings: {
                foreground: "#61AFEF",
            },
        },
        {
            name: "Meta Class",
            scope: ["meta.class"],
            settings: {
                foreground: "#E5C07B",
            },
        },
        {
            name: "Meta Class Body",
            scope: ["meta.class.body"],
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "Meta Method Call,meta Method",
            scope: ["meta.method-call", "meta.method"],
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "Meta Definition Variable",
            scope: ["meta.definition.variable"],
            settings: {
                foreground: "#E06C75",
            },
        },
        {
            name: "Meta Link",
            scope: ["meta.link"],
            settings: {
                foreground: "#D19A66",
            },
        },
        {
            name: "Meta Require",
            scope: ["meta.require"],
            settings: {
                foreground: "#61AFEF",
            },
        },
        {
            name: "Meta Selector",
            scope: ["meta.selector"],
            settings: {
                foreground: "#C678DD",
            },
        },
        {
            name: "Meta Separator",
            scope: ["meta.separator"],
            settings: {
                background: "#373B41",
                foreground: "#ABB2BF",
            },
        },
        {
            name: "Meta Tag",
            scope: ["meta.tag"],
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "Underline",
            scope: ["underline"],
            settings: {
                "text-decoration": "underline",
            },
        },
        {
            name: "None",
            scope: ["none"],
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "Invalid Deprecated",
            scope: ["invalid.deprecated"],
            settings: {
                foreground: "#523D14",
                background: "#E0C285",
            },
        },
        {
            name: "Invalid Illegal",
            scope: ["invalid.illegal"],
            settings: {
                foreground: "white",
                background: "#E05252",
            },
        },
        {
            name: "Markup Bold",
            scope: ["markup.bold"],
            settings: {
                foreground: "#D19A66",
                fontStyle: "bold",
            },
        },
        {
            name: "Markup Changed",
            scope: ["markup.changed"],
            settings: {
                foreground: "#C678DD",
            },
        },
        {
            name: "Markup Deleted",
            scope: ["markup.deleted"],
            settings: {
                foreground: "#E06C75",
            },
        },
        {
            name: "Markup Italic",
            scope: ["markup.italic"],
            settings: {
                foreground: "#C678DD",
                fontStyle: "italic",
            },
        },
        {
            name: "Markup Heading",
            scope: ["markup.heading"],
            settings: {
                foreground: "#E06C75",
            },
        },
        {
            name: "Markup Heading Punctuation Definition Heading",
            scope: ["markup.heading punctuation.definition.heading"],
            settings: {
                foreground: "#61AFEF",
            },
        },
        {
            name: "Markup Link",
            scope: ["markup.link"],
            settings: {
                foreground: "#C678DD",
            },
        },
        {
            name: "Markup Inserted",
            scope: ["markup.inserted"],
            settings: {
                foreground: "#98C379",
            },
        },
        {
            name: "Markup Quote",
            scope: ["markup.quote"],
            settings: {
                foreground: "#D19A66",
            },
        },
        {
            name: "Markup Raw",
            scope: ["markup.raw"],
            settings: {
                foreground: "#98C379",
            },
        },
        {
            name: "Source C Keyword Operator",
            scope: ["source.c keyword.operator"],
            settings: {
                foreground: "#C678DD",
            },
        },
        {
            name: "Source Cpp Keyword Operator",
            scope: ["source.cpp keyword.operator"],
            settings: {
                foreground: "#C678DD",
            },
        },
        {
            name: "Source Cs Keyword Operator",
            scope: ["source.cs keyword.operator"],
            settings: {
                foreground: "#C678DD",
            },
        },
        {
            name: "Source Css Property Name,source Css Property Value",
            scope: ["source.css property-name", "source.css property-value"],
            settings: {
                foreground: "#828997",
            },
        },
        {
            name: "Source Css Property Name Support,source Css Property Value Support",
            scope: [
                "source.css property-name.support",
                "source.css property-value.support",
            ],
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "Source Gfm Markup",
            scope: ["source.gfm markup"],
            settings: {
                "-webkit-font-smoothing": "auto",
            },
        },
        {
            name: "Source Gfm Link Entity",
            scope: ["source.gfm link entity"],
            settings: {
                foreground: "#61AFEF",
            },
        },
        {
            name: "Source Go Storage Type String",
            scope: ["source.go storage.type.string"],
            settings: {
                foreground: "#C678DD",
            },
        },
        {
            name: "Source Ini Keyword Other Definition Ini",
            scope: ["source.ini keyword.other.definition.ini"],
            settings: {
                foreground: "#E06C75",
            },
        },
        {
            name: "Source Java Storage Modifier Import",
            scope: ["source.java storage.modifier.import"],
            settings: {
                foreground: "#E5C07B",
            },
        },
        {
            name: "Source Java Storage Type",
            scope: ["source.java storage.type"],
            settings: {
                foreground: "#E5C07B",
            },
        },
        {
            name: "Source Java Keyword Operator Instanceof",
            scope: ["source.java keyword.operator.instanceof"],
            settings: {
                foreground: "#C678DD",
            },
        },
        {
            name: "Source Java Properties Meta Key Pair",
            scope: ["source.java-properties meta.key-pair"],
            settings: {
                foreground: "#E06C75",
            },
        },
        {
            name: "Source Java Properties Meta Key Pair > Punctuation",
            scope: ["source.java-properties meta.key-pair > punctuation"],
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "Source Js Keyword Operator",
            scope: ["source.js keyword.operator"],
            settings: {
                foreground: "#56B6C2",
            },
        },
        {
            name: "Source Js Keyword Operator Delete,source Js Keyword Operator In,source Js Keyword Operator Of,source Js Keyword Operator Instanceof,source Js Keyword Operator New,source Js Keyword Operator Typeof,source Js Keyword Operator Void",
            scope: [
                "source.js keyword.operator.delete",
                "source.js keyword.operator.in",
                "source.js keyword.operator.of",
                "source.js keyword.operator.instanceof",
                "source.js keyword.operator.new",
                "source.js keyword.operator.typeof",
                "source.js keyword.operator.void",
            ],
            settings: {
                foreground: "#C678DD",
            },
        },
        {
            name: "Source Json Meta Structure Dictionary Json > String Quoted Json",
            scope: [
                "source.json meta.structure.dictionary.json > string.quoted.json",
            ],
            settings: {
                foreground: "#E06C75",
            },
        },
        {
            name: "Source Json Meta Structure Dictionary Json > String Quoted Json > Punctuation String",
            scope: [
                "source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string",
            ],
            settings: {
                foreground: "#E06C75",
            },
        },
        {
            name: "Source Json Meta Structure Dictionary Json > Value Json > String Quoted Json,source Json Meta Structure Array Json > Value Json > String Quoted Json,source Json Meta Structure Dictionary Json > Value Json > String Quoted Json > Punctuation,source Json Meta Structure Array Json > Value Json > String Quoted Json > Punctuation",
            scope: [
                "source.json meta.structure.dictionary.json > value.json > string.quoted.json",
                "source.json meta.structure.array.json > value.json > string.quoted.json",
                "source.json meta.structure.dictionary.json > value.json > string.quoted.json > punctuation",
                "source.json meta.structure.array.json > value.json > string.quoted.json > punctuation",
            ],
            settings: {
                foreground: "#98C379",
            },
        },
        {
            name: "Source Json Meta Structure Dictionary Json > Constant Language Json,source Json Meta Structure Array Json > Constant Language Json",
            scope: [
                "source.json meta.structure.dictionary.json > constant.language.json",
                "source.json meta.structure.array.json > constant.language.json",
            ],
            settings: {
                foreground: "#56B6C2",
            },
        },
        {
            name: "Source Ruby Constant Other Symbol > Punctuation",
            scope: ["source.ruby constant.other.symbol > punctuation"],
            settings: {
                foreground: "inherit",
            },
        },
        {
            name: "Source Python Keyword Operator Logical Python",
            scope: ["source.python keyword.operator.logical.python"],
            settings: {
                foreground: "#C678DD",
            },
        },
        {
            name: "Source Python Variable Parameter",
            scope: ["source.python variable.parameter"],
            settings: {
                foreground: "#D19A66",
            },
        },
        {
            name: "Meta Attribute Rust",
            scope: ["meta.attribute.rust"],
            settings: {
                foreground: "#BCC199",
            },
        },
        {
            name: "Storage Modifier Lifetime Rust,entity Name Lifetime Rust",
            scope: ["storage.modifier.lifetime.rust", "entity.name.lifetime.rust"],
            settings: {
                foreground: "#33E8EC",
            },
        },
        {
            name: "Keyword Unsafe Rust",
            scope: ["keyword.unsafe.rust"],
            settings: {
                foreground: "#CC6B73",
            },
        },
        {
            name: "customrule",
            scope: "customrule",
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "[VSCODE-CUSTOM] Support Type Property Name",
            scope: "support.type.property-name",
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "[VSCODE-CUSTOM] Punctuation for Quoted String",
            scope: "string.quoted.double punctuation",
            settings: {
                foreground: "#98C379",
            },
        },
        {
            name: "[VSCODE-CUSTOM] Support Constant",
            scope: "support.constant",
            settings: {
                foreground: "#D19A66",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JSON Property Name",
            scope: "support.type.property-name.json",
            settings: {
                foreground: "#E06C75",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JSON Punctuation for Property Name",
            scope: "support.type.property-name.json punctuation",
            settings: {
                foreground: "#E06C75",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Punctuation for key-value",
            scope: [
                "punctuation.separator.key-value.ts",
                "punctuation.separator.key-value.js",
                "punctuation.separator.key-value.tsx",
            ],
            settings: {
                foreground: "#56B6C2",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Embedded Operator",
            scope: [
                "source.js.embedded.html keyword.operator",
                "source.ts.embedded.html keyword.operator",
            ],
            settings: {
                foreground: "#56B6C2",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Variable Other Readwrite",
            scope: [
                "variable.other.readwrite.js",
                "variable.other.readwrite.ts",
                "variable.other.readwrite.tsx",
            ],
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Support Variable Dom",
            scope: ["support.variable.dom.js", "support.variable.dom.ts"],
            settings: {
                foreground: "#E06C75",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Support Variable Property Dom",
            scope: [
                "support.variable.property.dom.js",
                "support.variable.property.dom.ts",
            ],
            settings: {
                foreground: "#E06C75",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Interpolation String Punctuation",
            scope: [
                "meta.template.expression.js punctuation.definition",
                "meta.template.expression.ts punctuation.definition",
            ],
            settings: {
                foreground: "#BE5046",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Punctuation Type Parameters",
            scope: [
                "source.ts punctuation.definition.typeparameters",
                "source.js punctuation.definition.typeparameters",
                "source.tsx punctuation.definition.typeparameters",
            ],
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Definition Block",
            scope: [
                "source.ts punctuation.definition.block",
                "source.js punctuation.definition.block",
                "source.tsx punctuation.definition.block",
            ],
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Punctuation Separator Comma",
            scope: [
                "source.ts punctuation.separator.comma",
                "source.js punctuation.separator.comma",
                "source.tsx punctuation.separator.comma",
            ],
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Variable Property",
            scope: [
                "support.variable.property.js",
                "support.variable.property.ts",
                "support.variable.property.tsx",
            ],
            settings: {
                foreground: "#E06C75",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Default Keyword",
            scope: [
                "keyword.control.default.js",
                "keyword.control.default.ts",
                "keyword.control.default.tsx",
            ],
            settings: {
                foreground: "#E06C75",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Instanceof Keyword",
            scope: [
                "keyword.operator.expression.instanceof.js",
                "keyword.operator.expression.instanceof.ts",
                "keyword.operator.expression.instanceof.tsx",
            ],
            settings: {
                foreground: "#C678DD",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Of Keyword",
            scope: [
                "keyword.operator.expression.of.js",
                "keyword.operator.expression.of.ts",
                "keyword.operator.expression.of.tsx",
            ],
            settings: {
                foreground: "#C678DD",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Braces/Brackets",
            scope: [
                "meta.brace.round.js",
                "meta.array-binding-pattern-variable.js",
                "meta.brace.square.js",
                "meta.brace.round.ts",
                "meta.array-binding-pattern-variable.ts",
                "meta.brace.square.ts",
                "meta.brace.round.tsx",
                "meta.array-binding-pattern-variable.tsx",
                "meta.brace.square.tsx",
            ],
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Punctuation Accessor",
            scope: [
                "source.js punctuation.accessor",
                "source.ts punctuation.accessor",
                "source.tsx punctuation.accessor",
            ],
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Punctuation Terminator Statement",
            scope: [
                "punctuation.terminator.statement.js",
                "punctuation.terminator.statement.ts",
                "punctuation.terminator.statement.tsx",
            ],
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Array variables",
            scope: [
                "meta.array-binding-pattern-variable.js variable.other.readwrite.js",
                "meta.array-binding-pattern-variable.ts variable.other.readwrite.ts",
                "meta.array-binding-pattern-variable.tsx variable.other.readwrite.tsx",
            ],
            settings: {
                foreground: "#D19A66",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Support Variables",
            scope: [
                "source.js support.variable",
                "source.ts support.variable",
                "source.tsx support.variable",
            ],
            settings: {
                foreground: "#E06C75",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Support Variables",
            scope: [
                "variable.other.constant.property.js",
                "variable.other.constant.property.ts",
                "variable.other.constant.property.tsx",
            ],
            settings: {
                foreground: "#D19A66",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Keyword New",
            scope: [
                "keyword.operator.new.ts",
                "keyword.operator.new.j",
                "keyword.operator.new.tsx",
            ],
            settings: {
                foreground: "#C678DD",
            },
        },
        {
            name: "[VSCODE-CUSTOM] TS Keyword Operator",
            scope: ["source.ts keyword.operator", "source.tsx keyword.operator"],
            settings: {
                foreground: "#56B6C2",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Punctuation Parameter Separator",
            scope: [
                "punctuation.separator.parameter.js",
                "punctuation.separator.parameter.ts",
                "punctuation.separator.parameter.tsx ",
            ],
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Import",
            scope: [
                "constant.language.import-export-all.js",
                "constant.language.import-export-all.ts",
            ],
            settings: {
                foreground: "#E06C75",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JSX/TSX Import",
            scope: [
                "constant.language.import-export-all.jsx",
                "constant.language.import-export-all.tsx",
            ],
            settings: {
                foreground: "#56B6C2",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Keyword Control As",
            scope: [
                "keyword.control.as.js",
                "keyword.control.as.ts",
                "keyword.control.as.jsx",
                "keyword.control.as.tsx",
            ],
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Variable Alias",
            scope: [
                "variable.other.readwrite.alias.js",
                "variable.other.readwrite.alias.ts",
                "variable.other.readwrite.alias.jsx",
                "variable.other.readwrite.alias.tsx",
            ],
            settings: {
                foreground: "#E06C75",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Constants",
            scope: [
                "variable.other.constant.js",
                "variable.other.constant.ts",
                "variable.other.constant.jsx",
                "variable.other.constant.tsx",
            ],
            settings: {
                foreground: "#D19A66",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Export Variable",
            scope: [
                "meta.export.default.js variable.other.readwrite.js",
                "meta.export.default.ts variable.other.readwrite.ts",
            ],
            settings: {
                foreground: "#E06C75",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Template Strings Punctuation Accessor",
            scope: [
                "source.js meta.template.expression.js punctuation.accessor",
                "source.ts meta.template.expression.ts punctuation.accessor",
                "source.tsx meta.template.expression.tsx punctuation.accessor",
            ],
            settings: {
                foreground: "#98C379",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Import equals",
            scope: [
                "source.js meta.import-equals.external.js keyword.operator",
                "source.jsx meta.import-equals.external.jsx keyword.operator",
                "source.ts meta.import-equals.external.ts keyword.operator",
                "source.tsx meta.import-equals.external.tsx keyword.operator",
            ],
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Type Module",
            scope: "entity.name.type.module.js,entity.name.type.module.ts,entity.name.type.module.jsx,entity.name.type.module.tsx",
            settings: {
                foreground: "#98C379",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Meta Class",
            scope: "meta.class.js,meta.class.ts,meta.class.jsx,meta.class.tsx",
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Property Definition Variable",
            scope: [
                "meta.definition.property.js variable",
                "meta.definition.property.ts variable",
                "meta.definition.property.jsx variable",
                "meta.definition.property.tsx variable",
            ],
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Meta Type Parameters Type",
            scope: [
                "meta.type.parameters.js support.type",
                "meta.type.parameters.jsx support.type",
                "meta.type.parameters.ts support.type",
                "meta.type.parameters.tsx support.type",
            ],
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Meta Tag Keyword Operator",
            scope: [
                "source.js meta.tag.js keyword.operator",
                "source.jsx meta.tag.jsx keyword.operator",
                "source.ts meta.tag.ts keyword.operator",
                "source.tsx meta.tag.tsx keyword.operator",
            ],
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Meta Tag Punctuation",
            scope: [
                "meta.tag.js punctuation.section.embedded",
                "meta.tag.jsx punctuation.section.embedded",
                "meta.tag.ts punctuation.section.embedded",
                "meta.tag.tsx punctuation.section.embedded",
            ],
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Meta Array Literal Variable",
            scope: [
                "meta.array.literal.js variable",
                "meta.array.literal.jsx variable",
                "meta.array.literal.ts variable",
                "meta.array.literal.tsx variable",
            ],
            settings: {
                foreground: "#E5C07B",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Module Exports",
            scope: [
                "support.type.object.module.js",
                "support.type.object.module.jsx",
                "support.type.object.module.ts",
                "support.type.object.module.tsx",
            ],
            settings: {
                foreground: "#E06C75",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JSON Constants",
            scope: ["constant.language.json"],
            settings: {
                foreground: "#56B6C2",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Object Constants",
            scope: [
                "variable.other.constant.object.js",
                "variable.other.constant.object.jsx",
                "variable.other.constant.object.ts",
                "variable.other.constant.object.tsx",
            ],
            settings: {
                foreground: "#D19A66",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Properties Keyword",
            scope: [
                "storage.type.property.js",
                "storage.type.property.jsx",
                "storage.type.property.ts",
                "storage.type.property.tsx",
            ],
            settings: {
                foreground: "#56B6C2",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Single Quote Inside Templated String",
            scope: [
                "meta.template.expression.js string.quoted punctuation.definition",
                "meta.template.expression.jsx string.quoted punctuation.definition",
                "meta.template.expression.ts string.quoted punctuation.definition",
                "meta.template.expression.tsx string.quoted punctuation.definition",
            ],
            settings: {
                foreground: "#98C379",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS Backtick inside Templated String",
            scope: [
                "meta.template.expression.js string.template punctuation.definition.string.template",
                "meta.template.expression.jsx string.template punctuation.definition.string.template",
                "meta.template.expression.ts string.template punctuation.definition.string.template",
                "meta.template.expression.tsx string.template punctuation.definition.string.template",
            ],
            settings: {
                foreground: "#98C379",
            },
        },
        {
            name: "[VSCODE-CUSTOM] JS/TS In Keyword for Loops",
            scope: [
                "keyword.operator.expression.in.js",
                "keyword.operator.expression.in.jsx",
                "keyword.operator.expression.in.ts",
                "keyword.operator.expression.in.tsx",
            ],
            settings: {
                foreground: "#C678DD",
            },
        },
        {
            name: "[VSCODE-CUSTOM] Python Constants Other",
            scope: "source.python constant.other",
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "[VSCODE-CUSTOM] Python Constants",
            scope: "source.python constant",
            settings: {
                foreground: "#D19A66",
            },
        },
        {
            name: "[VSCODE-CUSTOM] Python Placeholder Character",
            scope: "constant.character.format.placeholder.other.python storage",
            settings: {
                foreground: "#D19A66",
            },
        },
        {
            name: "[VSCODE-CUSTOM] Python Magic",
            scope: "support.variable.magic.python",
            settings: {
                foreground: "#E06C75",
            },
        },
        {
            name: "[VSCODE-CUSTOM] Python Meta Function Parameters",
            scope: "meta.function.parameters.python",
            settings: {
                foreground: "#D19A66",
            },
        },
        {
            name: "[VSCODE-CUSTOM] Python Function Separator Annotation",
            scope: "punctuation.separator.annotation.python",
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "[VSCODE-CUSTOM] Python Function Separator Punctuation",
            scope: "punctuation.separator.parameters.python",
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "[VSCODE-CUSTOM] CSharp Fields",
            scope: "entity.name.variable.field.cs",
            settings: {
                foreground: "#E06C75",
            },
        },
        {
            name: "[VSCODE-CUSTOM] CSharp Keyword Operators",
            scope: "source.cs keyword.operator",
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "[VSCODE-CUSTOM] CSharp Variables",
            scope: "variable.other.readwrite.cs",
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "[VSCODE-CUSTOM] CSharp Variables Other",
            scope: "variable.other.object.cs",
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "[VSCODE-CUSTOM] CSharp Property Other",
            scope: "variable.other.object.property.cs",
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "[VSCODE-CUSTOM] CSharp Property",
            scope: "entity.name.variable.property.cs",
            settings: {
                foreground: "#61AFEF",
            },
        },
        {
            name: "[VSCODE-CUSTOM] CSharp Storage Type",
            scope: "storage.type.cs",
            settings: {
                foreground: "#E5C07B",
            },
        },
        {
            name: "[VSCODE-CUSTOM] Rust Unsafe Keyword",
            scope: "keyword.other.unsafe.rust",
            settings: {
                foreground: "#E06C75",
            },
        },
        {
            name: "[VSCODE-CUSTOM] Markdown Raw Block",
            scope: "markup.raw.block.markdown",
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "[VSCODE-CUSTOM] Shell Variables Punctuation Definition",
            scope: "punctuation.definition.variable.shell",
            settings: {
                foreground: "#E06C75",
            },
        },
        {
            name: "[VSCODE-CUSTOM] Css Support Constant Value",
            scope: "support.constant.property-value.css",
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "[VSCODE-CUSTOM] Css Punctuation Definition Constant",
            scope: "punctuation.definition.constant.css",
            settings: {
                foreground: "#D19A66",
            },
        },
        {
            name: "[VSCODE-CUSTOM] Sass Punctuation for key-value",
            scope: "punctuation.separator.key-value.scss",
            settings: {
                foreground: "#E06C75",
            },
        },
        {
            name: "[VSCODE-CUSTOM] Sass Punctuation for constants",
            scope: "punctuation.definition.constant.scss",
            settings: {
                foreground: "#D19A66",
            },
        },
        {
            name: "[VSCODE-CUSTOM] Sass Punctuation for key-value",
            scope: "meta.property-list.scss punctuation.separator.key-value.scss",
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "[VSCODE-CUSTOM] Java Storage Type Primitive Array",
            scope: "storage.type.primitive.array.java",
            settings: {
                foreground: "#E5C07B",
            },
        },
        {
            name: "[VSCODE-CUSTOM] Markdown headings",
            scope: "entity.name.section.markdown",
            settings: {
                foreground: "#E06C75",
            },
        },
        {
            name: "[VSCODE-CUSTOM] Markdown heading Punctuation Definition",
            scope: "punctuation.definition.heading.markdown",
            settings: {
                foreground: "#E06C75",
            },
        },
        {
            name: "[VSCODE-CUSTOM] Markdown heading setext",
            scope: "markup.heading.setext",
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "[VSCODE-CUSTOM] Markdown Punctuation Definition Bold",
            scope: "punctuation.definition.bold.markdown",
            settings: {
                foreground: "#D19A66",
            },
        },
        {
            name: "[VSCODE-CUSTOM] Markdown Inline Raw",
            scope: "markup.inline.raw.markdown",
            settings: {
                foreground: "#98C379",
            },
        },
        {
            name: "[VSCODE-CUSTOM] Markdown List Punctuation Definition",
            scope: "beginning.punctuation.definition.list.markdown",
            settings: {
                foreground: "#E06C75",
            },
        },
        {
            name: "[VSCODE-CUSTOM] Markdown Quote",
            scope: "markup.quote.markdown",
            settings: {
                foreground: "#5C6370",
                fontStyle: "italic",
            },
        },
        {
            name: "[VSCODE-CUSTOM] Markdown Punctuation Definition String",
            scope: [
                "punctuation.definition.string.begin.markdown",
                "punctuation.definition.string.end.markdown",
                "punctuation.definition.metadata.markdown",
            ],
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            name: "[VSCODE-CUSTOM] Markdown Punctuation Definition Link",
            scope: "punctuation.definition.metadata.markdown",
            settings: {
                foreground: "#C678DD",
            },
        },
        {
            name: "[VSCODE-CUSTOM] Markdown Underline Link/Image",
            scope: [
                "markup.underline.link.markdown",
                "markup.underline.link.image.markdown",
            ],
            settings: {
                foreground: "#C678DD",
            },
        },
        {
            name: "[VSCODE-CUSTOM] Markdown Link Title/Description",
            scope: [
                "string.other.link.title.markdown",
                "string.other.link.description.markdown",
            ],
            settings: {
                foreground: "#61AFEF",
            },
        },
        {
            name: "[VSCODE-CUSTOM] Ruby Punctuation Separator Variable",
            scope: "punctuation.separator.variable.ruby",
            settings: {
                foreground: "#E06C75",
            },
        },
        {
            name: "[VSCODE-CUSTOM] Ruby Other Constant Variable",
            scope: "variable.other.constant.ruby",
            settings: {
                foreground: "#D19A66",
            },
        },
        {
            name: "[VSCODE-CUSTOM] Ruby Keyword Operator Other",
            scope: "keyword.operator.other.ruby",
            settings: {
                foreground: "#98C379",
            },
        },
        {
            name: "[VSCODE-CUSTOM] PHP Punctuation Variable Definition",
            scope: "punctuation.definition.variable.php",
            settings: {
                foreground: "#E06C75",
            },
        },
        {
            name: "[VSCODE-CUSTOM] PHP Meta Class",
            scope: "meta.class.php",
            settings: {
                foreground: "#ABB2BF",
            },
        },
        {
            scope: "token.info-token",
            settings: {
                foreground: "#6796e6",
            },
        },
        {
            scope: "token.warn-token",
            settings: {
                foreground: "#cd9731",
            },
        },
        {
            scope: "token.error-token",
            settings: {
                foreground: "#f44747",
            },
        },
        {
            scope: "token.debug-token",
            settings: {
                foreground: "#b267e6",
            },
        },
    ],
};
exports.default = theme;
//# sourceMappingURL=codesandbox-black.js.map