Typography

System Reference

Every text pattern available in Axiom01 — fully automatic, zero classes needed. Our typography scales mathematically and adapts to viewport dimensions.

Mathematical Type Scale

Axiom01 uses a mathematical type scale based on the Golden Ratio (1.618). Headings scale naturally using --a-heading-scale: 1.15 on mobile and 1.25 on desktop. All sizes are calculated — change one variable in your theme to adjust the entire scale instantly.

h1

The quick brown fox

h2

The quick brown fox

h3

The quick brown fox

h4

The quick brown fox

h5
The quick brown fox
h6
The quick brown fox

Font Families

Axiom01 uses CSS variables to assign three distinct font stacks.

Inter (Base)

Inter, system-ui, -apple-system, "Segoe UI", sans-serif

Lora (Serif)

"Lora", Georgia, Cambria, "Times New Roman", serif

JetBrains Mono

"JetBrains Mono", "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace

Inline Formatting

Standard HTML elements are fully styled without any classes.

You can bold text, or use emphasis.

Highlight important text using the mark element.

Display deleted or inserted edits.

Small print uses the small element.

Keyboard shortcuts like ⌘ + K are distinct.

Paragraphs & Readability

Line Length Constraints

By default, text blocks in Axiom01 are constrained to 65ch — the optimal reading length supported by typography research. On large monitors it will not stretch edge-to-edge, preserving comfortable line length without any extra markup.

This is a standard paragraph element. It demonstrates the ideal line height and character limits for maximum readability. Notice how it wraps automatically to prevent eye strain.

This paragraph uses the muted class to apply --a-color-on-surface-variant for secondary information.

Prose / Long-form Content

When writing articles or documentation, wrap your content in <div class="prose">. This automatically styles all nested headers, paragraphs, lists, and blockquotes with perfect vertical rhythm and spacing, ensuring a beautiful reading experience.

An Example Article

Axiom01 handles everything inside a prose block seamlessly.

"Typography is the foundation of the web. If your text is hard to read, your design has failed." — Unknown Designer

You can even include inline code snippets effortlessly.

Lists

Unordered Lists

  • Semantic HTML first
  • One class per component
  • Design tokens for all values
  • WCAG AAA built in

Ordered Lists

  1. Define structural role
  2. Use semantic tags
  3. Let math calculate styling
  4. Publish accessible web apps

Description Lists

Semantic Web
Using HTML markup to reinforce meaning, rather than defining presentation.
OKLCH
A perceptually uniform color space used natively for all Axiom01 theming.