Skip to main content

try_parse_background

Function try_parse_background 

Source
pub fn try_parse_background(background: &str) -> Result<Background>
Expand description

Try to parse a theme background value.

Supports all values accepted by try_parse_color and CSS-style two-stop linear-gradient(...) values.