Spacing Typography
Some classes let you control the spacing between lines of text and characters.
Line Height
leading-TYP
- TYP (line-height...in rem)
3
.754
15
1.256
1.57
1.758
29
2.2510
2.5 - TYP (line-height...relative)
none
1tight
1.25snug
1.375normal
1.5relaxed
1.625loose
2
- TYP (line-height...in rem)
With leading, you have two options, you can specify one of eight sizes that are sized in rem, which is relative to the root font sizes. Usually 16px.
You can also size relative to the line height in the current font size.
Just like with the other items, you can customize in the config file with using theme.extend.lineHeight
, overriding existing items or adding new ones. You can turn this feature off using corePlugins.lineHeight and set it to false.
Letter Spacing
tracking-TYP
- TYP (letter-spaci ng...in ems)
tighter
-.05tight
-.025normal
0wide
.025wider
.05widest
.1
- TYP (letter-spaci ng...in ems)
Letter is under the tracking class for some reason and you can see that the measurements here are very minor. A little letter spacing goes a long way. I think these are a good set of measurements.