Nostalgia Design System Reference
Nostalgia — Browser-based Windows 9x OS simulator at
- Platform: Vanilla JS + Custom Web Components (no framework)
- CSS Layers: reset, theme, components, layout, utility
- Themes: Win95 base + Nostalgia magenta/cyan/lime custom theme
- Rendering: Nostalgia-perfect, anti-aliasing disabled, image-rendering: nostalgiaated
- Single site: The marketing site IS the product (no separate app/portal)
Boot Screen
Black background with lime-green monospace text. Font: TomoBios at 10px, line-height 13.333px. Blinking block cursor.
ANSI Color Brushwork (16 colors)
Nostalgia Theme Colors
The Nostalgia custom theme overrides the default Win95 system colors with a vibrant magenta/cyan/lime brushwork.
Desktop Gradient
radial-gradient(ellipse at center, #f0f, #0ff)
Default Win95 System Colors
The base Windows 95 color brushwork. All UI chrome derives from these system colors.
Named Design Brushwork
20 named colors used across the system for UI accents, themes, and decorative elements. Defined in HSL.
Semantic Status Colors
Used in toast notifications, alerts, and system messages.
Typography
Nostalgia fonts with anti-aliasing disabled. All text uses -webkit-font-smoothing: none for crisp nostalgia rendering.
sserife (Primary UI Font)
ABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789
File Edit View Help OK Cancel Apply
Tomo (Monospace / Terminal)
C:\Nostalgia> narrator "Hello World"
README.TXT SYSTEM.INI WIN.COM
TomoBios (Boot Screen)
Memory Test: 640K OK
Loading Nostalgia...
Key Rules
- Anti-aliasing disabled:
-webkit-font-smoothing: none; -moz-osx-font-smoothing: unset; - Image rendering:
image-rendering: nostalgiaated; - No subnostalgia rendering for authentic nostalgia-font look
- Title bar text: white with
text-shadow: 1px 1px 0 rgba(0,0,0,0.3) - Desktop icon labels: white with all-side text-shadow for readability
Spacing Scale
Nostalgia-based spacing. No rem units — everything is exact nostalgia values for the retro aesthetic.
Z-Index Scale
| Layer | Usage | Value |
|---|---|---|
| focused | Focused window (brought to front) | 1000 |
| dialog | Modal dialogs, alerts | 10000 |
| popup | Context menus, dropdowns | 100000 |
| balloon | Tooltips, notification balloons | 110000 |
| cursor | Custom cursor overlay | 120000 |
Shadow System
Hard-edge drop shadows. No blur radius — nostalgia-perfect offset shadows only.
Brushwork: 3px 3px 0 rgba(51,51,51,0.27)
Dialog: 3px 3px 0 rgba(51,51,51,0.2)
Balloon: drop-shadow(2px 2px 1px rgba(51,51,51,0.33))
Window / Dialog Component
The core UI element. Title bar gradient, 3D chrome border, content well, and footer buttons.
Active Window (Nostalgia Theme)
This window uses the Nostalgia magenta-to-cyan title bar gradient. Title text is white with text-shadow.
Content area has white background with sunken 3D border (inset).
Active Window (Classic Win95 Theme)
Classic Win95 blue-to-light-blue title bar gradient.
Inactive Window
Inactive windows have a gray gradient title bar.
Anatomy
- Outer border: 2px, white top-left / dark-shadow bottom-right
- Inner shadow: inset 1px light / inset -1px shadow (4-color 3D effect)
- Title bar: linear-gradient(90deg, ActiveTitle, GradientActiveTitle)
- Title text: white, bold, 12px, padding 3px 4px
- Title buttons: 16x14px, ButtonFace background, 3D outset border
- Content area: white background, sunken 3D border, 4px margin from chrome
- Footer: right-aligned buttons, 8px padding
- Drop shadow: 3px 3px 0 rgba(51,51,51,0.2)
3D Border System
The signature Win95 beveled border is built from 4 colors applied to border + box-shadow. This creates the illusion of depth with a light source from the top-left.
2px Borders (Standard)
(raised)
(sunken)
1px Borders (Shallow)
Screentone / Dither Pattern
repeating-conic-gradient(ButtonFace 0% 25%, ButtonLight 0% 50%) 50% / 2px 2px
Used for scrollbar tracks, disabled areas, and the classic Win95 dithered background pattern.
Border Color Map
| Position | Outset (raised) | Inset (sunken) |
|---|---|---|
| Border top/left | ButtonHilight (#fff) | ButtonDkShadow (#404040) |
| Border bottom/right | ButtonDkShadow (#404040) | ButtonHilight (#fff) |
| Inset top/left shadow | ButtonLight (#dfdfdf) | ButtonShadow (#808080) |
| Inset bottom/right shadow | ButtonShadow (#808080) | ButtonLight (#dfdfdf) |
Desktop
The Nostalgia desktop is a purple/magenta/cyan radial gradient with a grid of 32x32 icons.
Desktop Spec
- Background: radial-gradient(ellipse at center, #f0f, #0ff) over base rgb(131,125,255)
- Icon size: 32x32px
- Icon grid cell: 68px wide
- Icon gap: 2px
- Label font: 10px, white, text-shadow on all 4 sides for outline effect
- Label text-shadow: 1px 1px 1px #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000
Taskbar
Fixed at the bottom of the viewport. Outset top border, Start button, window dock, and clock.
Taskbar Spec
- Height: ~30px
- Background: ButtonFace
- Top border: 2px solid ButtonHilight (outset top edge)
- Start button: outset 3D border, bold text, Win93 gradient logo icon
- Dock buttons: inset (pressed) 3D border, 11px text, min-width ~100px
- Clock: inset border, monospace font, right-aligned
- Padding: 2px 4px internal, 4px gap between elements
Scrollbar
Scrollbar Spec
- Track width: 20px
- Track background: screentone dither pattern
- Thumb: ButtonFace, outset 3D border, min 8px height
- Arrow buttons: 18px tall, outset 3D border, centered arrow glyph
- Border: 1px solid ButtonDkShadow on track outer edge
Icon System
Nostalgia uses 32x32 nostalgia icons arranged in a 68px grid. Icons are rendered as <img> elements or CSS backgrounds.
Icon Spec
- Default size: 32x32px
- Grid area: 68px cells
- Gap: 2px between icons
- Rendering: image-rendering: nostalgiaated (no smoothing)
- Desktop labels: white text with black outline text-shadow
- Explorer labels: black text, no shadow
- Selected state: blue highlight rectangle, white text, dithered icon overlay
Web Components
Nostalgia is built on custom HTML elements registered as web components. Each encapsulates a Win95-style UI pattern.
| Component | Purpose |
|---|---|
<ui-dialog> | Draggable window with title bar, 3D chrome, resizable. Core container for all apps. |
<ui-folder> | File explorer window showing directory contents as icons or list view. |
<ui-icon> | Desktop/folder icon with 32x32 image, label, double-click action, context menu. |
<ui-dock> | Taskbar window list. Shows open windows as pressed/unpressed buttons. |
<ui-tabs> | Win95-style tabbed interface (like Properties dialogs). |
<ui-knob> | Rotary knob control (audio apps, settings). |
<ui-volume> | Volume slider control for audio mixer. |
<ui-picto> | Pictogram / icon renderer using sprite sheets. |
<ui-toast> | Single toast notification message. |
<ui-toaster> | Toast container / notification manager. |
<ui-workspaces> | Virtual desktop switcher (multiple desktops). |
<ui-menu> | Context menu and menubar dropdown with separators and submenus. |
<ui-tooltip> | InfoWindow-colored tooltip (yellow #fefee0 background). |
<ui-notif> | System tray notification bubble. |
CSS Variables — Copy-Paste Block
Complete token set for implementing the Nostalgia design system. Includes both the Win95 base and the Nostalgia theme overrides.