File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ title = "Crate egui"
33date = 2024-09-05
44extra = { series = " Rust" }
55taxonomies = { tags = [" Rust" ] }
6- updated = 2025-04-26
6+ updated = 2025-09-03
77+++
88
99# Get window size
@@ -30,3 +30,24 @@ if ui.available_height() > 0.0 {
3030 ui . allocate_space (ui . available_size ());
3131}
3232```
33+
34+ # Accommodate dark monitors
35+
36+ <details >
37+ <summary >See back story</summary >
38+
39+ I use the screen a lot and don't like my main screen very bright or very high contrast.
40+ One might even say I've set it too low.
41+ Unfortunately, that means that the default dark theme for egui is extremely low contrast on my screen and thus I need to change from the defaults.
42+ I keep forgetting what I have to change so I'm going to make notes here to make it easier for next time.
43+
44+ </details >
45+
46+ Using the built in settings page (needs to exposed by application, like it is on < https://egui.rs > in the Backend window).
47+
48+ ` Style ` -> ` Visuals ` -> ` Background colors `
49+
50+ ```
51+ Windows = 64,64,64
52+ Panels = 60,60,60
53+ ```
You can’t perform that action at this time.
0 commit comments