How Typography Works
Typography is entirely controlled through the Typography variable collection. Each text component (headings, paragraphs, and labels) references these tokens, ensuring scalability and consistency across the entire interface. You can modify any font variable through the Orbital Variable Editor, and the system will automatically apply your changes to every component — mirroring how Tailwind typography utilities work in code.Variable Structure
The collection is divided into four core categories:| Category | Description | Example Variables |
|---|---|---|
| Font Family | Defines the main typographic sets — sans, serif, and mono. | font-sans, font-serif, font-mono |
| Font Size | Uses Tailwind-based scales for consistent hierarchy and responsiveness. | text-xs (12px) → text-9xl (128px) |
| Line Height | Establishes vertical rhythm for each text size, ensuring perfect readability. | leading-tight, leading-relaxed |
| Font Weight | Manages emphasis and tone within each hierarchy. | font-light, font-medium, font-bold |
Tailwind Alignment
The font scales mirror Tailwind CSS’s typographic system, meaning designers and developers speak the same visual language. For instance:text-basein Figma =text-basein Tailwindtext-4xlin Figma =text-4xlin Tailwind
Tips & Best Practices
- 🔠 Define your preferred font families at the start — this will cascade through all text components.
- 🧮 Keep consistent type hierarchy: 2–3 heading levels are usually enough for most UIs.
- 🌓 Test typography in both Light and Dark modes to verify legibility and color contrast.
- 🧷 Avoid detaching text styles; always use properties or variables to maintain scalability.
Tip: Typography in Orbital Shadcn UI Kit is not static — it’s a living system. Every change you make through variables reflects in real time, ensuring the same design logic developers apply with Tailwind.