The Craft’s visual identity is built on a tightly controlled set of design tokens — named colors, typographic families, and handcrafted CSS utilities — all defined insideDocumentation 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. Because the project ships a pre-compiled Tailwind v3 output (there is no separate tailwind.config.js in the built bundle), every color and style value lives directly in that single file. Understanding these tokens is the first step to reshaping the grimoire into something distinctly your own.
Color Palettes
The Craft uses five semantic color families. Each family maps to one or more concrete hex values that appear throughout the compiled CSS as both named Tailwind tokens (e.g.bg-midnight, text-spell) and raw hex literals inside custom class definitions.
| Family | Token name | Hex value | Role |
|---|---|---|---|
| midnight | midnight | #0a0d14 | Primary background — the deep void |
| midnight | midnight-darker | #05070a | Darker variant — scrollbar track, borders |
| midnight | midnight-lighter | #0d1117 | Lighter variant — glass panel background base |
| spell | spell | #2dd4bf | Primary accent — teal magical glow |
| parchment | parchment | #e8dcc4 | Light text color and parchment surfaces |
| blood | blood | #7f1d1d | Red accent — borders, hover states, danger |
| parchment surface | bg-[#e8dcc4] | #e8dcc4 | Inline Tailwind arbitrary value — same hex as parchment token, used for surface backgrounds |
bg-[#e8dcc4] and bg-parchment resolve to the same color (rgb(232 220 196)). The arbitrary-value form appears in components that predate the named token being added, and both are safe to use interchangeably./10, /30, /50, and /80. For example, bg-spell/30 compiles to background-color: #2dd4bf4d — a 30 % translucent teal.
Custom CSS Utility Classes
Beyond the Tailwind token system,main.css defines six hand-crafted utility classes that produce effects Tailwind’s core utilities cannot express on their own. These classes are used directly in JSX alongside standard Tailwind class names.
.parchment-texture
Simulates aged parchment paper on light-background surfaces such as modals and testimonial cards.
feTurbulence filter with type="fractalNoise" at baseFrequency="0.8" and opacity="0.4" generates an organic grain pattern. The inset box-shadow adds a warm amber vignette (#8b4513 at 15 % opacity) that darkens the edges like a centuries-old manuscript page.
.text-glow
Applies a layered teal luminescence to text — used on headings, accent labels, and interactive elements to give the impression of arcane energy.
20px spread forms the outer aura while the tighter 10px layer keeps the core bright.
.glass-panel
Creates a frosted-glass dark panel — the primary surface for cards, drawers, and overlaid UI elements.
midnight-lighter base (#0d1117) at 70 % opacity lets background content bleed through, while the 12px backdrop blur softens it into an ethereal haze. The 15 % teal border provides just enough definition without breaking the dark atmosphere.
.animate-spin-slow
A full 360° rotation that completes once every 20 seconds — used on the scrying mirror ring and other ambient circular elements.
linear easing and infinite repeat produce a smooth, hypnotic rotation with no acceleration or deceleration.
.animate-pulse-glow
Cycles a teal drop-shadow filter between a brighter glow and a dimmer glow, creating a slow “breathing” effect on SVG and icon elements.
10px to 4px and the color shifts from bright teal (#2dd4bf) to a deeper teal (#14b8a6), simulating the dimming of a magical aura between pulses.
.animate-flicker
A three-stage keyframe that oscillates opacity and scale, replicating the irregular motion of a candle flame or torch light.
alternate direction causes the animation to reverse on each cycle, preventing the abrupt jump back to frame zero that would make the flicker look mechanical. The scale oscillates between 0.98 and 1.02 — a subtle 4 % range that reads as organic movement without being distracting.
Changing the Primary Accent Color
The spell teal (#2dd4bf) is the most pervasive token in The Craft. It appears in borders, text glows, drop shadows, keyframe filters, box shadows, and as a named Tailwind token (spell) throughout every component.
Choose your replacement hex value
Pick your new accent color. For best results with the glow and glass effects, choose a saturated mid-brightness color — very dark or very desaturated values will make the glow effects invisible.
Find and replace the raw hex literals
In
assets/main.css, search for #2dd4bf and replace every instance with your new hex value. There are occurrences inside .text-glow, .glass-panel, the pulseGlow keyframe, box-shadow utilities, and the selection highlight rules.Replace the secondary teal shade
The
pulseGlow keyframe also references #14b8a6 (a darker teal used at the 50 % keyframe). Replace this with a darker variant of your new accent — approximately 20–30 % darker works well.