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
Add support for macOS darkmode #857
Comments
|
Could you add examples of widgets that currently have hard-coded colours which do not honour dark mode? Most widgets seem to work just fine. |
|
I was going off this report as a starting point, and assumed at least some of the problem would lie with Toga. It's possible that it may be entirely a Briefcase packaging issue, though. If that's the case, then we can close this ticket, and move all the activity over to briefcase template ticket. (Side note - I created this ticket, and a bunch of others, because we're sprinting this weekend; if you've got spare time, we'd love to see you there! |
|
I strongly suspect that this is a packaging issue. I've been packaging a toga app with PyInstaller (there was some issue with briefcase and a dependency which I don't quite recall at the moment) and getting dark mode to work required explicitly setting the For PyInstaller however, I needed to rebuild the bootloader myself with a I assume that briefcase uses some form of precompiled Python interpreter as well and may face similar issues. Also, thanks for invite to the sprint! But its unlikely that I will find the time this weekend :/ |
|
Resolved? According to beeware/briefcase-macOS-app-template#2
Also my app which is running from |
|
Yes, this has been resolved. Thanks for the ping! |
macOS 10.14 (Mojave) added Dark Mode; however, Toga doesn't honor dark mode defaults when setting up widgets.
Toga should identify when the app is running in dark mode, and use appropriate background/foreground colors instead of defaulting to dark text/light background.
The text was updated successfully, but these errors were encountered: