Dark Retro Webpage’s visual identity is driven by a set of CSS custom properties defined inDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/dark-retro-webpage/llms.txt
Use this file to discover all available pages before exploring further.
:root inside assets/main.css. These tokens feed directly into Tailwind’s arbitrary-value utilities throughout the component tree, so a single change to a variable cascades across the entire site. There is no separate design-token file — the stylesheet is the single source of truth.
Color Tokens
All palette values live in the:root block near the top of assets/main.css. Each variable has a specific semantic role:
| Token | Hex | Role |
|---|---|---|
--bg-dark | #0c0814 | Page background; also the background-color of body |
--bg-panel | #1a0f24 | .bevel-window background, cards, dialog panels |
--purple | #a855f7 | Primary accent — borders, glows, dot-grid color |
--magenta | #ff2bd6 | Hover highlights, text selection background |
--cyan | #22d3ee | Links, icon strokes, secondary highlight |
--mint | #5eead4 | Subtle dividers and tinted borders |
--turquoise | #14b8a6 | Supporting accent in charts and progress indicators |
--silver | #c0c8d8 | Body copy, default color on body |
--lime | #a3ff12 | Success labels, highlighted status text |
Changing the Color Palette
Override any token by editing its value in the:root block. Because the tokens are plain CSS custom properties, the change takes effect everywhere they are referenced — including any Tailwind arbitrary-value classes that embed the hex literal directly.
For example, to shift the primary accent from purple to electric blue:
body, all .bevel-window glow shadows, and any component that uses var(--purple) will update automatically. Components that hard-code the hex using Tailwind arbitrary values (e.g. text-[#a855f7]) will not update — see the tip below.
Background Pattern
The full-page dot-grid is applied directly onbody:
- Dot color — the first argument to
radial-gradient. Currentlyrgba(168,85,247,.15)(purple at 15% opacity). Change the RGB values or the alpha channel to shift hue or intensity. - Dot size — the
1pxafter the color. Increase to2pxfor a chunkier grid or decrease to0.5pxfor a subtler effect. - Dot spacing —
background-size: 24px 24px. Larger values space dots further apart; smaller values create a denser grid.
background-image and background-size declarations:
Bevel Classes
The retro Windows 98 raised/sunken border effect is handled by three utility classes defined at the bottom ofassets/main.css. These classes are covered in detail in the Components: Layout reference. Here is a quick reference:
| Class | Appearance | Typical use |
|---|---|---|
.bevel-window | Raised panel (light top/left, dark bottom/right) | Win98-style window chrome, cards |
.bevel-button | Raised button that depresses on :active | Toolbar buttons, clickable chips |
.bevel-inset | Sunken inset (dark top/left, light bottom/right) | Text inputs, recessed displays |
#e2e8f0 for highlights, #475569 for shadows) to replicate the Win98 3D border look. To retint the bevel, replace those values in assets/main.css.
CRT Overlay
The scanline effect is a full-viewport fixed element rendered above all page content via.crt-overlay:
App.tsx or a root layout component) and remove the <div className="crt-overlay" /> element, or add display: none to the class:
background-size:
All changes to
assets/main.css are compiled by Tailwind’s CLI during the build step. In development (npm run dev), Vite’s hot-module replacement will pick up CSS changes instantly in the browser without a full page reload. For a production build, run npm run build to regenerate assets/main.css in the dist/ folder.