Skip to main content

Typography System

Font Family​

Inter - Primary Font

The quick brown fox jumps over the lazy dog. 0123456789


Font Sizes​

xs (12px)
The quick brown fox jumps over the lazy dog
sm (14px)
The quick brown fox jumps over the lazy dog
base (16px)
The quick brown fox jumps over the lazy dog
lg (18px)
The quick brown fox jumps over the lazy dog
xl (20px)
The quick brown fox jumps over the lazy dog
2xl (24px)
The quick brown fox jumps over the lazy dog
3xl (30px)
The quick brown fox jumps
4xl (36px)
The quick brown fox

Font Weights​

Regular (400) - Body text, descriptions

Medium (500) - Labels, buttons, emphasis

Semi-bold (600) - Subheadings, important text

Bold (700) - Main headings, strong emphasis


Heading Scale​

h1 - Page Title (36px / Bold)

h2 - Section Title (30px / Semi-bold)

h3 - Subsection (24px / Semi-bold)

h4 - Card Title (20px / Semi-bold)

h5 - Small Heading (18px / Medium)
h6 - Tiny Heading (16px / Medium)

Text Colors​

Primary Text (#1A1A1A) - Main content, headings

Secondary Text (#6C757D) - Descriptions, labels

Muted Text (#ADB5BD) - Placeholders, disabled

Inverse Text (#FFFFFF) - Dark backgrounds


Usage in Code​

Tailwind CSS​

// Font sizes
<p className="text-sm">Small text (14px)</p>
<p className="text-base">Body text (16px)</p>
<h1 className="text-4xl">Page title (36px)</h1>

// Font weights
<span className="font-normal">Regular</span>
<span className="font-medium">Medium</span>
<span className="font-semibold">Semi-bold</span>
<span className="font-bold">Bold</span>

// Text colors
<p className="text-gray-900">Primary text</p>
<p className="text-gray-600">Secondary text</p>
<p className="text-gray-400">Muted text</p>

Reference​

Size Scale​

TokenTailwindPixelsRemUsage
xstext-xs12px0.75remCaptions, labels
smtext-sm14px0.875remSmall text, buttons
basetext-base16px1remBody text
lgtext-lg18px1.125remLarge body
xltext-xl20px1.25remSmall headings
2xltext-2xl24px1.5remMedium headings
3xltext-3xl30px1.875remLarge headings
4xltext-4xl36px2.25remPage titles

Weight Scale​

WeightTailwindValueUsage
Normalfont-normal400Body text
Mediumfont-medium500Labels, emphasis
Semi-boldfont-semibold600Subheadings
Boldfont-bold700Main headings

Typography is configured in Tailwind with Inter as the default font.