Minor fix and editor color change

This commit is contained in:
Nilay Majorwar 2022-02-16 20:45:01 +05:30
parent 7c6a17978a
commit 988d7e65ce
3 changed files with 6 additions and 6 deletions

View File

@ -17,10 +17,10 @@ export const sampleProgram = [
export const editorTokensProvider: MonacoTokensProvider = {
tokenizer: {
root: [
[/i/, "orange"],
[/d/, "red"],
[/s/, "blue"],
[/o/, "green"],
[/i/, "variable"],
[/d/, "keyword"],
[/s/, "constant"],
[/o/, "operator"],
],
},
defaultToken: "comment",

View File

@ -88,7 +88,7 @@
{ "token": "meta", "foreground": "61AFEF", "note": "blue" },
{ "token": "key", "foreground": "EF596F", "note": "red" },
{ "token": "operators", "foreground": "3FA6DA", "note": "cerulean" },
{ "token": "attribute", "foreground": "F0B726", "note": "gold" },
{ "token": "attribute", "foreground": "EC9A3C", "note": "orange" },
{ "token": "string", "foreground": "72CA9B", "note": "green" },
{ "token": "keyword", "foreground": "D55FDE", "note": "violet" },
{ "token": "comment", "foreground": "#8F99A8", "fontStyle": "italic" }

View File

@ -91,7 +91,7 @@
{ "token": "meta", "foreground": "2D72D2", "note": "blue" },
{ "token": "key", "foreground": "CD4246", "note": "red" },
{ "token": "operators", "foreground": "147EB3", "note": "cerulean" },
{ "token": "attribute", "foreground": "D1980B", "note": "gold" },
{ "token": "attribute", "foreground": "C87619", "note": "orange" },
{ "token": "string", "foreground": "238551", "note": "green" },
{ "token": "keyword", "foreground": "9D3F9D", "note": "violet" },
{ "token": "comment", "foreground": "5F6B7C", "fontStyle": "italic" }