Function style::custom_properties::substitute

source ยท
pub fn substitute<'a>(
    variable_value: &'a VariableValue,
    custom_properties: &'a ComputedCustomProperties,
    stylist: &Stylist,
    computed_context: &Context<'_>,
) -> Result<Cow<'a, str>, ()>
Expand description

Replace var() and env() functions, returning the resulting CSS string.