Skip to main content

install_with

Function install_with 

Source
pub fn install_with(
    ctx: &Context,
    themes: &Themes,
    spec: &ThemeSpec,
) -> Arc<Tokens>
Expand description

Resolves a spec against the given themes and installs it. Problems (a broken user theme, a typo in an override) are in tokens.resolved().problems(); the theme is installed anyway, with fallbacks. The spec’s counterpart, when it has one (ThemeSpec::counterpart, the token files’ org.egui-pop.variant-of), is installed with it (install_variants).