pub fn parse_toml(src: &str) -> Result<Theme, ThemeError>Expand description
Parse a TOML string into a fully-resolved Theme.
Palette $name references are resolved automatically.
ยงErrors
Returns ThemeError::Toml on parse failure or
ThemeError::UnresolvedPalette / ThemeError::BadHex on bad
color values.