Welcome to Scanlines, a Hugo theme inspired by the classic DEC VT100 and VT220 terminals from the 1970s and 1980s.
The Inspiration#
The DEC VT220 was introduced in November 1983 and became one of the most popular video terminals of its era. Its distinctive amber phosphor display and clean typography made it an icon of the computing age.
Phosphor Colors#
The VT220 was available with three different phosphor options:
- Amber (P3) - The most popular choice, with a warm orange glow
- Green (P1) - The classic "green screen" look
- White - A cooler, more modern appearance
Features#
This theme recreates the terminal experience with modern web technologies:
Every visual effect is pure CSS. The theme ships zero JavaScript - no bundles, no trackers, no hydration. Scanlines, glow, flicker and the collapsible navigation all run on stylesheets alone.
Visual Effects#
The CRT effects include:
- Scanlines - Simulating the horizontal scan pattern of CRT displays
- Flicker - Subtle brightness variations like real 60Hz displays
- Phosphor Glow - The characteristic glow of illuminated phosphors
- Vignette - Phosphor edge fade with subtle screen curvature
Code Highlighting#
Syntax highlighting works beautifully with the terminal aesthetic:
| |
Or some shell commands:
| |
Accessibility#
Despite the retro aesthetic, accessibility remains a priority:
- All effects can be disabled via configuration
- Respects
prefers-reduced-motionsystem settings - High contrast mode available
- Semantic HTML throughout
- Proper focus indicators
Getting Started#
Install the theme as a Hugo module (requires Hugo Extended and the Go toolchain):
| |
Then add it to your hugo.toml and pull it in:
| |
| |
Prefer not to use modules? git clone or a submodule into themes/scanlines
works too - see the installation guide
for every method, plus the
full configuration reference.
Stay tuned for more posts about retro computing and terminal aesthetics.
> END OF TRANSMISSION_