2022-01-30 02:27:49 +01:00
|
|
|
export interface IScriptEditorTheme {
|
|
|
|
base: string;
|
|
|
|
inherit: boolean;
|
|
|
|
common: {
|
|
|
|
accent: string;
|
|
|
|
bg: string;
|
|
|
|
fg: string;
|
|
|
|
};
|
|
|
|
syntax: {
|
|
|
|
tag: string;
|
|
|
|
entity: string;
|
|
|
|
string: string;
|
|
|
|
regexp: string;
|
|
|
|
markup: string;
|
|
|
|
keyword: string;
|
|
|
|
comment: string;
|
|
|
|
constant: string;
|
|
|
|
error: string;
|
|
|
|
};
|
|
|
|
ui: {
|
|
|
|
line: string;
|
|
|
|
panel: {
|
|
|
|
bg: string;
|
2022-01-30 05:39:13 +01:00
|
|
|
selected: string;
|
2022-01-30 02:27:49 +01:00
|
|
|
border: string;
|
|
|
|
};
|
|
|
|
selection: {
|
|
|
|
bg: string;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
export const defaultMonacoTheme: IScriptEditorTheme = {
|
|
|
|
base: "vs-dark",
|
|
|
|
inherit: true,
|
|
|
|
common: {
|
|
|
|
accent: "b5cea8",
|
|
|
|
bg: "1E1E1E",
|
|
|
|
fg: "D4D4D4",
|
|
|
|
},
|
|
|
|
syntax: {
|
|
|
|
tag: "569cd6",
|
|
|
|
entity: "569cd6",
|
|
|
|
string: "ce9178",
|
|
|
|
regexp: "646695",
|
|
|
|
markup: "569cd6",
|
|
|
|
keyword: "569cd6",
|
|
|
|
comment: "6A9955",
|
2022-01-30 05:39:13 +01:00
|
|
|
constant: "569cd6",
|
2022-01-30 02:27:49 +01:00
|
|
|
error: "f44747"
|
|
|
|
},
|
|
|
|
ui: {
|
|
|
|
line: "1E1E1E",
|
|
|
|
panel: {
|
|
|
|
bg: "252526",
|
2022-01-30 05:39:13 +01:00
|
|
|
selected: "252526",
|
2022-01-30 02:27:49 +01:00
|
|
|
border: "1E1E1E"
|
|
|
|
},
|
|
|
|
selection: {
|
|
|
|
bg: "ADD6FF26"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export function makeTheme(theme: IScriptEditorTheme): any {
|
|
|
|
const themeRules = [
|
|
|
|
{
|
|
|
|
token: "",
|
|
|
|
background: theme.ui.line,
|
|
|
|
foreground: theme.common.fg
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "identifier",
|
|
|
|
foreground: theme.common.accent
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "keyword",
|
|
|
|
foreground: theme.syntax.keyword
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "string",
|
|
|
|
foreground: theme.syntax.string
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "string.escape",
|
|
|
|
foreground: theme.syntax.regexp
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "comment",
|
|
|
|
foreground: theme.syntax.comment
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "constant",
|
|
|
|
foreground: theme.syntax.constant
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "entity",
|
|
|
|
foreground: theme.syntax.entity
|
|
|
|
},
|
2022-01-30 06:11:21 +01:00
|
|
|
{
|
|
|
|
token: "type",
|
|
|
|
foreground: theme.syntax.tag
|
|
|
|
},
|
2022-01-30 02:27:49 +01:00
|
|
|
{
|
|
|
|
token: "tag",
|
|
|
|
foreground: theme.syntax.tag
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "regexp",
|
|
|
|
foreground: theme.syntax.regexp
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "attribute",
|
|
|
|
foreground: theme.syntax.tag
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "constructor",
|
|
|
|
foreground: theme.syntax.markup
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "invalid",
|
|
|
|
foreground: theme.syntax.error
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "number",
|
|
|
|
foreground: theme.common.accent
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "delimiter",
|
2022-01-30 05:39:13 +01:00
|
|
|
foreground: theme.common.fg
|
2022-01-30 02:27:49 +01:00
|
|
|
},
|
|
|
|
// Custom tokens
|
|
|
|
{
|
|
|
|
token: "ns",
|
|
|
|
foreground: theme.syntax.tag
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "netscriptfunction",
|
|
|
|
foreground: theme.syntax.markup
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "otherkeywords",
|
|
|
|
foreground: theme.syntax.keyword
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "otherkeyvars",
|
|
|
|
foreground: theme.common.accent
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "this",
|
|
|
|
foreground: theme.syntax.tag
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
const themeColors = Object.fromEntries([
|
|
|
|
["editor.background", theme.common.bg],
|
|
|
|
["editor.foreground", theme.common.fg],
|
|
|
|
["editor.lineHighlightBackground", theme.ui.line],
|
|
|
|
["editor.selectionBackground", theme.ui.selection.bg],
|
|
|
|
|
|
|
|
["editorSuggestWidget.background", theme.ui.panel.bg],
|
|
|
|
["editorSuggestWidget.border", theme.ui.panel.border],
|
2022-01-30 05:39:13 +01:00
|
|
|
["editorSuggestWidget.selectedBackground", theme.ui.panel.selected],
|
2022-01-30 02:27:49 +01:00
|
|
|
|
|
|
|
["editorHoverWidget.background", theme.ui.panel.bg],
|
|
|
|
["editorHoverWidget.border", theme.ui.panel.border],
|
|
|
|
|
|
|
|
["editorWidget.background", theme.ui.panel.bg],
|
|
|
|
["editorWidget.border", theme.ui.panel.border],
|
|
|
|
|
|
|
|
["input.background", theme.ui.panel.bg],
|
|
|
|
["input.border", theme.ui.panel.border]
|
|
|
|
].map(([k, v]) => [k, "#" + v]));
|
|
|
|
|
|
|
|
return { base: theme.base, inherit: theme.inherit, rules: themeRules, colors: themeColors }
|
|
|
|
}
|
|
|
|
|
2021-10-11 22:38:50 +02:00
|
|
|
export async function loadThemes(monaco: { editor: any }): Promise<void> {
|
2021-10-10 01:00:27 +02:00
|
|
|
monaco.editor.defineTheme("monokai", {
|
|
|
|
base: "vs-dark",
|
|
|
|
inherit: true,
|
|
|
|
rules: [
|
|
|
|
{
|
|
|
|
background: "272822",
|
|
|
|
token: "",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
foreground: "75715e",
|
|
|
|
token: "comment",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
foreground: "e6db74",
|
|
|
|
token: "string",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "number",
|
|
|
|
foreground: "ae81ff",
|
|
|
|
},
|
2021-10-16 00:58:10 +02:00
|
|
|
{
|
|
|
|
token: "otherkeyvars",
|
|
|
|
foreground: "ae81ff",
|
|
|
|
},
|
2021-10-10 01:00:27 +02:00
|
|
|
{
|
|
|
|
foreground: "ae81ff",
|
|
|
|
token: "function",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
foreground: "f92672",
|
|
|
|
token: "keyword",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "storage.type.function.js",
|
|
|
|
foreground: "ae81ff",
|
|
|
|
},
|
2021-10-16 00:25:22 +02:00
|
|
|
{
|
|
|
|
token: "ns",
|
|
|
|
foreground: "97d92b",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "netscriptfunction",
|
|
|
|
foreground: "53d3e4",
|
|
|
|
},
|
2021-10-16 00:58:10 +02:00
|
|
|
{
|
|
|
|
token: "otherkeywords",
|
|
|
|
foreground: "53d3e4",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "this",
|
|
|
|
foreground: "fd971f",
|
|
|
|
},
|
2021-10-10 01:00:27 +02:00
|
|
|
],
|
|
|
|
colors: {
|
|
|
|
"editor.foreground": "#F8F8F2",
|
|
|
|
"editor.background": "#272822",
|
|
|
|
"editor.selectionBackground": "#49483E",
|
|
|
|
"editor.lineHighlightBackground": "#3E3D32",
|
|
|
|
"editorCursor.foreground": "#F8F8F0",
|
|
|
|
"editorWhitespace.foreground": "#3B3A32",
|
|
|
|
"editorIndentGuide.activeBackground": "#9D550FB0",
|
|
|
|
"editor.selectionHighlightBorder": "#222218",
|
|
|
|
},
|
|
|
|
});
|
2021-10-18 22:41:26 +02:00
|
|
|
|
2021-11-11 01:28:20 +01:00
|
|
|
monaco.editor.defineTheme("solarized-dark", {
|
2021-10-18 22:41:26 +02:00
|
|
|
base: "vs-dark",
|
|
|
|
inherit: true,
|
|
|
|
rules: [
|
|
|
|
{
|
|
|
|
background: "002b36",
|
|
|
|
token: "",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
foreground: "586e75",
|
|
|
|
token: "comment",
|
|
|
|
},
|
|
|
|
{
|
2021-10-19 01:58:23 +02:00
|
|
|
foreground: "00afaf",
|
2021-10-18 22:41:26 +02:00
|
|
|
token: "string",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "number",
|
2021-10-19 01:58:23 +02:00
|
|
|
foreground: "00afaf",
|
2021-10-18 22:41:26 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "otherkeyvars",
|
2021-10-19 01:20:41 +02:00
|
|
|
foreground: "268bd2",
|
2021-10-18 22:41:26 +02:00
|
|
|
},
|
|
|
|
{
|
2021-10-19 01:20:41 +02:00
|
|
|
foreground: "268bd2",
|
2021-10-18 22:41:26 +02:00
|
|
|
token: "function",
|
|
|
|
},
|
|
|
|
{
|
2021-10-19 01:20:41 +02:00
|
|
|
foreground: "859900",
|
2021-10-18 22:41:26 +02:00
|
|
|
token: "keyword",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "storage.type.function.js",
|
2021-10-19 01:20:41 +02:00
|
|
|
foreground: "cb4b16",
|
2021-10-18 22:41:26 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "ns",
|
2021-10-19 01:20:41 +02:00
|
|
|
foreground: "cb4b16",
|
2021-10-18 22:41:26 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "netscriptfunction",
|
2021-10-19 01:20:41 +02:00
|
|
|
foreground: "268bd2",
|
2021-10-18 22:41:26 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "otherkeywords",
|
2021-10-19 01:20:41 +02:00
|
|
|
foreground: "268bd2",
|
|
|
|
},
|
|
|
|
{
|
2021-11-11 01:28:20 +01:00
|
|
|
token: "type.identifier.js",
|
|
|
|
foreground: "b58900",
|
2021-10-18 22:41:26 +02:00
|
|
|
},
|
2021-10-19 01:58:23 +02:00
|
|
|
{
|
2021-11-11 01:28:20 +01:00
|
|
|
token: "delimiter.square.js",
|
|
|
|
foreground: "0087ff",
|
2021-10-19 01:58:23 +02:00
|
|
|
},
|
|
|
|
{
|
2021-11-11 01:28:20 +01:00
|
|
|
token: "delimiter.bracket.js",
|
|
|
|
foreground: "0087ff",
|
2021-10-19 01:58:23 +02:00
|
|
|
},
|
2021-10-18 22:41:26 +02:00
|
|
|
{
|
|
|
|
token: "this",
|
2021-10-19 01:20:41 +02:00
|
|
|
foreground: "cb4b16",
|
2021-10-18 22:41:26 +02:00
|
|
|
},
|
|
|
|
],
|
|
|
|
colors: {
|
|
|
|
"editor.foreground": "#839496",
|
|
|
|
"editor.background": "#002b36",
|
|
|
|
"editor.selectionBackground": "#073642",
|
|
|
|
"editor.lineHighlightBackground": "#073642",
|
2021-10-19 01:20:41 +02:00
|
|
|
"editorCursor.foreground": "#819090",
|
|
|
|
"editorWhitespace.foreground": "#073642",
|
2021-10-18 22:41:26 +02:00
|
|
|
"editorIndentGuide.activeBackground": "#9D550FB0",
|
|
|
|
"editor.selectionHighlightBorder": "#222218",
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
2021-11-11 01:28:20 +01:00
|
|
|
monaco.editor.defineTheme("solarized-light", {
|
2021-10-18 22:41:26 +02:00
|
|
|
base: "vs",
|
|
|
|
inherit: true,
|
|
|
|
rules: [
|
|
|
|
{
|
|
|
|
foreground: "657b83",
|
2021-11-11 01:28:20 +01:00
|
|
|
background: "fdf6e3",
|
2021-10-18 22:41:26 +02:00
|
|
|
token: "",
|
|
|
|
},
|
|
|
|
{
|
2021-10-19 01:20:41 +02:00
|
|
|
foreground: "586e75",
|
2021-10-18 22:41:26 +02:00
|
|
|
token: "comment",
|
|
|
|
},
|
|
|
|
{
|
2021-10-19 01:20:41 +02:00
|
|
|
foreground: "2aa198",
|
2021-10-18 22:41:26 +02:00
|
|
|
token: "string",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "number",
|
|
|
|
foreground: "2aa198",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "otherkeyvars",
|
2021-10-19 01:20:41 +02:00
|
|
|
foreground: "268bd2",
|
2021-10-18 22:41:26 +02:00
|
|
|
},
|
|
|
|
{
|
2021-10-19 01:20:41 +02:00
|
|
|
foreground: "268bd2",
|
2021-10-18 22:41:26 +02:00
|
|
|
token: "function",
|
|
|
|
},
|
|
|
|
{
|
2021-10-19 01:20:41 +02:00
|
|
|
foreground: "859900",
|
2021-10-18 22:41:26 +02:00
|
|
|
token: "keyword",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "storage.type.function.js",
|
2021-10-19 01:20:41 +02:00
|
|
|
foreground: "bc4b16",
|
2021-10-18 22:41:26 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "ns",
|
2021-10-19 01:20:41 +02:00
|
|
|
foreground: "cb4b16",
|
2021-10-18 22:41:26 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "netscriptfunction",
|
2021-10-19 01:20:41 +02:00
|
|
|
foreground: "268bd2",
|
2021-10-18 22:41:26 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "otherkeywords",
|
2021-10-19 01:20:41 +02:00
|
|
|
foreground: "268bd2",
|
|
|
|
},
|
|
|
|
{
|
2021-11-11 01:28:20 +01:00
|
|
|
token: "type.identifier.js",
|
|
|
|
foreground: "b58900",
|
2021-10-18 22:41:26 +02:00
|
|
|
},
|
2021-10-19 01:58:23 +02:00
|
|
|
{
|
2021-11-11 01:28:20 +01:00
|
|
|
token: "delimiter.square.js",
|
|
|
|
foreground: "0087ff",
|
2021-10-19 01:58:23 +02:00
|
|
|
},
|
|
|
|
{
|
2021-11-11 01:28:20 +01:00
|
|
|
token: "delimiter.bracket.js",
|
|
|
|
foreground: "0087ff",
|
2021-10-19 01:58:23 +02:00
|
|
|
},
|
2021-10-18 22:41:26 +02:00
|
|
|
{
|
|
|
|
token: "this",
|
2021-10-19 01:20:41 +02:00
|
|
|
foreground: "cb4b16",
|
2021-10-18 22:41:26 +02:00
|
|
|
},
|
|
|
|
],
|
|
|
|
colors: {
|
|
|
|
"editor.foreground": "#657b83",
|
|
|
|
"editor.background": "#fdf6e3",
|
|
|
|
"editor.selectionBackground": "#eee8d5",
|
2021-10-19 01:20:41 +02:00
|
|
|
"editor.lineHighlightBackground": "#eee8d5",
|
2021-10-18 22:41:26 +02:00
|
|
|
"editorCursor.foreground": "#657b83",
|
2021-10-19 01:20:41 +02:00
|
|
|
"editorWhitespace.foreground": "#eee8d5",
|
|
|
|
"editorIndentGuide.activeBackground": "#eee8d5",
|
2021-10-18 22:41:26 +02:00
|
|
|
"editor.selectionHighlightBorder": "#073642",
|
|
|
|
},
|
|
|
|
});
|
2022-01-04 12:39:09 +01:00
|
|
|
|
2021-12-23 07:27:58 +01:00
|
|
|
monaco.editor.defineTheme("dracula", {
|
|
|
|
base: "vs-dark",
|
|
|
|
inherit: true,
|
|
|
|
rules: [
|
|
|
|
{
|
|
|
|
background: "282A36",
|
|
|
|
foreground: "F8F8F2",
|
|
|
|
token: "",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
foreground: "6272A4",
|
|
|
|
token: "comment",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
foreground: "F1FA8C",
|
|
|
|
token: "string",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "number",
|
|
|
|
foreground: "BD93F9",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "otherkeyvars",
|
|
|
|
foreground: "BD93F9",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
foreground: "FF79C6",
|
|
|
|
token: "function",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
foreground: "FF79C6",
|
|
|
|
token: "keyword",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "storage.type.function.js",
|
|
|
|
foreground: "FF79C6",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "ns",
|
|
|
|
foreground: "FFB86C",
|
|
|
|
fontStyle: "italic",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "netscriptfunction",
|
|
|
|
foreground: "FF79C6",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "otherkeywords",
|
|
|
|
foreground: "FF68A7",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "type.identifier.js",
|
|
|
|
foreground: "7EE9FD",
|
|
|
|
fontStyle: "italic"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "delimiter.square.js",
|
|
|
|
foreground: "FFD709",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "delimiter.parenthesis.js",
|
|
|
|
foreground: "FFD709"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "delimiter.bracket.js",
|
|
|
|
foreground: "FFD709",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "this",
|
|
|
|
foreground: "BD93F9",
|
|
|
|
fontStyle: "italic",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
"colors": {
|
|
|
|
"editor.foreground": "#F8F8F2",
|
|
|
|
"editor.background": "#282A36",
|
|
|
|
"editorLineNumber.foreground": "#6272A4",
|
|
|
|
"editor.selectionBackground": "#44475A",
|
|
|
|
"editor.selectionHighlightBackground": "#424450",
|
|
|
|
"editor.foldBackground": "#21222C",
|
|
|
|
"editor.wordHighlightBackground": "#8BE9FD50",
|
|
|
|
"editor.wordHighlightStrongBackground": "#50FA7B50",
|
|
|
|
"editor.findMatchBackground": "#FFB86C80",
|
|
|
|
"editor.findMatchHighlightBackground": "#FFFFFF40",
|
|
|
|
"editor.findRangeHighlightBackground": "#44475A75",
|
|
|
|
"editor.hoverHighlightBackground": "#8BE9FD50",
|
|
|
|
"editor.lineHighlightBorder": "#44475A",
|
|
|
|
"editor.rangeHighlightBackground": "#BD93F915",
|
|
|
|
"editor.snippetTabstopHighlightBackground": "#282A36",
|
|
|
|
"editor.snippetTabstopHighlightBorder": "#6272A4",
|
|
|
|
"editor.snippetFinalTabstopHighlightBackground": "#282A36",
|
|
|
|
"editor.snippetFinalTabstopHighlightBorder": "#50FA7B",
|
|
|
|
},
|
|
|
|
});
|
2022-01-04 12:39:09 +01:00
|
|
|
|
|
|
|
monaco.editor.defineTheme("one-dark", {
|
|
|
|
base: "vs-dark",
|
|
|
|
inherit: true,
|
|
|
|
rules: [
|
|
|
|
{
|
|
|
|
token: "",
|
|
|
|
background: "333842",
|
|
|
|
foreground: "ABB2BF",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "comment",
|
|
|
|
foreground: "5C6370",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "string",
|
|
|
|
foreground: "98C379",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "number",
|
|
|
|
foreground: "D19A66",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "function",
|
|
|
|
foreground: "C678DD",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "keyword",
|
|
|
|
foreground: "C678DD",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "otherkeyvars",
|
|
|
|
foreground: "D19A66",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "otherkeywords",
|
|
|
|
foreground: "C678DD",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "ns",
|
|
|
|
foreground: "E06C75",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "netscriptfunction",
|
|
|
|
foreground: "61AFEF",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "type.identifier",
|
|
|
|
foreground: "E5C07B",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "delimiter",
|
|
|
|
foreground: "ABB2BF",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
token: "this",
|
|
|
|
foreground: "E06C75",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
colors: {
|
|
|
|
"editor.background": "#282C34",
|
|
|
|
"editor.foreground": "#ABB2BF",
|
|
|
|
"editor.lineHighlightBackground": "#99BBFF0A",
|
|
|
|
"editor.selectionBackground": "#3E4451",
|
|
|
|
"editor.findMatchHighlightBackground": "#528BFF3D",
|
|
|
|
"editorCursor.foreground": "#528BFF",
|
|
|
|
"editorHoverWidget.background": "#21252B",
|
|
|
|
"editorHoverWidget.border": "#181A1F",
|
|
|
|
"editorIndentGuide.background": "#ABB2BF26",
|
|
|
|
"editorIndentGuide.activeBackground": "#626772",
|
|
|
|
"editorLineNumber.foreground": "#636D83",
|
|
|
|
"editorLineNumber.activeForeground": "#ABB2BF",
|
|
|
|
"editorSuggestWidget.background": "#21252B",
|
|
|
|
"editorSuggestWidget.border": "#181A1F",
|
|
|
|
"editorSuggestWidget.selectedBackground": "#2C313A",
|
|
|
|
"editorWhitespace.foreground": "#ABB2BF26",
|
|
|
|
"editorWidget.background": "#21252B",
|
|
|
|
"editorWidget.border": "#3A3F4B",
|
|
|
|
"input.background": "#1B1D23",
|
|
|
|
"input.border": "#181A1F",
|
|
|
|
"peekView.border": "#528BFF",
|
|
|
|
"peekViewResult.background": "#21252B",
|
|
|
|
"peekViewResult.selectionBackground": "#2C313A",
|
|
|
|
"peekViewTitle.background": "#1B1D23",
|
|
|
|
"peekViewEditor.background": "#1B1D23",
|
|
|
|
"scrollbarSlider.background": "#4E566680",
|
|
|
|
"scrollbarSlider.activeBackground": "#747D9180",
|
|
|
|
"scrollbarSlider.hoverBackground": "#5A637580",
|
|
|
|
}
|
|
|
|
});
|
2021-10-10 01:00:27 +02:00
|
|
|
}
|