Skip to main content

set_platform_system_theme

Function set_platform_system_theme 

Source
pub fn set_platform_system_theme(theme: SystemTheme)
Expand description

Installs the platform-reported system theme. Platform backends call this at startup and whenever the OS reports a change (then force a root render so composition observes it).