Skip to main content

css_variables

Function css_variables 

Source
pub fn css_variables() -> &'static str
Expand description

Returns a CSS block that defines all theme variables as CSS custom properties. Include this in your root component to make variables available everywhere.