pub fn from_system() -> Result<(Theme, ResolvedThemeVariant)>
Detect the OS theme and convert it to an iced Theme in one call.
Theme
Returns an error if the platform theme cannot be read.