Typography Overview#
Typography can be controlled at three architectural levels:
- Design System Tokens: Set global font family, heading scales (H1βH6), and body text in Global Styles.
- Global Classes: Group font families, sizes, and colors into reusable utility classes via Global Classes.
- Element Typography: Override font styling on individual Heading or Text widgets via the Typography Popup.
Google Fonts Integration#
Jalpi integrates with Google Fonts without external plugins. Font selections are automatically registered and loaded via performant preconnected links in the HTML header, preventing layout shifts and FOIT (Flash of Invisible Text).
Typography Controls & Properties#
The Typography Popup control provides comprehensive typographic tuning:
- Font Family: Search and select from curated fonts or inherit from the theme.
- Size & Unit: Support for
px,rem,em,vw, and%units. - Weight: 100 (Thin) through 900 (Black).
- Transform: Uppercase, Lowercase, Capitalize, None.
- Style & Decoration: Normal, Italic, Underline, Line-through.
- Line Height & Letter Spacing: Proportional or fixed dimension controls.
Global Presets vs Inline Overrides#
Whenever an element has a typography property set by a Global Class, an Inherited Badge (from .class-name) displays in the inspector header. Setting an inline font size or weight on the element locally overrides the class value immediately.
Last updated: November 2026