Typography
Typography is critical for communicating the hierarchy of a page.
Always start by creating a clear hierarchy with the help of different sizes. Only work with font weight and body text color if you need to emphasize something.
Headings are used to show the content hierarchy and are important for improving the reading experience for our users.
To stand out from the page, we use colorHeading as the only heading color.
Type | Size |
---|---|
Display Title | fontSizeHeadingDisplay |
Display Subtitle | fontSizeHeadingDisplaySubtitle |
Title 1 | fontSizeHeadingTitle1 |
Title 2 | fontSizeHeadingTitle2 |
Title 3 | fontSizeHeadingTitle3 |
Title 4 | fontSizeHeadingTitle4 |
Title 5 (Uppercase) | fontSizeHeadingTitle5 |
The most basic component for rendering text blocks.
Text Primary
#252A31
rgba(37, 42, 49, 1)
colorTextPrimary
Text Secondary
#5F738C
rgba(95, 115, 140, 1)
colorTextSecondary
Size | Value |
---|---|
Small | fontSizeTextSmall |
Normal | fontSizeTextNormal |
Large | fontSizeTextLarge |