UNPKG

typerules

Version:

A typography toolkit that sets vertical rhythm and provides type functions.

8 lines (6 loc) 170 B
h1, h2, h3, h4, h5, h6 font-weight: $header.weight for num in (1..6) h{num} adjust-font-size-to($header["h" + num]) rhythm-margins(1, 1, $header["h" + num])