Skip to main content

css_for

Function css_for 

Source
pub fn css_for(name: &str) -> String
Expand description

The :root block for a theme, including the system-following pair when it follows.

An unknown name falls back to the default rather than failing: by the time a page is being rendered there is nothing useful to do with an error, and a listing with no variables set is invisible text rather than merely wrong. Names are checked where they are set.