Skip to content

Commit 4ee7220

Browse files
author
Justin Chen
committed
fixed custom widget color theme to align with context menu
1 parent 3832b5d commit 4ee7220

File tree

1 file changed

+4
-3
lines changed
  • src/vs/editor/contrib/codeAction/browser/media

1 file changed

+4
-3
lines changed

src/vs/editor/contrib/codeAction/browser/media/action.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
border-style: solid;
1818
border-width: 1px;
1919
border-color: var(--vscode-editorSuggestWidget-border);
20-
background-color: var(--vscode-editorSuggestWidget-background);
20+
background-color: var(--vscode-menu-background);
21+
color: var(--vscode-menu-foreground);
2122
}
2223

2324
.codeActionMenuWidget .monaco-list:not(.element-focused):focus:before {
@@ -41,7 +42,6 @@
4142
-ms-user-select: none;
4243
border: none !important;
4344
border-width: 0px !important;
44-
color: var(red) !important;
4545
}
4646

4747
/* .codeActionMenuWidget .monaco-list:not(.element-focus) {
@@ -74,6 +74,7 @@
7474

7575
.codeActionMenuWidget .monaco-list .monaco-list-row:hover:not(.option-disabled),
7676
.codeActionMenuWidget .monaco-list .moncao-list-row.focused:not(.option-disabled) {
77+
color: var(--vscode-menu-selectionForeground) !important;
7778
background-color: var(--vscode-menu-selectionBackground) !important;
7879
}
7980

@@ -86,7 +87,7 @@
8687
-moz-user-select: none;
8788
-ms-user-select: none;
8889
user-select: none;
89-
color: var(--vscode-list-inactiveSelectionBackground) !important;
90+
color: var(--vscode-disabledForeground) !important;
9091
}
9192

9293
.codeActionMenuWidget .monaco-list .separator {

0 commit comments

Comments
 (0)