Skip to main content

active

Function active 

Source
pub fn active() -> &'static Theme
Expand description

The active theme, or the default if nobody installed one.

Deliberately get_or_init rather than expect: an app that forgets to call init renders exactly what it would have rendered before any of this was configurable, instead of panicking on its first frame.