pub fn theme_mode(theme: Theme) -> Mode
Converts a winit window theme into a [theme::Mode].
winit
theme::Mode