Skip to content

Commit

Permalink
Adjusted Monaco "white" colors
Browse files Browse the repository at this point in the history
  • Loading branch information
bmingles committed Oct 20, 2023
1 parent f440a38 commit e7147bc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@
/* Suggest */
--dh-color-editor-suggest-bg: var(--dh-color-gray-200);
--dh-color-editor-suggest-border: var(--dh-color-gray-400);
--dh-color-editor-suggest-fg: var(--dh-color-gray-100);
--dh-color-editor-suggest-fg: var(--dh-color-white);
--dh-color-editor-suggest-selected-bg: var(--dh-color-highlight-selected);
--dh-color-editor-suggest-selected-fg: var(--dh-color-white);
--dh-color-editor-suggest-highlight-fg: var(--dh-color-accent-700);
--dh-color-editor-suggest-hover-bg: var(--dh-color-highlight-hover);

Expand Down
3 changes: 3 additions & 0 deletions packages/console/src/monaco/MonacoTheme.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@
editor-suggest-widget-selected-background: var(
--dh-color-editor-suggest-selected-bg
);
editor-suggest-widget-selected-foreground: var(
--dh-color-editor-suggest-selected-fg
);
editor-suggest-widget-highlightForeground: var(
--dh-color-editor-suggest-highlight-fg
);
Expand Down
2 changes: 2 additions & 0 deletions packages/console/src/monaco/MonacoUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ class MonacoUtils {
MonacoTheme['editor-suggest-widget-foreground'],
'editorSuggestWidget.selectedBackground':
MonacoTheme['editor-suggest-widget-selected-background'],
'editorSuggestWidget.selectedForeground':
MonacoTheme['editor-suggest-widget-selected-foreground'],
'editorSuggestWidget.highlightForeground':
MonacoTheme['editor-suggest-widget-highlightForeground'],
'list.hoverBackground': MonacoTheme['list-hover-background'],
Expand Down

0 comments on commit e7147bc

Please sign in to comment.