Typography
The quick brown fox jumps
The quick brown fox jumps
The quick brown fox jumps
The quick brown fox jumps
A portable design language for agents: download the markdown first, then inspect the preview, tokens, and rules as needed.
Portable DESIGN.md source of truth for most agents and apps.
Compose every screen as a diagnostic zine spread: one dominant terminal well, one bone-white manga plate, narrow command gutters, and deliberate black interruptions that crop content.
Hierarchy comes from inversion, terminal prompts, condensed uppercase display type, caption strips, and green recognition reticles rather than large colorful cards.
Medium-high density allowed, but every cluster aligns to a strict grid with clean gutters and readable 17px body text.
The recognition reticle: each focal element is machine-scanned with green corner-brackets, a crosshair, and a coordinate label, as if a daemon is locking on. The CRT scanline veil and green bloom sit fixed above every surface with pointer-events disabled while preserving crisp text contrast.
14-column terminal/zine grid: a left command-gutter rail, a wide primary console, and a narrower manga-diagnostic stack.
Narrow and editorial: 8-16px pane gutters, 32-48px black voids between acts, no ornamental padding inside dense readouts.
medium-high
Collapses to a single stacked terminal feed on mobile with gutters preserved; nothing overflows horizontally; full-bleed hero spans 100vw.
phosphor-press
Photocopied phosphor plates: bone-white and sumi-black with halftone screentone, re-lit by a single green terminal beam, machine-scanned with reticle brackets and coordinate labels.
Hero and feature plates only; keep the green accent singular and the scanlines crisp. Compose dark and cinematic so headlines and overlays stay legible.
# Greenbar ## Philosophy A monochrome hacker-zine interface re-lit by one disciplined green phosphor terminal beam — sumi-black consoles, bone-paper manga plates, scanlines, and reticle annotations as the navigation grammar. ### Values - monochrome discipline with one luminous operational accent - raw zine cropping refined into precise product-system grids - terminal ergonomics, command prompts, and diagnostic overlays as navigation grammar - manga screentone and halftone texture used as structural shading rather than decoration - the recognition reticle as the single ownable signature mechanic ### Anti-Values - rainbow Y2K gradients or cyberpunk neon palettes - rounded friendly SaaS cards and soft lifestyle illustration - generic HUD clutter without a functional information hierarchy - a second accent colour spent on quiet chrome ## Tokens ### Colors | Name | Value | |------|-------| | bg | `#0a0b09` | | surface | `#f5efe2` | | surface_2 | `#080a08` | | text | `#f8f1e4` | | ink | `#050505` | | muted | `#8f978b` | | border | `#262c26` | | accent | `#00ff66` | | on_accent | `#050505` | | success | `#39ff88` | | warning | `#d79921` | | error | `#ff5b3d` | | info | `#9aa49a` | ### Typography - **Base Size**: 17px - **Body Font**: Sometype Mono - **Heading Font**: Barlow Condensed - **Mono Font**: Share Tech Mono - **Caption Font**: DotGothic16 - **Heading Weight**: 700 - **Heading Transform**: uppercase - **Letter Spacing**: -0.018em - **Line Height**: 1.52 - **Scale Ratio**: 1.24 - **Google Fonts Url**: https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=DotGothic16&family=Share+Tech+Mono&family=Sometype+Mono:wght@400;500;600&display=swap ### Radii - **None**: 0 - **Sm**: 0 - **Md**: 0 - **Lg**: 0 - **Full**: 9999px ### Shadows - **Sm**: 0 0 0 1px rgba(0,255,102,0.18) - **Md**: 0 0 22px rgba(0,255,102,0.18), 0 18px 0 rgba(0,0,0,0.55) - **Lg**: 0 0 44px rgba(0,255,102,0.24), 0 32px 0 rgba(0,0,0,0.72) ### Spacing - **Base**: 8px - **Scale**: [4,8,12,16,24,32,48,64] ### Surfaces - **Bg Pattern**: Sumi-black CRT base with faint horizontal scanlines, a restrained green radial bloom, and sparse halftone islands. - **Card Style**: Square terminal slabs with 1px sumi borders, green reticle corner-ticks, uppercase command labels, and occasional bone-paper manga caption bands. - **Treatment**: Near-black terminal slabs and bone paper plates overprinted with subtle scanlines, dot-density screentone, and clipped black zine gutters. ### Borders - **Default Width**: 1px - **Accent Width**: 2px - **Style**: solid - **Character**: Hairline sumi dividers interrupted by green phosphor reticle corner-ticks rather than continuous decorative frames. ### Motion - **Duration**: 140ms - **Easing**: steps(2, jump-none) - **Philosophy**: Motion behaves like terminal state changes: short stepped flickers, a blinking cursor block, and scan passes — never smooth consumer easing. Settled state is the no-JS default. ## Rules ### Composition Compose every screen as a diagnostic zine spread: one dominant terminal well, one bone-white manga plate, narrow command gutters, and deliberate black interruptions that crop content. ### Hierarchy Hierarchy comes from inversion, terminal prompts, condensed uppercase display type, caption strips, and green recognition reticles rather than large colorful cards. ### Density Medium-high density allowed, but every cluster aligns to a strict grid with clean gutters and readable 17px body text. ### Signature The recognition reticle: each focal element is machine-scanned with green corner-brackets, a crosshair, and a coordinate label, as if a daemon is locking on. The CRT scanline veil and green bloom sit fixed above every surface with pointer-events disabled while preserving crisp text contrast. ## Layout ### Grid 14-column terminal/zine grid: a left command-gutter rail, a wide primary console, and a narrower manga-diagnostic stack. ### Whitespace Narrow and editorial: 8-16px pane gutters, 32-48px black voids between acts, no ornamental padding inside dense readouts. ### Density medium-high ### Responsive Collapses to a single stacked terminal feed on mobile with gutters preserved; nothing overflows horizontally; full-bleed hero spans 100vw. ### Breakpoints - **Mobile**: < 720px - **Tablet**: 720-1179px - **Desktop**: >= 1180px - **Ultrawide**: >= 2560px ## Guidance ### Do - Use bone white, sumi black, scanline gray, and one green phosphor accent — amber only for warnings. - Style every input, button, table, metric, caption, and nav item with terminal or manga-panel structure. - Let dot screentone and halftone texture appear on secondary areas while keeping primary reading zones crisp. - Annotate focal controls with one recognition reticle — corner ticks plus a coordinate label. ### Don't - Do not introduce rainbow gradients, purple/cyan cyberpunk glow, or glossy Y2K chrome beyond a thin highlight line. - Do not round corners, float soft cards, or use generic dashboard drop-shadows as the main depth device. - Do not cover body copy with scanlines or screentone at a contrast level that harms readability. - Do not stamp HUD reticles without coordinate labels or a clear scanning purpose, and never use a unicode symbol glyph where an SVG belongs. ### Accessibility High contrast throughout (bone text on sumi black; sumi ink on bone paper). Reticle and scanline overlays are pointer-events:none and never reduce text contrast. Motion respects prefers-reduced-motion; the settled page renders with no JavaScript. ## Imagery Direction ### Pairs With phosphor-press ### Summary Photocopied phosphor plates: bone-white and sumi-black with halftone screentone, re-lit by a single green terminal beam, machine-scanned with reticle brackets and coordinate labels. ### Subjects - a machine-scanned human face in profile - a nocturnal city grid - a catalogued specimen plate - a terminal operator at a console ### Usage Hero and feature plates only; keep the green accent singular and the scanlines crisp. Compose dark and cinematic so headlines and overlays stay legible.
---
version: "alpha"
name: "Greenbar"
description: "Agent-curated design language exported from Katagami as DESIGN.md."
colors:
bg: "#0a0b09"
surface: "#f5efe2"
surface_2: "#080a08"
text: "#f8f1e4"
ink: "#050505"
muted: "#8f978b"
border: "#262c26"
accent: "#00ff66"
on_accent: "#050505"
success: "#39ff88"
warning: "#d79921"
error: "#ff5b3d"
info: "#9aa49a"
typography:
headline-lg:
fontFamily: "Barlow Condensed"
fontSize: "2.026rem"
fontWeight: 700
lineHeight: 1.1
letterSpacing: "-0.018em"
headline-md:
fontFamily: "Barlow Condensed"
fontSize: "1.634rem"
fontWeight: 600
lineHeight: 1.15
letterSpacing: "-0.018em"
body-md:
fontFamily: "Sometype Mono"
fontSize: "17px"
fontWeight: 400
lineHeight: 1.52
letterSpacing: "-0.018em"
label-md:
fontFamily: "Share Tech Mono"
fontSize: "0.75rem"
fontWeight: 600
lineHeight: 1
letterSpacing: "0.08em"
rounded:
none: "0px"
sm: "0px"
md: "0px"
lg: "0px"
full: "9999px"
spacing:
base: "8px"
xs: "4px"
sm: "8px"
md: "12px"
lg: "16px"
xl: "24px"
2xl: "32px"
3xl: "48px"
4xl: "64px"
components:
color-reference-bg:
backgroundColor: "{colors.bg}"
color-reference-surface:
backgroundColor: "{colors.surface}"
color-reference-surface_2:
backgroundColor: "{colors.surface_2}"
color-reference-text:
backgroundColor: "{colors.text}"
color-reference-ink:
backgroundColor: "{colors.ink}"
color-reference-muted:
backgroundColor: "{colors.muted}"
color-reference-border:
backgroundColor: "{colors.border}"
color-reference-accent:
backgroundColor: "{colors.accent}"
color-reference-on_accent:
backgroundColor: "{colors.on_accent}"
color-reference-success:
backgroundColor: "{colors.success}"
color-reference-warning:
backgroundColor: "{colors.warning}"
color-reference-error:
backgroundColor: "{colors.error}"
color-reference-info:
backgroundColor: "{colors.info}"
button-primary:
backgroundColor: "{colors.accent}"
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"
---
# Greenbar
## Overview
A monochrome hacker-zine interface re-lit by one disciplined green phosphor terminal beam — sumi-black consoles, bone-paper manga plates, scanlines, and reticle annotations as the navigation grammar.
### Values
- monochrome discipline with one luminous operational accent
- raw zine cropping refined into precise product-system grids
- terminal ergonomics, command prompts, and diagnostic overlays as navigation grammar
- manga screentone and halftone texture used as structural shading rather than decoration
- the recognition reticle as the single ownable signature mechanic
### Anti-Values
- rainbow Y2K gradients or cyberpunk neon palettes
- rounded friendly SaaS cards and soft lifestyle illustration
- generic HUD clutter without a functional information hierarchy
- a second accent colour spent on quiet chrome
## Colors
Use the YAML color tokens as the normative palette. The prose below names the roles agents should preserve when generating UI.
| Token | Value |
|-------|-------|
| bg | `#0a0b09` |
| surface | `#f5efe2` |
| surface_2 | `#080a08` |
| text | `#f8f1e4` |
| ink | `#050505` |
| muted | `#8f978b` |
| border | `#262c26` |
| accent | `#00ff66` |
| on_accent | `#050505` |
| success | `#39ff88` |
| warning | `#d79921` |
| error | `#ff5b3d` |
| info | `#9aa49a` |
## Typography
- **Headline-Lg**: Barlow Condensed, 2.026rem, weight 700, line-height 1.1.
- **Headline-Md**: Barlow Condensed, 1.634rem, weight 600, line-height 1.15.
- **Body-Md**: Sometype Mono, 17px, weight 400, line-height 1.52.
- **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
14-column terminal/zine grid: a left command-gutter rail, a wide primary console, and a narrower manga-diagnostic stack.
### Whitespace
Narrow and editorial: 8-16px pane gutters, 32-48px black voids between acts, no ornamental padding inside dense readouts.
### Density
medium-high
### Responsive
Collapses to a single stacked terminal feed on mobile with gutters preserved; nothing overflows horizontally; full-bleed hero spans 100vw.
### Breakpoints
- **Mobile**: < 720px
- **Tablet**: 720-1179px
- **Desktop**: >= 1180px
- **Ultrawide**: >= 2560px
## Elevation & Depth
### Shadows
- **Sm**: 0 0 0 1px rgba(0,255,102,0.18)
- **Md**: 0 0 22px rgba(0,255,102,0.18), 0 18px 0 rgba(0,0,0,0.55)
- **Lg**: 0 0 44px rgba(0,255,102,0.24), 0 32px 0 rgba(0,0,0,0.72)
## Shapes
### Rounded
- **None**: `0px`
- **Sm**: `0px`
- **Md**: `0px`
- **Lg**: `0px`
- **Full**: `9999px`
### Surfaces
- **Bg Pattern**: Sumi-black CRT base with faint horizontal scanlines, a restrained green radial bloom, and sparse halftone islands.
- **Card Style**: Square terminal slabs with 1px sumi borders, green reticle corner-ticks, uppercase command labels, and occasional bone-paper manga caption bands.
- **Treatment**: Near-black terminal slabs and bone paper plates overprinted with subtle scanlines, dot-density screentone, and clipped black zine gutters.
### Borders
- **Default Width**: 1px
- **Accent Width**: 2px
- **Style**: solid
- **Character**: Hairline sumi dividers interrupted by green phosphor reticle corner-ticks rather than continuous decorative frames.
## Components
### Composition
Compose every screen as a diagnostic zine spread: one dominant terminal well, one bone-white manga plate, narrow command gutters, and deliberate black interruptions that crop content.
### Hierarchy
Hierarchy comes from inversion, terminal prompts, condensed uppercase display type, caption strips, and green recognition reticles rather than large colorful cards.
### Density
Medium-high density allowed, but every cluster aligns to a strict grid with clean gutters and readable 17px body text.
### Signature
The recognition reticle: each focal element is machine-scanned with green corner-brackets, a crosshair, and a coordinate label, as if a daemon is locking on. The CRT scanline veil and green bloom sit fixed above every surface with pointer-events disabled while preserving crisp text contrast.
## 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-019ef81b-1f64-7082-b7de-f601aee58e25/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 bone white, sumi black, scanline gray, and one green phosphor accent — amber only for warnings.
- Do Style every input, button, table, metric, caption, and nav item with terminal or manga-panel structure.
- Do Let dot screentone and halftone texture appear on secondary areas while keeping primary reading zones crisp.
- Do Annotate focal controls with one recognition reticle — corner ticks plus a coordinate label.
- Don't Do not introduce rainbow gradients, purple/cyan cyberpunk glow, or glossy Y2K chrome beyond a thin highlight line.
- Don't Do not round corners, float soft cards, or use generic dashboard drop-shadows as the main depth device.
- Don't Do not cover body copy with scanlines or screentone at a contrast level that harms readability.
- Don't Do not stamp HUD reticles without coordinate labels or a clear scanning purpose, and never use a unicode symbol glyph where an SVG belongs.
### Accessibility
High contrast throughout (bone text on sumi black; sumi ink on bone paper). Reticle and scanline overlays are pointer-events:none and never reduce text contrast. Motion respects prefers-reduced-motion; the settled page renders with no JavaScript.
## Imagery Direction
### Pairs With
phosphor-press
### Summary
Photocopied phosphor plates: bone-white and sumi-black with halftone screentone, re-lit by a single green terminal beam, machine-scanned with reticle brackets and coordinate labels.
### Subjects
- a machine-scanned human face in profile
- a nocturnal city grid
- a catalogued specimen plate
- a terminal operator at a console
### Usage
Hero and feature plates only; keep the green accent singular and the scanlines crisp. Compose dark and cinematic so headlines and overlays stay legible.
```json
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "greenbar",
"type": "registry:theme",
"title": "Greenbar shadcn Theme",
"cssVars": {
"theme": {},
"light": {
"background": "#0a0b09",
"foreground": "#f8f1e4",
"card": "#f5efe2",
"card-foreground": "#f8f1e4",
"popover": "#f5efe2",
"popover-foreground": "#f8f1e4",
"primary": "#f8f1e4",
"primary-foreground": "#111111",
"secondary": "#f4f4f5",
"secondary-foreground": "#111111",
"muted": "#8f978b",
"muted-foreground": "#f8f1e4",
"accent": "#00ff66",
"accent-foreground": "#111111",
"destructive": "#ff5b3d",
"border": "#262c26",
"input": "#262c26",
"ring": "#00ff66",
"chart-1": "#f8f1e4",
"chart-2": "#f4f4f5",
"chart-3": "#00ff66",
"chart-4": "#39ff88",
"chart-5": "#d79921",
"sidebar": "#f5efe2",
"sidebar-foreground": "#f8f1e4",
"sidebar-primary": "#f8f1e4",
"sidebar-primary-foreground": "#111111",
"sidebar-accent": "#9aa49a",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#262c26",
"sidebar-ring": "#00ff66",
"radius": "0"
},
"dark": {
"background": "#0f1115",
"foreground": "#f8fafc",
"card": "#181b22",
"card-foreground": "#f8fafc",
"popover": "#181b22",
"popover-foreground": "#f8fafc",
"primary": "#f8f1e4",
"primary-foreground": "#111111",
"secondary": "#252a33",
"secondary-foreground": "#f8fafc",
"muted": "#252a33",
"muted-foreground": "#a1a1aa",
"accent": "#00ff66",
"accent-foreground": "#111111",
"destructive": "#ff5b3d",
"border": "#303642",
"input": "#303642",
"ring": "#00ff66",
"chart-1": "#f8f1e4",
"chart-2": "#f4f4f5",
"chart-3": "#00ff66",
"chart-4": "#39ff88",
"chart-5": "#d79921",
"sidebar": "#181b22",
"sidebar-foreground": "#f8fafc",
"sidebar-primary": "#f8f1e4",
"sidebar-primary-foreground": "#111111",
"sidebar-accent": "#00ff66",
"sidebar-accent-foreground": "#111111",
"sidebar-border": "#303642",
"sidebar-ring": "#00ff66",
"radius": "0"
}
},
"meta": {
"source": "katagami",
"languageId": "en-019ef81b-1f64-7082-b7de-f601aee58e25",
"slug": "greenbar",
"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",
"bg",
"border",
"error",
"info",
"ink",
"muted",
"on_accent",
"success",
"surface",
"surface_2",
"text",
"warning"
],
"typography": [
"base_size",
"body_font",
"caption_font",
"google_fonts_url",
"heading_font",
"heading_transform",
"heading_weight",
"letter_spacing",
"line_height",
"mono_font",
"scale_ratio"
],
"radii": [
"full",
"lg",
"md",
"none",
"sm"
],
"shadows": [
"lg",
"md",
"sm"
],
"spacing": [
"base",
"scale"
],
"surfaces": [
"bg_pattern",
"card_style",
"treatment"
],
"borders": [
"accent_width",
"character",
"default_width",
"style"
],
"motion": [
"duration",
"easing",
"philosophy"
]
}
}
}
```The quick brown fox jumps
The quick brown fox jumps
The quick brown fox jumps
The quick brown fox jumps
Agent-generated
Keep Greenbarand swap a palette and an art style onto it — the landing & dashboard recolor live. The Studio does the same with all three lanes free.
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.
npx shadcn@latest add button card input textarea select dialog sheet tabs badge separator checkbox switch slider tooltip dropdown-menu table:root {
--background: #0a0b09;
--foreground: #f8f1e4;
--card: #f5efe2;
--card-foreground: #f8f1e4;
--popover: #f5efe2;
--popover-foreground: #f8f1e4;
--primary: #f8f1e4;
--primary-foreground: #111111;
--secondary: #f4f4f5;
--secondary-foreground: #111111;
--muted: #8f978b;
--muted-foreground: #f8f1e4;
--accent: #00ff66;
--accent-foreground: #111111;
--destructive: #ff5b3d;
--border: #262c26;
--input: #262c26;
--ring: #00ff66;
--chart-1: #f8f1e4;
--chart-2: #f4f4f5;
--chart-3: #00ff66;
--chart-4: #39ff88;
--chart-5: #d79921;
--sidebar: #f5efe2;
--sidebar-foreground: #f8f1e4;
--sidebar-primary: #f8f1e4;
--sidebar-primary-foreground: #111111;
--sidebar-accent: #9aa49a;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #262c26;
--sidebar-ring: #00ff66;
--radius: 0;
}
.dark {
--background: #0f1115;
--foreground: #f8fafc;
--card: #181b22;
--card-foreground: #f8fafc;
--popover: #181b22;
--popover-foreground: #f8fafc;
--primary: #f8f1e4;
--primary-foreground: #111111;
--secondary: #252a33;
--secondary-foreground: #f8fafc;
--muted: #252a33;
--muted-foreground: #a1a1aa;
--accent: #00ff66;
--accent-foreground: #111111;
--destructive: #ff5b3d;
--border: #303642;
--input: #303642;
--ring: #00ff66;
--chart-1: #f8f1e4;
--chart-2: #f4f4f5;
--chart-3: #00ff66;
--chart-4: #39ff88;
--chart-5: #d79921;
--sidebar: #181b22;
--sidebar-foreground: #f8fafc;
--sidebar-primary: #f8f1e4;
--sidebar-primary-foreground: #111111;
--sidebar-accent: #00ff66;
--sidebar-accent-foreground: #111111;
--sidebar-border: #303642;
--sidebar-ring: #00ff66;
--radius: 0;
}
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 GreenbarShadcnKit() {
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">Greenbar</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>
);
}
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "greenbar",
"type": "registry:theme",
"cssVars": {
"theme": {
"font-sans": "Sometype Mono, ui-monospace, monospace",
"font-mono": "Share Tech Mono, ui-monospace, monospace",
"font-display": "Barlow Condensed, system-ui, sans-serif",
"radius": "0px"
},
"light": {
"background": "#0a0b09",
"foreground": "#f8f1e4",
"card": "#080a08",
"card-foreground": "#f8f1e4",
"popover": "#050505",
"popover-foreground": "#f8f1e4",
"primary": "#00ff66",
"primary-foreground": "#050505",
"secondary": "#f5efe2",
"secondary-foreground": "#050505",
"muted": "#11160f",
"muted-foreground": "#8f978b",
"accent": "#00ff66",
"accent-foreground": "#050505",
"destructive": "#ff5b3d",
"destructive-foreground": "#050505",
"border": "#262c26",
"input": "#050505",
"ring": "#00ff66",
"chart-1": "#00ff66",
"chart-2": "#39ff88",
"chart-3": "#d79921",
"chart-4": "#8f978b",
"chart-5": "#ff5b3d",
"radius": "0px"
},
"dark": {
"background": "#0a0b09",
"foreground": "#f8f1e4",
"card": "#080a08",
"card-foreground": "#f8f1e4",
"popover": "#050505",
"popover-foreground": "#f8f1e4",
"primary": "#00ff66",
"primary-foreground": "#050505",
"secondary": "#f5efe2",
"secondary-foreground": "#050505",
"muted": "#11160f",
"muted-foreground": "#8f978b",
"accent": "#00ff66",
"accent-foreground": "#050505",
"destructive": "#ff5b3d",
"destructive-foreground": "#050505",
"border": "#262c26",
"input": "#050505",
"ring": "#00ff66",
"chart-1": "#00ff66",
"chart-2": "#39ff88",
"chart-3": "#d79921",
"chart-4": "#8f978b",
"chart-5": "#ff5b3d",
"radius": "0px"
}
}
}
# Greenbar shadcn/ui Components
Artifact: `component-recipes-v1`
Author: `katagami-ui-projection`
Language ID: `en-019ef81b-1f64-7082-b7de-f601aee58e25`
Slug: `greenbar`
## Intent
A monochrome hacker-zine interface re-lit by one disciplined green phosphor terminal beam — sumi-black consoles, bone-paper manga plates, scanlines, and reticle annotations as the navigation grammar.
## 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:
{
"bg": "#0a0b09",
"surface": "#f5efe2",
"surface_2": "#080a08",
"text": "#f8f1e4",
"ink": "#050505",
"muted": "#8f978b",
"border": "#262c26",
"accent": "#00ff66",
"on_accent": "#050505",
"success": "#39ff88",
"warning": "#d79921",
"error": "#ff5b3d",
"info": "#9aa49a"
}
Typography:
{
"base_size": "17px",
"body_font": "Sometype Mono",
"heading_font": "Barlow Condensed",
"mono_font": "Share Tech Mono",
"caption_font": "DotGothic16",
"heading_weight": "700",
"heading_transform": "uppercase",
"letter_spacing": "-0.018em",
"line_height": 1.52,
"scale_ratio": 1.24,
"google_fonts_url": "https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=DotGothic16&family=Share+Tech+Mono&family=Sometype+Mono:wght@400;500;600&display=swap"
}
## Visual character to preserve
- Make the source language's structural identity visible in every component state.
## ShadSync visual profile
{
"family": "paper-collage",
"material": "paper",
"contour": "default",
"border": "solid",
"underlay": false,
"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/greenbar/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 bone white, sumi black, scanline gray, and one green phosphor accent — amber only for warnings.; Style every input, button, table, metric, caption, and nav item with terminal or manga-panel structure.; Let dot screentone and halftone texture appear on secondary areas while keeping primary reading zones crisp.; Annotate focal controls with one recognition reticle — corner ticks plus a coordinate label.
- Do not: Do not introduce rainbow gradients, purple/cyan cyberpunk glow, or glossy Y2K chrome beyond a thin highlight line.; Do not round corners, float soft cards, or use generic dashboard drop-shadows as the main depth device.; Do not cover body copy with scanlines or screentone at a contrast level that harms readability.; Do not stamp HUD reticles without coordinate labels or a clear scanning purpose, and never use a unicode symbol glyph where an SVG belongs.
## 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 GreenbarShadcnKit() {
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">Greenbar</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": "14-column terminal/zine grid: a left command-gutter rail, a wide primary console, and a narrower manga-diagnostic stack.",
"whitespace": "Narrow and editorial: 8-16px pane gutters, 32-48px black voids between acts, no ornamental padding inside dense readouts.",
"density": "medium-high",
"responsive": "Collapses to a single stacked terminal feed on mobile with gutters preserved; nothing overflows horizontally; full-bleed hero spans 100vw.",
"breakpoints": {
"mobile": "< 720px",
"tablet": "720-1179px",
"desktop": ">= 1180px",
"ultrawide": ">= 2560px"
}
}
{
"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-019ef81b-1f64-7082-b7de-f601aee58e25",
"name": "Greenbar",
"slug": "greenbar"
},
"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": [],
"visualProfile": {
"family": "system",
"material": "flat",
"contour": "default",
"border": "solid",
"underlay": false,
"grain": false,
"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": "Greenbar 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 bone white, sumi black, scanline gray, and one green phosphor accent — amber only for warnings.",
"Style every input, button, table, metric, caption, and nav item with terminal or manga-panel structure.",
"Let dot screentone and halftone texture appear on secondary areas while keeping primary reading zones crisp.",
"Annotate focal controls with one recognition reticle — corner ticks plus a coordinate label."
],
"dont": [
"Do not introduce rainbow gradients, purple/cyan cyberpunk glow, or glossy Y2K chrome beyond a thin highlight line.",
"Do not round corners, float soft cards, or use generic dashboard drop-shadows as the main depth device.",
"Do not cover body copy with scanlines or screentone at a contrast level that harms readability.",
"Do not stamp HUD reticles without coordinate labels or a clear scanning purpose, and never use a unicode symbol glyph where an SVG belongs."
]
}
}