Design Tokens
The foundation of AdorableCSS's design system. Consistent, scalable, and beautiful tokens for building cohesive interfaces.
Typography System
A comprehensive 6-role typography system designed for clarity, hierarchy, and beautiful reading experiences. Each role serves a specific purpose in your design system.
Display
Maximum visual impact for hero sections, landing pages, and marketing materials. Features tight line-height and negative letter-spacing for dramatic effect.
display(size)
display(xs)
Section headersSmaller display text
display(sm)
Feature titlesSmall display size
display(base)
Page headersStandard display size
display(lg)
Hero sectionsLarge display text
display(xl)
Landing pagesExtra large display
display(2xl)
Marketing headersDouble XL display
display(hero)
Main hero textHero section display
display(banner)
Promotional bannersBanner display text
Heading
Semantic HTML headings for document structure and SEO. Provides clear visual hierarchy with balanced typography.
heading(level)
heading(h1)
Page titlesPrimary page title
heading(h2)
Major sectionsSection headers
heading(h3)
SubsectionsSubsection titles
heading(h4)
ComponentsComponent headers
heading(h5)
Minor sectionsSmall headings
heading(h6)
Fine detailsTiny headings
Title
Component identifiers for cards, modals, and UI elements. Balanced weight and spacing for clear labeling without dominating.
title(size)
title(xs)
Extra Small Title
Badges, tags
title(sm)
Small Title
List items
title(base)
Base Title
Cards, sections
title(lg)
Large Title
Feature cards
title(card)
Card Title Example
Card headers
title(modal)
Modal Title
Dialog headers
title(section)
Section Title
Section headers
Body
Optimized for readability with generous line-height and comfortable spacing. The workhorse of content presentation.
body(size)
body(xs)
Legal textExtra small body text for fine print and disclaimers
Tiny text
body(sm)
DescriptionsSmall body text for secondary content and descriptions
Small content
body(base)
Main contentBase body text is optimized for readability with comfortable line height
Standard text
body(lg)
Lead paragraphsLarge body text for emphasized paragraphs and introductions
Large text
body(article)
Blog postsArticle body text with optimal reading width and line height for long-form content
Article optimized
body(prose)
DocumentationProse variant provides the best reading experience for extended text with enhanced typography
Enhanced prose
Label
Functional UI text for buttons, forms, and interactive elements. Clear and concise with enhanced weight for small sizes.
label(size)
Compact UI
Dense forms
Form fields
Buttons
Input fields
Tab bars
Status badges
Caption
Supplementary information that doesn't compete for attention. Intentionally subdued color and weight for supporting content.
caption(size)
caption(xs)
TimestampsExtra small caption text
caption(sm)
Helper textSmall caption for additional context
caption(base)
Image captionsBase caption provides supplementary information
caption(figure)
Media captionsFigure 1: Example caption for images and diagrams
caption(form)
Input hintsPassword must be at least 8 characters
caption(hint)
UI hintsHint: Try using keyboard shortcuts
Bold Utility
Fine-tune font weights independently of typography roles
bold(thin)
100bold(light)
300bold(normal)
400bold(medium)
500bold(semi)
600bold(bold)
700bold(extra)
800bold(black)
900Line Height
Control the vertical spacing between lines of text using the integrated font() syntax
Tight line height for display text
font(base/none)
Slightly tighter line height
font(base/tight)
Comfortable title spacing
font(base/snug)
Default readable line height
font(base/normal)
More spacious line height
font(base/relaxed)
Extra space between lines
font(base/loose)
Letter Spacing
Adjust the horizontal spacing between characters using the integrated font() syntax
Typography
font(lg/1.5/tighter)
Typography
font(lg/1.5/tight)
Typography
font(lg/1.5/normal)
Typography
font(lg/1.5/wide)
Typography
font(lg/1.5/wider)
Typography
font(lg/1.5/widest)
Pro Tips
Semantic HTML
Always use the appropriate HTML element. heading(h1)
should be used with <h1>
tags.
Combine Utilities
Mix typography roles with other utilities: display(hero) gradient hover:glow
Responsive Typography
Use responsive prefixes: display(base) md:display(lg)
Typography in Action
See how different typography roles work together to create beautiful, functional interfaces
Getting Started with AdorableCSS
Learn the fundamentals of our intuitive CSS framework and start building beautiful interfaces in minutes.
Create Account
We'll never share your email
Dark Mode Support
Built-in dark mode with automatic theme detection and smooth transitions.