-
Notifications
You must be signed in to change notification settings - Fork 281
Description
Description
When the System theme is selected and Increase contrast is enabled, the high contrast color scheme is not applied. The app falls back to the default light/dark schemes instead of light_high_contrast/dark_high_contrast.
Steps to Reproduce
- Open Settings → Appearance
- Select System theme
- Enable Increase contrast
- Observe that the UI does not show high contrast colors
Expected Behavior
When System theme is selected with high contrast enabled:
- In light mode:
light_high_contrastscheme should be applied - In dark mode:
dark_high_contrastscheme should be applied
Actual Behavior
The app uses default light and dark schemes regardless of the high contrast setting.
Root Cause
In src/renderer/utils/theme.ts, the mapThemeModeToColorScheme() function returns null for Theme.SYSTEM unconditionally (line 53), bypassing the high contrast logic entirely.
Proposed Fix
Add a new helper function that handles the System theme case by returning both day and night schemes with proper high contrast support.
Metadata
Metadata
Assignees
Labels
No labels