Typography is central to The Craft’s identity as a wizard’s grimoire. The three typefaces — a commanding serif for headings, an elegant book face for body copy, and a flowing cursive for decorative flourishes — work together to evoke the atmosphere of an ancient, hand-illuminated manuscript. All three fonts are loaded from Google Fonts via a singleDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/the-craft/llms.txt
Use this file to discover all available pages before exploring further.
@import rule at the very top of assets/main.css, and their roles are enforced through both global element rules and named Tailwind utility classes.
Google Fonts Import
The following import is the first line ofassets/main.css. It loads all three families in a single optimized request using the display=swap strategy, which ensures text remains visible in system fonts while the custom fonts download.
Typeface Reference
| Family | CSS utility class | Weights loaded | Primary role |
|---|---|---|---|
| Cinzel | font-cinzel | 400, 600, 700 | Page titles, section headings, nav labels, buttons |
| EB Garamond | font-garamond | 400, 600, italic 400 | Body text, project descriptions, captions |
| Pinyon Script | font-cursive | 400 | Decorative cursive — dates, subtitles, ornamental labels |
The
font-cursive class name in Tailwind maps to font-family: Pinyon Script, cursive — it does not refer to the generic CSS cursive keyword family. This is a custom utility defined in main.css under .font-cursive.Global Font Assignments
Rather than relying solely on utility classes, The Craft establishes sitewide defaults directly inmain.css so that every element inherits the correct typeface without needing an explicit class.
Body
font-family will inherit this elegant old-style serif.
Headings
Cursive Utility
.font-cursive class on individual decorative elements like date labels in the work history timeline or subtitle flourishes on the hero section.
Scrollbar Styling
The Craft also applies custom scrollbar styles that keep the browser’s native scrollbar visually consistent with the dark theme. These rules use the::-webkit-scrollbar pseudo-elements and are supported in Chrome, Edge, and Safari.
6px to keep it unobtrusive. The thumb uses a slightly muted teal (#14b8a6) rather than the full spell accent (#2dd4bf), so it doesn’t compete with glowing interactive elements.
Firefox does not support
::-webkit-scrollbar pseudo-elements. On Firefox the scrollbar will use the browser default styling. The no-scrollbar utility class (also defined in main.css) is used on specific overflow containers where any scrollbar is unwanted.Swapping Fonts
To replace one or more of the three typefaces, follow these steps:Choose your replacement fonts
Visit fonts.google.com and select your alternatives. Make sure you select the same weights that the originals use — Cinzel at 400/600/700, EB Garamond at 400/600 plus italic 400, and Pinyon Script at 400.
Build a new @import URL
Use Google Fonts’ “Get embed code” interface to generate a combined URL for all the families you want. Copy the
@import URL (not the <link> tag version).Replace the @import line in main.css
Open
assets/main.css and replace the existing @import line at the very top of the file with your new URL.Update the font-family references
In the
body rule, update font-family: EB Garamond, serif to your new body font name. In the h1–h6 rule, update font-family: Cinzel, serif. In the .font-cursive class, update font-family: Pinyon Script, cursive.Update Tailwind class names (optional)
The utility classes
font-cinzel, font-garamond, and font-cursive are referenced throughout component JSX. If you want the class names to reflect your new fonts, do a find-and-replace across your source files — though the classes will still work correctly even with the old names.