Typography
Typography settings in Slab let merchants control how text looks across the storefront from one place. Use Theme settings > Typography to choose your font families, set readable text scale, and standardize button and heading styles.
How to set up typography
Use this order to keep typography changes predictable in the storefront.
Open Theme settings > Typography.
In Fonts, choose your four base font families first: Body, Heading, Subheading, and Accent.
In Sizes, set Base font size first, then adjust Scale ratio until heading contrast looks right.
In Body, set line height for paragraph readability.
In Button, choose font, line height, letter spacing, and case for your default call-to-action style.
In Heading 1 through Heading 6, set each level to match your brand hierarchy.
In Styles, set Icon style and Text separator so icon and text treatments stay consistent.
Suggested setup defaults for most stores
Keep Base font size between 14 and 16 px for readable storefront text.
Start Scale ratio around 110% to 120% for clear heading steps.
Use Normal line height for body and buttons unless your chosen font needs more or less spacing.
Limit uppercase to selected heading or button levels so customers can scan text quickly.
Keep one consistent Icon style across the entire storefront.
What each typography setting controls
Fonts
Choose the core font families used across your storefront.
Body
Default paragraph and supporting text font family.
sans-serif
Heading
Default heading font family.
helvetica_n7
Subheading
Default subheading font family.
sans-serif
Accent
Accent font family used where accent typography is applied.
sans-serif
Sizes
These settings control the overall text scale used by Slab.
Base font size
The base type size Slab uses to scale body and heading sizes.
9 to 20 px
14 px
Scale ratio
How quickly type sizes increase between levels.
100% to 135%
110%
Body
Line height
Vertical spacing for body text lines.
None (1), Tight (1.25), Normal (1.625), Loose (2)
Normal (1.625)
Button
Font
Which font family buttons use.
Body, Heading, Subheading, Accent
Body
Line height
Vertical spacing inside button text.
None (1), Tight (1.25), Normal (1.625), Loose (2)
Normal (1.625)
Letter spacing
Tracking for button labels.
Tight (-0.025em), Normal (0), Loose (0.025em)
Normal (0)
Case
Letter case for button labels.
Default, Uppercase, Lowercase
Default
Heading 1 to Heading 6
Each heading level has the same four controls.
Font
Which font family that heading level uses.
Body, Heading, Subheading, Accent
Body
Line height
Vertical spacing for that heading level.
None (1), Tight (1.25), Normal (1.625), Loose (2)
Normal (1.625)
Letter spacing
Tracking for that heading level.
Tight (-0.025em), Normal (0), Loose (0.025em)
Normal (0)
Case
Letter case for that heading level.
Default, Uppercase, Lowercase
Default
Styles
Icon style
The icon family style used by theme icons.
Classic regular, Classic solid, Sharp regular, Sharp solid
Classic regular
Text separator
Separator symbol used between text elements in supported buttons.
Dot (•), Line (`
`)
Last updated
Was this helpful?