Function freya::prelude::use_get_theme

source ·
pub fn use_get_theme(cx: &ScopeState) -> 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.