pub fn init(mode: AppearanceMode, cx: &mut App)Expand description
Install the appearance globals and the matching theme. Call once at boot, before any window opens, so the first frame is already the right palette (installing later produces a visible dark-to-light flash).