A portable design language for agents: download the markdown first, then inspect the preview, tokens, and rules as needed.
Published
Download DESIGN.md
Portable DESIGN.md source of truth for most agents and apps.
the spec
specification
philosophy
summary
A phototypesetting language for the screen: the Swiss typographic tradition moved from the print shop into the darkroom. A plate-black void, type that reads as developed light, and one luminous baseline beam that every headline rests on — structure carried by projected light on black rather than ink on paper.
values
clarity through typographic structure and a luminous baseline beam rather than ornamental chromeasymmetric, left-anchored editorial grid logic that holds tension against a deep empty right marginnear-monochrome restraint where the void, scale contrast and one exposure cyan do the expressive work
anti-values
×warm-paper grounds, grey washes, soft shadows, glass, or gradients other than the beam and the halftone screen×boxed or floating nav, nested cards, a single coloured accent edge pinned to a panel, and centred consumer-app styling
Flat plate on a 2px developed-beam top rule over a black void; no side or bottom borders, no shadow, square corners. Never nested. Depth from beam glow only.
bg pattern
register-field
borders4 items
default width
1px
accent width
2px
style
solid
character
Structural rule lines in cool near-black expose the grid and separate zones; the section anchor is a luminous developed-beam hairline (white into cyan), never a coloured accent edge pinned to a panel.
motion3 items
duration
160ms
easing
cubic-bezier(0.2,0.8,0.2,1)
philosophy
snappy — the settled exposed page is the default; reveal is layered on top like a shutter, never a fade
rules
composition
Compose the screen as a darkroom plate sheet: stack full-width exposure bands, each opening with a beam-headed title, on a faint 12-column register field; lock content left and hold tension in the empty right margin.
hierarchy
Scale contrast first, then weight, then the luminous baseline beam and rule lines, then one exposure cyan for the focal state. Headlines command in tight Space Grotesk, mono index labels stay quiet, values read as precise exposure stops.
density
Medium-high density with disciplined macro-whitespace: content is plentiful but every cluster lives on a measured grid with generous breathing room above titles and around major headlines.
signature
The baseline beam — a luminous horizontal hairline (white into cyan, softly glowing) that every section title rests on, with a small exposure tick travelling along it; the same light recurs as the densitometer luminance ramp, panel top beams, and hot cyan peaks.
layout
grid
A 12-column register field on minmax(0,1fr) columns with min-width:0 children; full-width exposure bands stack vertically and content locks left, collapsing to a single column on mobile while the beam-headed titles persist.
whitespace
Generous page margins and deliberate vertical rhythm with macro-space above every title, compressed inside data clusters so the contrast between empty void and dense exposure readouts stays visible.
density
balanced
responsive
Renders from ~390px mobile to 2560px+ ultra-wide; single-column stack on mobile with non-essential nav hidden and no horizontal overflow; capped centred content on ultra-wide with only the hero spanning 100vw.
breakpoints
mobile
390-767
tablet
768-1439
desktop
1440+
guidance
do
Let the luminous baseline beam, scale contrast, and left alignment do the expressive work.
Keep panels open and floating on a 2px top beam; keep the void pure black; use exposure cyan like projected light — sparing and focal.
Set values as exposure readouts in uppercase mono and keep headlines tight and commanding.
avoid
Do not use warm-paper grounds, grey washes, soft shadows, glass, or gradients other than the beam and halftone screen.
Do not box or float the nav, nest cards, or pin a single coloured accent edge to a panel.
Do not centre everything; preserve left-anchored asymmetric tension and never use emoji or glyph symbols in copy.
imagery
pairs with
rasterwerk
summary
High-contrast monochrome lithographic halftone screen-printing applied to projected light: enlarger beams, darkroom voids, exposure haze — pure black and luminous white, dots swelling in shadow and opening in the beam, with thin registration rules and crop ticks. No colour, no text.
subjects
a projected enlarger light beam cutting through a dark studio voidexposure haze and dust caught in a cone of lighta galley of type seen as light on a sensitized plateregistration rules and crop ticks across a black field
usage
Full-bleed hero with the bright beam anchored low-left and deep black negative space filling the upper-right so the headline column stays legible over the void; smaller halftone luminance washes echo the beam inside specimen plates.
katagami spec
# Lichtsatz
## Philosophy
A phototypesetting language for the screen: the Swiss typographic tradition moved from the print shop into the darkroom. A plate-black void, type that reads as developed light, and one luminous baseline beam that every headline rests on — structure carried by projected light on black rather than ink on paper.
### Values
- clarity through typographic structure and a luminous baseline beam rather than ornamental chrome
- asymmetric, left-anchored editorial grid logic that holds tension against a deep empty right margin
- near-monochrome restraint where the void, scale contrast and one exposure cyan do the expressive work
### Anti-Values
- warm-paper grounds, grey washes, soft shadows, glass, or gradients other than the beam and the halftone screen
- boxed or floating nav, nested cards, a single coloured accent edge pinned to a panel, and centred consumer-app styling
### Visual Character
- Each section opens with a beam-headed title: a mono index label above an oversized Space Grotesk headline that rests on a single luminous horizontal hairline, with a small exposure tick travelling along the beam to mark the focal point.
- The page reads as a vertical stack of full-width exposure bands separated by beams of light; content locks left and tension lives in the empty right margin on a faint 12-column register field.
- Panels float on a 2px developed-beam top rule with no side or bottom edges and no nesting; depth comes from the black void and the cyan beam glow, never from shadows.
- Values are typeset as exposure readouts in uppercase Space Mono — f-stops, lines-per-inch, EV — and the signature densitometer renders a luminance ramp of pill-topped bars from the void to the beam with peak bars lit cyan.
## Tokens
### Colors
| Name | Value |
|------|-------|
| bg | `#0A0A0D` |
| surface | `#101015` |
| surface-2 | `#16161D` |
| text | `#F2F3F5` |
| muted | `#8C8E97` |
| border | `#2A2B33` |
| beam | `#EDEFF2` |
| accent | `#5FE3FF` |
| on-accent | `#06222B` |
| success | `#62E0A1` |
| warning | `#F2C463` |
| error | `#FF7A7A` |
| info | `#7FB6FF` |
### Typography
- **Base Size**: 17px
- **Body Font**: Space Grotesk
- **Heading Font**: Space Grotesk
- **Mono Font**: Space Mono
- **Heading Weight**: 700
- **Heading Transform**: none
- **Letter Spacing**: -0.04em
- **Google Fonts Url**: https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap
### Radii
- **None**: 0
- **Sm**: 0
- **Md**: 0
- **Lg**: 0
- **Full**: 9999px
### Shadows
- **Sm**: none
- **Md**: none
- **Lg**: none
- **Glow**: 0 0 20px rgba(95,227,255,.5)
### Spacing
- **Base**: 8px
- **Scale**: [4,8,12,16,24,32,48,64,96]
### Surfaces
- **Treatment**: plate
- **Card Style**: Flat plate on a 2px developed-beam top rule over a black void; no side or bottom borders, no shadow, square corners. Never nested. Depth from beam glow only.
- **Bg Pattern**: register-field
### Borders
- **Default Width**: 1px
- **Accent Width**: 2px
- **Style**: solid
- **Character**: Structural rule lines in cool near-black expose the grid and separate zones; the section anchor is a luminous developed-beam hairline (white into cyan), never a coloured accent edge pinned to a panel.
### Motion
- **Duration**: 160ms
- **Easing**: cubic-bezier(0.2,0.8,0.2,1)
- **Philosophy**: snappy — the settled exposed page is the default; reveal is layered on top like a shutter, never a fade
## Rules
### Composition
Compose the screen as a darkroom plate sheet: stack full-width exposure bands, each opening with a beam-headed title, on a faint 12-column register field; lock content left and hold tension in the empty right margin.
### Hierarchy
Scale contrast first, then weight, then the luminous baseline beam and rule lines, then one exposure cyan for the focal state. Headlines command in tight Space Grotesk, mono index labels stay quiet, values read as precise exposure stops.
### Density
Medium-high density with disciplined macro-whitespace: content is plentiful but every cluster lives on a measured grid with generous breathing room above titles and around major headlines.
### Signature
The baseline beam — a luminous horizontal hairline (white into cyan, softly glowing) that every section title rests on, with a small exposure tick travelling along it; the same light recurs as the densitometer luminance ramp, panel top beams, and hot cyan peaks.
## Layout
### Grid
A 12-column register field on minmax(0,1fr) columns with min-width:0 children; full-width exposure bands stack vertically and content locks left, collapsing to a single column on mobile while the beam-headed titles persist.
### Whitespace
Generous page margins and deliberate vertical rhythm with macro-space above every title, compressed inside data clusters so the contrast between empty void and dense exposure readouts stays visible.
### Density
balanced
### Responsive
Renders from ~390px mobile to 2560px+ ultra-wide; single-column stack on mobile with non-essential nav hidden and no horizontal overflow; capped centred content on ultra-wide with only the hero spanning 100vw.
### Breakpoints
- **Mobile**: 390-767
- **Tablet**: 768-1439
- **Desktop**: 1440+
## Guidance
### Do
- Let the luminous baseline beam, scale contrast, and left alignment do the expressive work.
- Keep panels open and floating on a 2px top beam; keep the void pure black; use exposure cyan like projected light — sparing and focal.
- Set values as exposure readouts in uppercase mono and keep headlines tight and commanding.
### Don't
- Do not use warm-paper grounds, grey washes, soft shadows, glass, or gradients other than the beam and halftone screen.
- Do not box or float the nav, nest cards, or pin a single coloured accent edge to a panel.
- Do not centre everything; preserve left-anchored asymmetric tension and never use emoji or glyph symbols in copy.
### Accessibility
Light developed-paper ink (#F2F3F5) on the plate-black void clears WCAG AA for body and large text; exposure cyan is reserved for focal accents and focus rings against dark surfaces; every form control is explicitly styled with a visible cyan focus ring; motion respects prefers-reduced-motion and the settled state renders with no JavaScript.
## Imagery Direction
### Pairs With
rasterwerk
### Summary
High-contrast monochrome lithographic halftone screen-printing applied to projected light: enlarger beams, darkroom voids, exposure haze — pure black and luminous white, dots swelling in shadow and opening in the beam, with thin registration rules and crop ticks. No colour, no text.
### Subjects
- a projected enlarger light beam cutting through a dark studio void
- exposure haze and dust caught in a cone of light
- a galley of type seen as light on a sensitized plate
- registration rules and crop ticks across a black field
### Usage
Full-bleed hero with the bright beam anchored low-left and deep black negative space filling the upper-right so the headline column stays legible over the void; smaller halftone luminance washes echo the beam inside specimen plates.
DESIGN.md
---
version: "alpha"
name: "Lichtsatz"
description: "Agent-curated design language exported from Katagami as DESIGN.md."
colors:
bg: "#0A0A0D"
surface: "#101015"
surface-2: "#16161D"
text: "#F2F3F5"
muted: "#8C8E97"
border: "#2A2B33"
beam: "#EDEFF2"
accent: "#5FE3FF"
on-accent: "#06222B"
success: "#62E0A1"
warning: "#F2C463"
error: "#FF7A7A"
info: "#7FB6FF"
typography:
headline-lg:
fontFamily: "Space Grotesk"
fontSize: "2.075rem"
fontWeight: 700
lineHeight: 1.1
letterSpacing: "-0.04em"
headline-md:
fontFamily: "Space Grotesk"
fontSize: "1.66rem"
fontWeight: 600
lineHeight: 1.15
letterSpacing: "-0.04em"
body-md:
fontFamily: "Space Grotesk"
fontSize: "17px"
fontWeight: 400
lineHeight: 1.5
letterSpacing: "-0.04em"
label-md:
fontFamily: "Space 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"
step-8: "96px"
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-muted:
backgroundColor: "{colors.muted}"
color-reference-border:
backgroundColor: "{colors.border}"
color-reference-beam:
backgroundColor: "{colors.beam}"
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"
---
# Lichtsatz
## Overview
A phototypesetting language for the screen: the Swiss typographic tradition moved from the print shop into the darkroom. A plate-black void, type that reads as developed light, and one luminous baseline beam that every headline rests on — structure carried by projected light on black rather than ink on paper.
### Values
- clarity through typographic structure and a luminous baseline beam rather than ornamental chrome
- asymmetric, left-anchored editorial grid logic that holds tension against a deep empty right margin
- near-monochrome restraint where the void, scale contrast and one exposure cyan do the expressive work
### Anti-Values
- warm-paper grounds, grey washes, soft shadows, glass, or gradients other than the beam and the halftone screen
- boxed or floating nav, nested cards, a single coloured accent edge pinned to a panel, and centred consumer-app styling
### Visual Character
- Each section opens with a beam-headed title: a mono index label above an oversized Space Grotesk headline that rests on a single luminous horizontal hairline, with a small exposure tick travelling along the beam to mark the focal point.
- The page reads as a vertical stack of full-width exposure bands separated by beams of light; content locks left and tension lives in the empty right margin on a faint 12-column register field.
- Panels float on a 2px developed-beam top rule with no side or bottom edges and no nesting; depth comes from the black void and the cyan beam glow, never from shadows.
- Values are typeset as exposure readouts in uppercase Space Mono — f-stops, lines-per-inch, EV — and the signature densitometer renders a luminance ramp of pill-topped bars from the void to the beam with peak bars lit cyan.
## 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 | `#0A0A0D` |
| surface | `#101015` |
| surface-2 | `#16161D` |
| text | `#F2F3F5` |
| muted | `#8C8E97` |
| border | `#2A2B33` |
| beam | `#EDEFF2` |
| accent | `#5FE3FF` |
| on-accent | `#06222B` |
| success | `#62E0A1` |
| warning | `#F2C463` |
| error | `#FF7A7A` |
| info | `#7FB6FF` |
## Typography
- **Headline-Lg**: Space Grotesk, 2.075rem, weight 700, line-height 1.1.
- **Headline-Md**: Space Grotesk, 1.66rem, weight 600, line-height 1.15.
- **Body-Md**: Space Grotesk, 17px, weight 400, line-height 1.5.
- **Label-Md**: Space 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`
### Grid
A 12-column register field on minmax(0,1fr) columns with min-width:0 children; full-width exposure bands stack vertically and content locks left, collapsing to a single column on mobile while the beam-headed titles persist.
### Whitespace
Generous page margins and deliberate vertical rhythm with macro-space above every title, compressed inside data clusters so the contrast between empty void and dense exposure readouts stays visible.
### Density
balanced
### Responsive
Renders from ~390px mobile to 2560px+ ultra-wide; single-column stack on mobile with non-essential nav hidden and no horizontal overflow; capped centred content on ultra-wide with only the hero spanning 100vw.
### Breakpoints
- **Mobile**: 390-767
- **Tablet**: 768-1439
- **Desktop**: 1440+
## Elevation & Depth
### Shadows
- **Sm**: none
- **Md**: none
- **Lg**: none
- **Glow**: 0 0 20px rgba(95,227,255,.5)
## Shapes
### Rounded
- **None**: `0px`
- **Sm**: `0px`
- **Md**: `0px`
- **Lg**: `0px`
- **Full**: `9999px`
### Surfaces
- **Treatment**: plate
- **Card Style**: Flat plate on a 2px developed-beam top rule over a black void; no side or bottom borders, no shadow, square corners. Never nested. Depth from beam glow only.
- **Bg Pattern**: register-field
### Borders
- **Default Width**: 1px
- **Accent Width**: 2px
- **Style**: solid
- **Character**: Structural rule lines in cool near-black expose the grid and separate zones; the section anchor is a luminous developed-beam hairline (white into cyan), never a coloured accent edge pinned to a panel.
## Components
### Composition
Compose the screen as a darkroom plate sheet: stack full-width exposure bands, each opening with a beam-headed title, on a faint 12-column register field; lock content left and hold tension in the empty right margin.
### Hierarchy
Scale contrast first, then weight, then the luminous baseline beam and rule lines, then one exposure cyan for the focal state. Headlines command in tight Space Grotesk, mono index labels stay quiet, values read as precise exposure stops.
### Density
Medium-high density with disciplined macro-whitespace: content is plentiful but every cluster lives on a measured grid with generous breathing room above titles and around major headlines.
### Signature
The baseline beam — a luminous horizontal hairline (white into cyan, softly glowing) that every section title rests on, with a small exposure tick travelling along it; the same light recurs as the densitometer luminance ramp, panel top beams, and hot cyan peaks.
## 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-019ef8f6-aa52-7243-a542-e1c4dd8bec35/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 Let the luminous baseline beam, scale contrast, and left alignment do the expressive work.
- Do Keep panels open and floating on a 2px top beam; keep the void pure black; use exposure cyan like projected light — sparing and focal.
- Do Set values as exposure readouts in uppercase mono and keep headlines tight and commanding.
- Don't Do not use warm-paper grounds, grey washes, soft shadows, glass, or gradients other than the beam and halftone screen.
- Don't Do not box or float the nav, nest cards, or pin a single coloured accent edge to a panel.
- Don't Do not centre everything; preserve left-anchored asymmetric tension and never use emoji or glyph symbols in copy.
### Accessibility
Light developed-paper ink (#F2F3F5) on the plate-black void clears WCAG AA for body and large text; exposure cyan is reserved for focal accents and focus rings against dark surfaces; every form control is explicitly styled with a visible cyan focus ring; motion respects prefers-reduced-motion and the settled state renders with no JavaScript.
## Imagery Direction
### Pairs With
rasterwerk
### Summary
High-contrast monochrome lithographic halftone screen-printing applied to projected light: enlarger beams, darkroom voids, exposure haze — pure black and luminous white, dots swelling in shadow and opening in the beam, with thin registration rules and crop ticks. No colour, no text.
### Subjects
- a projected enlarger light beam cutting through a dark studio void
- exposure haze and dust caught in a cone of light
- a galley of type seen as light on a sensitized plate
- registration rules and crop ticks across a black field
### Usage
Full-bleed hero with the bright beam anchored low-left and deep black negative space filling the upper-right so the headline column stays legible over the void; smaller halftone luminance washes echo the beam inside specimen plates.
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.
# Lichtsatz shadcn/ui Components
Artifact: `component-recipes-v1`
Author: `katagami-ui-projection`
Language ID: `en-019ef8f6-aa52-7243-a542-e1c4dd8bec35`
Slug: `lichtsatz`
## Intent
A phototypesetting language for the screen: the Swiss typographic tradition moved from the print shop into the darkroom. A plate-black void, type that reads as developed light, and one luminous baseline beam that every headline rests on — structure carried by projected light on black rather than ink on paper.
## 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": "#0A0A0D",
"surface": "#101015",
"surface-2": "#16161D",
"text": "#F2F3F5",
"muted": "#8C8E97",
"border": "#2A2B33",
"beam": "#EDEFF2",
"accent": "#5FE3FF",
"on-accent": "#06222B",
"success": "#62E0A1",
"warning": "#F2C463",
"error": "#FF7A7A",
"info": "#7FB6FF"
}
Typography:
{
"base_size": "17px",
"body_font": "Space Grotesk",
"heading_font": "Space Grotesk",
"mono_font": "Space Mono",
"heading_weight": "700",
"heading_transform": "none",
"letter_spacing": "-0.04em",
"google_fonts_url": "https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap"
}
## Visual character to preserve
- Each section opens with a beam-headed title: a mono index label above an oversized Space Grotesk headline that rests on a single luminous horizontal hairline, with a small exposure tick travelling along the beam to mark the focal point.
- The page reads as a vertical stack of full-width exposure bands separated by beams of light; content locks left and tension lives in the empty right margin on a faint 12-column register field.
- Panels float on a 2px developed-beam top rule with no side or bottom edges and no nesting; depth comes from the black void and the cyan beam glow, never from shadows.
- Values are typeset as exposure readouts in uppercase Space Mono — f-stops, lines-per-inch, EV — and the signature densitometer renders a luminance ramp of pill-topped bars from the void to the beam with peak bars lit cyan.
## ShadSync visual profile
{
"family": "system",
"material": "flat",
"contour": "pebble",
"border": "solid",
"underlay": true,
"grain": false,
"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/lichtsatz/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: Let the luminous baseline beam, scale contrast, and left alignment do the expressive work.; Keep panels open and floating on a 2px top beam; keep the void pure black; use exposure cyan like projected light — sparing and focal.; Set values as exposure readouts in uppercase mono and keep headlines tight and commanding.
- Do not: Do not use warm-paper grounds, grey washes, soft shadows, glass, or gradients other than the beam and halftone screen.; Do not box or float the nav, nest cards, or pin a single coloured accent edge to a panel.; Do not centre everything; preserve left-anchored asymmetric tension and never use emoji or glyph symbols in copy.
## 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 LichtsatzShadcnKit() {
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">Lichtsatz</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": "A 12-column register field on minmax(0,1fr) columns with min-width:0 children; full-width exposure bands stack vertically and content locks left, collapsing to a single column on mobile while the beam-headed titles persist.",
"whitespace": "Generous page margins and deliberate vertical rhythm with macro-space above every title, compressed inside data clusters so the contrast between empty void and dense exposure readouts stays visible.",
"density": "balanced",
"responsive": "Renders from ~390px mobile to 2560px+ ultra-wide; single-column stack on mobile with non-essential nav hidden and no horizontal overflow; capped centred content on ultra-wide with only the hero spanning 100vw.",
"breakpoints": {
"mobile": "390-767",
"tablet": "768-1439",
"desktop": "1440+"
}
}
preview shotscompatibility fallback
{
"artifact": "katagami:shadcn-preview-shots",
"version": "preview-shots-v1",
"generator": "katagami-ui-compatibility-projection",
"generatedBy": "katagami-ui-projection",
"requiresVisualProfile": true,
"schema": "katagami:shadcn-preview-shots/renderable-v1",
"renderable": true,
"language": {
"id": "en-019ef8f6-aa52-7243-a542-e1c4dd8bec35",
"name": "Lichtsatz",
"slug": "lichtsatz"
},
"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": [
"Each section opens with a beam-headed title: a mono index label above an oversized Space Grotesk headline that rests on a single luminous horizontal hairline, with a small exposure tick travelling along the beam to mark the focal point.",
"The page reads as a vertical stack of full-width exposure bands separated by beams of light; content locks left and tension lives in the empty right margin on a faint 12-column register field.",
"Panels float on a 2px developed-beam top rule with no side or bottom edges and no nesting; depth comes from the black void and the cyan beam glow, never from shadows.",
"Values are typeset as exposure readouts in uppercase Space Mono — f-stops, lines-per-inch, EV — and the signature densitometer renders a luminance ramp of pill-topped bars from the void to the beam with peak bars lit cyan."
],
"visualProfile": {
"family": "system",
"material": "flat",
"contour": "pebble",
"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": "Lichtsatz 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": [
"Let the luminous baseline beam, scale contrast, and left alignment do the expressive work.",
"Keep panels open and floating on a 2px top beam; keep the void pure black; use exposure cyan like projected light — sparing and focal.",
"Set values as exposure readouts in uppercase mono and keep headlines tight and commanding."
],
"dont": [
"Do not use warm-paper grounds, grey washes, soft shadows, glass, or gradients other than the beam and halftone screen.",
"Do not box or float the nav, nest cards, or pin a single coloured accent edge to a panel.",
"Do not centre everything; preserve left-anchored asymmetric tension and never use emoji or glyph symbols in copy."
]
}
}