Skip to main content

resolve_style_values

Function resolve_style_values 

Source
pub fn resolve_style_values(
    theme: &ResolvedTheme,
    style: &Props,
    mode: Mode,
) -> Props
Expand description

Every token reference in a style object replaced by its value for the mode (nested condition blocks, gradients and arrays included, and the $breakpoint tokens inside media keys); other values pass through.