Typography
A shared language for readable text, clear hierarchy, and familiar controls.
Usage
Editorial content uses shadcn Typeset. Markdown renders semantic HTML; the shared Typeset stylesheet and your Appearance reading preferences supply its fonts, rhythm, and spacing. A future chat renderer can use the same styles. UI controls keep their own typography.
Fonts
Unirepo Default uses the sans-serif family for body text and headings, with Geist Mono for code. OpenCode uses mono headings. Editorial uses system serif fonts; Technical uses a tighter rhythm. Change these in Settings → Appearance. Arabic uses the selected stack’s available Arabic fallback glyphs.
Inter · Unirepo · 0123456789
Geist Mono · Unirepo · 0123456789Headings
Used to introduce pages or sections. Choose the HTML heading level for the document hierarchy and the class for its appearance. These samples use spans to preserve this page’s heading outline. Sizes use rem units and the selected heading font; reading-size preferences do not resize this explicit scale.
| Example | Class name | Usage |
|---|---|---|
| Heading 72 | text-heading-72 | — |
| Heading 64 | text-heading-64 | — |
| Heading 56 | text-heading-56 | — |
| Heading 48 | text-heading-48 | — |
| Heading 40 | text-heading-40 | — |
| Heading 32 with Subtle | text-heading-32 | — |
| Heading 24 with Subtle | text-heading-24 | — |
| Heading 20 with Subtle | text-heading-20 | — |
| Heading 16 with Subtle | text-heading-16 | — |
| Heading 14 | text-heading-14 | — |
Body text
Body text uses the same Typeset rules as docs articles. Keep paragraphs focused and use emphasis only where it helps the reader.
Build a workspace that feels consistent from the first command to the last page. Important information. A small emphasis.
Buttons
These are the actual shared Button components. Their labels, spacing, and states come from Button itself; this page does not recreate their styles.
Labels
Use Label for a form control and connect it with htmlFor. Use ordinary text for captions and descriptions.
Code
Use inline code for commands and identifiers. Code blocks keep their whitespace and scroll horizontally when needed.
unirepo initbun install
bun run devAccessibility and translation
Keep one page title, preserve heading order, and use real buttons and labels. Layout spacing follows the reading direction. Check Arabic with its actual fallback font before choosing a dedicated Arabic typeface.
Last updated