Skip to content

Commit 2da301b

Browse files
authored
Merge pull request microsoft#208934 from microsoft/ddossett/new-sole
Revert list focus highlight color change
2 parents ce95d55 + c3a37a4 commit 2da301b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vs/platform/theme/common/colors/listColors.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import * as nls from 'vs/nls';
77

88
// Import the effects we need
99
import { Color } from 'vs/base/common/color';
10-
import { registerColor, darken, lighten, transparent } from 'vs/platform/theme/common/colorUtils';
10+
import { registerColor, darken, lighten, transparent, ifDefinedThenElse } from 'vs/platform/theme/common/colorUtils';
1111

1212
// Import the colors we need
1313
import { foreground, contrastBorder, activeContrastBorder, focusBorder, iconForeground } from 'vs/platform/theme/common/colors/baseColors';
@@ -83,7 +83,7 @@ export const listHighlightForeground = registerColor('list.highlightForeground',
8383
nls.localize('highlight', 'List/Tree foreground color of the match highlights when searching inside the list/tree.'));
8484

8585
export const listFocusHighlightForeground = registerColor('list.focusHighlightForeground',
86-
{ dark: listHighlightForeground, light: listHighlightForeground, hcDark: listHighlightForeground, hcLight: listHighlightForeground },
86+
{ dark: listHighlightForeground, light: ifDefinedThenElse(listActiveSelectionBackground, listHighlightForeground, '#BBE7FF'), hcDark: listHighlightForeground, hcLight: listHighlightForeground },
8787
nls.localize('listFocusHighlightForeground', 'List/Tree foreground color of the match highlights on actively focused items when searching inside the list/tree.'));
8888

8989
export const listInvalidItemForeground = registerColor('list.invalidItemForeground',

0 commit comments

Comments
 (0)