Skip to main content

init

Function init 

Source
pub fn init(themes_to_load: LoadThemes, cx: &mut App)
Expand description

Initialize the theme system with default themes.

This sets up the ThemeRegistry, FontFamilyCache, SystemAppearance, and GlobalTheme with the default dark theme. It does NOT load bundled themes from JSON or integrate with settings — use theme_settings::init for that.