Dark Retro Webpage ships with a deliberately curated three-font stack that reinforces the retro-computing aesthetic at every level of the UI. Press Start 2P provides the unmistakable 8-bit pixel lettering used in headings and labels. DM Mono handles all code-adjacent and metadata text. Space Grotesk serves as the default body font — contemporary enough to be readable at length, but with just enough geometric personality to feel at home alongside pixel art. Each family is exposed as a custom Tailwind utility class that overrides the framework’s built-inDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/dark-retro-webpage/llms.txt
Use this file to discover all available pages before exploring further.
font-* defaults.
Press Start 2P
Utility class:.font-display
Press Start 2P is a pixel font that faithfully reproduces the look of 8-bit arcade and home-computer text from the 1980s. It is best reserved for short strings — section headings, window title bars, retro-style labels, and decorative callouts — because its fixed-width pixel grid becomes difficult to read at body-copy lengths.
DM Mono
Utility class:.font-mono
DM Mono is a clean, highly legible monospace typeface. In this project it serves double duty: it is the default font for all h1–h6 heading elements (applied globally in main.css) and the go-to choice for code snippets, metadata lines, file paths, tag badges, and any UI element that benefits from fixed-width alignment.
main.css:
.font-mono class explicitly when applying the monospace style to non-heading elements.
Space Grotesk
Utility class:.font-sans
Space Grotesk is the default body typeface. It is applied globally on body in main.css and inherited by all elements that do not override it. You rarely need to apply .font-sans explicitly — use it only when you need to reset back to body text inside a .font-display or .font-mono context.
Google Fonts Import
All three families are loaded from Google Fonts via a single@import statement at the very top of assets/main.css (before any Tailwind directives):
- DM Mono — regular and italic, weights 300 / 400 / 500
- Press Start 2P — single weight (the font has no variants)
- Space Grotesk — variable weight range 300–700
display=swap parameter instructs the browser to render fallback text immediately while the font files download, preventing invisible text on first load.
To add a new Google Font, append its family= parameter to the same URL:
Tailwind Font Utilities
At the bottom ofassets/main.css, after the Tailwind utility layer, three custom component classes override Tailwind’s default font-mono and font-sans utilities and add the new font-display utility:
@tailwind utilities, they take precedence over Tailwind’s built-in font-mono (which would otherwise resolve to a system monospace stack) and font-sans (which would resolve to a system sans-serif stack).
Changing Fonts
Follow these steps to swap out any of the three typefaces for a different Google Font:Find a replacement on Google Fonts
Browse fonts.google.com and select your replacement font. Click Get font → Get embed code and copy the
family= parameter from the generated @import URL.Update the @import URL in main.css
Open
assets/main.css and edit the @import line at the top. Replace the family= segment for the font you are swapping. For example, to replace Space Grotesk with Inter:Update the CSS utility class
Find the corresponding Also update the
.font-* class at the bottom of main.css and update the font-family value:body rule if you changed the default body font: