-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
egui-winit: Automatically detect and apply dark or light mode #1045
Conversation
Oh, |
Blocked on: |
Unfortunately, I think you'll also want frewsxcv/rust-dark-light#3 |
We want frewsxcv/rust-dark-light#3 but it is not needed in order to merge this |
I suppose polling for changes is acceptable in the meantime. |
Is there an advantage to egui-winit doing this versus leaving applications to use dark-light if they want? |
One is to have a default: should egui be dark or light by default? Let's ask the system. If the |
Closes #1001 Uses the `dark-light` crate: https://crates.io/crates/dark-light
dark-light currently breaks eframe on my machine. Now solved in PR #1437 |
Have you opened an issue at https://github.com/frewsxcv/rust-dark-light/issues @collin-kemper ? |
Closes #1001
Uses the
dark-light
crate: https://crates.io/crates/dark-light