Skip to main content

parse_theme_str

Function parse_theme_str 

Source
pub fn parse_theme_str(
    id: &str,
    content: &str,
    is_custom: bool,
) -> Result<ThemeColors, String>
Expand description

Parse a complete theme (metadata + colors) from raw TOML content, with no filesystem access. For callers that embed themes at compile time.