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 and use it

This is the smallest useful starting point. Copy it into the indicated application file or run it from the project root, then adjust the documented values for your product.

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

What changes after this

Typography loads only required families and weights while preserving a readable system fallback.

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.

Verify the result

Type-check the application, inspect the resolved package and styles, and build the production artifact. Test the page at a narrow viewport, with keyboard navigation, and in both color modes before shipping.

bunx wrnexus typecheck .
bunx wrnexus inspect packages .
bunx wrnexus inspect styles .
bunx wrnexus build .

Expected result

The commands exit successfully, the build reports the installed UI components and active theme, and the rendered page remains usable before and after hydration.

} }