Typography in Retro Cosmic Arcade is split across four carefully chosen Google Fonts, each assigned a specific role in the interface — from readable body copy to glitchy CRT terminal readouts. This page documents every font, its Tailwind class, where it appears in the project, and exactly how to swap one out without breaking the rest of the design.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/retro-cosmic-arcade/llms.txt
Use this file to discover all available pages before exploring further.
The Four Fonts
Inter
Class:
Role: Body text and readable prose
Weights loaded: 400, 600
Inter is the default
font-interRole: Body text and readable prose
Weights loaded: 400, 600
Inter is the default
sans-serif fallback for the entire app. It handles descriptions, paragraphs, and any copy where legibility matters more than aesthetic.Major Mono Display
Class:
Role: Large hero headings and dramatic display text
Weights loaded: 400 (single weight)
A condensed monospace display face with a retro-futurist feel. Used for the main hero title and any large-format section headings that need maximum visual impact.
font-majorRole: Large hero headings and dramatic display text
Weights loaded: 400 (single weight)
A condensed monospace display face with a retro-futurist feel. Used for the main hero title and any large-format section headings that need maximum visual impact.
Silkscreen
Class:
Role: Pixel-art button labels and UI chrome text
Weights loaded: 400, 700
Silkscreen mimics old LCD and dot-matrix displays. It appears on
font-silkscreenRole: Pixel-art button labels and UI chrome text
Weights loaded: 400, 700
Silkscreen mimics old LCD and dot-matrix displays. It appears on
ChromeButton labels, badge overlays, and anywhere the text needs to feel like it belongs on a physical arcade cabinet or 8-bit UI.VT323
Class:
Role: CRT terminal style, counters, and retro data readouts
Weights loaded: 400 (single weight)
VT323 is based on the font used on DEC VT terminals. It appears inside Polaroid card previews, the
font-vt323Role: CRT terminal style, counters, and retro data readouts
Weights loaded: 400 (single weight)
VT323 is based on the font used on DEC VT terminals. It appears inside Polaroid card previews, the
PixelHPBar percentage readout, and anywhere you want a monospace value to look like it was printed by a cathode-ray tube.Google Fonts Import
All four families are loaded through a single@import at the top of assets/main.css. The display=swap parameter ensures text renders immediately in a system fallback while the web fonts load.
assets/main.css
Applying Fonts with Tailwind Classes
Each font maps to a Tailwind utility class registered in thetheme.extend.fontFamily block of the Tailwind config. Add the class to any element to switch its typeface:
font-family stacks in the compiled CSS:
| Tailwind class | font-family value |
|---|---|
font-inter | Inter, sans-serif |
font-major | Major Mono Display, monospace |
font-silkscreen | Silkscreen, cursive |
font-vt323 | VT323, monospace |
Font Pairing Recommendations
The four fonts were chosen to complement each other across three distinct UI zones:Headings — Major Mono Display + Silkscreen
Headings — Major Mono Display + Silkscreen
Use Major Mono Display (
font-major) for top-level section titles, hero text, and any heading rendered at text-4xl or larger. Its condensed letterforms read well at large sizes.Drop down to Silkscreen (font-silkscreen) for sub-headings, button labels, and UI chrome text where you need the pixel-art aesthetic at smaller sizes (typically text-sm to text-lg). Silkscreen’s bitmapped quality holds up better than Major Mono at smaller point sizes.Body — Inter
Body — Inter
Use Inter (
font-inter) for any descriptive text, paragraphs, tooltips, and form labels. It is the most legible of the four at typical reading sizes (text-sm to text-base) and provides a deliberate contrast to the decorative display fonts around it.font-inter is the default applied to body in main.css, so it does not need to be added explicitly unless you are overriding a parent that has set a different family.Data & Counters — VT323
Data & Counters — VT323
Use VT323 (
font-vt323) for any numeric readout, progress indicator, live counter, or terminal-style label. Its fixed-width CRT look turns raw data into part of the arcade aesthetic.In the project it appears in PixelHPBar for the percentage value and inside Polaroid card previews to display the project title in a screen-within-a-screen style.Swapping a Font
Choose a replacement from Google Fonts
Browse fonts.google.com and pick a replacement. Note the exact family name and the weights you need.
Update the @import URL in source
In the project source, open
assets/main.css (before the build step) and edit the @import string. Replace the old family= parameter with the new one:Update the Tailwind source config
In the project source, open Wrap family names that contain spaces in inner quotes so the CSS
tailwind.config.js and update the matching entry in theme.extend.fontFamily:tailwind.config.js
font-family value is valid.If you are self-hosting fonts instead of using Google Fonts, remove the
@import line and add @font-face rules pointing to your local font files. The Tailwind utility classes (font-silkscreen, etc.) remain unchanged — only the CSS that resolves the family name needs to be updated.