pub fn resolve_style(
key: &str,
custom_styles: &HashMap<String, CustomStyle>,
) -> Result<ResolvedStyle, StyleError>Expand description
Resolves a style key to a ResolvedStyle.
First checks presets, then custom styles. Returns an error if the style is not found.