🐞 Enforcing Dark Mode while system is in Light Mode doesn't apply everywhere
Description
I let my system choose the light/dark mode based on time so I can use my apps in both modes to ensure both look good. But I enforce Xcode and now also CodeEdit to be in dark mode at all times. But this doesn't seem to be properly supported yet.
To Reproduce
- Set your system to light mode
- Set CodeEdit to Dark Mode via settings
Expected Behavior
The entire app should look dark. But the terminal and text editor clearly don't.
Version Information
CodeEdit: 0.3.3-alpha (44) macOS: 15.1 Xcode: 16.2
Additional Context
No response
Screenshots
In CodeEdit 0.3.4-dev (45), macOS 15.4.1, this issue occurs if settings are opened and modified while the initial open folder screen is active. However, if the full editor view is open, and settings are accessed with the theme set to dark, both the editor and terminal tabs correctly switch to dark mode.
Another observation is that when the app window is closed (but the app is still running), and the macOS system appearance is changed (e.g. from Light to Dark or vice versa), reopening the window shows the old theme still applied in the editor and terminal areas. The UI does not reflect the updated system appearance even when match system appearance is enabled in settings.