The Craft’s visual identity is built on a small set of semantic design tokens woven through Tailwind CSS utility classes and a handful of hand-written classes inDocumentation 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.
assets/main.css. Rather than using Tailwind’s default color palette, the project expresses its own dark-fantasy vocabulary through compiled utility classes in assets/main.css: deep blacks named midnight, a teal arcane accent named spell, aged paper in parchment, and a deep crimson called blood. Custom keyframe animations and composite utility classes layer on top to produce the grimoire’s parchment texture, glassmorphism panels, and glowing text effects.
Color Tokens
The palette is intentionally minimal. Every UI surface in The Craft maps to one of these tokens, making it straightforward to retheme the entire site by adjusting a single hex value.| Token | Hex | Tailwind Class | Usage |
|---|---|---|---|
midnight | #0a0d14 | bg-midnight, text-midnight | Base page background; the default body background color |
midnight-darker | #05070a | bg-midnight-darker, border-midnight-darker | Deepest surfaces, fine rule borders, nav sidebar background |
midnight-lighter | #0d1117 | bg-midnight-lighter | Subtle elevated surfaces, ambient glow blobs |
spell | #2dd4bf | text-spell, bg-spell, border-spell | Teal accent — active states, glows, sigil SVG strokes, hover highlights |
parchment | #e8dcc4 | text-parchment, bg-parchment | Primary readable text and light surface backgrounds |
blood | #7f1d1d | text-blood, bg-blood, border-blood | Deep red accent — error states, hover effects, decorative borders |
All tokens support Tailwind’s opacity modifier syntax. For example,
text-spell/80 renders the spell teal at 80% opacity, and border-spell/20 gives a very subtle teal border — both patterns are used extensively throughout the component files.Custom CSS Utility Classes
Several visual effects require properties that Tailwind’s JIT engine cannot infer from class names alone. These are defined as explicit CSS classes inassets/main.css and can be applied to any element just like a Tailwind class.
.parchment-texture
Gives a surface the appearance of aged parchment. Sets the background to #e8dcc4, overlays an inline SVG feTurbulence noise filter at 40% opacity, sets text to near-black #1a1a1a, and adds an inset box-shadow that simulates depth and edge darkening.
.text-glow
Applies a layered text-shadow that makes text appear to radiate teal arcane light. Uses two shadow stops: a stronger rgba(45, 212, 191, 0.6) close-in glow and a softer rgba(45, 212, 191, 0.3) halo.
.glass-panel
A dark glassmorphism surface. Combines a semi-transparent midnight-lighter background (#0d1117b3) with backdrop-filter: blur(12px) and a faint rgba(45, 212, 191, 0.15) teal border.
Animation Utilities
Three custom keyframe animations extend Tailwind’s built-inanimate-* suite:
.animate-spin-slow
Rotates an element a full 360° over 20 seconds with a linear easing. Applied to the large hexagonal sigil SVG on the 404 page and to decorative background elements.
.animate-pulse-glow
Pulses a
drop-shadow between a bright #2dd4bf glow and a dimmer #14b8a6 glow every 2 seconds. Used on the loading sigil, interactive icons, and the spell-colored SVG elements..animate-flicker
Simulates a candle flame by alternating
opacity and scale transforms at quarter-second intervals over a 3-second cycle. Applied to the Candle component on the Work history timeline.Typography
The Craft uses three Google Fonts families, each with a clearly scoped semantic role. They are loaded via a@import at the top of main.css and exposed through Tailwind utility classes.
| Font Family | Tailwind Class | Role |
|---|---|---|
| Cinzel (weights 400, 600, 700) | font-cinzel | Headings, navigation labels, page titles, the 404 numeral — anything that needs gravitas |
| EB Garamond (regular + italic, weights 400 and 600) | font-garamond | Body text, descriptions, blog prose — the default body font |
| Pinyon Script | font-cursive | Decorative cursive flourishes — the footer tagline, loading fallback text, drop-cap initials |
font-cursive maps to the Tailwind class name .font-cursive, not the CSS generic family cursive. The actual font-family value is Pinyon Script, cursive. Be careful not to confuse the two when authoring new components.assets/main.css and propagate the new values to any inline Tailwind classes that reference the old color.