(rules {fs-px :font-size lh-ratio :line-height sf :scale-factor})
Defines rules for typography. They boil down to:
Based on https://www.gridlover.net/
Defines rules for typography. They boil down to: 1. Set the base font size to :font-size. 2. Set line height to (* :line-height :font-size) 3. Adjust common elements to be sized, margined, etc. in increments of the line height (vertical rhythm) 4. When elements are larger/smaller, the :scale-factor is used to adjust their font size. Based on https://www.gridlover.net/
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |