Skip to main content

install_variants

Function install_variants 

Source
pub fn install_variants(
    ctx: &Context,
    dark: &Arc<Tokens>,
    light: &Arc<Tokens>,
) -> Kits
Expand description

Compiles the kits of a dark and a light theme (one kit when they are the same set) and installs them. Called by theme::install_variants, between frames.