Skip to main content

gap_css_declarations

Function gap_css_declarations 

Source
pub fn gap_css_declarations(density: Density) -> String
Expand description

Emit the relational layer for one density as CSS declarations, no selector.

Gaps reference their step rather than repeating a value, so the scale has exactly one definition and a reader can see which relationship maps where.