back to gallerydo avoid
design language·crt-phosphor-command-interface
CRT Phosphor Command Interface
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
CRT Phosphor Command Interface treats the product screen as a living glass terminal: terse, exact, and operational, but disciplined enough for modern enterprise software. It borrows the green-on-black phosphor glow, raster scan rhythm, fixed-cell typography, prompt grammar, and square hardware-like control geometry of DEC-era terminals, then tempers them with IBM-like hierarchy, clear grids, accessible contrast, and restrained component behavior. The result is not a novelty shell; it is a command center for technical decisions where data, alerts, and actions feel immediate and trustworthy.
values
Operational directnessRaster honestyPhosphor restraintMonospace authoritySystem aliveEnterprise clarity
anti-values
×Cyberpunk clutter×Rounded consumer softness×Fake terminal cosplay×Unreadable nostalgia
tokens
borders4 items
- accent width
- 2px
- character
- Square phosphor strokes that read as terminal frames: thin on quiet panels, doubled or inset on active modules, amber on warnings.
- default width
- 1px
- style
- solid
colors19 items
accent
#FFB000
amber_dim
#8A5E00
background
#020403
blackout
#000000
border
#168A45
error
#FF3B30
grid
#0B3A1D
info
#40CFFF
muted
#5D8F6C
panel_deep
#031007
panel_lift
#092012
phosphor_dim
#7CFF9A
primary
#00FF66
red_dim
#611515
secondary
#39FF14
success
#00D084
surface
#07110B
text
#C8FFD8
warning
#FFB000
motion3 items
- duration
- 160ms
- easing
- steps(2, end)
- philosophy
- snappy terminal-state changes with cursor blink, minimal fades, and no elastic movement
radii5 items
- full
- 0
- lg
- 0
- md
- 0
- none
- 0
- sm
- 0
shadows3 items
- lg
- 0 0 48px rgba(0,255,102,0.22), inset 0 0 32px rgba(0,255,102,0.08)
- md
- 0 0 22px rgba(0,255,102,0.20), inset 0 0 18px rgba(0,255,102,0.05)
- sm
- 0 0 10px rgba(0,255,102,0.18)
spacing2 items
- base
- 8px
- scale
- 4px, 8px, 12px, 16px, 24px, 32px, 48px, 64px, 96px
surfaces4 items
- bg pattern
- grid
- card style
- Near-black glass-terminal plates with scanline overlay, inset glow, square borders, and dim grid texture behind command content.
- overlays
- repeating-linear-gradient scanlines, radial vignette at screen edges, linear technical grid at 24px intervals
- treatment
- noise
typography10 items
- base size
- 16px
- body font
- IBM Plex Mono
- google fonts url
- https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&display=swap
- heading font
- IBM Plex Mono
- letter spacing
- 0.01em
- line height
- 1.45
- mono font
- IBM Plex Mono
- scale ratio
- 1.2
- sizes
- base 16px·lg 22px·md 18px·sm 14px·xl 28px·xs 12px·xxl 40px
- weights
- bold 700·medium 500·regular 400·semibold 600
rules
composition
Compose screens as command centers: persistent left rail, top prompt/status line, central telemetry workspace, and right-side diagnostics on desktop. Use nested square panels, explicit module IDs, and rows aligned to an 8px spacing scale. Keep most surfaces flat and let borders, grid lines, and text hierarchy create separation. Reserve amber for warning modules and destructive confirmations. Use tables, command palettes, logs, toggles, and forms as first-class product patterns, not decorative props.
density
Medium-high technical density is appropriate, but preserve modern readability: 16px base type, 44px minimum controls, 16-24px panel padding, and scrollable tables rather than microscopic text.
hierarchy
Hierarchy is produced by command syntax, brightness, border weight, and alignment. Page titles are large monospace prompt statements; section headings are uppercase with ./ or $ prefixes; metadata is dim green; urgent state uses amber or red with no additional hue mixing. Data columns align on the character grid. Primary actions are outlined green blocks with inverse hover states; secondary actions are dim bordered blocks.
signature patterns
Apply a full-screen CRT texture using CSS pseudo-elements with repeating-linear-gradient scanlines, faint 24px grid lines, and a radial vignette overlay.Use zero-radius bordered modules with an inset 0 0 0 1px secondary frame and phosphor box-shadow so every panel resembles a terminal viewport.Prefix headings, nav items, tabs, and status messages with command syntax markers ($, >, ./, [00]) created as text or ::before content.Implement a blinking block cursor with steps() keyframes on the active command input, active tab label, and live status line.Render warning states as amber bordered panels with amber glow while preserving the same square terminal geometry rather than using rounded alert components.
layout
breakpoints
Mobile <= 639px becomes a single-column terminal feed with full-width controls. Tablet 640px-1023px uses a 4-column grid, collapses rail to top command tabs, and stacks diagnostics below. Desktop >= 1024px restores the 12-column command-center composition.
density
Medium-high operator density with compact metadata and spacious control hit areas; dashboards may show many data streams but never below readable monospace sizes.
grid
Desktop uses a 12-column grid with 24px gutters and max-width 1440px; canonical app layout is 220px rail, flexible central 6-7 columns, and 320px diagnostics column. Panels align to an 8px baseline and a visible 24px raster grid.
whitespace
Whitespace is measured and mechanical, not airy: 8px between related rows, 16px inside dense panels, 24px between modules, 48px for major screen zones. Blank space should feel like unused terminal cells.
guidance
- Use IBM Plex Mono or another highly legible monospace font for all text, including forms and tables.
- Keep all corners square and reinforce important areas with 2px borders, inset outlines, or bracket-like dividers.
- Add scanlines and glow subtly through overlays; text must remain crisp and accessible.
- Write headings and labels in command grammar such as $ deploy, ./diagnostics, > awaiting input, and [03] alerts.
- Reserve amber for warnings and red for destructive or failed system states; never use them as decoration.
- Provide visible focus states using phosphor outlines and cursor-like markers.
- Use modern responsive behavior so terminal density collapses into readable single-column flows on phones.
- Make tables horizontally scrollable only when necessary and keep key status labels visible.
- Do not use rounded pills, soft shadows, pastel fills, or consumer-app card styling.
- Do not layer heavy bloom over body text or make scanlines so strong that reading becomes tiring.
- Do not introduce multiple decorative neon hues; keep the palette semantic and restrained.
- Do not center everything like a splash screen; operational interfaces need grids, rails, and aligned data.
- Do not use proportional fonts for data, controls, or navigation.
- Do not mimic a terminal by leaving the product unstructured; include real components, forms, states, and hierarchy.
- Do not rely on animation beyond cursor blink, small state pulses, and immediate hover/focus transitions.
katagami spec
# CRT Phosphor Command Interface
## Philosophy
CRT Phosphor Command Interface treats the product screen as a living glass terminal: terse, exact, and operational, but disciplined enough for modern enterprise software. It borrows the green-on-black phosphor glow, raster scan rhythm, fixed-cell typography, prompt grammar, and square hardware-like control geometry of DEC-era terminals, then tempers them with IBM-like hierarchy, clear grids, accessible contrast, and restrained component behavior. The result is not a novelty shell; it is a command center for technical decisions where data, alerts, and actions feel immediate and trustworthy.
### Values
- {"description":"Every label reads like a system message or command output; interfaces prioritize status, state, and next action over decorative brand language.","name":"Operational directness"}
- {"description":"The language exposes the pixel grid through scanlines, fine grid backgrounds, fixed character cells, and visible alignment instead of pretending the screen is materially smooth.","name":"Raster honesty"}
- {"description":"Green is dominant but not sprayed indiscriminately; amber, red, cyan, and dim gray appear only as semantic states and instrument-grade highlights.","name":"Phosphor restraint"}
- {"description":"Typography uses fixed-width fonts for navigation, headings, data, controls, and annotations so rhythm and alignment become the primary hierarchy.","name":"Monospace authority"}
- {"description":"A blinking cursor, prompt marks, focused fields, and small pulse states imply that the interface is listening without adding ornamental animation.","name":"System alive"}
- {"description":"Historic terminal cues are organized through modern product patterns: dashboards, tables, tabs, filters, command palettes, and accessible state tokens.","name":"Enterprise clarity"}
### Anti-Values
- {"description":"Avoid neon gradients, diagonal sci-fi panels, excessive bloom, and theatrical HUD decoration that obscure functional reading.","name":"Cyberpunk clutter"}
- {"description":"Avoid pill buttons, card rounding, bubbly icons, and friendly SaaS softness; controls should feel machined and square.","name":"Rounded consumer softness"}
- {"description":"Do not reduce the style to green text on black; the grid, prompt syntax, raster texture, typed hierarchy, and product structure must all be present.","name":"Fake terminal cosplay"}
- {"description":"Never sacrifice contrast, spacing, or touch targets for historically accurate cramped displays.","name":"Unreadable nostalgia"}
### Visual Character
- Deep black and near-black panels carry phosphor-green text with subtle layered text-shadow glow, while amber and red appear only for warning and failure states.
- Every container, button, input, tab, and modal uses zero border radius with 1px to 2px square phosphor borders and inset terminal-frame outlines.
- Screen surfaces include CSS scanline overlays, a faint technical grid, and vignette glow so panels feel like luminous CRT glass rather than flat cards.
- Headings, labels, and section dividers use command prompt prefixes such as $, >, ./, and bracketed numeric tags aligned to a strict monospace character rhythm.
- Primary interactions expose a blinking block cursor or caret motif through CSS keyframes on command fields, active tabs, and status prompts.
## Tokens
### Borders
- **Accent Width**: 2px
- **Character**: Square phosphor strokes that read as terminal frames: thin on quiet panels, doubled or inset on active modules, amber on warnings.
- **Default Width**: 1px
- **Style**: solid
### Colors
| Name | Value |
|------|-------|
| accent | `#FFB000` |
| amber_dim | `#8A5E00` |
| background | `#020403` |
| blackout | `#000000` |
| border | `#168A45` |
| error | `#FF3B30` |
| grid | `#0B3A1D` |
| info | `#40CFFF` |
| muted | `#5D8F6C` |
| panel_deep | `#031007` |
| panel_lift | `#092012` |
| phosphor_dim | `#7CFF9A` |
| primary | `#00FF66` |
| red_dim | `#611515` |
| secondary | `#39FF14` |
| success | `#00D084` |
| surface | `#07110B` |
| text | `#C8FFD8` |
| warning | `#FFB000` |
### Motion
- **Duration**: 160ms
- **Easing**: steps(2, end)
- **Philosophy**: snappy terminal-state changes with cursor blink, minimal fades, and no elastic movement
### Radii
- **Full**: 0
- **Lg**: 0
- **Md**: 0
- **None**: 0
- **Sm**: 0
### Shadows
- **Lg**: 0 0 48px rgba(0,255,102,0.22), inset 0 0 32px rgba(0,255,102,0.08)
- **Md**: 0 0 22px rgba(0,255,102,0.20), inset 0 0 18px rgba(0,255,102,0.05)
- **Sm**: 0 0 10px rgba(0,255,102,0.18)
### Spacing
- **Base**: 8px
- **Scale**: ["4px","8px","12px","16px","24px","32px","48px","64px","96px"]
### Surfaces
- **Bg Pattern**: grid
- **Card Style**: Near-black glass-terminal plates with scanline overlay, inset glow, square borders, and dim grid texture behind command content.
- **Overlays**: ["repeating-linear-gradient scanlines","radial vignette at screen edges","linear technical grid at 24px intervals"]
- **Treatment**: noise
### Typography
- **Base Size**: 16px
- **Body Font**: IBM Plex Mono
- **Google Fonts Url**: https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&display=swap
- **Heading Font**: IBM Plex Mono
- **Letter Spacing**: 0.01em
- **Line Height**: 1.45
- **Mono Font**: IBM Plex Mono
- **Scale Ratio**: 1.2
- **Sizes**: {"base":"16px","lg":"22px","md":"18px","sm":"14px","xl":"28px","xs":"12px","xxl":"40px"}
- **Weights**: {"bold":700,"medium":500,"regular":400,"semibold":600}
## Rules
### Composition
Compose screens as command centers: persistent left rail, top prompt/status line, central telemetry workspace, and right-side diagnostics on desktop. Use nested square panels, explicit module IDs, and rows aligned to an 8px spacing scale. Keep most surfaces flat and let borders, grid lines, and text hierarchy create separation. Reserve amber for warning modules and destructive confirmations. Use tables, command palettes, logs, toggles, and forms as first-class product patterns, not decorative props.
### Density
Medium-high technical density is appropriate, but preserve modern readability: 16px base type, 44px minimum controls, 16-24px panel padding, and scrollable tables rather than microscopic text.
### Hierarchy
Hierarchy is produced by command syntax, brightness, border weight, and alignment. Page titles are large monospace prompt statements; section headings are uppercase with ./ or $ prefixes; metadata is dim green; urgent state uses amber or red with no additional hue mixing. Data columns align on the character grid. Primary actions are outlined green blocks with inverse hover states; secondary actions are dim bordered blocks.
### Signature Patterns
- Apply a full-screen CRT texture using CSS pseudo-elements with repeating-linear-gradient scanlines, faint 24px grid lines, and a radial vignette overlay.
- Use zero-radius bordered modules with an inset 0 0 0 1px secondary frame and phosphor box-shadow so every panel resembles a terminal viewport.
- Prefix headings, nav items, tabs, and status messages with command syntax markers ($, >, ./, [00]) created as text or ::before content.
- Implement a blinking block cursor with steps() keyframes on the active command input, active tab label, and live status line.
- Render warning states as amber bordered panels with amber glow while preserving the same square terminal geometry rather than using rounded alert components.
## Layout
### Breakpoints
Mobile <= 639px becomes a single-column terminal feed with full-width controls. Tablet 640px-1023px uses a 4-column grid, collapses rail to top command tabs, and stacks diagnostics below. Desktop >= 1024px restores the 12-column command-center composition.
### Density
Medium-high operator density with compact metadata and spacious control hit areas; dashboards may show many data streams but never below readable monospace sizes.
### Grid
Desktop uses a 12-column grid with 24px gutters and max-width 1440px; canonical app layout is 220px rail, flexible central 6-7 columns, and 320px diagnostics column. Panels align to an 8px baseline and a visible 24px raster grid.
### Whitespace
Whitespace is measured and mechanical, not airy: 8px between related rows, 16px inside dense panels, 24px between modules, 48px for major screen zones. Blank space should feel like unused terminal cells.
## Guidance
### Do
- Use IBM Plex Mono or another highly legible monospace font for all text, including forms and tables.
- Keep all corners square and reinforce important areas with 2px borders, inset outlines, or bracket-like dividers.
- Add scanlines and glow subtly through overlays; text must remain crisp and accessible.
- Write headings and labels in command grammar such as $ deploy, ./diagnostics, > awaiting input, and [03] alerts.
- Reserve amber for warnings and red for destructive or failed system states; never use them as decoration.
- Provide visible focus states using phosphor outlines and cursor-like markers.
- Use modern responsive behavior so terminal density collapses into readable single-column flows on phones.
- Make tables horizontally scrollable only when necessary and keep key status labels visible.
### Don't
- Do not use rounded pills, soft shadows, pastel fills, or consumer-app card styling.
- Do not layer heavy bloom over body text or make scanlines so strong that reading becomes tiring.
- Do not introduce multiple decorative neon hues; keep the palette semantic and restrained.
- Do not center everything like a splash screen; operational interfaces need grids, rails, and aligned data.
- Do not use proportional fonts for data, controls, or navigation.
- Do not mimic a terminal by leaving the product unstructured; include real components, forms, states, and hierarchy.
- Do not rely on animation beyond cursor blink, small state pulses, and immediate hover/focus transitions.
### Accessibility
Maintain WCAG contrast by using bright phosphor text on black but dimming secondary text only to safe levels. Provide reduced-motion support that disables blink and pulse animations. Ensure every interactive element has at least 44px height on touch devices, clear focus outlines, semantic labels, and non-color state labels such as WARN, FAIL, OK.
### Usage Context
Best for developer tools, infrastructure dashboards, observability products, security consoles, robotics controls, AI ops workbenches, and internal enterprise systems that benefit from an expert command-line tone.
DESIGN.md
---
version: "alpha"
name: "CRT Phosphor Command Interface"
description: "Agent-curated design language exported from Katagami as DESIGN.md."
colors:
accent: "#FFB000"
amber_dim: "#8A5E00"
background: "#020403"
blackout: "#000000"
border: "#168A45"
error: "#FF3B30"
grid: "#0B3A1D"
info: "#40CFFF"
muted: "#5D8F6C"
panel_deep: "#031007"
panel_lift: "#092012"
phosphor_dim: "#7CFF9A"
primary: "#00FF66"
red_dim: "#611515"
secondary: "#39FF14"
success: "#00D084"
surface: "#07110B"
text: "#C8FFD8"
warning: "#FFB000"
typography:
headline-lg:
fontFamily: "IBM Plex Mono"
fontSize: "1.728rem"
fontWeight: 700
lineHeight: 1.1
letterSpacing: "0.01em"
headline-md:
fontFamily: "IBM Plex Mono"
fontSize: "1.44rem"
fontWeight: 600
lineHeight: 1.15
letterSpacing: "0.01em"
body-md:
fontFamily: "IBM Plex Mono"
fontSize: "16px"
fontWeight: 400
lineHeight: 1.45
letterSpacing: "0.01em"
label-md:
fontFamily: "IBM Plex Mono"
fontSize: "0.75rem"
fontWeight: 600
lineHeight: 1
letterSpacing: "0.08em"
rounded:
full: "0px"
lg: "0px"
md: "0px"
none: "0px"
sm: "0px"
spacing:
base: "8px"
xs: "4px"
sm: "8px"
md: "12px"
lg: "16px"
xl: "24px"
2xl: "32px"
3xl: "48px"
4xl: "64px"
step-8: "96px"
components:
color-reference-accent:
backgroundColor: "{colors.accent}"
color-reference-amber_dim:
backgroundColor: "{colors.amber_dim}"
color-reference-background:
backgroundColor: "{colors.background}"
color-reference-blackout:
backgroundColor: "{colors.blackout}"
color-reference-border:
backgroundColor: "{colors.border}"
color-reference-error:
backgroundColor: "{colors.error}"
color-reference-grid:
backgroundColor: "{colors.grid}"
color-reference-info:
backgroundColor: "{colors.info}"
color-reference-muted:
backgroundColor: "{colors.muted}"
color-reference-panel_deep:
backgroundColor: "{colors.panel_deep}"
color-reference-panel_lift:
backgroundColor: "{colors.panel_lift}"
color-reference-phosphor_dim:
backgroundColor: "{colors.phosphor_dim}"
color-reference-primary:
backgroundColor: "{colors.primary}"
color-reference-red_dim:
backgroundColor: "{colors.red_dim}"
color-reference-secondary:
backgroundColor: "{colors.secondary}"
color-reference-success:
backgroundColor: "{colors.success}"
color-reference-surface:
backgroundColor: "{colors.surface}"
color-reference-text:
backgroundColor: "{colors.text}"
color-reference-warning:
backgroundColor: "{colors.warning}"
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"
---
# CRT Phosphor Command Interface
## Overview
CRT Phosphor Command Interface treats the product screen as a living glass terminal: terse, exact, and operational, but disciplined enough for modern enterprise software. It borrows the green-on-black phosphor glow, raster scan rhythm, fixed-cell typography, prompt grammar, and square hardware-like control geometry of DEC-era terminals, then tempers them with IBM-like hierarchy, clear grids, accessible contrast, and restrained component behavior. The result is not a novelty shell; it is a command center for technical decisions where data, alerts, and actions feel immediate and trustworthy.
### Values
- {"description":"Every label reads like a system message or command output; interfaces prioritize status, state, and next action over decorative brand language.","name":"Operational directness"}
- {"description":"The language exposes the pixel grid through scanlines, fine grid backgrounds, fixed character cells, and visible alignment instead of pretending the screen is materially smooth.","name":"Raster honesty"}
- {"description":"Green is dominant but not sprayed indiscriminately; amber, red, cyan, and dim gray appear only as semantic states and instrument-grade highlights.","name":"Phosphor restraint"}
- {"description":"Typography uses fixed-width fonts for navigation, headings, data, controls, and annotations so rhythm and alignment become the primary hierarchy.","name":"Monospace authority"}
- {"description":"A blinking cursor, prompt marks, focused fields, and small pulse states imply that the interface is listening without adding ornamental animation.","name":"System alive"}
- {"description":"Historic terminal cues are organized through modern product patterns: dashboards, tables, tabs, filters, command palettes, and accessible state tokens.","name":"Enterprise clarity"}
### Anti-Values
- {"description":"Avoid neon gradients, diagonal sci-fi panels, excessive bloom, and theatrical HUD decoration that obscure functional reading.","name":"Cyberpunk clutter"}
- {"description":"Avoid pill buttons, card rounding, bubbly icons, and friendly SaaS softness; controls should feel machined and square.","name":"Rounded consumer softness"}
- {"description":"Do not reduce the style to green text on black; the grid, prompt syntax, raster texture, typed hierarchy, and product structure must all be present.","name":"Fake terminal cosplay"}
- {"description":"Never sacrifice contrast, spacing, or touch targets for historically accurate cramped displays.","name":"Unreadable nostalgia"}
### Visual Character
- Deep black and near-black panels carry phosphor-green text with subtle layered text-shadow glow, while amber and red appear only for warning and failure states.
- Every container, button, input, tab, and modal uses zero border radius with 1px to 2px square phosphor borders and inset terminal-frame outlines.
- Screen surfaces include CSS scanline overlays, a faint technical grid, and vignette glow so panels feel like luminous CRT glass rather than flat cards.
- Headings, labels, and section dividers use command prompt prefixes such as $, >, ./, and bracketed numeric tags aligned to a strict monospace character rhythm.
- Primary interactions expose a blinking block cursor or caret motif through CSS keyframes on command fields, active tabs, and status prompts.
## Colors
Use the YAML color tokens as the normative palette. The prose below names the roles agents should preserve when generating UI.
| Token | Value |
|-------|-------|
| accent | `#FFB000` |
| amber_dim | `#8A5E00` |
| background | `#020403` |
| blackout | `#000000` |
| border | `#168A45` |
| error | `#FF3B30` |
| grid | `#0B3A1D` |
| info | `#40CFFF` |
| muted | `#5D8F6C` |
| panel_deep | `#031007` |
| panel_lift | `#092012` |
| phosphor_dim | `#7CFF9A` |
| primary | `#00FF66` |
| red_dim | `#611515` |
| secondary | `#39FF14` |
| success | `#00D084` |
| surface | `#07110B` |
| text | `#C8FFD8` |
| warning | `#FFB000` |
## Typography
- **Headline-Lg**: IBM Plex Mono, 1.728rem, weight 700, line-height 1.1.
- **Headline-Md**: IBM Plex Mono, 1.44rem, weight 600, line-height 1.15.
- **Body-Md**: IBM Plex Mono, 16px, weight 400, line-height 1.45.
- **Label-Md**: IBM Plex 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`
- **Step-8**: `96px`
### Breakpoints
Mobile <= 639px becomes a single-column terminal feed with full-width controls. Tablet 640px-1023px uses a 4-column grid, collapses rail to top command tabs, and stacks diagnostics below. Desktop >= 1024px restores the 12-column command-center composition.
### Density
Medium-high operator density with compact metadata and spacious control hit areas; dashboards may show many data streams but never below readable monospace sizes.
### Grid
Desktop uses a 12-column grid with 24px gutters and max-width 1440px; canonical app layout is 220px rail, flexible central 6-7 columns, and 320px diagnostics column. Panels align to an 8px baseline and a visible 24px raster grid.
### Whitespace
Whitespace is measured and mechanical, not airy: 8px between related rows, 16px inside dense panels, 24px between modules, 48px for major screen zones. Blank space should feel like unused terminal cells.
## Elevation & Depth
### Shadows
- **Lg**: 0 0 48px rgba(0,255,102,0.22), inset 0 0 32px rgba(0,255,102,0.08)
- **Md**: 0 0 22px rgba(0,255,102,0.20), inset 0 0 18px rgba(0,255,102,0.05)
- **Sm**: 0 0 10px rgba(0,255,102,0.18)
## Shapes
### Rounded
- **Full**: `0px`
- **Lg**: `0px`
- **Md**: `0px`
- **None**: `0px`
- **Sm**: `0px`
### Surfaces
- **Bg Pattern**: grid
- **Card Style**: Near-black glass-terminal plates with scanline overlay, inset glow, square borders, and dim grid texture behind command content.
- **Overlays**: ["repeating-linear-gradient scanlines","radial vignette at screen edges","linear technical grid at 24px intervals"]
- **Treatment**: noise
### Borders
- **Accent Width**: 2px
- **Character**: Square phosphor strokes that read as terminal frames: thin on quiet panels, doubled or inset on active modules, amber on warnings.
- **Default Width**: 1px
- **Style**: solid
## Components
### Composition
Compose screens as command centers: persistent left rail, top prompt/status line, central telemetry workspace, and right-side diagnostics on desktop. Use nested square panels, explicit module IDs, and rows aligned to an 8px spacing scale. Keep most surfaces flat and let borders, grid lines, and text hierarchy create separation. Reserve amber for warning modules and destructive confirmations. Use tables, command palettes, logs, toggles, and forms as first-class product patterns, not decorative props.
### Density
Medium-high technical density is appropriate, but preserve modern readability: 16px base type, 44px minimum controls, 16-24px panel padding, and scrollable tables rather than microscopic text.
### Hierarchy
Hierarchy is produced by command syntax, brightness, border weight, and alignment. Page titles are large monospace prompt statements; section headings are uppercase with ./ or $ prefixes; metadata is dim green; urgent state uses amber or red with no additional hue mixing. Data columns align on the character grid. Primary actions are outlined green blocks with inverse hover states; secondary actions are dim bordered blocks.
### Signature Patterns
- Apply a full-screen CRT texture using CSS pseudo-elements with repeating-linear-gradient scanlines, faint 24px grid lines, and a radial vignette overlay.
- Use zero-radius bordered modules with an inset 0 0 0 1px secondary frame and phosphor box-shadow so every panel resembles a terminal viewport.
- Prefix headings, nav items, tabs, and status messages with command syntax markers ($, >, ./, [00]) created as text or ::before content.
- Implement a blinking block cursor with steps() keyframes on the active command input, active tab label, and live status line.
- Render warning states as amber bordered panels with amber glow while preserving the same square terminal geometry rather than using rounded alert components.
## 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/crt-phosphor-command-interface/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 IBM Plex Mono or another highly legible monospace font for all text, including forms and tables.
- Do Keep all corners square and reinforce important areas with 2px borders, inset outlines, or bracket-like dividers.
- Do Add scanlines and glow subtly through overlays; text must remain crisp and accessible.
- Do Write headings and labels in command grammar such as $ deploy, ./diagnostics, > awaiting input, and [03] alerts.
- Do Reserve amber for warnings and red for destructive or failed system states; never use them as decoration.
- Do Provide visible focus states using phosphor outlines and cursor-like markers.
- Do Use modern responsive behavior so terminal density collapses into readable single-column flows on phones.
- Do Make tables horizontally scrollable only when necessary and keep key status labels visible.
- Don't Do not use rounded pills, soft shadows, pastel fills, or consumer-app card styling.
- Don't Do not layer heavy bloom over body text or make scanlines so strong that reading becomes tiring.
- Don't Do not introduce multiple decorative neon hues; keep the palette semantic and restrained.
- Don't Do not center everything like a splash screen; operational interfaces need grids, rails, and aligned data.
- Don't Do not use proportional fonts for data, controls, or navigation.
- Don't Do not mimic a terminal by leaving the product unstructured; include real components, forms, states, and hierarchy.
- Don't Do not rely on animation beyond cursor blink, small state pulses, and immediate hover/focus transitions.
### Accessibility
Maintain WCAG contrast by using bright phosphor text on black but dimming secondary text only to safe levels. Provide reduced-motion support that disables blink and pulse animations. Ensure every interactive element has at least 44px height on touch devices, clear focus outlines, semantic labels, and non-color state labels such as WARN, FAIL, OK.
### Usage Context
Best for developer tools, infrastructure dashboards, observability products, security consoles, robotics controls, AI ops workbenches, and internal enterprise systems that benefit from an expert command-line tone.
shadcn/ui theme
```json
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "crt-phosphor-command-interface",
"type": "registry:theme",
"title": "CRT Phosphor Command Interface shadcn Theme",
"cssVars": {
"theme": {},
"light": {
"background": "#020403",
"foreground": "#C8FFD8",
"card": "#07110B",
"card-foreground": "#C8FFD8",
"popover": "#07110B",
"popover-foreground": "#C8FFD8",
"primary": "#00FF66",
"primary-foreground": "#111111",
"secondary": "#39FF14",
"secondary-foreground": "#111111",
"muted": "#5D8F6C",
"muted-foreground": "#C8FFD8",
"accent": "#FFB000",
"accent-foreground": "#ffffff",
"destructive": "#FF3B30",
"border": "#168A45",
"input": "#168A45",
"ring": "#FFB000",
"chart-1": "#00FF66",
"chart-2": "#39FF14",
"chart-3": "#FFB000",
"chart-4": "#00D084",
"chart-5": "#FFB000",
"sidebar": "#07110B",
"sidebar-foreground": "#C8FFD8",
"sidebar-primary": "#00FF66",
"sidebar-primary-foreground": "#111111",
"sidebar-accent": "#40CFFF",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#168A45",
"sidebar-ring": "#FFB000",
"radius": "0"
},
"dark": {
"background": "#0f1115",
"foreground": "#f8fafc",
"card": "#181b22",
"card-foreground": "#f8fafc",
"popover": "#181b22",
"popover-foreground": "#f8fafc",
"primary": "#00FF66",
"primary-foreground": "#111111",
"secondary": "#252a33",
"secondary-foreground": "#f8fafc",
"muted": "#252a33",
"muted-foreground": "#a1a1aa",
"accent": "#FFB000",
"accent-foreground": "#ffffff",
"destructive": "#FF3B30",
"border": "#303642",
"input": "#303642",
"ring": "#FFB000",
"chart-1": "#00FF66",
"chart-2": "#39FF14",
"chart-3": "#FFB000",
"chart-4": "#00D084",
"chart-5": "#FFB000",
"sidebar": "#181b22",
"sidebar-foreground": "#f8fafc",
"sidebar-primary": "#00FF66",
"sidebar-primary-foreground": "#111111",
"sidebar-accent": "#FFB000",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#303642",
"sidebar-ring": "#FFB000",
"radius": "0"
}
},
"meta": {
"source": "katagami",
"languageId": "crt-phosphor-command-interface",
"slug": "crt-phosphor-command-interface",
"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": {
"borders": [
"accent_width",
"character",
"default_width",
"style"
],
"colors": [
"accent",
"amber_dim",
"background",
"blackout",
"border",
"error",
"grid",
"info",
"muted",
"panel_deep",
"panel_lift",
"phosphor_dim",
"primary",
"red_dim",
"secondary",
"success",
"surface",
"text",
"warning"
],
"motion": [
"duration",
"easing",
"philosophy"
],
"radii": [
"full",
"lg",
"md",
"none",
"sm"
],
"shadows": [
"lg",
"md",
"sm"
],
"spacing": [
"base",
"scale"
],
"surfaces": [
"bg_pattern",
"card_style",
"overlays",
"treatment"
],
"typography": [
"base_size",
"body_font",
"google_fonts_url",
"heading_font",
"letter_spacing",
"line_height",
"mono_font",
"scale_ratio",
"sizes",
"weights"
]
}
}
}
```in the wild
embodiments
the full element showcase
embodiment · crt-phosphor-command-interface
DESIGN.md
at a glance
Typography
headline-lgIBM Plex Mono · 28px · 700
The quick brown fox jumps
headline-mdIBM Plex Mono · 23px · 600
The quick brown fox jumps
body-mdIBM Plex Mono · 16px · 400
The quick brown fox jumps
label-mdIBM Plex 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
- step-896px
Shape
full0px
lg0px
md0px
none0px
sm0px
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: #020403;
--foreground: #C8FFD8;
--card: #07110B;
--card-foreground: #C8FFD8;
--popover: #07110B;
--popover-foreground: #C8FFD8;
--primary: #00FF66;
--primary-foreground: #111111;
--secondary: #39FF14;
--secondary-foreground: #111111;
--muted: #5D8F6C;
--muted-foreground: #C8FFD8;
--accent: #FFB000;
--accent-foreground: #ffffff;
--destructive: #FF3B30;
--border: #168A45;
--input: #168A45;
--ring: #FFB000;
--chart-1: #00FF66;
--chart-2: #39FF14;
--chart-3: #FFB000;
--chart-4: #00D084;
--chart-5: #FFB000;
--sidebar: #07110B;
--sidebar-foreground: #C8FFD8;
--sidebar-primary: #00FF66;
--sidebar-primary-foreground: #111111;
--sidebar-accent: #40CFFF;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #168A45;
--sidebar-ring: #FFB000;
--radius: 0;
}
.dark {
--background: #0f1115;
--foreground: #f8fafc;
--card: #181b22;
--card-foreground: #f8fafc;
--popover: #181b22;
--popover-foreground: #f8fafc;
--primary: #00FF66;
--primary-foreground: #111111;
--secondary: #252a33;
--secondary-foreground: #f8fafc;
--muted: #252a33;
--muted-foreground: #a1a1aa;
--accent: #FFB000;
--accent-foreground: #ffffff;
--destructive: #FF3B30;
--border: #303642;
--input: #303642;
--ring: #FFB000;
--chart-1: #00FF66;
--chart-2: #39FF14;
--chart-3: #FFB000;
--chart-4: #00D084;
--chart-5: #FFB000;
--sidebar: #181b22;
--sidebar-foreground: #f8fafc;
--sidebar-primary: #00FF66;
--sidebar-primary-foreground: #111111;
--sidebar-accent: #FFB000;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #303642;
--sidebar-ring: #FFB000;
--radius: 0;
}
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 CrtPhosphorCommandInterfaceShadcnKit() {
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">CRT Phosphor Command Interface</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": "crt-phosphor-command-interface",
"type": "registry:theme",
"title": "CRT Phosphor Command Interface shadcn Theme",
"cssVars": {
"theme": {},
"light": {
"background": "#020403",
"foreground": "#C8FFD8",
"card": "#07110B",
"card-foreground": "#C8FFD8",
"popover": "#07110B",
"popover-foreground": "#C8FFD8",
"primary": "#00FF66",
"primary-foreground": "#111111",
"secondary": "#39FF14",
"secondary-foreground": "#111111",
"muted": "#5D8F6C",
"muted-foreground": "#C8FFD8",
"accent": "#FFB000",
"accent-foreground": "#ffffff",
"destructive": "#FF3B30",
"border": "#168A45",
"input": "#168A45",
"ring": "#FFB000",
"chart-1": "#00FF66",
"chart-2": "#39FF14",
"chart-3": "#FFB000",
"chart-4": "#00D084",
"chart-5": "#FFB000",
"sidebar": "#07110B",
"sidebar-foreground": "#C8FFD8",
"sidebar-primary": "#00FF66",
"sidebar-primary-foreground": "#111111",
"sidebar-accent": "#40CFFF",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#168A45",
"sidebar-ring": "#FFB000",
"radius": "0"
},
"dark": {
"background": "#0f1115",
"foreground": "#f8fafc",
"card": "#181b22",
"card-foreground": "#f8fafc",
"popover": "#181b22",
"popover-foreground": "#f8fafc",
"primary": "#00FF66",
"primary-foreground": "#111111",
"secondary": "#252a33",
"secondary-foreground": "#f8fafc",
"muted": "#252a33",
"muted-foreground": "#a1a1aa",
"accent": "#FFB000",
"accent-foreground": "#ffffff",
"destructive": "#FF3B30",
"border": "#303642",
"input": "#303642",
"ring": "#FFB000",
"chart-1": "#00FF66",
"chart-2": "#39FF14",
"chart-3": "#FFB000",
"chart-4": "#00D084",
"chart-5": "#FFB000",
"sidebar": "#181b22",
"sidebar-foreground": "#f8fafc",
"sidebar-primary": "#00FF66",
"sidebar-primary-foreground": "#111111",
"sidebar-accent": "#FFB000",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#303642",
"sidebar-ring": "#FFB000",
"radius": "0"
}
},
"meta": {
"source": "katagami",
"languageId": "crt-phosphor-command-interface",
"slug": "crt-phosphor-command-interface",
"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": {
"borders": [
"accent_width",
"character",
"default_width",
"style"
],
"colors": [
"accent",
"amber_dim",
"background",
"blackout",
"border",
"error",
"grid",
"info",
"muted",
"panel_deep",
"panel_lift",
"phosphor_dim",
"primary",
"red_dim",
"secondary",
"success",
"surface",
"text",
"warning"
],
"motion": [
"duration",
"easing",
"philosophy"
],
"radii": [
"full",
"lg",
"md",
"none",
"sm"
],
"shadows": [
"lg",
"md",
"sm"
],
"spacing": [
"base",
"scale"
],
"surfaces": [
"bg_pattern",
"card_style",
"overlays",
"treatment"
],
"typography": [
"base_size",
"body_font",
"google_fonts_url",
"heading_font",
"letter_spacing",
"line_height",
"mono_font",
"scale_ratio",
"sizes",
"weights"
]
}
}
}
component recipescompatibility fallback
# CRT Phosphor Command Interface shadcn/ui Components
Artifact: `component-recipes-v1`
Author: `katagami-ui-projection`
Language ID: `crt-phosphor-command-interface`
Slug: `crt-phosphor-command-interface`
## Intent
CRT Phosphor Command Interface treats the product screen as a living glass terminal: terse, exact, and operational, but disciplined enough for modern enterprise software. It borrows the green-on-black phosphor glow, raster scan rhythm, fixed-cell typography, prompt grammar, and square hardware-like control geometry of DEC-era terminals, then tempers them with IBM-like hierarchy, clear grids, accessible contrast, and restrained component behavior. The result is not a novelty shell; it is a command center for technical decisions where data, alerts, and actions feel immediate and trustworthy.
## 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:
{
"accent": "#FFB000",
"amber_dim": "#8A5E00",
"background": "#020403",
"blackout": "#000000",
"border": "#168A45",
"error": "#FF3B30",
"grid": "#0B3A1D",
"info": "#40CFFF",
"muted": "#5D8F6C",
"panel_deep": "#031007",
"panel_lift": "#092012",
"phosphor_dim": "#7CFF9A",
"primary": "#00FF66",
"red_dim": "#611515",
"secondary": "#39FF14",
"success": "#00D084",
"surface": "#07110B",
"text": "#C8FFD8",
"warning": "#FFB000"
}
Typography:
{
"base_size": "16px",
"body_font": "IBM Plex Mono",
"google_fonts_url": "https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&display=swap",
"heading_font": "IBM Plex Mono",
"letter_spacing": "0.01em",
"line_height": 1.45,
"mono_font": "IBM Plex Mono",
"scale_ratio": 1.2,
"sizes": {
"base": "16px",
"lg": "22px",
"md": "18px",
"sm": "14px",
"xl": "28px",
"xs": "12px",
"xxl": "40px"
},
"weights": {
"bold": 700,
"medium": 500,
"regular": 400,
"semibold": 600
}
}
## Visual character to preserve
- Deep black and near-black panels carry phosphor-green text with subtle layered text-shadow glow, while amber and red appear only for warning and failure states.
- Every container, button, input, tab, and modal uses zero border radius with 1px to 2px square phosphor borders and inset terminal-frame outlines.
- Screen surfaces include CSS scanline overlays, a faint technical grid, and vignette glow so panels feel like luminous CRT glass rather than flat cards.
- Headings, labels, and section dividers use command prompt prefixes such as $, >, ./, and bracketed numeric tags aligned to a strict monospace character rhythm.
- Primary interactions expose a blinking block cursor or caret motif through CSS keyframes on command fields, active tabs, and status prompts.
## ShadSync visual profile
{
"family": "brutalist",
"material": "ink",
"contour": "default",
"border": "solid",
"underlay": true,
"grain": true,
"stickerBadges": false,
"motion": "still",
"density": "balanced",
"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/crt-phosphor-command-interface/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 IBM Plex Mono or another highly legible monospace font for all text, including forms and tables.; Keep all corners square and reinforce important areas with 2px borders, inset outlines, or bracket-like dividers.; Add scanlines and glow subtly through overlays; text must remain crisp and accessible.; Write headings and labels in command grammar such as $ deploy, ./diagnostics, > awaiting input, and [03] alerts.; Reserve amber for warnings and red for destructive or failed system states; never use them as decoration.; Provide visible focus states using phosphor outlines and cursor-like markers.; Use modern responsive behavior so terminal density collapses into readable single-column flows on phones.; Make tables horizontally scrollable only when necessary and keep key status labels visible.
- Do not: Do not use rounded pills, soft shadows, pastel fills, or consumer-app card styling.; Do not layer heavy bloom over body text or make scanlines so strong that reading becomes tiring.; Do not introduce multiple decorative neon hues; keep the palette semantic and restrained.; Do not center everything like a splash screen; operational interfaces need grids, rails, and aligned data.; Do not use proportional fonts for data, controls, or navigation.; Do not mimic a terminal by leaving the product unstructured; include real components, forms, states, and hierarchy.; Do not rely on animation beyond cursor blink, small state pulses, and immediate hover/focus transitions.
## 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 CrtPhosphorCommandInterfaceShadcnKit() {
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">CRT Phosphor Command Interface</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
{
"breakpoints": "Mobile <= 639px becomes a single-column terminal feed with full-width controls. Tablet 640px-1023px uses a 4-column grid, collapses rail to top command tabs, and stacks diagnostics below. Desktop >= 1024px restores the 12-column command-center composition.",
"density": "Medium-high operator density with compact metadata and spacious control hit areas; dashboards may show many data streams but never below readable monospace sizes.",
"grid": "Desktop uses a 12-column grid with 24px gutters and max-width 1440px; canonical app layout is 220px rail, flexible central 6-7 columns, and 320px diagnostics column. Panels align to an 8px baseline and a visible 24px raster grid.",
"whitespace": "Whitespace is measured and mechanical, not airy: 8px between related rows, 16px inside dense panels, 24px between modules, 48px for major screen zones. Blank space should feel like unused terminal cells."
}
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": "crt-phosphor-command-interface",
"name": "CRT Phosphor Command Interface",
"slug": "crt-phosphor-command-interface"
},
"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": [
"Deep black and near-black panels carry phosphor-green text with subtle layered text-shadow glow, while amber and red appear only for warning and failure states.",
"Every container, button, input, tab, and modal uses zero border radius with 1px to 2px square phosphor borders and inset terminal-frame outlines.",
"Screen surfaces include CSS scanline overlays, a faint technical grid, and vignette glow so panels feel like luminous CRT glass rather than flat cards.",
"Headings, labels, and section dividers use command prompt prefixes such as $, >, ./, and bracketed numeric tags aligned to a strict monospace character rhythm.",
"Primary interactions expose a blinking block cursor or caret motif through CSS keyframes on command fields, active tabs, and status prompts."
],
"visualProfile": {
"family": "brutalist",
"material": "ink",
"contour": "default",
"border": "solid",
"underlay": true,
"grain": true,
"stickerBadges": false,
"motion": "still",
"density": "balanced",
"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": "CRT Phosphor Command Interface 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 IBM Plex Mono or another highly legible monospace font for all text, including forms and tables.",
"Keep all corners square and reinforce important areas with 2px borders, inset outlines, or bracket-like dividers.",
"Add scanlines and glow subtly through overlays; text must remain crisp and accessible.",
"Write headings and labels in command grammar such as $ deploy, ./diagnostics, > awaiting input, and [03] alerts.",
"Reserve amber for warnings and red for destructive or failed system states; never use them as decoration.",
"Provide visible focus states using phosphor outlines and cursor-like markers.",
"Use modern responsive behavior so terminal density collapses into readable single-column flows on phones.",
"Make tables horizontally scrollable only when necessary and keep key status labels visible."
],
"dont": [
"Do not use rounded pills, soft shadows, pastel fills, or consumer-app card styling.",
"Do not layer heavy bloom over body text or make scanlines so strong that reading becomes tiring.",
"Do not introduce multiple decorative neon hues; keep the palette semantic and restrained.",
"Do not center everything like a splash screen; operational interfaces need grids, rails, and aligned data.",
"Do not use proportional fonts for data, controls, or navigation.",
"Do not mimic a terminal by leaving the product unstructured; include real components, forms, states, and hierarchy.",
"Do not rely on animation beyond cursor blink, small state pulses, and immediate hover/focus transitions."
]
}
}
related
More like this
Retro Futurism CRTshares monospace-ui · command-line · phosphor-glowCinematic Sci-Fi Screen Graphicsshares monospace-ui · command-line · phosphor-glowRetro Computing 8-Bitshares monospace-ui · command-line · phosphor-glowRetro Terminal Hackershares monospace-ui · command-line · phosphor-glowPhosphor Command Gridshares monospace-ui · command-line · retro-computingAqua Browser Noir Terminalshares monospace-interface