-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
eframe: Figure out dark mode preference on native #1001
Comments
This would be nice to have! AFAIK, One of the relevant |
For Linux, you may want to look into the cross-desktop |
Wouldn't it be great, if eframe would actually not just figure out dark/light mode on linux, but actually used the GTK3 theme? If we're adding platform theme support, then that should be easy to do. |
There is a dark-light crate that does this.
That is being implemented in the dark-light crate: rust-dark-light/dark-light#4 |
Oooh nice find @Be-ing! Let's start using it right away so we don't need to wait for |
Closes #1001 Uses the `dark-light` crate: https://crates.io/crates/dark-light
Closes #1001 Uses the `dark-light` crate: https://crates.io/crates/dark-light
Closes #1001 Uses the `dark-light` crate: https://crates.io/crates/dark-light
Closes #1001 Uses the `dark-light` crate: https://crates.io/crates/dark-light
egui_web
follows the user preference for light vs dark mode, and it would be nice if we could do the same when compiling natively (somewhere inegui-winit
).EDIT: as @parasyte points out, this should be fixed in winit: rust-windowing/winit#1549
The text was updated successfully, but these errors were encountered: