Typography
A consistent type scale and hierarchy for clear communication across all AVNIR products.
Type Scale
MUZISYSTEM uses a modular type scale that provides a harmonious hierarchy from display titles to small captions. All sizes are defined as tokens for consistency.
Font Families
Sans-Serif (Primary)
--font-sans
Inter is our primary typeface, used for all UI text, headings, and body copy. It provides excellent readability at all sizes.
Monospace (Code)
--font-mono
System monospace fonts are used for code snippets, technical content, and data displays where fixed-width characters are beneficial.
Heading Scale
Six heading levels provide clear hierarchy for content structure:
Heading 1
3.5rem (56px)Heading 2
3rem (48px)Heading 3
1.5rem (24px)Heading 4
1.25rem (20px)Heading 5
1.125rem (18px)Heading 6
1rem (16px)Display Scale
Extra-large sizes for hero sections and marketing content:
6rem (96px)4.5rem (72px)3.75rem (60px)Body Text
Three body text sizes for different contexts:
The quick brown fox jumps over the lazy dog. This is large body text for emphasis and readability.
1.5rem (24px)The quick brown fox jumps over the lazy dog. This is default body text used throughout the interface.
1rem (16px)The quick brown fox jumps over the lazy dog. This is small body text for secondary content and captions.
0.875rem (14px)Utility Sizes
Additional sizes for specific use cases:
Small text for captions, labels, and secondary information.
0.875rem (14px)Extra small text for micro content, badges, and timestamps.
0.75rem (12px)Font Weights
Five weight options for emphasis and hierarchy:
Light weight (300) - Subtle, elegant text for special emphasis.
--font-lightNormal weight (400) - Default for body text and paragraphs.
--font-normalMedium weight (500) - Subtle emphasis for important content.
--font-mediumSemibold weight (600) - Headings and strong emphasis.
--font-semiboldBold weight (700) - Extra emphasis for critical information.
--font-boldLine Height
Optimized line heights for readability:
Line height none (1.0) - Tight spacing for display text and headlines where vertical space is limited.
--leading-noneLine height tight (1.25) - Compact spacing for headings and titles where readability is still important.
--leading-tightLine height normal (1.5) - Standard spacing for body text and most content. Provides good balance between density and readability.
--leading-normalLine height relaxed (1.625) - Comfortable spacing for long-form content and articles. Enhances readability for extended reading sessions.
--leading-relaxedLine height loose (2.0) - Extra spacing for maximum readability. Best used for accessibility or special emphasis contexts.
--leading-looseLetter Spacing
Tracking adjustments for different contexts:
Tighter tracking (-0.05em) - Condensed spacing for large display text.
--tracking-tighterTight tracking (-0.025em) - Slightly condensed for headings.
--tracking-tightNormal tracking (0) - Default spacing for body text and most content.
--tracking-normalWide tracking (0.025em) - Slightly expanded for emphasis.
--tracking-wideWider tracking (0.05em) - Expanded spacing for uppercase text and labels.
--tracking-widerUsage Guidelines
- Hierarchy - Use heading levels semantically (h1 → h2 → h3)
- Readability - Keep line length between 50-75 characters
- Contrast - Ensure sufficient contrast for all text sizes
- Responsive - Consider reducing sizes on mobile devices
- Consistency - Always use tokens, never hard-code sizes