csshugs/FluidMS

[Feature] Calculate line-height relatively depending on the font-size

Closed this issue · 1 comments

It’s good design practice to decrease the line-leight in relation to its font-size, the bigger the font-size gets. E.g., 1.5 might be a good line-height value for the base body copy text, but for a big, multiline headline, that value might be way too much and something like 1.2 would be much better suited.

By introducing a line-height ratio that can be defined via a Sass variable, this could be automated.

#19 is merged.