Digital Coven’s entire visual identity is rooted in six CSS custom properties. Every color you see — from the background darkness to the electric neon accents — flows from this singleDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/digital-coven/llms.txt
Use this file to discover all available pages before exploring further.
:root block. Because Tailwind’s theme classes reference these variables directly, a single value change in CSS cascades immediately through every component in the SPA without touching a single JSX file.
CSS Custom Properties
All palette tokens live at the top ofassets/main.css inside :root. These are the canonical source of truth for every color used in the project.
| Variable | Hex | Role |
|---|---|---|
--void | #08060d | Primary background — the darkest layer |
--deep-void | #13091f | Secondary background — cards, panels |
--electric-purple | #a855f7 | Primary accent — borders, active states |
--neon-lime | #a3ff12 | Secondary accent — nav logo, hero type |
--magenta | #ff2bd6 | Danger / energy accent — cauldron, selection |
--cyan | #22d3ee | Hover / interactive accent — links, glows |
Changing a color
Edit only the:root block. Because every Tailwind utility class and every custom utility references var(--electric-purple) (not the raw hex), the change propagates everywhere automatically.
Do not hard-code hex values in component classes when a CSS variable already exists for that color. Using
shadow-[0_0_10px_var(--cyan)] instead of shadow-[0_0_10px_#22d3ee] ensures the shadow respects theme changes automatically.Tailwind Color Token Classes
Tailwind’s config extends the default palette with all six Digital Coven tokens. This gives you the full Tailwind utility API —text-, bg-, border-, opacity modifiers, and hover variants — for every brand color.
bg-magenta/30) directly in JSX class names.
Typography
Digital Coven uses two Google Fonts families, imported at the very top ofassets/main.css:
| Class | Font Family | Used For |
|---|---|---|
font-display | Cinzel Decorative, serif | Page headings, section titles, the nav logo |
font-mono | JetBrains Mono, monospace | Body copy, labels, code blocks, nav links |
body element also declares font-family: JetBrains Mono, monospace as the default, so all text is monospace unless a font-display class overrides it. All heading elements (h1–h6) and any element carrying .font-display also get font-family: Cinzel Decorative, serif via a global rule:
Swapping fonts
Choose a replacement from Google Fonts
Browse fonts.google.com and copy the
@import URL for your chosen family (e.g. Uncial Antiqua for display, Fira Code for mono).Glow Text Utilities
Three customtext-shadow utility classes give headings the signature neon glow. They are defined in assets/main.css and can be added to any element alongside a matching text color class.
Adding a new glow color
Add a new rule toassets/main.css using any CSS custom property:
CRT Overlay
The.crt-overlay class adds a retro cathode-ray tube scanline effect via a ::before pseudo-element. It renders two overlapping gradients: horizontal scanlines and vertical RGB channel separation, replicating the look of an old CRT monitor.
position: relative (or any non-static position) to establish the stacking context the ::before pseudo-element positions against.
Usage:
The
pointer-events: none on the ::before ensures the overlay never blocks mouse interactions on content beneath it. The z-index: 2 places the scanlines above content but you should manage your own stacking context carefully if child elements use high z-index values.Adjusting scanline intensity
The darkness of the horizontal scanlines is controlled by the secondrgba alpha value in the first gradient. Increase it for a heavier CRT look:
Custom Scrollbar
The custom scrollbar matches the void palette with an electric-purple accent on the thumb border, making it part of the overall aesthetic rather than an OS default.--electric-purple on hover, giving a satisfying interactive neon flash. To change the accent color, update the border and :hover background to another CSS variable — for example, var(--cyan) for a cooler feel.
Firefox uses the
scrollbar-color and scrollbar-width CSS properties instead of ::-webkit-scrollbar. Add the following for cross-browser parity:Selection Highlight
When a visitor selects text anywhere on the page, the highlight color flips from the browser default blue to magenta on a void background. This is applied through Tailwind’sselection: variant on the root layout container:
selection:bg-magenta for another brand color (e.g. selection:bg-cyan) and pair it with an appropriately contrasting selection:text-* class.
Header mix-blend-difference
The site header uses mix-blend-mode: difference to blend visually with whatever content scrolls beneath it, rather than layering a solid or frosted background on top.
mix-blend-difference subtracts each pixel’s color from white (#ffffff), producing an inverted-color effect. On a dark --void background the nav text stays light and readable; over a light image or element it automatically inverts to dark, keeping text legible across all content without a backdrop.