Description
On Windows 11, Mailspring’s tray icon does not adapt to the system taskbar color scheme. When using a dark taskbar (set in system settings) and a light app theme, the Mailspring tray icon remains dark, making it almost invisible against the taskbar.
To Reproduce…
Steps to reproduce the behavior:
- In Windows 11, go to
Settings > Personalization > Colors
- Set “Choose your default Windows mode” to Dark (this affects the taskbar)
- Set “Choose your default app mode” to Light
- Launch Mailspring using the default (light) theme
- Observe the tray icon on the taskbar
Expected Behavior
The tray icon should adapt to the background it’s displayed on. Ideally, Mailspring should provide:
- A light icon when shown on a dark taskbar
- A dark icon when shown on a light taskbar
- Or allow the user to select which icon variant to use manually
Screenshots
Setup
- OS: Windows 11 23H2
- Mailspring version: 1.15.1-cb02bf10
Additional Context
Many modern Windows apps dynamically adjust their tray icons or provide SVGs with light/dark variants. This would improve visibility and accessibility for users with mixed color scheme settings.