Spell Index uses a tightly controlled six-color palette that evokes a dark, candlelit grimoire. All colors are registered as Tailwind theme extensions, so every standard Tailwind utility — backgrounds, text, borders, rings, gradients — works with them out of the box. The palette deliberately avoids neutral grays; instead it uses saturated darks and warm accent tones so the interface always feels alive and intentional.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/spell-index/llms.txt
Use this file to discover all available pages before exploring further.
Color Token Reference
| Token | Hex | Tailwind Prefix | Primary Purpose |
|---|---|---|---|
midnight | #0a0a1a | midnight | App-wide background (<body>, page wrappers) |
ink | #1a0a2e | ink | Card and surface backgrounds, SpellBook page fill |
void | #05050a | void | Deepest shadows, scrollbar track, structural dividers |
parchment | #e8dcc7 | parchment | Primary body text, light surface fill (SpellBook pages) |
amber | #f5c45a | amber | Primary accent — headings, active nav, skill bars, CTA |
teal | #3dd6c4 | teal | Secondary accent — subtitles, hover states, form focus rings |
Dark background trio
midnight, ink, and void form a layered depth system. The app shell sits on midnight; cards and panels rise to ink; deepest structural chrome (scrollbar, dividers, candle wicks) reaches void.
Accent pair
amber and teal are the two accent colors. Use amber for the primary focal element (page titles, active indicators, progress fills) and teal for secondary metadata, hover feedback, and supporting decoration.
Opacity Modifier Pattern
Because these tokens are standard Tailwind color extensions, Tailwind’s opacity modifier syntax (color/opacity) works across every utility. The compiled CSS confirms all of the following variants are present:
Amber opacity variants
Teal opacity variants
Parchment opacity variants
Midnight and ink opacity variants
Tailwind generates opacity modifier classes on-demand from source. Only the variants listed above are confirmed present in the compiled
main.css bundle. If rebuilding from source, any /0–/100 modifier will be generated automatically as long as you use the class in your JSX files — Tailwind’s content scanner picks them up at build time.Gradient Utility Classes
Two custom utility classes —.text-gradient-amber and .text-gradient-teal — produce background-clipped gradient text. They are defined as component utilities in main.css and are fully Tailwind-aware.
.text-gradient-amber
Flows from #f5c45a (amber) to #fb923c (orange), left to right. Use for the most visually prominent headings or hero callouts.
.text-gradient-teal
Flows from #3dd6c4 (teal) to #60a5fa (blue), left to right. Use for secondary decorative headings or interactive highlights.
Selection & Scrollbar Styling
Text selection
The top-level app wrapper applies the following selection styles globally:teal at 30% opacity and the selected text color shifts to solid amber.
Custom scrollbar
The scrollbar is styled entirely with the color token system —6px wide, with the track using void and the thumb using ink backed by a teal/30 border:
Customizing the Palette
The six tokens are defined as Tailwind theme extensions. This repository contains only the compiled Vite build output —main.css and main.js — and does not include tailwind.config.js or any source files. If you are rebuilding from source, you would register these tokens under theme.extend.colors in tailwind.config.js:
npm run build (or vite build) so that every compiled opacity variant and gradient is regenerated to match.
Only
main.css is committed to the repository — the tailwind.config.js source file is not. The config above is reconstructed from the compiled CSS output and reflects exactly how the tokens behave at runtime.