-
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
Placed dark-light behind a feature gate in eframe and egui_glow #1437
Conversation
Thanks - please add a line to |
Please also add a link to the relevant |
Updated changelog. Relevant issue in dark-light: frewsxcv/rust-dark-light#17 (comment) |
Thanks, currently the dark-light failed to build on cross-compiling target. on m1 macos:
will error out with dark-light
This could be helpful to resolve the issue. |
@Piping remember to report |
dark-light has a nasty problem on Linux: frewsxcv/rust-dark-light#17 So we made dark-light opt-in in #1437 This PR makes dark-light a default dependency again, but only use it on Max and Windows. This is controlled with the new NativeOptions::follow_system_theme. If this isn't enabled, then NativeOptions::default_theme is used.
* Use dark-light on Mac and Windows dark-light has a nasty problem on Linux: frewsxcv/rust-dark-light#17 So we made dark-light opt-in in #1437 This PR makes dark-light a default dependency again, but only use it on Max and Windows. This is controlled with the new NativeOptions::follow_system_theme. If this isn't enabled, then NativeOptions::default_theme is used. * Add eframe::WebOptions
I placed dark-light behind a feature gate in
eframe
andegui_glow
because of a bug in dark-light that causesdark_light::detect()
to block for extended periods of time on some Linux systems. It is not disabled by default, but can be enabled with thedark-light
feature flag.