Font size
When it’s necessary to adjust the text size
Font size doesn’t need to be defined most of the time. The default size of 1 rem is handled already by design system defaults along with headings. But we have some utilities for when there is need and reason to not use the defaults.
Different sizing is used to visually separate different pieces, providing a cue to reading order or importance. In content-based pages, it can be useful for intros, while in application interfaces, it can be relevant in compound elements like information cards.
Class | Declaration | Example |
---|---|---|
text-1.5r | font-size: 1.5rem;
line-height: 1.3; |
Mybring provides logistics and warehousing management for Bring customers. |
text-1.25r | font-size: 1.25rem;
line-height: 1.4; |
Mybring provides logistics and warehousing management for Bring customers. |
text-1r | font-size: 1rem; |
Mybring provides logistics and warehousing management for Bring customers. |
text-0.875r | font-size: 0.875rem; |
Mybring provides logistics and warehousing management for Bring customers. |