Retro Cosmic Arcade’s visual identity is built on a tightly scoped set of custom Tailwind tokens and utility classes that encode the Y2K aesthetic into reusable, composable primitives. Every color, border style, and effect has a named class so components stay declarative and the theme can be updated from a single source of truth. This page documents each layer of the styling system, from raw color values to animated CRT overlays.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/retro-cosmic-arcade/llms.txt
Use this file to discover all available pages before exploring further.
Custom Color Tokens
The palette is deliberately limited — seven tokens cover everything from the void-of-space background to the neon accents that define the retro look. All tokens are registered as Tailwind theme extensions so they are available asbg-y2k-*, text-y2k-*, border-y2k-*, and so on.
| Token | Hex | Role |
|---|---|---|
y2k-cyan | #4dffff | Primary accent — link hovers, active nav items, cursor trail |
y2k-magenta | #ff4ad8 | Secondary accent — selection highlight, hover glows, warnings |
y2k-lime | #adff2f | Tertiary accent — HP bars, success states, pixel borders |
y2k-black | #060010 | Body background — deep cosmic near-black |
y2k-panel | #150826 | Panel and card backgrounds — slightly lighter than the body |
y2k-silver | #d4d0e8 | Default text color — cool lavender-tinted white |
y2k-darkSilver | #6b6480 | Muted/secondary text, disabled states |
Global Base Styles
Several baseline styles are applied globally to establish the Y2K atmosphere before any component renders:crosshair cursor is a direct reference to late-1990s gaming sites and Flash portals where crosshair cursors were a common power-user signal. The magenta selection highlight ensures even text selection feels on-brand.
Pixel Border Utility Classes
Three pixel-border classes wrap content in a chunky, low-resolution outline that evokes the border styles common in early web design tools like FrontPage and Dreamweaver. Each combines a solidborder with an offset box-shadow to create the stacked pixel-edge look:
Inset Bevel (.inset-bevel)
The .inset-bevel class replicates the inset depression effect used heavily in Win98-era dialog boxes and form fields. It uses directional border values — dark on top-left, cyan on bottom-right — to simulate a surface recessed into the panel:
Chrome Bevel Background (.chrome-bg)
.chrome-bg reproduces the raised 3D button or window-chrome look from Windows 95/98. It uses a silver-to-dark-silver gradient background with directional borders — white on top-left and dark on bottom-right — to simulate a convex surface catching light:
ChromeButton component to render buttons that look like genuine Win98 UI widgets. The :active state reverses the borders and gradient to simulate physical depression.
CRT Scanline Overlay (.scanlines)
The .scanlines class applies a repeating striped background that simulates the horizontal scan lines of a cathode-ray tube monitor. It is applied directly to the overlay element — not via a pseudo-element:
pointer-events: none rule ensures the overlay does not block any click or hover interactions beneath it. The .scanlines class is toggled at runtime by the Footer component, allowing visitors to enable or disable the effect:
The
pointer-events: none rule on .scanlines is critical — without it, the overlay would block all mouse interactions on the page. If you customise the overlay, always preserve this rule.Typography
Four fonts are loaded from Google Fonts and used for distinct purposes:| Font | Usage |
|---|---|
| Inter | Body text — clean, modern, readable at small sizes |
| Major Mono Display | Display headings — monospaced, technical feel |
| Silkscreen | Labels, badges, UI chrome — authentic pixel/bitmap aesthetic |
| VT323 | Terminal-style text, hit counters, status readouts |
Applying the Design System
- Color tokens
- Pixel borders
- CRT overlay