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

egui-winit: Automatically detect and apply dark or light mode (#1045)

This commit is contained in:
Emil Ernerfeldt
2022-02-02 17:09:36 +01:00
committed by GitHub
parent 270c08a030
commit c3be566574
8 changed files with 601 additions and 15 deletions

View File

@@ -35,7 +35,7 @@ memoffset = "0.6"
tracing = "0.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
egui-winit = { version = "0.16.0", path = "../egui-winit", default-features = false, features = ["epi"], optional = true }
egui-winit = { version = "0.16.0", path = "../egui-winit", default-features = false, features = ["dark-light", "epi"], optional = true }
glutin = { version = "0.28.0", optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]