mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-25 01:41:41 +01:00
Merge pull request #144759 from microsoft/aeschli/hcLightThemeKind
Add high contrast light theme kind
This commit is contained in:
@@ -107,7 +107,7 @@
|
||||
|
||||
// high contrast mode has been turned on from the outside, e.g. OS -> ignore stored colors and layouts
|
||||
const isHighContrast = configuration.colorScheme.highContrast && configuration.autoDetectHighContrast;
|
||||
if (data && isHighContrast && data.baseTheme !== 'hc-black') {
|
||||
if (data && isHighContrast && data.baseTheme !== 'hc-black' && data.baseTheme !== 'hc-light') {
|
||||
data = undefined;
|
||||
}
|
||||
|
||||
|
||||
@@ -107,7 +107,7 @@
|
||||
|
||||
// high contrast mode has been turned on from the outside, e.g. OS -> ignore stored colors and layouts
|
||||
const isHighContrast = configuration.colorScheme.highContrast && configuration.autoDetectHighContrast;
|
||||
if (data && isHighContrast && data.baseTheme !== 'hc-black') {
|
||||
if (data && isHighContrast && data.baseTheme !== 'hc-black' && data.baseTheme !== 'hc-light') {
|
||||
data = undefined;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user