typography.js
typography.js copied to clipboard
Documentation on how to proper use `rhythm`, `scale` and other functions
Hi Mathew,
I think this library is a gem and is very valuable to set up a new site. However, I found it extremely hard to understand how to use rhythm
, scale
and other functions, even after Googling, looking at the source code, it is still not clear why and when we need to use rtythm
and why rtythm(1) = 1.25rem
, why we need something like ...scale(1/10)
or ...scale(2/5)
.
It will be really valuable if there are some documentation and reference links for people to understand.
https://github.com/KyleAMathews/typography.js/tree/master/docs may help
The docs haven't been updated in 3 years, a lot is missing
I have the same question, totally confused by rhythm
method, the above link does some help, and I think the link should be attached to the README.
Hi yall! Just wrote a blog post about this: https://sashko.dev/typography-js/