1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 14:20:04 -04:00

egui_web: default to light mode unless prefers-color-scheme: dark

This commit is contained in:
Emil Ernerfeldt
2021-06-07 20:56:18 +02:00
parent 44b573f6a6
commit 62f58a3b05
8 changed files with 54 additions and 16 deletions

View File

@@ -42,8 +42,8 @@ impl epi::App for WrapApp {
fn setup(
&mut self,
ctx: &egui::CtxRef,
frame: &mut epi::Frame<'_>,
_ctx: &egui::CtxRef,
_frame: &mut epi::Frame<'_>,
storage: Option<&dyn epi::Storage>,
) {
#[cfg(feature = "persistence")]