Expand description
A very pretty theme switch widget for your egui app. It allows you to choose between dark, light and follow system.
§Example
use egui::ThemePreference;
use egui_theme_switch::global_theme_switch;
global_theme_switch(ui);
Structs§
- Theme
Switch - A switch control that allows choosing the theme preference (dark, light or follow system).
Functions§
- global_
theme_ switch - A switch control to configure the global theme preference.