Typography

Font stacks

The only font files we need to load are Sofia Pro in 400 and 600. We use system and default fonts as fallbacks in the stack.

Sans-serif: "Sofia Pro", system-ui, -apple-system, BlinkMacSystemFont, "Avenir Next", "Avenir", "Segoe UI", "Helvetica Neue", "Helvetica", "Fira Sans", "Roboto", "Noto", "Droid Sans", "Cantarell", "Oxygen", "Ubuntu", "Franklin Gothic Medium", "Century Gothic", "Liberation Sans", sans-serif;

Monospace: "Menlo", "Monaco", "Consolas", "Lucida Console", monospace;

Heading

heading
Ag
Sofia Pro 700 48px/56px
h1
Collection
-
Ag
Sofia Pro 700 34px/40px
h2
Collection
-
Ag
Sofia Pro 700 24px/28px
h3
Collection
-
Ag
Sofia Pro 700 20px/24px
h4
Collection
-
Ag
Sofia Pro 700 18px/20px
h5
Collection
-

Body

body 2
Ag
Sofia Pro 400 14px/20px
400
Collection
-
Ag
Sofia Pro 500 14px/20px
500
Collection
-
Ag
Sofia Pro 700 14px/20px
600
Collection
-
Ag
Sofia Pro 400 14px/20px, underline
link
Collection
-

Caption

caption
Ag
Sofia Pro 400 12px/16px
400
'Regular' font-weight: 400; line-height: 16px; letter-spacing: 0.1px;
Collection
-
Ag
Sofia Pro 500 12px/16px
500
'Medium' font-weight: 500; line-height: 16px; letter-spacing: 0.1px;
Collection
-
Ag
Sofia Pro 700 12px/16px
600
font-weight: 600; line-height: 16px; letter-spacing: 0.1px;
Collection
-
Ag
Sofia Pro 400 12px/16px, underline
link
Collection
-

 

Overline

overline
Ag
Sofia Pro 700 11px/12px, uppercase
600
Collection
-
Ag
Sofia Pro 800 11px/12px, uppercase
700
Collection
-

 

Monospace

mono / body 1
Ag
Menlo 700 15px/24px
700
Collection
-
Ag
Menlo 400 15px/24px
400
Collection
-
mono / caption
Ag
Menlo 400 11px/16px
400
Collection
-
mono / body 2
Ag
Menlo 400 13px/20px
400
Collection
-
Ag
Menlo 700 13px/20px
700
Collection
-

 

Misc

Body 1 (use sparingly)

Body 1 uses a 16px / 1 rem sizing with a 24px line-height. It is not as commonly used in the product and is slowly being phased out with the body 2 variation that uses a 14px / .875 REM sizing and a 20px line-height.

 

misc / body 1
Ag
Sofia Pro 400 16px/24px
400
Collection
-
Ag
Sofia Pro 500 16px/24px
500
Collection
-
Ag
Sofia Pro 700 16px/24px
600
Collection
-
Ag
Sofia Pro 400 16px/24px, underline
link
Collection
-

 

Tnum

Tabular numerals (Tnum for short), also known as monospaced or table numbers, are a font feature where each numeral has the same width. This uniformity is crucial in certain design contexts for several reasons:

  1. When to Use:

    Data-Intensive Contexts: Tabular numerals are ideal in tables, spreadsheets, and any layout involving columns of numbers. This ensures that numbers line up vertically, making the data easier to read and compare

    Financial Statements: In financial documents where precision and clarity are essential, tabular numerals help maintain a clean, organized appearance

    Timetables and Schedules: For displaying times or dates, where alignment is key for quick comprehension

    UI with dynamic data: interface involving dynamic data can use tabular numerals to maintain the layout's consistency as numbers change
  2. Why to Use:

    Clarity and Readability: Ensures that numbers are easily readable and comparisons between rows or columns are straightforward

    Aesthetic Consistency: Provides a uniform look, which is often crucial in professional or formal documents

    Functional Accuracy: In UI/UX design, they prevent shifting or resizing of elements due to variable-width numbers, ensuring a stable and predictable layout
  3. Design Considerations:

    Context Suitability: While beneficial in certain scenarios, tabular numerals might not be necessary or visually appealing in more narrative or text-heavy designs.

    Balance with Other Features: Consider how tabular numerals work with other font features (like kerning, ligatures) in your overall design.

When dealing with data representation or UI elements involving numbers, the application of tabular numerals can significantly enhance both the functionality and aesthetics of your design. It's a small detail that can greatly improve the user experience and the effectiveness of the information presented.

misc / tnum / body1
Ag
Sofia Pro 400 16px/24px
400
Collection
-
Ag
Sofia Pro 500 16px/24px
500
Collection
-
Ag
Sofia Pro 700 16px/24px
600
Collection
-
misc / tnum / body2
Ag
Sofia Pro 400 14px/20px
400
Collection
-
Ag
Sofia Pro 500 14px/20px
500
Collection
-
Ag
Sofia Pro 700 14px/20px
600
Collection
-
misc / tnum / h3
Ag
Sofia Pro 700 24px/28px
600
Collection
-
misc / tnum / caption
Ag
Sofia Pro 400 12px/16px
400
Collection
-
Ag
Sofia Pro 500 12px/16px
500
Collection
-
Ag
Sofia Pro 700 12px/16px
600
Collection
-
misc / tnum / h1
Ag
Sofia Pro 700 48px/56px
600
Collection
-

Misc

Body 2 - special

Due to Figma constraints, there are some special Body 2 configurations that have to be created using individual styles

 

Button