Skip to content

Fonts

TL;DR: Everything about managing typography in Solis — settings, tokens, code, accessibility, and performance, from both a developer and merchant perspective.

Everything about fonts and typography, in one place. If you have a question about how type works in Solis, whether you’re a developer wiring up font_picker settings or a merchant choosing a typeface in the theme editor, it should be answered somewhere in this section.

PageAnswers
Font SettingsWhat font_picker is, the Shopify font library, required defaults, and the Theme Store’s font pairing rule
Type Scale & Typography TokensA defined size/line-height scale instead of one-offs, fluid type with clamp(), naming rules
Typography in Liquid & CSSThe font object, generating @font-face with font_face, deriving weights/styles with font_modify
Font Accessibility & PerformanceReadable sizes and line-height, and why font_picker beats a custom web font import

A merchant picks a typeface through a font_picker setting (see Font Settings). In code, that value becomes a font object with properties like family and weight, turned into real CSS with the font_face and font_modify filters (see Typography in Liquid & CSS). Sizing and line-height come from a separate, deliberately-designed scale (see Type Scale & Typography Tokens) that’s usually fixed in CSS rather than merchant-editable, to keep it internally consistent. And Font Accessibility & Performance covers the readability and loading-performance rules every one of those choices has to satisfy.

“How many font settings should my theme have?” Usually two: one font_picker for headings, one for body text. See Font Settings.

“How do I get a bold or italic version of the merchant’s chosen font?” Derive it with font_modify, don’t add a second setting. See Typography in Liquid & CSS.

“What size should body text be?” 16px or larger, 1.4–1.6 line-height. See Font Accessibility & Performance.

“Should I load a custom Google Font via @import?” No, use font_picker. See Font Accessibility & Performance.

“Does Theme Store review check my fonts?” Yes: a required default on every font_picker, only currently available fonts, and one consistent font pairing across the whole theme. See Font Settings.

  • Design System & Configuration: the broader section this one was split out of, covering settings architecture beyond just typography
  • Spacing: the companion section for spacing tokens and settings
  • Colors: the companion section for color tokens and settings