From 3424b172dbfb9ef5c0ba0de44e9d67c215bdc39d Mon Sep 17 00:00:00 2001 From: lianahus Date: Wed, 22 Dec 2021 16:37:17 +0100 Subject: [PATCH] fixed the colors of editor's content menu --- libs/remix-ui/editor/src/lib/remix-ui-editor.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libs/remix-ui/editor/src/lib/remix-ui-editor.tsx b/libs/remix-ui/editor/src/lib/remix-ui-editor.tsx index db1017f0e5..67df7cd443 100644 --- a/libs/remix-ui/editor/src/lib/remix-ui-editor.tsx +++ b/libs/remix-ui/editor/src/lib/remix-ui-editor.tsx @@ -210,7 +210,12 @@ export const EditorUI = (props: EditorUIProps) => { 'editor.lineHighlightBorder': secondaryColor, 'editor.lineHighlightBackground': textbackground === darkColor ? lightColor : secondaryColor, 'editorGutter.background': lightColor, - 'minimap.background': lightColor + 'minimap.background': lightColor, + 'menu.foreground': textColor, + 'menu.background': textbackground, + 'menu.selectionBackground': secondaryColor, + 'menu.selectionForeground': textColor, + 'menu.selectionBorder': secondaryColor } }) monacoRef.current.editor.setTheme(themeName)