Typography tokens
Font
Family
Ex. | Token name | Value | Use case | |
---|---|---|---|---|
Aa |
|
RedHatDisplay, "Red Hat Display", "Noto Sans Arabic", "Noto Sans Hebrew", "Noto Sans JP", "Noto Sans KR", "Noto Sans Malayalam", "Noto Sans SC", "Noto Sans TC", "Noto Sans Thai", Helvetica, Arial, sans-serif
|
Heading font family |
|
Aa |
|
RedHatText, "Red Hat Text", "Noto Sans Arabic", "Noto Sans Hebrew", "Noto Sans JP", "Noto Sans KR", "Noto Sans Malayalam", "Noto Sans SC", "Noto Sans TC", "Noto Sans Thai", Helvetica, Arial, sans-serif
|
Body text font family |
|
Aa |
|
RedHatMono, "Red Hat Mono", "Courier New", Courier, monospace
|
Code font family |
|
Size
Body text
Ex. | Token name | Value | Use case | |
---|---|---|---|---|
Aa |
|
0.75rem |
12px font size |
|
Aa |
|
0.875rem |
14px font size |
|
Aa |
|
1rem |
16px font size |
|
Aa |
|
1.125rem |
18px font size |
|
Aa |
|
1.25rem |
20px font size |
|
Aa |
|
1.5rem |
24px font size |
|
Code
Ex. | Token name | Value | Use case | |
---|---|---|---|---|
Aa |
|
0.75rem |
12px font size |
|
Aa |
|
0.875rem |
14px font size |
|
Aa |
|
1rem |
16px font size |
|
Aa |
|
1.125rem |
18px font size |
|
Aa |
|
1.25rem |
20px font size |
|
Aa |
|
1.5rem |
24px font size |
|
Heading
Ex. | Token name | Value | Use case | |
---|---|---|---|---|
Aa |
|
1.25rem |
h6 heading font size |
|
Aa |
|
1.5rem |
h5 heading font size |
|
Aa |
|
1.75rem |
h4 heading font size |
|
Aa |
|
2.25rem |
h3 heading font size |
|
Aa |
|
2.5rem |
h2 heading font size |
|
Aa |
|
3rem |
h1 heading font size |
|
Weight
Body text
Ex. | Token name | Value | Use case | |
---|---|---|---|---|
regular |
|
400
regular
|
Regular font weight |
|
medium |
|
500
medium
|
Medium font weight |
|
Code
Ex. | Token name | Value | Use case | |
---|---|---|---|---|
regular |
|
400
regular
|
Regular font weight |
|
medium |
|
500
medium
|
Medium font weight |
|
Heading
Ex. | Token name | Value | Use case | |
---|---|---|---|---|
light |
|
300
light
|
Regular font weight for headings |
|
medium |
|
500
medium
|
Medium font weight for headings |
|
bold |
|
700
bold
|
Bold font weight for headings |
|
Line height
Ex. | Token name | Value | Use case | |
---|---|---|---|---|
|
1.3
|
Line height for headings |
|
|
|
1.5
|
Line height for body text |
|
|
|
1.5
|
Line height for code |
|
Text
Primary
Ex. | Token name | Value | Use case | |
---|---|---|---|---|
Aa |
|
#151515
|
Primary text color for light theme |
|
Aa |
|
#ffffff
|
Primary text color for dark theme |
|
Secondary
Ex. | Token name | Value | Use case | |
---|---|---|---|---|
Aa |
|
#4d4d4d
|
Secondary text color for light theme |
|
Aa |
|
#c7c7c7
|
Secondary text color for dark theme |
|
Brand
Ex. | Token name | Value | Use case | |
---|---|---|---|---|
Aa |
|
#ee0000
|
Brand text color for light theme |
|
Aa |
|
#ee0000
|
Brand text color for dark theme |
|
Other libraries
To learn more about our other libraries, visit this page.
Feedback
To give feedback about anything on this page, contact us.
Other libraries
To learn more about our other libraries, visit the getting started page.