From 7983b5d94cf34f71a2d063d64e363f044b70f4dd Mon Sep 17 00:00:00 2001 From: Yash-Singh1 Date: Tue, 17 Aug 2021 17:43:20 -0700 Subject: [PATCH] Different color for keywords --- src/lib/components/editor/util.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/components/editor/util.ts b/src/lib/components/editor/util.ts index 6ee8b14e..3a21ed17 100644 --- a/src/lib/components/editor/util.ts +++ b/src/lib/components/editor/util.ts @@ -47,8 +47,8 @@ export const initEditor = (monacoEditor): void => { base: 'vs', inherit: false, rules: [ - { token: 'typeKeyword', foreground: '880000', fontStyle: 'bold' }, - { token: 'keyword', foreground: '880000' }, + { token: 'typeKeyword', foreground: '9650c8', fontStyle: 'bold' }, + { token: 'keyword', foreground: '649696' }, { token: 'custom-error', foreground: 'ff0000', fontStyle: 'bold' }, { token: 'string', foreground: 'AA8500' }, { token: 'transition', foreground: '008800', fontStyle: 'bold' },