Display headings are used for impact and are much larger than regular headings.
Headings help break up our page content and make content easier to scan.
To change the heading size at a specific breakpoint, apply the heading class as a combo with the component class and override the styles accordingly.
As the heading font-size and leading units increase so does the white space added top and bottom of the letterforms. There is browser support coming to help with this soon.
In the meantime we can use "em" negative margins or alternatively there's a great tool called Line Height Trim by Timothy Ricks.
Label classes can be used for smaller headings and are typically smaller or equal to your base font size.
Some Interface elements are generally smaller and more delicate compared to body text. By using a seperate class called "labels" we can have more flexibility with font weights and font sizing.
Label classes are commonly used for navigation text, form labels, and smaller card text like meta information or dates. Ultimately, it’s up to you as the developer to decide where they fit best.
Text classes are used for body paragraph content. Text-main (Base) is your websites default paragraph size and should typically sit somewhere between 14-18px depending on your typeface and desired mood.
Below is a list of the different CSS units we use for typography.