Skip to main content

set_theme

Function set_theme 

Source
pub fn set_theme(ctx: &Context, theme: Theme)
Expand description

Store theme on the context and apply its egui Visuals. Call once per frame (cheap) or whenever the theme changes; every facet picks it up.