Hacker News new | ask | show | jobs
by Rumudiez 4465 days ago
Well, it's a good idea, but in typography sizing and spacing is entirely based on a slightly more abstracted approach: the baseline grid. The baseline is the imaginary line which runs across the bottom of type, and the grid's vertical spacing is equal to the leading, or line-height. Therefore, body type set at 10pt/14pt will always align with a 14pt baseline grid so that elements on opposite sides of the page will always align and various type sizes will flow more naturally into the design.

Logically, type sizes from there (and this harkens back to manually setting type) should only be whole or half increments of the base type size (from my earlier example, this is 10pt), meaning appropriate sizes are 10pt, 15pt, 20pt, 30pt, etc, with agreeable modifications when necessary. However, good proportions would dictate that 10, 15, and 20 are too close together and as such designers would not use each, but probably restrict their designs to the highest and lowest point values.

I think it's important to remember that just because there are six included hX elements doesn't mean they should each be a different size. To create hierarchy, try changing capitalization, tracking (spacing between letters), weight, and other available styles in the type family you're working with.