pub fn set_mode(id: impl Into<String>)Expand description
Selects a mode: runs its registered apply closure (if one is registered) and publishes the id to the
reactive active-mode signal. Setting an unregistered id still updates the signal, so an app may drive the
theme from its own effect on [use_mode] instead of registering closures.