Typography

Font family, size scale, weight, line-height, and letter-spacing tokens. Override --kg-font-sans to switch the entire UI to your brand typeface in one variable.

--kg-text-xs12px
The quick brown fox
--kg-text-sm14px
The quick brown fox
--kg-text-md16px
The quick brown fox
--kg-text-lg18px
The quick brown fox
--kg-text-xl20px
The quick brown fox
--kg-text-2xl24px
The quick brown fox
--kg-text-3xl30px
The quick brown fox
--kg-text-4xl36px
The quick brown fox
--kg-font-sansSyne · sans-serifsystem-ui, -apple-system, sans-serif
The five boxing wizards jump quickly.
--kg-font-monoDM Mono · monospaceui-monospace, "Cascadia Code", "Consolas", monospace
const value = "0xff";
--kg-weight-regular400 · Regular
Karigiri Kit — Regular
--kg-weight-medium500 · Medium
Karigiri Kit — Medium
--kg-weight-semibold600 · Semibold
Karigiri Kit — Semibold
--kg-weight-bold700 · Bold
Karigiri Kit — Bold
TokenValueUse when
--kg-leading-none1Single-line display text, icon labels
--kg-leading-tight1.2Large headings (h1, h2)
--kg-leading-snug1.375UI labels, card titles, nav items
--kg-leading-normal1.6Body copy, descriptions
--kg-leading-relaxed1.75Long-form prose
--kg-leading-loose1.8Spaced-out body text or captions
TokenValueUse when
--kg-tracking-tighter-0.025emLarge display headings
--kg-tracking-tight-0.015emSubheadings, hero text
--kg-tracking-normal0emBody copy (default)
--kg-tracking-wide0.05emSmall caps, badges, chip labels
--kg-tracking-wider0.10emUppercase section labels, overlines