Skip to main content

set_brand

Function set_brand 

Source
pub fn set_brand(brand: Brand, cx: &mut App)
Expand description

Install a brand and repaint every window with it.

Colours are read imperatively at paint time, so nothing observes the theme global — the same reason appearance::apply refreshes rather than notifies.