Skip to content

Commit 3711829

Browse files
authored
fix terminal suggest light+ contrast issue for partial item (microsoft#251940)
fix microsoft#251932
1 parent 57f8706 commit 3711829

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vs/workbench/services/suggest/browser/simpleSuggestWidget.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import { status } from '../../../../base/browser/ui/aria/aria.js';
2828
import { isWindows } from '../../../../base/common/platform.js';
2929
import { editorSuggestWidgetSelectedBackground } from '../../../../editor/contrib/suggest/browser/suggestWidget.js';
3030
import { getListStyles } from '../../../../platform/theme/browser/defaultStyles.js';
31-
import { activeContrastBorder, focusBorder } from '../../../../platform/theme/common/colorRegistry.js';
31+
import { activeContrastBorder, focusBorder, listFocusForeground } from '../../../../platform/theme/common/colorRegistry.js';
3232

3333
const $ = dom.$;
3434

@@ -930,7 +930,7 @@ export class SimpleSuggestWidget<TModel extends SimpleCompletionModel<TItem>, TI
930930

931931
function getListStylesWithMode(partial?: boolean): IListStyles {
932932
if (partial) {
933-
return getListStyles({ listInactiveFocusOutline: focusBorder });
933+
return getListStyles({ listInactiveFocusOutline: focusBorder, listInactiveFocusForeground: listFocusForeground });
934934
} else {
935935
return getListStyles({ listInactiveFocusBackground: editorSuggestWidgetSelectedBackground, listInactiveFocusOutline: activeContrastBorder });
936936
}

0 commit comments

Comments
 (0)