Typography
Define the typographic scale, font styles, and usage guidelines in the Tendoo Design System.
Typography
Typography plays a key role in shaping Tendoo’s visual hierarchy, readability, and brand identity. We use a clear and scalable type system built with design tokens to maintain consistency across interfaces and platforms.
Font Stack
The Tendoo Design System uses a system font stack to optimize performance, legibility, and platform compatibility.
--font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
You may customize this in your project settings if your brand includes a custom or licensed font.
Type Scale
We use a modular scale to define heading and body text sizes. Each level has an assigned token for easier use in both design and development.
Token | Size | Line Height | Usage Example |
---|---|---|---|
text.5xl | 48px | 56px | Hero headings |
text.4xl | 36px | 44px | Page titles |
text.3xl | 30px | 38px | Section headings |
text.2xl | 24px | 32px | Subheadings |
text.xl | 20px | 28px | Content headers |
text.lg | 18px | 28px | Lead paragraph text |
text.base | 16px | 24px | Default body text |
text.sm | 14px | 20px | Secondary text |
text.xs | 12px | 16px | Labels, captions |
Font Weights
Token | Weight | Usage |
---|---|---|
font.light | 300 | Subtle UI, muted text |
font.regular | 400 | Default paragraph/body |
font.medium | 500 | Section headers, buttons |
font.semibold | 600 | Titles, emphasized labels |
font.bold | 700 | Headlines, strong emphasis |
Usage Guidelines
- Use
text.base
andfont.regular
as the default for most body content. - Avoid too many font sizes or weights on a single screen.
- Stick to the scale for vertical rhythm and readability.
- Use semantic HTML tags (
<h1>
–<h6>
,<p>
,<label>
) and apply styles via tokens or utility classes.
Example
<h1 className="text-4xl font-bold leading-tight">
Welcome to Tendoo
</h1>
<p className="text-base font-regular leading-relaxed">
Tendoo helps you build accessible, consistent interfaces faster with a shared design system.
</p>
Accessibility
- Maintain a minimum 1.5× line height for body text.
- Use sufficient contrast between text and background colors.
- Avoid using text size or weight alone to convey meaning.
Typography defines more than just size and weight — it builds rhythm, emotion, and clarity across every product interface. Stick to the system to create accessible, elegant, and readable designs.