Skip to main content

Typography

Overview

Introduce

Our Design System uses Inter. Download Inter from Google fonts ↗

Inter is a variable font family carefully crafted & designed for computer screens.

Inter features a tall x-height to aid in readability of mixed-case and lower-case text. Several OpenType features are provided as well, like contextual alternates that adjusts punctuation depending on the shape of surrounding glyphs, slashed zero for when you need to disambiguate "0" from "o", tabular numbers, etc.

The Inter project is led by Rasmus Andersson, a Swedish maker–of–software living in San Francisco. To contribute, see github.com/rsms/inter

Typography System

Our Typography aliases get values from Global tokens. The reason for this purpose is responsive, so we keep just one table of Global Typography (as a scale) and change the alias depending on the viewport. Currently, we've covered only Desktop variants.

Aliases

Hero

NameGlobalFont SizeLine-heightLetter SpacingWeight
LargeStrong 60048px64px-0.02em600
MediumStrong 50040px56px-0.02em600
NameGlobalFont SizeLine-heightLetter SpacingWeight
4xLargeStrong 40032px44px-0.02em600
3xLargeStrong 30024px36px-0.02em600
xLargeStrong 22518px32px-0.02em600
LargeStrong 20016px28px0600
MediumStrong 17514px24px0600
SmallStrong 15012px20px0600

Body

NameGlobalFont SizeLine-heightLetter SpacingWeight
LargeMedium 20016px28px0.02em450
MediumMedium 17514px24px0.02em450
SmallMedium 15012px20px0.02em450
xSmallMedium 12510px16px0.02em450

Globals

info

As of now, Figma does not support aliases and variables in the same manner as it does for Colors, so we maintain only typography aliases as Text Styles. When Figma implements this functionality, we plan to incorporate Global to Local Variables as well.

To give you an insight into how we have constructed the Typography system in Tetrisly, we invite you to also examine our Global Tokens Typography below.

Strong

NameFont SizeLine-heightLetter SpacingWeight
Strong 60048px64px-0.02em600
Strong 50040px56px-0.02em600
Strong 40032px44px-0.02em600
Strong 30024px36px-0.02em600
Strong 22518px32px-0.02em600
Strong 20016px28px0600
Strong 17514px24px0600
Strong 15012px20px0600
Strong 12510px16px0600

Medium

NameFont SizeLine-heightLetter SpacingWeight
Medium 60048px64px0450
Medium 50040px56px0450
Medium 40032px44px0450
Medium 30024px36px0450
Medium 22518px32px0450
Medium 20016px28px0.02em450
Medium 17514px24px0.02em450
Medium 15012px20px0.02em450
Medium 12510px16px0.02em450

Normal

NameFont SizeLine-heightLetter SpacingWeight
Normal 60048px64px0400
Normal 50040px56px0400
Normal 40032px44px0400
Normal 30024px36px0400
Normal 22518px32px0400
Normal 20016px28px0.02em400
Normal 17514px24px0.02em400
Normal 15012px20px0.02em400
Normal 12510px16px0.02em400