Typography
Text styles, headings, font families, font weights, and font scales.
Text styles
Body
4 tokens
typography.primary--semantic-typography-primaryUse for default running text in components that adapt to their context, such as paragraphs, lists, and links. Resolves to the UI style in interfaces and to the prose style inside long-form content.
- Size
0.875rem · 14px- Line height
1.428571- Weight
400- Family
Mallos Serif- Alias of
- typography.ui.primary
- In prose
400 1rem/1.5
typography.secondary--semantic-typography-secondaryUse for supporting running text in components that adapt to their context. Resolves to the secondary UI style in interfaces and to the secondary prose style inside long-form content.
- Size
0.75rem · 12px- Line height
1.333333- Weight
500- Family
Mallos Serif- Alias of
- typography.ui.secondary
- In prose
400 0.875rem/1.428571
typography.prose.primary--semantic-typography-prose-primaryUse for default body copy in long-form content.
- Size
1rem · 16px- Line height
1.5- Weight
400- Family
Mallos Serif
typography.prose.secondary--semantic-typography-prose-secondaryUse for supporting long-form content, such as annotations or ancillary copy. Use the primary prose style for default body copy.
- Size
0.875rem · 14px- Line height
1.428571- Weight
400- Family
Mallos Serif
Interface
5 tokens
typography.ui.primary--semantic-typography-ui-primaryUse for default text in application interfaces, including controls, labels, and navigation.
- Size
0.875rem · 14px- Line height
1.428571- Weight
400- Family
Mallos Serif
typography.ui.secondary--semantic-typography-ui-secondaryUse for supporting interface text, such as helper text or secondary labels. A step heavier than the primary UI style, so the smaller size stays legible. Use the primary UI style for default interface copy.
- Size
0.75rem · 12px- Line height
1.333333- Weight
500- Family
Mallos Serif
typography.ui.tertiary--semantic-typography-ui-tertiaryUse for the lowest-priority interface text, such as compact metadata or supplemental labels. A step and a half heavier than the primary UI style, so the smallest size stays legible. Do not use when the primary or secondary UI style provides sufficient hierarchy.
- Size
0.625rem · 10px- Line height
1.2- Weight
550- Family
Mallos Serif
typography.ui.label--semantic-typography-ui-labelUse for interface labels: form field and fieldset labels, and structural labels such as navigation and menu group labels and the table of contents title. The primary UI style's size, half a step heavier than medium, so a label stands apart from the value beside it. Do not use for default interface copy.
- Size
0.875rem · 14px- Line height
1.428571- Weight
550- Family
Mallos Serif
typography.ui.searchDialog.input--semantic-typography-ui-search-dialog-inputComponent token for the search dialog's field, the dialog's main input. Larger than the primary UI style, so the query reads as the dialog's heading. Do not use for other fields.
- Size
1.125rem · 18px- Line height
1.333333- Weight
400- Family
Mallos Serif
Code
2 tokens
typography.code.primary--semantic-typography-code-primaryUse for primary code content, including source code, commands, and structured machine-readable text.
- Size
0.875rem · 14px- Line height
1.428571- Weight
400- Family
Commit Mono
typography.code.secondary--semantic-typography-code-secondaryUse for supporting code content, such as annotations or ancillary technical metadata. Use the primary code style for the main code content.
- Size
0.75rem · 12px- Line height
1.333333- Weight
400- Family
Commit Mono
Headings
App
6 tokens
typography.heading.app.1--semantic-typography-heading-app-1Use for the highest-level heading in an application interface, such as a page title.
- Size
2.25rem · 36px- Line height
1.333333- Weight
500- Family
Mallos Serif
typography.heading.app.2--semantic-typography-heading-app-2Use for second-level headings in an application interface beneath a level 1 heading.
- Size
2rem · 32px- Line height
1.25- Weight
500- Family
Mallos Serif
typography.heading.app.3--semantic-typography-heading-app-3Use for third-level headings in an application interface beneath a level 2 heading.
- Size
1.75rem · 28px- Line height
1.285714- Weight
500- Family
Mallos Serif
typography.heading.app.4--semantic-typography-heading-app-4Use for fourth-level headings in an application interface beneath a level 3 heading.
- Size
1.5rem · 24px- Line height
1.333333- Weight
550- Family
Mallos Serif
typography.heading.app.5--semantic-typography-heading-app-5Use for fifth-level headings in an application interface beneath a level 4 heading.
- Size
1.3125rem · 21px- Line height
1.333333- Weight
550- Family
Mallos Serif
typography.heading.app.6--semantic-typography-heading-app-6Use for sixth-level headings in an application interface beneath a level 5 heading; it is the lowest application heading level.
- Size
1.125rem · 18px- Line height
1.333333- Weight
600- Family
Mallos Serif
Marketing
7 tokens
typography.heading.marketing.display--semantic-typography-heading-marketing-displayUse for oversized promotional text above the standard marketing heading hierarchy. Do not use for document headings.
- Size
6rem · 96px- Line height
1.083333- Weight
450- Family
Mallos Serif
typography.heading.marketing.1--semantic-typography-heading-marketing-1Use for the highest-level document heading in marketing content. Use the display style only for promotional text outside the heading hierarchy.
- Size
4.5625rem · 73px- Line height
1.09589- Weight
450- Family
Mallos Serif
typography.heading.marketing.2--semantic-typography-heading-marketing-2Use for second-level headings in marketing content beneath a level 1 heading.
- Size
3.4375rem · 55px- Line height
1.163636- Weight
450- Family
Mallos Serif
typography.heading.marketing.3--semantic-typography-heading-marketing-3Use for third-level headings in marketing content beneath a level 2 heading.
- Size
2.625rem · 42px- Line height
1.238095- Weight
450- Family
Mallos Serif
typography.heading.marketing.4--semantic-typography-heading-marketing-4Use for fourth-level headings in marketing content beneath a level 3 heading.
- Size
2rem · 32px- Line height
1.25- Weight
500- Family
Mallos Serif
typography.heading.marketing.5--semantic-typography-heading-marketing-5Use for fifth-level headings in marketing content beneath a level 4 heading.
- Size
1.5rem · 24px- Line height
1.333333- Weight
500- Family
Mallos Serif
typography.heading.marketing.6--semantic-typography-heading-marketing-6Use for sixth-level headings in marketing content beneath a level 5 heading; it is the lowest marketing heading level.
- Size
1.125rem · 18px- Line height
1.333333- Weight
550- Family
Mallos Serif
Fonts
Families
3 tokens
fontFamily.code--semantic-font-family-codeUse for source code, commands, and other content whose character alignment must be preserved. Do not use for prose or general interface text.
- Stack
"Commit Mono", "SFMono-Regular", ui-monospace, "Menlo", "Monaco", "Consolas", monospacefontFamily.mono
fontFamily.prose--semantic-font-family-proseUse for long-form reading content, such as articles and documentation. Do not use for application controls or code.
- Stack
"Mallos Serif", "Georgia", seriffontFamily.serif
fontFamily.ui--semantic-font-family-uiUse for text in application interfaces, including controls, labels, and navigation. Do not use for long-form reading or code.
- Stack
"Mallos Serif", "Georgia", seriffontFamily.serif
Weights
3 tokens
fontWeight.ui.selected--semantic-font-weight-ui-selectedUse for the label of the selected or current item, such as the current page in navigation and the section that contains it. Between medium and semi-bold: the selected item also stands out by its fill or color.
- Weight
550fontWeight.550
fontWeight.emphasis--semantic-font-weight-emphasisUse for strongly emphasized text in any context, such as important words in running text.
- Weight
700fontWeight.700
fontWeight.ui.emphasis--semantic-font-weight-ui-emphasisUse for emphasized interface text.
- Weight
700fontWeight.700
Font scales
1 token
number.fontScale.inlineCode--semantic-number-font-scale-inline-codeComponent token for inline code, relative to the surrounding text, so code in a heading grows with it. Evens out the code typeface looking larger than the text typeface at the same size.
- Value
0.9375number.fontScale.9375
No matching tokens
Nothing matches “”. Try a shorter or different word.