-
Notifications
You must be signed in to change notification settings - Fork 37
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
Support Dark Mode in macOS #320
Comments
The darkdetect module provides a way to determine the mode, which would allow us to manually change the coloration (at least to be legible) until wxPython supports it. |
https://wxpython.org/Phoenix/docs/html/wx.SystemAppearance.html introduced in wxPython 4.1 (April 2020) introduces ability to read the system state re:dark mode but not set it for Windows. Building using this version of wxPython while in dark mode still results in a light-colored window. |
I am unable to replicate the above issue on August 28, 2019 on macOS 10.15.5 from the latest release version 0.2019.05.21. EDIT: Similar effect when building from the latest primary (osagnostic) branch, f27f91e, so perhaps it was a bug with the imported modules or OS at the time. |
On macOS, setting
makes an app "dark mode aware". Doing this with the .app built from source (above), makes the UI visually adaptive. So, despite explicit support for a flag in wxPython, this can likely be manually set in the .plist that is copied over in the build process. |
Requires wxPython support per wxWidgets/Phoenix#1020, slated for wxPython 4.1.
The text was updated successfully, but these errors were encountered: