Function freya::hooks::use_get_theme

pub fn use_get_theme() -> Theme
Expand description

Subscribe to Theme changes, default theme will be used if there is no provided Theme.

Primarily used by built-in components that have no control of whether they will inherit a Theme or not.