fixed the colors of editor's content menu

pull/1856/head
lianahus 3 years ago committed by yann300
parent ce2d0497e7
commit 3424b172db
  1. 7
      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)

Loading…
Cancel
Save