Hi, first off thanks for the app, it's great.
I ran into a readability problem with the dashboard (Settings / Theme Studio window). Whenever Windows "default app mode" is set to Light, the dashboard keeps its dark background but all the body text turns dark grey or black, so things like "Update Frequency" and the section headings are basically invisible. The left nav is fine, it's just the main pane.
I poked around a bit and it looks like configure_style in src/ui/theme.rs builds a dark palette with Visuals::dark() and calls set_visuals, but egui is still following the system theme via eframe. So on a light mode machine the surfaces are painted with the hardcoded dark colours from ui::theme while the text colours come from egui's light theme. Setting the Windows mode (taskbar) to dark makes no difference, it's purely the app mode toggle.
Repro on 2.10.20, Windows 11 Pro 26200:
- Settings > Personalisation > Colours > Choose your mode > Custom
- Windows mode: either, default app mode: Light
- Open the dashboard
Tested all four combinations, only "app mode = Dark" renders properly.
Fix that worked for me locally was pinning egui to dark before the palette is applied, right after context.set_fonts(fonts):
context.set_theme(egui::Theme::Dark);
Happy to open a PR if that's useful.
Screenshots in the comment below: broken (app mode Light) and working (app mode Dark).
Hi, first off thanks for the app, it's great.
I ran into a readability problem with the dashboard (Settings / Theme Studio window). Whenever Windows "default app mode" is set to Light, the dashboard keeps its dark background but all the body text turns dark grey or black, so things like "Update Frequency" and the section headings are basically invisible. The left nav is fine, it's just the main pane.
I poked around a bit and it looks like
configure_styleinsrc/ui/theme.rsbuilds a dark palette withVisuals::dark()and callsset_visuals, but egui is still following the system theme via eframe. So on a light mode machine the surfaces are painted with the hardcoded dark colours fromui::themewhile the text colours come from egui's light theme. Setting the Windows mode (taskbar) to dark makes no difference, it's purely the app mode toggle.Repro on 2.10.20, Windows 11 Pro 26200:
Tested all four combinations, only "app mode = Dark" renders properly.
Fix that worked for me locally was pinning egui to dark before the palette is applied, right after
context.set_fonts(fonts):Happy to open a PR if that's useful.
Screenshots in the comment below: broken (app mode Light) and working (app mode Dark).