KyleAMathews/typography.js

Heading line-heights not the same as paragraphs?

mhedengren opened this issue · 0 comments

Correct me if I'm wrong, but out of the box it seems that headings doesn't get the same line-heights as the paragraphs, why?

title: "Custom Theme", baseFontSize: "21px", baseLineHeight: 1.85, scaleRatio: 2, bodyFontFamily: ["Lato", "sans-serif"], headerFontFamily: ["Lato", "sans-serif"],

Here's an image with one h2 and one p tag.
https://i.imgur.com/IzQiDyn.png

The problem is that the spacing looks uneven if I for example start a section with a heading and then use a paragraph. Am I doing something wrong?