Documentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/dyed-in-the-wool/llms.txt
Use this file to discover all available pages before exploring further.
Two-Family System
The portfolio relies on exactly two font families, each with a dedicated Tailwind utility class:| Utility | Role | Example usage |
|---|---|---|
font-display | Large, bold, all-caps display headings | Hero title, section headers |
font-sans | Body copy, labels, buttons, nav links | Paragraphs, skill names, CTAs |
tailwind.config.js needs to change.
font-display — Display Headings
font-display is used for every major page title in the portfolio. These headings are always rendered uppercase and at large scale. Examples from the site:
- “DYED IN THE WOOL” — hero,
text-7xl md:text-9xl - “THE HUMAN BEHIND THE DYE” — About section
- “PATTERNS I’VE MADE” — Projects section
font-sans — Body & UI Text
font-sans handles everything that isn’t a headline: paragraph text, project descriptions, skill labels, navigation links, and button copy. It should be highly legible at small sizes (text-sm to text-base) and pair cleanly with whichever display face you choose.
Changing Fonts in tailwind.config.js
'YourDisplayFont' and 'YourBodyFont' with the exact names your font files or Google Fonts import expose.
Loading a Google Font
- Find your chosen font on fonts.google.com and copy the
<link>embed snippet. - Paste it into the
<head>ofindex.html, before your stylesheet:
- Reference the family name exactly as Google provides it in
tailwind.config.js:
'Space Grotesk' is not the same as 'space-grotesk'.
Letter-Spacing Conventions
The portfolio uses letter-spacing deliberately to reinforce the typographic hierarchy:| Tailwind class | Value | Where it’s used |
|---|---|---|
tracking-[0.3em] | 0.3 em | Subtitle labels — e.g. “Hand-dyed code, made in small batches” |
tracking-widest | Tailwind widest (~0.1 em) | Uppercase button text and nav link labels |
| (default) | 0 | Display headings — the large size provides its own presence |
Typical Heading Structure
The following pattern is used throughout the portfolio wherever a section opens with a hero-style title and a supporting subtitle:- The
<h1>usesfont-displayat a responsive scale, colored withdye-indigofor maximum contrast. - The subtitle uses
font-sansin a smaller, bold, widely-tracked style colored withdye-primaryto sit as a secondary accent beneath the main title.
Some display typefaces have built-in tight tracking that looks cramped at
text-9xl. Others need extra breathing room. Use Tailwind’s tracking-* utilities on the heading element itself to fine-tune — for example tracking-wide or tracking-wider — without touching the subtitle’s tracking-[0.3em] value.