Font
Font family
When referring to sans-serif or serif, the font-family that will be used is dependent on the operating system. For example, the default sans-serif font in Windows is Segoe UI, and the default sans-serif font in macOS is SF Pro. Other common system sans-serif fonts include Arial, Roboto, and Helvetica. Common system serif fonts include Times New Roman and Georgia.
| Name | Value |
|---|---|
font-family-base The quick brown fox | sans-serif
|
font-family-sans The quick brown fox | 'Helvetica Neue', 'Helvetica', 'Liberation Sans', 'Arial', sans-serif
|
font-family-system-sans The quick brown fox | -apple-system, 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Inter', 'Helvetica', 'Arial', sans-serif
|
font-family-sans--fallback The quick brown fox | sans-serif
|
font-family-serif The quick brown fox | 'Linux Libertine', 'Georgia', 'Times', 'Source Serif 4', serif
|
font-family-serif--fallback The quick brown fox | serif
|
font-family-monospace The quick brown fox | 'Menlo', 'Consolas', 'Liberation Mono', 'Fira Code', 'Courier New', monospace
|
font-family-monospace--fallback The quick brown fox | monospace, monospace
|
font-family-heading-main The quick brown fox | 'Linux Libertine', 'Georgia', 'Times', 'Source Serif 4', serif
|
Font size
TIP
Font size design tokens are referencing CSS custom properties rather than raw values. This means that the tokens will not work in various preprocessor functions (like Less unit()) and may require relying on CSS calc() function for basic calculations.
| Name | Value |
|---|---|
font-size-x-small The quick brown fox | 0.75rem
|
font-size-small The quick brown fox | 0.875rem
|
font-size-medium The quick brown fox | 1rem
|
font-size-large The quick brown fox | 1.125rem
|
font-size-x-large The quick brown fox | 1.25rem
|
font-size-xx-large The quick brown fox | 1.5rem
|
font-size-xxx-large The quick brown fox | 1.75rem
|
Font weight
| Name | Value |
|---|---|
font-weight-hairline The quick brown fox | 100
|
font-weight-light The quick brown fox | 300
|
font-weight-normal The quick brown fox | 400
|
font-weight-semi-bold The quick brown fox | 600
|
font-weight-bold The quick brown fox | 700
|
Line height
TIP
Line height design tokens are referencing CSS custom properties rather than raw values. This means that the tokens will not work in various preprocessor functions (like Less unit()) and may require relying on CSS calc() function for basic calculations.
| Name | Value |
|---|---|
line-height-xxx-small The quick brown fox | 1.4285714rem
|
line-height-xx-small The quick brown fox | 1.5714285rem
|
line-height-x-small The quick brown fox | 1.25rem
|
line-height-small The quick brown fox | 1.375rem
|
line-height-medium The quick brown fox | 1.625rem
|
line-height-large The quick brown fox | 1.75rem
|
line-height-x-large The quick brown fox | 1.875rem
|
line-height-xx-large The quick brown fox | 2.125rem
|
line-height-xxx-large The quick brown fox | 2.375rem
|
line-height-content The quick brown fox | 1.625
|
Text decoration
| Name | Value |
|---|---|
text-decoration-none The quick brown fox | none
|
text-decoration-line-through The quick brown fox | line-through
|
text-decoration-underline The quick brown fox | underline
|
Text overflow
| Name | Value |
|---|---|
text-overflow-clip The quick brown fox | clip
|
text-overflow-ellipsis The quick brown fox | ellipsis
|