KyleAMathews / typography.js

A powerful toolkit for building websites with beautiful design
http://kyleamathews.github.io/typography.js/
MIT License
3.84k stars 183 forks source link

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

Open huchenme opened 6 years ago

huchenme commented 6 years ago

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.

Jayphen commented 6 years ago

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

kluvin commented 5 years ago

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

baurine commented 5 years ago

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.

stubailo commented 4 years ago

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