Typography
Basic typography system:
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Paragraph
code
When authors need to specify or alter heading sizes, continue to use the appropriate semantic heading in the AEM document first. Then add curly braces, and a heading modifier class of your choice. Because of CSS specificity, the heading modifier will target your semantic heading and apply the styles.
Example: This paragraph needs to be styled like an H3 {.heading-size-l}
Available heading modifiers include:
heading-size-xsfor 16pxheading-size-sfor 18pxheading-size-mfor 22pxheading-size-lfor 28pxheading-size-xlfor 36pxheading-size-xxlfor 40px