pub fn install_tokens(ctx: &Context, tokens: Tokens) -> Arc<Tokens>Expand description
Installs typed tokens into a context, alone: egui’s dark and light
styles both become the theme’s and egui’s mode is forced to the
theme’s (so the system’s light or dark preference does not swap it
out), and Tokens::of returns them. Call it between frames (at
start-up, or when the user picks another theme), not while drawing.