Spooky’s colors are defined as CSS custom properties onDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/spooky/llms.txt
Use this file to discover all available pages before exploring further.
:root in assets/main.css, alongside a set of Tailwind utility classes that reference those same values directly as arbitrary color tokens. This approach keeps the palette consistent across every component and ensures that a single variable change propagates through both the CSS layer and any inline Tailwind classes that reference the matching hex value.
CSS custom properties
The five palette variables are declared at the top of the custom section inassets/main.css, immediately after the Tailwind base reset:
| Variable | Hex Value | Primary Use |
|---|---|---|
--color-charcoal | #1A1A1D | Page background, darkest surface |
--color-pumpkin | #FF7518 | Primary accent, interactive elements, cursor flame |
--color-ghost | #F5F5F5 | Primary text, light surfaces |
--color-bat | #4A1A5C | Secondary accent, borders, panel backgrounds |
--color-candy | #FCD34D | Highlight, hover states, candle flame tip |
Text selection
The CSS overrides the browser’s default text-selection highlight so that any selected text on the page appears with a pumpkin-orange background (#FF7518) and charcoal text (#1A1A1D). This keeps the selection style on-brand rather than inheriting the default blue highlight, and applies consistently to both ::selection and ::-moz-selection across all child elements of body.
Tailwind color references
Because the theme is compiled with Tailwind’s JIT engine, components reference the palette values directly as Tailwind arbitrary value classes rather than through CSS variable syntax. This means the same color appears as both a CSS variable in:root and as a hardcoded hex token in Tailwind utility classes throughout the component files.
:root and do a find-and-replace for the matching hex value across the component files.
Glow effects
Two custom Tailwind utility classes are defined at the end ofassets/main.css to produce the ambient glow effects used on headings and highlighted panels:
.text-glow-pumpkin — applies a two-layer pumpkin-orange text shadow for lit-from-within heading effects:
.box-glow-pumpkin — applies a single pumpkin-orange box shadow for glowing panel borders:
group-hover:text-glow-pumpkin) so that glow effects can be triggered on parent hover.