Skip to main content

set_active_theme

Function set_active_theme 

Source
pub fn set_active_theme(index: usize)
Expand description

Switches the app’s active theme by index into AppConfig::themes, triggering a rebuild on the next frame.