-
Notifications
You must be signed in to change notification settings - Fork 28.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test preferred high contrast light color theme #145616
Comments
@daviddossett You are correct, my last change modified the behaviour and Discussions about this are in I can change this back, let me know what you think. |
I brought back the old behavior for the Mac: High contrast is set if either |
I was surprised to see pushback on rendering a HC theme when As I tried this again, |
@hediet assuming you have tested this since you removed your assignment. Closing the item as done. |
With 'invert colors': Yes I agree it's strange that we are in |
Ref: #144193
Complexity: 3
Create Issue
We already have a setting
workbench.preferredHighContrastColorTheme
that lets you specify a theme that is used when 'autoDetectHighContrast' is enabled and the OS enters high contrast mode.Now we can distinguish between high contrast dark and high contrast light
The existing setting
workbench.preferredHighContrastColorTheme
is now used as the preferred dark themeThe new setting
workbench.preferredHighContrastLightColorTheme
is used for the preferred light themeNote currently only Windows and Mac support setting high contrast dark and light modes. Linux seems to support only a (single) high contrast mode
Test:
window.autoDetectHighContrast
is true (that's the default)workbench.preferredHighContrastColorTheme
andworkbench.preferredHighContrastLightColorTheme
as defaultOn Windows
Use high contrast
in theHigh Contrast
settings to enable high contrast modeHigh Contrast White
andHigh Contrast Black
On the Mac use
Invert colours
in the Accessibility settings page to enable high contrast modeOn Linux (e.g. Ubunto) use the 'High Contrast` in the Accessibility settings page
window.autoDetectColorScheme
preferredHighContrastLightColorTheme
andpreferredHighContrastColorTheme
and test that they are used.The text was updated successfully, but these errors were encountered: