Merge pull request #208835 from microsoft/ddossett/comparative-roadrunner

Fix listFocusHighlightForeground
This commit is contained in:
David Dossett 2024-03-26 15:13:31 -07:00 committed by GitHub
commit f88822cd06
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,7 +7,7 @@ import * as nls from 'vs/nls';
// Import the effects we need
import { Color } from 'vs/base/common/color';
import { registerColor, darken, lighten, ifDefinedThenElse, transparent } from 'vs/platform/theme/common/colorUtils';
import { registerColor, darken, lighten, transparent } from 'vs/platform/theme/common/colorUtils';
// Import the colors we need
import { foreground, contrastBorder, activeContrastBorder, focusBorder, iconForeground } from 'vs/platform/theme/common/colors/baseColors';
@ -83,7 +83,7 @@ export const listHighlightForeground = registerColor('list.highlightForeground',
nls.localize('highlight', 'List/Tree foreground color of the match highlights when searching inside the list/tree.'));
export const listFocusHighlightForeground = registerColor('list.focusHighlightForeground',
{ dark: listHighlightForeground, light: ifDefinedThenElse(listActiveSelectionBackground, listHighlightForeground, '#BBE7FF'), hcDark: listHighlightForeground, hcLight: listHighlightForeground },
{ dark: listHighlightForeground, light: listHighlightForeground, hcDark: listHighlightForeground, hcLight: listHighlightForeground },
nls.localize('listFocusHighlightForeground', 'List/Tree foreground color of the match highlights on actively focused items when searching inside the list/tree.'));
export const listInvalidItemForeground = registerColor('list.invalidItemForeground',