From 658d7086007231c1874141d177027b6e6a277076 Mon Sep 17 00:00:00 2001 From: lianahus Date: Fri, 2 Sep 2022 11:28:53 +0200 Subject: [PATCH] fixing the selected color for autocomplete --- libs/remix-ui/editor/src/lib/remix-ui-editor.tsx | 3 ++- 1 file changed, 2 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 de1f7ff863..38f9a5f7ac 100644 --- a/libs/remix-ui/editor/src/lib/remix-ui-editor.tsx +++ b/libs/remix-ui/editor/src/lib/remix-ui-editor.tsx @@ -262,7 +262,8 @@ export const EditorUI = (props: EditorUIProps) => { // see https://code.visualstudio.com/api/references/theme-color for more settings 'editor.background': textbackground, 'editorSuggestWidget.background': lightColor, - 'editorSuggestWidget.selectedBackground': lightColor, + 'editorSuggestWidget.selectedBackground': secondaryColor, + 'editorSuggestWidget.selectedForeground': textColor, 'editorSuggestWidget.highlightForeground': infoColor, 'editor.lineHighlightBorder': secondaryColor, 'editor.lineHighlightBackground': textbackground === darkColor ? lightColor : secondaryColor,