Dev Arcade uses a deliberate three-font system to create visual hierarchy across its retro UI. Press Start 2P delivers the chunky 8-bit pixel weight needed for headings and CTAs. VT323 provides a lighter, more readable pixel style for secondary labels and stats. Space Mono anchors body text and descriptions with a clean monospace feel that reinforces the technical, code-terminal aesthetic. Each font is mapped to a short Tailwind utility class so you can apply the right typeface anywhere in the component tree with a single class name.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/dev-arcade/llms.txt
Use this file to discover all available pages before exploring further.
Font Reference
| Tailwind Class | Font Family | Style | Use Cases |
|---|---|---|---|
font-arcade | Press Start 2P | 8-bit pixel, heavy weight | Level names, headings, button labels, major CTAs |
font-pixel | VT323 | Pixel, lighter, more readable | Type badges, stats, secondary labels, score numbers |
font-mono | Space Mono | Monospace, technical | Body text, descriptions, code-style content |
Loading the Fonts
All three fonts are loaded from Google Fonts via a single@import statement in the global CSS file. The display=swap parameter ensures text remains visible during font load — the browser renders fallback fonts first, then swaps in the pixel typefaces once they arrive.
Tailwind Configuration
The fonts are registered intailwind.config.js under theme.extend.fontFamily. This creates the font-arcade, font-pixel, and font-mono utility classes used throughout the app.
tailwind.config.js
font-arcade (Press Start 2P) renders very large at standard sizes — it’s designed to be used at text-xl or larger. Each character is a full pixel-art glyph with significant built-in spacing. Use text-sm or text-xs only for very short labels where the oversized rendering is intentional.Usage Examples
Here’s how each font class is applied in practice across Dev Arcade components:Replacing the Fonts
To swap out one or all of the typefaces, make two edits: 1. Update the@import URL in your global CSS file (main.css or index.css) to load your chosen fonts from Google Fonts (or remove the import entirely if self-hosting):
fontFamily in tailwind.config.js to point the utility classes at the new font names:
tailwind.config.js
font-arcade, font-pixel, and font-mono class names throughout, no component files need to be changed — just the config and the import.
Related
Tailwind Config
See the full Tailwind configuration including the complete fontFamily block.
Colors
Explore the six neon color tokens and how to swap the arcade palette.