Skip to main content

resolve_theme

Function resolve_theme 

Source
pub fn resolve_theme(
    accent: Option<&str>,
    font: Option<&str>,
    style_pack: Option<&str>,
) -> ResolvedTheme
Expand description

Resolve a theme from site-level inputs. All inputs optional; None yields the platform defaults (Surf Simple pack, #2563eb accent, system fonts).