From 4f1d15d9daa6abd3d44a2043bf00262937f43a3c Mon Sep 17 00:00:00 2001 From: Tyler James Leonhardt Date: Wed, 20 Mar 2024 09:12:35 -0700 Subject: [PATCH] Use correct colors for highlights (#208214) I didn't realize there were 2 colors. This makes sure they're set correctly. Fixes https://github.com/microsoft/vscode/issues/208213 --- .../platform/quickinput/browser/media/quickInput.css | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/vs/platform/quickinput/browser/media/quickInput.css b/src/vs/platform/quickinput/browser/media/quickInput.css index f8e7aba2b91..583f49ae26a 100644 --- a/src/vs/platform/quickinput/browser/media/quickInput.css +++ b/src/vs/platform/quickinput/browser/media/quickInput.css @@ -263,11 +263,16 @@ overflow: hidden; } -.quick-input-list .monaco-highlighted-label .highlight { +/* preserve list-like styling instead of tree-like styling */ +.quick-input-list .monaco-list .monaco-list-row .monaco-highlighted-label .highlight { font-weight: bold; - /* preserve list-like styling instead of tree-like styling */ + background-color: unset; + color: var(--vscode-list-highlightForeground) !important; +} + +/* preserve list-like styling instead of tree-like styling */ +.quick-input-list .monaco-list .monaco-list-row.focused .monaco-highlighted-label .highlight { color: var(--vscode-list-focusHighlightForeground) !important; - background-color: transparent; } .quick-input-list .quick-input-list-entry .quick-input-list-separator {