Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/apursley2012/aurora-drift/llms.txt

Use this file to discover all available pages before exploring further.

Aurora Drift pairs a classical serif with a clean geometric sans-serif and a crisp monospace font, creating a typographic contrast that reflects the tension between deep history and the cosmos. Display fonts are loaded from Google Fonts via a single @import at the top of assets/main.css, making swaps straightforward without touching any component files.

Font Stack Overview

FontRoleWeights LoadedLoading Method
Cormorant GaramondLoaded via @import300, 400, 500, 600, 700 + italic 400Google Fonts @import in assets/main.css
ManropeBody sans-serif300, 400, 500, 600, 700Google Fonts @import in assets/main.css
JetBrains MonoMonospace / code400 (default)Set as CSS default for code, kbd, samp, pre — not in the Google Fonts @import
There is a discrepancy in the heading font declarations in main.css. The Google Fonts @import at the top of the file loads Cormorant Garamond, but the CSS rule applied to h1h6 declares font-family: Instrument Serif, serif. These are two different typefaces. The compiled CSS reflects both declarations as-is — the @import loads Cormorant Garamond, and the heading rule names Instrument Serif as the applied face.

Font Details

All heading elements (h1 through h6) are styled by this global CSS rule in main.css:
h1, h2, h3, h4, h5, h6 {
  font-family: Instrument Serif, serif;
  letter-spacing: -0.025em;
  color: rgb(255 255 255);
}
The font-serif Tailwind utility also maps to Instrument Serif, serif in this project’s compiled output. You can apply it to any element explicitly:
<h1 class="font-serif tracking-tighter text-white">
  Mission Log
</h1>
Key characteristics:
  • High-contrast strokes with elegant serifs — ideal for large display headings
  • Negative letter-spacing (-0.025em) tightens character pairs at large sizes
  • Always renders in pure white against the navy background for maximum contrast
  • The Google Fonts @import loads Cormorant Garamond weights 300, 400, 500, 600, 700, and italic 400
  • Italic 400 is available via the italic utility class

Text Size Scale

The following sizes appear in main.css generated from the project’s Tailwind usage. Sizes follow standard Tailwind defaults.
ClassFont SizeLine HeightTypical Use in Aurora Drift
text-xs0.75rem1remMetadata, timestamps, fine print
text-sm0.875rem1.25remNav labels, tag chips, captions
text-lg1.125rem1.75remLead paragraphs, card subtitles
text-xl1.25rem1.75remSection subheadings, featured labels
text-2xl1.5rem2remCard headings, testimonial names
text-3xl1.875rem2.25remSection headings (mobile)
text-4xl2.25rem2.5remSection headings (desktop)
text-5xl3rem1 (none)Page sub-hero headings
text-6xl3.75rem1 (none)Hero heading (tablet — md:text-6xl)
text-7xl4.5rem1 (none)Hero heading (desktop — md:text-7xl)
text-8xl6rem1 (none)Hero heading (large — md:text-8xl)
text-9xl8rem1 (none)Hero heading (xl — lg:text-9xl)

Letter Spacing

tracking-tighter

−0.05em — Applied to large display headings where tight kerning improves visual weight and legibility at headline sizes. Used on h1 hero text alongside text-7xl through text-9xl.

tracking-wider

+0.05em — Applied to navigation links, uppercase labels, and small category tags. The extra spacing opens up condensed text at small sizes for readability.

Selection Color

Text selection across the entire site uses an aurora-teal tint defined in main.css:
body *::selection {
  background-color: #14b8a64d;           /* aurora-teal at ~30% opacity */
  color: rgb(204 251 241);               /* teal-50 */
}
This means highlighted text glows with a subtle teal wash — consistent with the aurora aesthetic and far more characterful than the default browser selection blue.

Usage Examples

The main hero heading uses the serif font, the largest responsive size, tight tracking, and white color — all applied with Tailwind utilities:
<h1 className="font-serif font-light tracking-tighter text-white
               text-5xl md:text-7xl lg:text-9xl leading-tight">
  Drift Between{" "}
  <span className="text-transparent bg-clip-text
                   bg-gradient-to-r from-aurora-turquoise
                   via-aurora-cyan to-aurora-magenta">
    the Stars
  </span>
</h1>

Swapping Fonts

To swap any of the display fonts, open assets/main.css and update the Google Fonts @import URL at the very top of the file. For example, to replace Cormorant Garamond with Playfair Display, change the family=Cormorant+Garamond segment to family=Playfair+Display. You will also need to update the font-family: Instrument Serif, serif rule on h1h6 to reference your chosen font name. No component files need to change — all heading elements inherit from the single global rule.

Build docs developers (and LLMs) love