back to gallerydo avoid
design language·retro-terminal-hacker
Retro Terminal Hacker
A portable design language for agents: download the markdown first, then inspect the preview, tokens, and rules as needed.
Download DESIGN.md
Portable DESIGN.md source of truth for most agents and apps.
the spec
specification
philosophy
summary
A command-line-native interface language that treats the screen like a living phosphor terminal: true black fields, green monochrome hierarchy, scanline texture, and sharp rectangular framing that feels audited, operational, and slightly clandestine rather than nostalgic parody.
values
Operational clarity over decorative comfortMonospace rhythm and command-first interactionVisible system state, logs, and machine feedbackRestrained alarm colors used only for risk and failure
anti-values
×Soft consumer-app gradients or pastel accents×Rounded playful components that break terminal discipline×Hidden state that removes the sense of machine dialogue
tokens
colors12 items
primary
#7CFF7A
secondary
#3AAE52
accent
#B7FF64
background
#020302
surface
#081108
text
#D6FFD0
muted
#5F8F63
border
#245B2D
error
#FF5A36
success
#8CFF98
warning
#D7A94B
info
#89D971
typography8 items
- heading font
- VT323
- body font
- Share Tech Mono
- mono font
- Share Tech Mono
- base size
- 16px
- scale ratio
- 1.2
- line height
- 1.5
- letter spacing
- 0.03em
- google fonts url
- https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=VT323&display=swap
spacing2 items
- base
- 8px
- scale
- 4, 8, 12, 16, 24, 32, 48, 64
radii5 items
- none
- 0
- sm
- 0
- md
- 2px
- lg
- 4px
- full
- 9999px
shadows3 items
- sm
- 0 0 0 1px rgba(124,255,122,0.12), inset 0 0 18px rgba(124,255,122,0.05)
- md
- 0 0 0 1px rgba(124,255,122,0.18), inset 0 0 26px rgba(124,255,122,0.08), 0 0 24px rgba(58,174,82,0.10)
- lg
- 0 0 0 1px rgba(124,255,122,0.22), inset 0 0 40px rgba(124,255,122,0.12), 0 0 42px rgba(58,174,82,0.12)
surfaces3 items
- treatment
- noise
- card style
- Opaque black-green terminal panes with faint inner phosphor bloom, scanline overlays, and rigid rectangular segmentation lines.
- bg pattern
- grid
borders4 items
- default width
- 1px
- accent width
- 2px
- style
- solid
- character
- Borders are crisp signal traces: dim green outlines with brighter active rails and occasional double-line dividers on section headers.
motion3 items
- duration
- 160ms
- easing
- cubic-bezier(0.2, 0.8, 0.2, 1)
- philosophy
- snappy
rules
composition
Compose the screen as a live operator console: a narrow command rail, a dominant central mission workspace, and stacked diagnostic panes that feel like concurrent terminal windows.
hierarchy
Use large bitmap-like headings, uppercase metadata straps, and fixed-width data tables so users scan from session status to command input to machine output in a strict top-down flow.
density
Medium-high density with compact rows, visible separators, and limited empty space; the interface should feel information-rich but still readable because alignment is exact.
signature patterns
Every primary panel header uses bracketed labels and an ASCII rule line created with pseudo-elements, making section divisions feel like CLI output instead of app chrome.Critical blocks place a brighter 3px left signal bar beside the content, so alerts, active sessions, and selected logs are framed by vertical phosphor emphasis.Tables, forms, and command chips all use hard rectangular outlines plus inset glow shadows, avoiding rounded consumer UI and reinforcing the sense of terminal windows nested within one another.The page applies repeating horizontal scanlines with a subtle radial vignette and noise speckle overlay, ensuring the CRT monitor texture remains visible across the full composition.Focused controls and selected tabs invert to luminous green fills with black text while unfocused controls remain dark with green outlines, reproducing terminal cursor-selection behavior.
layout
grid
Desktop uses a three-column shell with a narrow left rail, fluid main workspace, and right diagnostics column; tablet collapses to two columns and mobile stacks all regions into a single vertical command narrative.
breakpoints
Desktop ≥ 1200px, tablet 700px-1199px, mobile < 700px with panel stacking and full-width controls.
whitespace
Whitespace is deliberate but tight: compact inner padding, larger gaps between major windows, and consistent 8px-based spacing so dense data never feels chaotic.
guidance
- Use true black or near-black backgrounds as the dominant field and reserve bright green for text, borders, and active focus.
- Expose logs, command history, timestamps, and status markers so the interface feels like an ongoing machine conversation.
- Build hierarchy through monospace scale, separators, and state inversion rather than through colorful illustrations or glossy iconography.
- Do not introduce cyan neon, purple glows, or synthwave gradients that push the language into generic cyberpunk.
- Do not soften components with large radii, floating glass cards, or airy consumer-product spacing.
- Do not hide controls behind ambiguous icons when a direct command label or text mode selector would be clearer.
katagami spec
# Retro Terminal Hacker ## Philosophy A command-line-native interface language that treats the screen like a living phosphor terminal: true black fields, green monochrome hierarchy, scanline texture, and sharp rectangular framing that feels audited, operational, and slightly clandestine rather than nostalgic parody. ### Values - Operational clarity over decorative comfort - Monospace rhythm and command-first interaction - Visible system state, logs, and machine feedback - Restrained alarm colors used only for risk and failure ### Anti-Values - Soft consumer-app gradients or pastel accents - Rounded playful components that break terminal discipline - Hidden state that removes the sense of machine dialogue ### Visual Character - Every major container sits on a true black field with a 1px to 2px phosphor green border and an inner glow, so the interface reads like stacked terminal windows rather than modern cards. - Dense monospace typography uses uppercase labels, fixed-width columns, and glowing green text-shadow on critical readings to mimic CRT phosphor bloom without reducing legibility. - The page surface carries horizontal scanlines, subtle grid ticks, and radial vignette falloff so the full viewport feels like an active monitor instead of a flat web canvas. - Status emphasis relies on left-edge signal bars, bracketed labels, and ASCII-divider lines, creating a command-log hierarchy instead of icon-led SaaS decoration. - Interactive controls invert from black-on-green to green-on-black on hover and focus, making each button, field, and tab feel like terminal selection states rendered through hardware phosphor. ## Tokens ### Colors | Name | Value | |------|-------| | primary | `#7CFF7A` | | secondary | `#3AAE52` | | accent | `#B7FF64` | | background | `#020302` | | surface | `#081108` | | text | `#D6FFD0` | | muted | `#5F8F63` | | border | `#245B2D` | | error | `#FF5A36` | | success | `#8CFF98` | | warning | `#D7A94B` | | info | `#89D971` | ### Typography - **Heading Font**: VT323 - **Body Font**: Share Tech Mono - **Mono Font**: Share Tech Mono - **Base Size**: 16px - **Scale Ratio**: 1.2 - **Line Height**: 1.5 - **Letter Spacing**: 0.03em - **Google Fonts Url**: https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=VT323&display=swap ### Spacing - **Base**: 8px - **Scale**: [4,8,12,16,24,32,48,64] ### Radii - **None**: 0 - **Sm**: 0 - **Md**: 2px - **Lg**: 4px - **Full**: 9999px ### Shadows - **Sm**: 0 0 0 1px rgba(124,255,122,0.12), inset 0 0 18px rgba(124,255,122,0.05) - **Md**: 0 0 0 1px rgba(124,255,122,0.18), inset 0 0 26px rgba(124,255,122,0.08), 0 0 24px rgba(58,174,82,0.10) - **Lg**: 0 0 0 1px rgba(124,255,122,0.22), inset 0 0 40px rgba(124,255,122,0.12), 0 0 42px rgba(58,174,82,0.12) ### Surfaces - **Treatment**: noise - **Card Style**: Opaque black-green terminal panes with faint inner phosphor bloom, scanline overlays, and rigid rectangular segmentation lines. - **Bg Pattern**: grid ### Borders - **Default Width**: 1px - **Accent Width**: 2px - **Style**: solid - **Character**: Borders are crisp signal traces: dim green outlines with brighter active rails and occasional double-line dividers on section headers. ### Motion - **Duration**: 160ms - **Easing**: cubic-bezier(0.2, 0.8, 0.2, 1) - **Philosophy**: snappy ## Rules ### Composition Compose the screen as a live operator console: a narrow command rail, a dominant central mission workspace, and stacked diagnostic panes that feel like concurrent terminal windows. ### Hierarchy Use large bitmap-like headings, uppercase metadata straps, and fixed-width data tables so users scan from session status to command input to machine output in a strict top-down flow. ### Density Medium-high density with compact rows, visible separators, and limited empty space; the interface should feel information-rich but still readable because alignment is exact. ### Signature Patterns - Every primary panel header uses bracketed labels and an ASCII rule line created with pseudo-elements, making section divisions feel like CLI output instead of app chrome. - Critical blocks place a brighter 3px left signal bar beside the content, so alerts, active sessions, and selected logs are framed by vertical phosphor emphasis. - Tables, forms, and command chips all use hard rectangular outlines plus inset glow shadows, avoiding rounded consumer UI and reinforcing the sense of terminal windows nested within one another. - The page applies repeating horizontal scanlines with a subtle radial vignette and noise speckle overlay, ensuring the CRT monitor texture remains visible across the full composition. - Focused controls and selected tabs invert to luminous green fills with black text while unfocused controls remain dark with green outlines, reproducing terminal cursor-selection behavior. ## Layout ### Grid Desktop uses a three-column shell with a narrow left rail, fluid main workspace, and right diagnostics column; tablet collapses to two columns and mobile stacks all regions into a single vertical command narrative. ### Breakpoints Desktop ≥ 1200px, tablet 700px-1199px, mobile < 700px with panel stacking and full-width controls. ### Whitespace Whitespace is deliberate but tight: compact inner padding, larger gaps between major windows, and consistent 8px-based spacing so dense data never feels chaotic. ## Guidance ### Do - Use true black or near-black backgrounds as the dominant field and reserve bright green for text, borders, and active focus. - Expose logs, command history, timestamps, and status markers so the interface feels like an ongoing machine conversation. - Build hierarchy through monospace scale, separators, and state inversion rather than through colorful illustrations or glossy iconography. ### Don't - Do not introduce cyan neon, purple glows, or synthwave gradients that push the language into generic cyberpunk. - Do not soften components with large radii, floating glass cards, or airy consumer-product spacing. - Do not hide controls behind ambiguous icons when a direct command label or text mode selector would be clearer.
DESIGN.md
---
version: "alpha"
name: "Retro Terminal Hacker"
description: "Agent-curated design language exported from Katagami as DESIGN.md."
colors:
primary: "#7CFF7A"
secondary: "#3AAE52"
accent: "#B7FF64"
background: "#020302"
surface: "#081108"
text: "#D6FFD0"
muted: "#5F8F63"
border: "#245B2D"
error: "#FF5A36"
success: "#8CFF98"
warning: "#D7A94B"
info: "#89D971"
typography:
headline-lg:
fontFamily: "VT323"
fontSize: "1.728rem"
fontWeight: 700
lineHeight: 1.1
letterSpacing: "0.03em"
headline-md:
fontFamily: "VT323"
fontSize: "1.44rem"
fontWeight: 600
lineHeight: 1.15
letterSpacing: "0.03em"
body-md:
fontFamily: "Share Tech Mono"
fontSize: "16px"
fontWeight: 400
lineHeight: 1.5
letterSpacing: "0.03em"
label-md:
fontFamily: "Share Tech Mono"
fontSize: "0.75rem"
fontWeight: 600
lineHeight: 1
letterSpacing: "0.08em"
rounded:
none: "0px"
sm: "0px"
md: "2px"
lg: "4px"
full: "9999px"
spacing:
base: "8px"
xs: "4px"
sm: "8px"
md: "12px"
lg: "16px"
xl: "24px"
2xl: "32px"
3xl: "48px"
4xl: "64px"
components:
color-reference-primary:
backgroundColor: "{colors.primary}"
color-reference-secondary:
backgroundColor: "{colors.secondary}"
color-reference-accent:
backgroundColor: "{colors.accent}"
color-reference-background:
backgroundColor: "{colors.background}"
color-reference-surface:
backgroundColor: "{colors.surface}"
color-reference-text:
backgroundColor: "{colors.text}"
color-reference-muted:
backgroundColor: "{colors.muted}"
color-reference-border:
backgroundColor: "{colors.border}"
color-reference-error:
backgroundColor: "{colors.error}"
color-reference-success:
backgroundColor: "{colors.success}"
color-reference-warning:
backgroundColor: "{colors.warning}"
color-reference-info:
backgroundColor: "{colors.info}"
button-primary:
backgroundColor: "{colors.primary}"
textColor: "#000000"
typography: "{typography.label-md}"
rounded: "{rounded.md}"
padding: "{spacing.md}"
card-surface:
backgroundColor: "{colors.surface}"
textColor: "{colors.text}"
rounded: "{rounded.md}"
padding: "{spacing.md}"
input-default:
backgroundColor: "{colors.surface}"
textColor: "{colors.text}"
rounded: "{rounded.md}"
height: "44px"
---
# Retro Terminal Hacker
## Overview
A command-line-native interface language that treats the screen like a living phosphor terminal: true black fields, green monochrome hierarchy, scanline texture, and sharp rectangular framing that feels audited, operational, and slightly clandestine rather than nostalgic parody.
### Values
- Operational clarity over decorative comfort
- Monospace rhythm and command-first interaction
- Visible system state, logs, and machine feedback
- Restrained alarm colors used only for risk and failure
### Anti-Values
- Soft consumer-app gradients or pastel accents
- Rounded playful components that break terminal discipline
- Hidden state that removes the sense of machine dialogue
### Visual Character
- Every major container sits on a true black field with a 1px to 2px phosphor green border and an inner glow, so the interface reads like stacked terminal windows rather than modern cards.
- Dense monospace typography uses uppercase labels, fixed-width columns, and glowing green text-shadow on critical readings to mimic CRT phosphor bloom without reducing legibility.
- The page surface carries horizontal scanlines, subtle grid ticks, and radial vignette falloff so the full viewport feels like an active monitor instead of a flat web canvas.
- Status emphasis relies on left-edge signal bars, bracketed labels, and ASCII-divider lines, creating a command-log hierarchy instead of icon-led SaaS decoration.
- Interactive controls invert from black-on-green to green-on-black on hover and focus, making each button, field, and tab feel like terminal selection states rendered through hardware phosphor.
## Colors
Use the YAML color tokens as the normative palette. The prose below names the roles agents should preserve when generating UI.
| Token | Value |
|-------|-------|
| primary | `#7CFF7A` |
| secondary | `#3AAE52` |
| accent | `#B7FF64` |
| background | `#020302` |
| surface | `#081108` |
| text | `#D6FFD0` |
| muted | `#5F8F63` |
| border | `#245B2D` |
| error | `#FF5A36` |
| success | `#8CFF98` |
| warning | `#D7A94B` |
| info | `#89D971` |
## Typography
- **Headline-Lg**: VT323, 1.728rem, weight 700, line-height 1.1.
- **Headline-Md**: VT323, 1.44rem, weight 600, line-height 1.15.
- **Body-Md**: Share Tech Mono, 16px, weight 400, line-height 1.5.
- **Label-Md**: Share Tech Mono, 0.75rem, weight 600, line-height 1.
## Layout
### Spacing Tokens
- **Base**: `8px`
- **Xs**: `4px`
- **Sm**: `8px`
- **Md**: `12px`
- **Lg**: `16px`
- **Xl**: `24px`
- **2xl**: `32px`
- **3xl**: `48px`
- **4xl**: `64px`
### Grid
Desktop uses a three-column shell with a narrow left rail, fluid main workspace, and right diagnostics column; tablet collapses to two columns and mobile stacks all regions into a single vertical command narrative.
### Breakpoints
Desktop ≥ 1200px, tablet 700px-1199px, mobile < 700px with panel stacking and full-width controls.
### Whitespace
Whitespace is deliberate but tight: compact inner padding, larger gaps between major windows, and consistent 8px-based spacing so dense data never feels chaotic.
## Elevation & Depth
### Shadows
- **Sm**: 0 0 0 1px rgba(124,255,122,0.12), inset 0 0 18px rgba(124,255,122,0.05)
- **Md**: 0 0 0 1px rgba(124,255,122,0.18), inset 0 0 26px rgba(124,255,122,0.08), 0 0 24px rgba(58,174,82,0.10)
- **Lg**: 0 0 0 1px rgba(124,255,122,0.22), inset 0 0 40px rgba(124,255,122,0.12), 0 0 42px rgba(58,174,82,0.12)
## Shapes
### Rounded
- **None**: `0px`
- **Sm**: `0px`
- **Md**: `2px`
- **Lg**: `4px`
- **Full**: `9999px`
### Surfaces
- **Treatment**: noise
- **Card Style**: Opaque black-green terminal panes with faint inner phosphor bloom, scanline overlays, and rigid rectangular segmentation lines.
- **Bg Pattern**: grid
### Borders
- **Default Width**: 1px
- **Accent Width**: 2px
- **Style**: solid
- **Character**: Borders are crisp signal traces: dim green outlines with brighter active rails and occasional double-line dividers on section headers.
## Components
### Composition
Compose the screen as a live operator console: a narrow command rail, a dominant central mission workspace, and stacked diagnostic panes that feel like concurrent terminal windows.
### Hierarchy
Use large bitmap-like headings, uppercase metadata straps, and fixed-width data tables so users scan from session status to command input to machine output in a strict top-down flow.
### Density
Medium-high density with compact rows, visible separators, and limited empty space; the interface should feel information-rich but still readable because alignment is exact.
### Signature Patterns
- Every primary panel header uses bracketed labels and an ASCII rule line created with pseudo-elements, making section divisions feel like CLI output instead of app chrome.
- Critical blocks place a brighter 3px left signal bar beside the content, so alerts, active sessions, and selected logs are framed by vertical phosphor emphasis.
- Tables, forms, and command chips all use hard rectangular outlines plus inset glow shadows, avoiding rounded consumer UI and reinforcing the sense of terminal windows nested within one another.
- The page applies repeating horizontal scanlines with a subtle radial vignette and noise speckle overlay, ensuring the CRT monitor texture remains visible across the full composition.
- Focused controls and selected tabs invert to luminous green fills with black text while unfocused controls remain dark with green outlines, reproducing terminal cursor-selection behavior.
## shadcn/ui Usage
When the target app uses shadcn/ui, copy DESIGN.md with shadcn instead of the plain DESIGN.md. It contains the same Katagami design-language source plus the shadcn/ui primitives, imports, theme variables, component recipes, and preview-shot guidance.
DESIGN.md with shadcn: `/language/en-019da328-2dda-7f83-9cec-d3658d31fb3a/DESIGN.with-shadcn.md`.
The shadcn page also exposes optional machine-readable files for automation, but the human-facing handoff is DESIGN.md with shadcn.
Install recommended primitives with `npx shadcn@latest add button card input textarea select dialog sheet tabs badge separator checkbox switch slider tooltip dropdown-menu table`.
Use these primitives in shadcn apps:
- button
- card
- input
- textarea
- select
- dialog
- sheet
- tabs
- badge
- separator
- checkbox
- switch
- slider
- tooltip
- dropdown-menu
- table
Implementation rule for agents: import shadcn primitives from `@/components/ui/*`, apply the generated CSS variables first, then compose the language-specific recipes from the companion MD. Katagami remains the source of truth; shadcn names are the implementation surface.
## Do's and Don'ts
- Do Use true black or near-black backgrounds as the dominant field and reserve bright green for text, borders, and active focus.
- Do Expose logs, command history, timestamps, and status markers so the interface feels like an ongoing machine conversation.
- Do Build hierarchy through monospace scale, separators, and state inversion rather than through colorful illustrations or glossy iconography.
- Don't Do not introduce cyan neon, purple glows, or synthwave gradients that push the language into generic cyberpunk.
- Don't Do not soften components with large radii, floating glass cards, or airy consumer-product spacing.
- Don't Do not hide controls behind ambiguous icons when a direct command label or text mode selector would be clearer.
shadcn/ui theme
```json
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "retro-terminal-hacker",
"type": "registry:theme",
"title": "Retro Terminal Hacker shadcn Theme",
"cssVars": {
"theme": {},
"light": {
"background": "#020302",
"foreground": "#D6FFD0",
"card": "#081108",
"card-foreground": "#D6FFD0",
"popover": "#081108",
"popover-foreground": "#D6FFD0",
"primary": "#7CFF7A",
"primary-foreground": "#111111",
"secondary": "#3AAE52",
"secondary-foreground": "#ffffff",
"muted": "#5F8F63",
"muted-foreground": "#D6FFD0",
"accent": "#B7FF64",
"accent-foreground": "#111111",
"destructive": "#FF5A36",
"border": "#245B2D",
"input": "#245B2D",
"ring": "#B7FF64",
"chart-1": "#7CFF7A",
"chart-2": "#3AAE52",
"chart-3": "#B7FF64",
"chart-4": "#8CFF98",
"chart-5": "#D7A94B",
"sidebar": "#081108",
"sidebar-foreground": "#D6FFD0",
"sidebar-primary": "#7CFF7A",
"sidebar-primary-foreground": "#111111",
"sidebar-accent": "#89D971",
"sidebar-accent-foreground": "#111111",
"sidebar-border": "#245B2D",
"sidebar-ring": "#B7FF64",
"radius": "2px"
},
"dark": {
"background": "#0f1115",
"foreground": "#f8fafc",
"card": "#181b22",
"card-foreground": "#f8fafc",
"popover": "#181b22",
"popover-foreground": "#f8fafc",
"primary": "#7CFF7A",
"primary-foreground": "#111111",
"secondary": "#252a33",
"secondary-foreground": "#f8fafc",
"muted": "#252a33",
"muted-foreground": "#a1a1aa",
"accent": "#B7FF64",
"accent-foreground": "#111111",
"destructive": "#FF5A36",
"border": "#303642",
"input": "#303642",
"ring": "#B7FF64",
"chart-1": "#7CFF7A",
"chart-2": "#3AAE52",
"chart-3": "#B7FF64",
"chart-4": "#8CFF98",
"chart-5": "#D7A94B",
"sidebar": "#181b22",
"sidebar-foreground": "#f8fafc",
"sidebar-primary": "#7CFF7A",
"sidebar-primary-foreground": "#111111",
"sidebar-accent": "#B7FF64",
"sidebar-accent-foreground": "#111111",
"sidebar-border": "#303642",
"sidebar-ring": "#B7FF64",
"radius": "2px"
}
},
"meta": {
"source": "katagami",
"languageId": "en-019da328-2dda-7f83-9cec-d3658d31fb3a",
"slug": "retro-terminal-hacker",
"componentManifest": [
"button",
"card",
"input",
"textarea",
"select",
"dialog",
"sheet",
"tabs",
"badge",
"separator",
"checkbox",
"switch",
"slider",
"tooltip",
"dropdown-menu",
"table"
],
"installCommand": "npx shadcn@latest add button card input textarea select dialog sheet tabs badge separator checkbox switch slider tooltip dropdown-menu table",
"nativeTokenNames": {
"colors": [
"accent",
"background",
"border",
"error",
"info",
"muted",
"primary",
"secondary",
"success",
"surface",
"text",
"warning"
],
"typography": [
"base_size",
"body_font",
"google_fonts_url",
"heading_font",
"letter_spacing",
"line_height",
"mono_font",
"scale_ratio"
],
"spacing": [
"base",
"scale"
],
"radii": [
"full",
"lg",
"md",
"none",
"sm"
],
"shadows": [
"lg",
"md",
"sm"
],
"surfaces": [
"bg_pattern",
"card_style",
"treatment"
],
"borders": [
"accent_width",
"character",
"default_width",
"style"
],
"motion": [
"duration",
"easing",
"philosophy"
]
}
}
}
```in the wild
embodiments
the full element showcase
embodiment · retro-terminal-hacker
DESIGN.md
at a glance
Typography
headline-lgVT323 · 28px · 700
The quick brown fox jumps
headline-mdVT323 · 23px · 600
The quick brown fox jumps
body-mdShare Tech Mono · 16px · 400
The quick brown fox jumps
label-mdShare Tech Mono · 12px · 600
The quick brown fox jumps
Components
New
Card title
Components rendered with this language’s tokens — colors, type, and rounded corners as specified.
Spacing
- base8px
- xs4px
- sm8px
- md12px
- lg16px
- xl24px
- 2xl32px
- 3xl48px
- 4xl64px
Shape
none0px
sm0px
md2px
lg4px
full9999px
shadcn/ui
implementation kit
recommendedcompatibility fallback
DESIGN.md with shadcn
Copy this when the target app uses shadcn/ui. It packages the Katagami DESIGN.md context with the install list, theme variables, component recipes, preview-shot contract, and starter TSX in one Markdown companion.
advanced implementation filesoptional machine-readable theme, CSS, TSX starter, recipes, and preview contract
shadcn add
npx shadcn@latest add button card input textarea select dialog sheet tabs badge separator checkbox switch slider tooltip dropdown-menu tabletheme css
:root {
--background: #020302;
--foreground: #D6FFD0;
--card: #081108;
--card-foreground: #D6FFD0;
--popover: #081108;
--popover-foreground: #D6FFD0;
--primary: #7CFF7A;
--primary-foreground: #111111;
--secondary: #3AAE52;
--secondary-foreground: #ffffff;
--muted: #5F8F63;
--muted-foreground: #D6FFD0;
--accent: #B7FF64;
--accent-foreground: #111111;
--destructive: #FF5A36;
--border: #245B2D;
--input: #245B2D;
--ring: #B7FF64;
--chart-1: #7CFF7A;
--chart-2: #3AAE52;
--chart-3: #B7FF64;
--chart-4: #8CFF98;
--chart-5: #D7A94B;
--sidebar: #081108;
--sidebar-foreground: #D6FFD0;
--sidebar-primary: #7CFF7A;
--sidebar-primary-foreground: #111111;
--sidebar-accent: #89D971;
--sidebar-accent-foreground: #111111;
--sidebar-border: #245B2D;
--sidebar-ring: #B7FF64;
--radius: 2px;
}
.dark {
--background: #0f1115;
--foreground: #f8fafc;
--card: #181b22;
--card-foreground: #f8fafc;
--popover: #181b22;
--popover-foreground: #f8fafc;
--primary: #7CFF7A;
--primary-foreground: #111111;
--secondary: #252a33;
--secondary-foreground: #f8fafc;
--muted: #252a33;
--muted-foreground: #a1a1aa;
--accent: #B7FF64;
--accent-foreground: #111111;
--destructive: #FF5A36;
--border: #303642;
--input: #303642;
--ring: #B7FF64;
--chart-1: #7CFF7A;
--chart-2: #3AAE52;
--chart-3: #B7FF64;
--chart-4: #8CFF98;
--chart-5: #D7A94B;
--sidebar: #181b22;
--sidebar-foreground: #f8fafc;
--sidebar-primary: #7CFF7A;
--sidebar-primary-foreground: #111111;
--sidebar-accent: #B7FF64;
--sidebar-accent-foreground: #111111;
--sidebar-border: #303642;
--sidebar-ring: #B7FF64;
--radius: 2px;
}
tsx starter
import { Badge } from "@/components/ui/badge";
import { Button } from "@/components/ui/button";
import {
Card,
CardContent,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
} from "@/components/ui/card";
import { Input } from "@/components/ui/input";
import { Tabs, TabsList, TabsTrigger } from "@/components/ui/tabs";
export function RetroTerminalHackerShadcnKit() {
return (
<section className="grid gap-4 rounded-[var(--radius)] border bg-background p-4 text-foreground">
<div className="flex items-start justify-between gap-4">
<div>
<Badge variant="outline">shadcn/ui</Badge>
<h2 className="mt-3 text-2xl font-semibold tracking-tight">Retro Terminal Hacker</h2>
<p className="mt-1 max-w-xl text-sm text-muted-foreground">
Use the Katagami registry theme, then compose these shadcn primitives
with the language-specific component recipes.
</p>
</div>
<Button>Apply theme</Button>
</div>
<Tabs defaultValue="components">
<TabsList>
<TabsTrigger value="components">Components</TabsTrigger>
<TabsTrigger value="states">States</TabsTrigger>
<TabsTrigger value="export">Export</TabsTrigger>
</TabsList>
</Tabs>
<Card>
<CardHeader>
<CardTitle>Component recipe</CardTitle>
<CardDescription>
Replace this starter content with the agent-authored product scene
from components.md and preview-shots.json.
</CardDescription>
</CardHeader>
<CardContent className="grid gap-3 sm:grid-cols-[1fr_auto]">
<Input defaultValue="Tokenized shadcn surface" aria-label="Recipe name" />
<Button variant="secondary">Preview state</Button>
</CardContent>
<CardFooter className="justify-between">
<Badge>Ready</Badge>
<Button variant="outline">Copy recipe</Button>
</CardFooter>
</Card>
</section>
);
}
theme JSONcompatibility fallback
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "retro-terminal-hacker",
"type": "registry:theme",
"title": "Retro Terminal Hacker shadcn Theme",
"cssVars": {
"theme": {},
"light": {
"background": "#020302",
"foreground": "#D6FFD0",
"card": "#081108",
"card-foreground": "#D6FFD0",
"popover": "#081108",
"popover-foreground": "#D6FFD0",
"primary": "#7CFF7A",
"primary-foreground": "#111111",
"secondary": "#3AAE52",
"secondary-foreground": "#ffffff",
"muted": "#5F8F63",
"muted-foreground": "#D6FFD0",
"accent": "#B7FF64",
"accent-foreground": "#111111",
"destructive": "#FF5A36",
"border": "#245B2D",
"input": "#245B2D",
"ring": "#B7FF64",
"chart-1": "#7CFF7A",
"chart-2": "#3AAE52",
"chart-3": "#B7FF64",
"chart-4": "#8CFF98",
"chart-5": "#D7A94B",
"sidebar": "#081108",
"sidebar-foreground": "#D6FFD0",
"sidebar-primary": "#7CFF7A",
"sidebar-primary-foreground": "#111111",
"sidebar-accent": "#89D971",
"sidebar-accent-foreground": "#111111",
"sidebar-border": "#245B2D",
"sidebar-ring": "#B7FF64",
"radius": "2px"
},
"dark": {
"background": "#0f1115",
"foreground": "#f8fafc",
"card": "#181b22",
"card-foreground": "#f8fafc",
"popover": "#181b22",
"popover-foreground": "#f8fafc",
"primary": "#7CFF7A",
"primary-foreground": "#111111",
"secondary": "#252a33",
"secondary-foreground": "#f8fafc",
"muted": "#252a33",
"muted-foreground": "#a1a1aa",
"accent": "#B7FF64",
"accent-foreground": "#111111",
"destructive": "#FF5A36",
"border": "#303642",
"input": "#303642",
"ring": "#B7FF64",
"chart-1": "#7CFF7A",
"chart-2": "#3AAE52",
"chart-3": "#B7FF64",
"chart-4": "#8CFF98",
"chart-5": "#D7A94B",
"sidebar": "#181b22",
"sidebar-foreground": "#f8fafc",
"sidebar-primary": "#7CFF7A",
"sidebar-primary-foreground": "#111111",
"sidebar-accent": "#B7FF64",
"sidebar-accent-foreground": "#111111",
"sidebar-border": "#303642",
"sidebar-ring": "#B7FF64",
"radius": "2px"
}
},
"meta": {
"source": "katagami",
"languageId": "en-019da328-2dda-7f83-9cec-d3658d31fb3a",
"slug": "retro-terminal-hacker",
"componentManifest": [
"button",
"card",
"input",
"textarea",
"select",
"dialog",
"sheet",
"tabs",
"badge",
"separator",
"checkbox",
"switch",
"slider",
"tooltip",
"dropdown-menu",
"table"
],
"installCommand": "npx shadcn@latest add button card input textarea select dialog sheet tabs badge separator checkbox switch slider tooltip dropdown-menu table",
"nativeTokenNames": {
"colors": [
"accent",
"background",
"border",
"error",
"info",
"muted",
"primary",
"secondary",
"success",
"surface",
"text",
"warning"
],
"typography": [
"base_size",
"body_font",
"google_fonts_url",
"heading_font",
"letter_spacing",
"line_height",
"mono_font",
"scale_ratio"
],
"spacing": [
"base",
"scale"
],
"radii": [
"full",
"lg",
"md",
"none",
"sm"
],
"shadows": [
"lg",
"md",
"sm"
],
"surfaces": [
"bg_pattern",
"card_style",
"treatment"
],
"borders": [
"accent_width",
"character",
"default_width",
"style"
],
"motion": [
"duration",
"easing",
"philosophy"
]
}
}
}
component recipescompatibility fallback
# Retro Terminal Hacker shadcn/ui Components
Artifact: `component-recipes-v1`
Author: `katagami-ui-projection`
Language ID: `en-019da328-2dda-7f83-9cec-d3658d31fb3a`
Slug: `retro-terminal-hacker`
## Intent
A command-line-native interface language that treats the screen like a living phosphor terminal: true black fields, green monochrome hierarchy, scanline texture, and sharp rectangular framing that feels audited, operational, and slightly clandestine rather than nostalgic parody.
## Required primitives
- button
- card
- input
- textarea
- select
- dialog
- sheet
- tabs
- badge
- separator
- checkbox
- switch
- slider
- tooltip
- dropdown-menu
- table
Install with `npx shadcn@latest add button card input textarea select dialog sheet tabs badge separator checkbox switch slider tooltip dropdown-menu table`.
## Token cues
Colors:
{
"primary": "#7CFF7A",
"secondary": "#3AAE52",
"accent": "#B7FF64",
"background": "#020302",
"surface": "#081108",
"text": "#D6FFD0",
"muted": "#5F8F63",
"border": "#245B2D",
"error": "#FF5A36",
"success": "#8CFF98",
"warning": "#D7A94B",
"info": "#89D971"
}
Typography:
{
"heading_font": "VT323",
"body_font": "Share Tech Mono",
"mono_font": "Share Tech Mono",
"base_size": "16px",
"scale_ratio": 1.2,
"line_height": 1.5,
"letter_spacing": "0.03em",
"google_fonts_url": "https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=VT323&display=swap"
}
## Visual character to preserve
- Every major container sits on a true black field with a 1px to 2px phosphor green border and an inner glow, so the interface reads like stacked terminal windows rather than modern cards.
- Dense monospace typography uses uppercase labels, fixed-width columns, and glowing green text-shadow on critical readings to mimic CRT phosphor bloom without reducing legibility.
- The page surface carries horizontal scanlines, subtle grid ticks, and radial vignette falloff so the full viewport feels like an active monitor instead of a flat web canvas.
- Status emphasis relies on left-edge signal bars, bracketed labels, and ASCII-divider lines, creating a command-log hierarchy instead of icon-led SaaS decoration.
- Interactive controls invert from black-on-green to green-on-black on hover and focus, making each button, field, and tab feel like terminal selection states rendered through hardware phosphor.
## ShadSync visual profile
{
"family": "brutalist",
"material": "ink",
"contour": "default",
"border": "solid",
"underlay": false,
"grain": true,
"stickerBadges": false,
"motion": "still",
"density": "dense",
"accents": [
"primary",
"accent",
"secondary",
"muted"
]
}
## Signature component recipes
### Button
Use `Button` for primary, secondary, outline, and ghost actions. Primary actions must expose the language's strongest contrast pair, while secondary and ghost actions should preserve the surface treatment instead of falling back to default neutral SaaS styling.
### Card
Use `Card`, `CardHeader`, `CardContent`, `CardFooter`, and `CardAction` as the main composition frame. Cards should demonstrate the language's surface, border, hierarchy, and density rules rather than appearing as generic rounded rectangles.
### Input and Textarea
Use `Input` and `Textarea` with visible focus rings, field labels, validation states, and the language's rhythm. Forms should show real product content, not placeholder-only controls.
### Select, Tabs, and Table
Use `Select`, `Tabs`, and `Table` to prove navigation, filtering, and dense data states. The table should show row rhythm, separators, hover/focus states, and an empty or status state when the language calls for it.
### Dialog and Sheet
Use `Dialog` for centered decisions and `Sheet` for contextual editing. Both should inherit the language's spacing, border, overlay, and motion rules.
## Preview shots
- `application-shell`: dashboard or workspace shell with navigation, cards, forms, and state badges.
- `detail-editor`: focused editing flow using input, textarea, select, switch/checkbox, dialog or sheet, and action buttons.
- `data-operations`: table-heavy operational view with tabs, dropdown menu affordances, badges, and destructive/empty states.
- Each preview shot must include a renderable `scene` payload with concrete headline, description, actions, and rows/fields/stats for the UI preview.
## Implementation contract
- Start from local `ui/src/components/ui` shadcn-style primitives; do not create a second component system.
- Apply `/katagami/shadcn/retro-terminal-hacker/registry-theme.json` variables, then use these recipes for composition and state design.
- Preserve Katagami token names as source metadata; shadcn semantic names are only the export surface.
- Do: Use true black or near-black backgrounds as the dominant field and reserve bright green for text, borders, and active focus.; Expose logs, command history, timestamps, and status markers so the interface feels like an ongoing machine conversation.; Build hierarchy through monospace scale, separators, and state inversion rather than through colorful illustrations or glossy iconography.
- Do not: Do not introduce cyan neon, purple glows, or synthwave gradients that push the language into generic cyberpunk.; Do not soften components with large radii, floating glass cards, or airy consumer-product spacing.; Do not hide controls behind ambiguous icons when a direct command label or text mode selector would be clearer.
## Copy-paste component example
This generated starter proves the import shape. Production Katagami agents should replace it with a language-specific product composition.
```tsx
import { Badge } from "@/components/ui/badge";
import { Button } from "@/components/ui/button";
import {
Card,
CardContent,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
} from "@/components/ui/card";
import { Input } from "@/components/ui/input";
import { Tabs, TabsList, TabsTrigger } from "@/components/ui/tabs";
export function RetroTerminalHackerShadcnKit() {
return (
<section className="grid gap-4 rounded-[var(--radius)] border bg-background p-4 text-foreground">
<div className="flex items-start justify-between gap-4">
<div>
<Badge variant="outline">shadcn/ui</Badge>
<h2 className="mt-3 text-2xl font-semibold tracking-tight">Retro Terminal Hacker</h2>
<p className="mt-1 max-w-xl text-sm text-muted-foreground">
Use the Katagami registry theme, then compose these shadcn primitives
with the language-specific component recipes.
</p>
</div>
<Button>Apply theme</Button>
</div>
<Tabs defaultValue="components">
<TabsList>
<TabsTrigger value="components">Components</TabsTrigger>
<TabsTrigger value="states">States</TabsTrigger>
<TabsTrigger value="export">Export</TabsTrigger>
</TabsList>
</Tabs>
<Card>
<CardHeader>
<CardTitle>Component recipe</CardTitle>
<CardDescription>
Replace this starter content with the agent-authored product scene
from components.md and preview-shots.json.
</CardDescription>
</CardHeader>
<CardContent className="grid gap-3 sm:grid-cols-[1fr_auto]">
<Input defaultValue="Tokenized shadcn surface" aria-label="Recipe name" />
<Button variant="secondary">Preview state</Button>
</CardContent>
<CardFooter className="justify-between">
<Badge>Ready</Badge>
<Button variant="outline">Copy recipe</Button>
</CardFooter>
</Card>
</section>
);
}
```
## Layout notes
{
"grid": "Desktop uses a three-column shell with a narrow left rail, fluid main workspace, and right diagnostics column; tablet collapses to two columns and mobile stacks all regions into a single vertical command narrative.",
"breakpoints": "Desktop ≥ 1200px, tablet 700px-1199px, mobile < 700px with panel stacking and full-width controls.",
"whitespace": "Whitespace is deliberate but tight: compact inner padding, larger gaps between major windows, and consistent 8px-based spacing so dense data never feels chaotic."
}
preview shotscompatibility fallback
{
"artifact": "katagami:shadcn-preview-shots",
"version": "preview-shots-v1",
"generator": "katagami-ui-compatibility-projection",
"generatedBy": "katagami-ui-projection",
"requiresVisualProfile": true,
"schema": "katagami:shadcn-preview-shots/renderable-v1",
"renderable": true,
"language": {
"id": "en-019da328-2dda-7f83-9cec-d3658d31fb3a",
"name": "Retro Terminal Hacker",
"slug": "retro-terminal-hacker"
},
"installCommand": "npx shadcn@latest add button card input textarea select dialog sheet tabs badge separator checkbox switch slider tooltip dropdown-menu table",
"primitives": [
"button",
"card",
"input",
"textarea",
"select",
"dialog",
"sheet",
"tabs",
"badge",
"separator",
"checkbox",
"switch",
"slider",
"tooltip",
"dropdown-menu",
"table"
],
"identityNotes": [
"Every major container sits on a true black field with a 1px to 2px phosphor green border and an inner glow, so the interface reads like stacked terminal windows rather than modern cards.",
"Dense monospace typography uses uppercase labels, fixed-width columns, and glowing green text-shadow on critical readings to mimic CRT phosphor bloom without reducing legibility.",
"The page surface carries horizontal scanlines, subtle grid ticks, and radial vignette falloff so the full viewport feels like an active monitor instead of a flat web canvas.",
"Status emphasis relies on left-edge signal bars, bracketed labels, and ASCII-divider lines, creating a command-log hierarchy instead of icon-led SaaS decoration.",
"Interactive controls invert from black-on-green to green-on-black on hover and focus, making each button, field, and tab feel like terminal selection states rendered through hardware phosphor."
],
"visualProfile": {
"family": "brutalist",
"material": "ink",
"contour": "default",
"border": "solid",
"underlay": false,
"grain": true,
"stickerBadges": false,
"motion": "still",
"density": "dense",
"accents": [
"primary",
"accent",
"secondary",
"muted"
]
},
"shots": [
{
"id": "application-shell",
"title": "Application shell",
"viewport": "desktop",
"primitives": [
"button",
"card",
"input",
"select",
"tabs",
"badge",
"separator",
"table"
],
"composition": "A real product workspace with navigation, summary cards, filtering controls, and one dense content region.",
"mustShow": [
"primary and secondary actions",
"card hierarchy",
"filterable state",
"table or list density"
],
"avoid": [
"component inventory walls",
"placeholder-only content",
"generic rounded SaaS chrome"
],
"scene": {
"eyebrow": "workspace spread",
"headline": "Retro Terminal Hacker launch room",
"description": "A product team workspace where navigation, filters, metrics, and dense rows carry the language's visible structure.",
"primaryAction": "Apply theme",
"secondaryAction": "Review states",
"stats": [
{
"label": "components",
"value": "16",
"tone": "accent"
},
{
"label": "states",
"value": "ready"
},
{
"label": "density",
"value": "balanced",
"tone": "warning"
}
],
"rows": [
{
"label": "Primary flow",
"value": "mapped",
"status": "active"
},
{
"label": "Token coverage",
"value": "semantic",
"status": "synced"
},
{
"label": "Responsive proof",
"value": "queued",
"status": "review"
}
],
"statuses": [
"Active",
"Synced",
"Draft"
]
}
},
{
"id": "detail-editor",
"title": "Detail editor",
"viewport": "tablet",
"primitives": [
"button",
"card",
"input",
"textarea",
"select",
"checkbox",
"switch",
"slider",
"dialog",
"sheet"
],
"composition": "A focused editing flow with form fields, validation, confirmation, and a contextual side panel.",
"mustShow": [
"focus ring",
"error or destructive state",
"dialog or sheet treatment",
"written guidance content"
],
"avoid": [
"unstyled browser controls",
"floating cards inside cards",
"missing labels"
],
"scene": {
"eyebrow": "editing flow",
"headline": "Language recipe editor",
"description": "A focused form proving labels, validation, toggles, panel rhythm, and action hierarchy.",
"primaryAction": "Save recipe",
"secondaryAction": "Open sheet",
"fields": [
{
"label": "Component family",
"value": "Narrative cards"
},
{
"label": "State treatment",
"value": "Visible focus + validation"
},
{
"label": "Motion",
"value": "Small lift, no opacity-only fade"
}
],
"statuses": [
"Focus",
"Invalid",
"Confirmed"
]
}
},
{
"id": "data-operations",
"title": "Data operations",
"viewport": "mobile",
"primitives": [
"button",
"tabs",
"badge",
"dropdown-menu",
"table",
"tooltip",
"separator"
],
"composition": "A compact operational view proving row rhythm, stacked actions, menu states, badges, and empty/destructive states.",
"mustShow": [
"responsive reflow",
"dense row styling",
"menu affordance",
"status badge system"
],
"avoid": [
"desktop-only tables",
"text overflow",
"default shadcn spacing without Katagami character"
],
"scene": {
"eyebrow": "operations",
"headline": "Compact review queue",
"description": "A narrow viewport scene with rows, menus, tooltips, badges, and destructive affordances.",
"primaryAction": "Resolve",
"secondaryAction": "Filter",
"rows": [
{
"label": "Button hierarchy",
"value": "approved",
"status": "ok"
},
{
"label": "Table rhythm",
"value": "needs pass",
"status": "watch"
},
{
"label": "Empty state",
"value": "designed",
"status": "done"
}
],
"statuses": [
"Queued",
"Blocked",
"Done"
]
}
}
],
"componentRecipes": [
{
"primitive": "button",
"intent": "Prove action hierarchy, focus, disabled, and destructive states."
},
{
"primitive": "card",
"intent": "Carry the language surface, border, elevation, and density rules."
},
{
"primitive": "input",
"intent": "Show labels, focus rings, validation, and spacing rhythm."
},
{
"primitive": "textarea",
"intent": "Show longer guidance, validation copy, and writing density."
},
{
"primitive": "select",
"intent": "Show filtering, selection contrast, and menu trigger styling."
},
{
"primitive": "dialog",
"intent": "Show centered decision states and overlay treatment."
},
{
"primitive": "sheet",
"intent": "Show contextual side panels and responsive editing."
},
{
"primitive": "tabs",
"intent": "Show navigational structure and active/inactive contrast."
},
{
"primitive": "badge",
"intent": "Show compact status vocabulary and semantic colors."
},
{
"primitive": "separator",
"intent": "Show section rhythm without generic gray dividers."
},
{
"primitive": "checkbox",
"intent": "Show binary selection with visible focus and checked states."
},
{
"primitive": "switch",
"intent": "Show settings toggles and on/off contrast."
},
{
"primitive": "slider",
"intent": "Show numeric adjustment with track/thumb styling."
},
{
"primitive": "tooltip",
"intent": "Show concise explanation styling above compact controls."
},
{
"primitive": "dropdown-menu",
"intent": "Show action menus, destructive items, and grouped choices."
},
{
"primitive": "table",
"intent": "Show dense operational data, separators, row states, and responsive behavior."
}
],
"qualityRules": {
"do": [
"Use true black or near-black backgrounds as the dominant field and reserve bright green for text, borders, and active focus.",
"Expose logs, command history, timestamps, and status markers so the interface feels like an ongoing machine conversation.",
"Build hierarchy through monospace scale, separators, and state inversion rather than through colorful illustrations or glossy iconography."
],
"dont": [
"Do not introduce cyan neon, purple glows, or synthwave gradients that push the language into generic cyberpunk.",
"Do not soften components with large radii, floating glass cards, or airy consumer-product spacing.",
"Do not hide controls behind ambiguous icons when a direct command label or text mode selector would be clearer."
]
}
}
related
More like this
Cinematic Sci-Fi Screen Graphicsshares monospace-ui · command-line · phosphor-glowCRT Phosphor Command Interfaceshares monospace-ui · command-line · phosphor-glowRetro Computing 8-Bitshares monospace-ui · command-line · phosphor-glowRetro Futurism CRTshares monospace-ui · command-line · phosphor-glowPhosphor Command Gridshares monospace-ui · command-line · retro-computingNull Koma Terminal Noirshares command-line