Aurora Cosmos uses a deliberate three-font system: a geometric sans for display headings, a humanist sans for body copy, and a monospaced face for code blocks and terminal-style labels. All three are loaded from Google Fonts via a singleDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/aurora-cosmos/llms.txt
Use this file to discover all available pages before exploring further.
@import declaration at the very top of assets/main.css. Because the repo is a compiled static output, changing a typeface means updating that URL and the font-family values in the CSS rules — no config files or build step required.
Current font roles
| Role | Font | CSS Class | Weights Loaded |
|---|---|---|---|
| Display / Headings (h1–h6) | Space Grotesk | font-display | 400, 500, 600, 700 |
| Body text (default) | Plus Jakarta Sans | font-sans | 400, 500, 600, 700 |
| Code / Terminal | JetBrains Mono | font-mono | 400, 700 |
Google Fonts import
The entire font stack is fetched via a single optimized URL at the very first line ofassets/main.css. Replacing any face means updating this one string.
Changing a font
Choose a replacement from Google Fonts
Visit fonts.google.com and select a typeface. Note the exact family name as it appears in the URL parameter (e.g.
Inter, Outfit, DM+Sans). Pick the same weight variants you need — the template uses 400 through 700 for display and body fonts.Update the @import URL in assets/main.css
Replace the family name and weight string for the font you are swapping. For example, to use Inter instead of Plus Jakarta Sans for body text:
Update the font-family values in assets/main.css
The compiled CSS sets font families directly on element rules. Search The compiled CSS also contains a
assets/main.css for the family name you are replacing and update every occurrence.For body text (Plus Jakarta Sans → Inter), find and replace the html and body rules:.font-display utility class that sets the display font, and a .font-mono utility class for the monospace font. Update those too if you are replacing the corresponding typeface:Heading base styles
Beyond the font-family assignment, headings receive two extra rules defined globally inassets/main.css. The negative letter-spacing (-0.025em) is what gives Space Grotesk its condensed, high-contrast feel at large sizes — keep this in mind when choosing a replacement, as some fonts look better with neutral or even slightly positive tracking.
The
.font-display CSS class used throughout the template is a compiled Tailwind utility — it is not related to the CSS font-display descriptor used in @font-face rules. In the compiled output, elements with class="font-display" render in Space Grotesk. The standard font-sans mapping (Plus Jakarta Sans) is also set as the default font-family on the html element in the compiled base reset.