Skip to content
iv-ui v0.3.0

Typography

IBM Plex Mono is the interface voice; Sora is reserved for headings and prose.

The UI is mono-forward: labels, buttons, tables, and metadata are all Plex Mono. Sora appears only where a document needs a headline or a paragraph.

--iv_text-base Base The quick brown fox 1rem
--iv_text-body Default interface The quick brown fox 0.9rem
--iv_text-body-sm Secondary body The quick brown fox 0.875rem
--iv_text-btn Buttons The quick brown fox 0.95rem
--iv_text-btn-sm Small buttons The quick brown fox 0.825rem
--iv_text-caption Captions The quick brown fox 0.75rem
--iv_text-chips Chips The quick brown fox 10.5px
--iv_text-chips-sm Chips, small The quick brown fox 13px
--iv_text-display Display numerals The quick brown fox 2rem
--iv_text-h1 Page title The quick brown fox 1.5rem
--iv_text-h2 Section title The quick brown fox 1.25rem
--iv_text-h3 Subsection title The quick brown fox 1.1rem
--iv_text-label Form labels The quick brown fox 0.85rem
--iv_text-lg Large body The quick brown fox 1.05rem
--iv_text-sm Helper text The quick brown fox 0.8rem
--iv_text-title Card or dialog title The quick brown fox 1rem
--iv_text-xl Interface text The quick brown fox 1.1rem
--iv_text-xs Metadata The quick brown fox 0.75rem

Roles

TokenSizeRole
--iv_text-xs0.75remMetadata, badges, timestamps.
--iv_text-sm0.8remHelper text and dense labels.
--iv_text-body0.9remDefault interface text.
--iv_text-lg1.05remSection titles.
--iv_text-xl1.1remDialog titles.
--iv_text-h11.5remPage titles.
--iv_text-display2remReserved for large numerals.

Weights and tracking

  • Three weights: 400 body, 500 medium labels, 600 headings. 700 is reserved for numerals.
  • Tracking is tight (-0.01em) for headings, neutral for body, wide (0.05em) for uppercase micro-labels.
  • Uppercase labels never exceed 0.75rem and always add tracking.

Prose

Wrap rendered Markdown in .iv-prose (from typeset.css) to get container-aware type. Its three controls are --iv_typeset-size, --iv_typeset-leading, and --iv_typeset-flow.

Source· html Show Hide
<article class="iv-prose">
	<!-- rendered markdown -->
</article>
iv-ui
↑ ↓ navigate ↵ open esc close minisearch · 482 records