DevHaunt’s visual identity is built entirely on a set of named Tailwind color tokens, three Google Fonts families, and a handful of targeted CSS rules inDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/dev-haunt/llms.txt
Use this file to discover all available pages before exploring further.
assets/main.css. Every color, typeface, and surface detail — from the pumpkin-orange accent to the haunted scrollbar — traces back to one of these tokens.
Color System
DevHaunt extends Tailwind’s default palette with seven custom named colors, all confirmed from the compiled class output inassets/main.css. Each token is available as a bg-*, text-*, and border-* utility class, and some appear with opacity modifiers such as /80 or /50.
| Token | CSS class prefix | Hex value | Usage |
|---|---|---|---|
night | bg-night, text-night, border-night | #0b3a44 | Page background, body base color, dark text on light surfaces |
pumpkin | bg-pumpkin, text-pumpkin, border-pumpkin | #ff7a1a | Primary accent, CTAs, active nav items, SVG window glow |
ghost | text-ghost, border-ghost | #f4f1ea | Primary body text, light backgrounds, fog SVG fill |
tombstone | bg-tombstone, border-tombstone | #5a6268 | Muted borders, secondary UI elements |
tombstone-dark | bg-tombstone-dark, border-tombstone-dark | #3a4044 | Darker secondary UI, dividers |
tombstone-light | border-tombstone-light | #7a8288 | Lighter borders and separators |
wood | bg-wood, border-wood | #3e2723 | Door panels, wooden surface elements, hanging sign background |
Opacity modifiers like
bg-night/80 or text-ghost/60 are used extensively throughout the components. Tailwind generates these automatically from the base token — you do not need to define them separately.Changing the Color Palette
Because DevHaunt ships as a pre-built static dist, there is no Tailwind config file to edit. Color tokens are compiled intoassets/main.css as literal hex values. To rebrand the palette, perform a find-and-replace directly on the minified CSS (and on assets/main.js for any inline SVG fill/stroke values).
Find and replace hex values in assets/main.css
Open
The
assets/main.css in any text editor that supports find-and-replace and swap each token hex for your desired color. Every Tailwind utility class that references a token (e.g. bg-night, text-pumpkin, border-ghost) is compiled as a raw hex, so a single replacement covers all usages of that token.| Token | Current hex | Find in main.css |
|---|---|---|
night | #0b3a44 | #0b3a44 and rgb(11 58 68 |
pumpkin | #ff7a1a | #ff7a1a and rgb(255 122 26 |
ghost | #f4f1ea | #f4f1ea and rgb(244 241 234 |
tombstone | #5a6268 | #5a6268 and rgb(90 98 104 |
tombstone-dark | #3a4044 | rgb(58 64 68 |
tombstone-light | #7a8288 | rgb(122 130 136 |
wood | #3e2723 | #3e2723 and rgb(62 39 35 |
body rule near the end of assets/main.css also hard-codes the background and text colors — update those too:assets/main.css
Update the custom scrollbar in assets/main.css
Find the scrollbar thumb rules and replace the pumpkin hex with your new accent color:
assets/main.css
Update hardcoded SVG colors in assets/main.js
The haunted house SVG in
components/HauntedHouse.js (bundled into assets/main.js) uses raw hex values for inline fill and stroke attributes. Search assets/main.js for each hex and replace it:| Current hex | Token | Role |
|---|---|---|
#0b3a44 | night | Background fill |
#ff7a1a | pumpkin | Accent / window glow |
#f4f1ea | ghost | Light surfaces, fog fill |
#3e2723 | wood | Door panels, sign background |
Font System
DevHaunt loads all three typefaces from a single Google Fonts@import at the top of assets/main.css:
assets/main.css
assets/main.css:
| Tailwind token | Font family | Usage |
|---|---|---|
font-spooky | Caveat Brush | All headings, nav labels, section titles, the SVG hanging sign |
font-code | JetBrains Mono | Code-related UI elements, skill labels, archive badge |
| (default) | Inter | Body text, descriptions, paragraphs, form fields |
Changing Fonts
Because DevHaunt is a pre-built static dist, font mappings are compiled intoassets/main.css. To change fonts you must edit the minified CSS directly — there is no tailwind.config.js to update.
Update the Google Fonts import URL in assets/main.css
The very first line of
assets/main.css is the Google Fonts @import. Replace the family names with your chosen fonts. Build a new URL at fonts.google.com:assets/main.css
Update font-family values in assets/main.css
Search
These compiled rules look like:
assets/main.css for the compiled font-family declarations and replace the family name strings:| Class | Find | Replace with |
|---|---|---|
.font-spooky | Caveat Brush,cursive | Creepster,cursive |
.font-code | JetBrains Mono,monospace | Fira Code,monospace |
Selection Colors
When a visitor highlights text on the page, the selection is styled with Halloween colors. These classes are applied to the root wrapper<div> in components/Layout.js:
components/Layout.js
assets/main.css
<div> in Layout.js. Any bg-* and text-* token from the palette works as a selection: modifier.
Custom Scrollbar
The scrollbar is fully styled inassets/main.css using WebKit pseudo-elements, giving it a consistent Halloween look in Chromium-based browsers and Safari:
assets/main.css
Firefox uses a different scrollbar API (
scrollbar-color and scrollbar-width). If cross-browser scrollbar styling matters to you, add a scrollbar-color: #ff7a1a #0b3a44; rule to the body in main.css alongside the WebKit rules.