typography.js icon indicating copy to clipboard operation
typography.js copied to clipboard

Documentation on how to proper use `rhythm`, `scale` and other functions

Open huchenme opened this issue 6 years ago • 4 comments

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.

huchenme avatar Mar 11 '18 10:03 huchenme

https://github.com/KyleAMathews/typography.js/tree/master/docs may help

Jayphen avatar Aug 05 '18 08:08 Jayphen

The docs haven't been updated in 3 years, a lot is missing

kluvin avatar Apr 03 '19 10:04 kluvin

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.

baurine avatar Jun 09 '19 06:06 baurine

Hi yall! Just wrote a blog post about this: https://sashko.dev/typography-js/

stubailo avatar Aug 13 '20 14:08 stubailo