egui/eframe/src/web
Emil Ernerfeldt 317436c057
Use dark-light on Mac and Windows (#1726)
* Use dark-light on Mac and Windows

dark-light has a nasty problem on Linux: https://github.com/frewsxcv/rust-dark-light/issues/17

So we made dark-light opt-in in https://github.com/emilk/egui/pull/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
2022-06-09 17:41:59 +02:00
..
backend.rs Use dark-light on Mac and Windows (#1726) 2022-06-09 17:41:59 +02:00
events.rs Remove `egui_web` and `epi` (#1545) 2022-04-30 10:44:35 +02:00
glow_wrapping.rs Take Glow context using Arc. (#1640) 2022-05-22 17:43:30 +02:00
input.rs Added support for 20 fn keys (#1665) 2022-05-23 17:49:48 +02:00
mod.rs Use dark-light on Mac and Windows (#1726) 2022-06-09 17:41:59 +02:00
screen_reader.rs Remove `egui_web` and `epi` (#1545) 2022-04-30 10:44:35 +02:00
storage.rs Remove `egui_web` and `epi` (#1545) 2022-04-30 10:44:35 +02:00
text_agent.rs Remove `egui_web` and `epi` (#1545) 2022-04-30 10:44:35 +02:00