Skip to main content

scale_css_declarations

Function scale_css_declarations 

Source
pub fn scale_css_declarations() -> String
Expand description

Emit the base unit and the raw scale as CSS declarations, no selector.

Density-invariant: the steps are the vocabulary, and only which step a relationship picks changes between presets.