Skip to main content

apply_tokens

Function apply_tokens 

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

Apply any set of tokens, built-in or your own (see Theme::with_accent and Theme::accessibility_issues). The light or dark egui base follows Theme::is_dark; the installed crate::style::WorkbenchStyle is kept.