Skip to main content

set_material_theme

Function set_material_theme 

Source
pub fn set_material_theme(theme: MaterialTheme, cx: &mut App)
Expand description

Updates the application theme and projects its current values into Base. Colors follow the new theme’s Slow Effects motion spec from the displayed palette. Typography and layout apply immediately.