Skip to content
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

Invisible elements with dark theme #548

Open
ismslv opened this issue Jan 21, 2025 · 2 comments
Open

Invisible elements with dark theme #548

ismslv opened this issue Jan 21, 2025 · 2 comments

Comments

@ismslv
Copy link

ismslv commented Jan 21, 2025

System version: macOS Sequoia 15.2
App version: Larch 2025.1.1, specifically Larix

Problem: with dark theme, some colors in the app make some elements invisible.

Image Image
@newville
Copy link
Member

@ismslv My understanding is that wxPython currently does not have support for dark mode. Or, at least, I don't know of a way to get a signal from the operating system that says "use dark mode".

@ismslv
Copy link
Author

ismslv commented Jan 22, 2025

@newville Maybe this library will help?

Or simply subprocess.check_output(['defaults', 'read', '-g', 'AppleInterfaceStyle']) which will return "Dark" (b'Dark\n') in case of Dark mode or long error text in case of white.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants