page FontsGuide { layout = "showcase" seo { title = "Fonts" description = "Select a font family globally while components continue to inherit typography correctly." } view {
Customization

Fonts

Select a font family globally while components continue to inherit typography correctly.

Configure families

Declare the application sans family and optional hosted families in wrnexus.config.ts. Components inherit typography without per-component imports.

Control loading

Request only used weights and styles. Keep a system fallback so content remains readable before hosted fonts finish loading.

Preserve hierarchy

Use semantic heading, body, label, caption, and code roles. Avoid arbitrary sizes that break density and responsive rhythm.

Test real content

Check long headings, translated labels, numeric tables, code, and form errors. Font choices must remain legible at zoom and on narrow screens.

Quick start

fonts: {
  sans: '"Plus Jakarta Sans", system-ui, sans-serif',
  google: [{ family: "Plus Jakarta Sans", weights: [400, 500, 600, 700] }],
}
} }