Minimal Repro DesignLanguage
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.
specification
philosophy
tokens
borders4 items
- accent bar
- 6px solid #A45236 on a square ::before pseudo-element only
- heavy
- 2px solid #23211D
- rule
- 1px solid rgba(35,33,29,0.16)
- subtle
- 1px solid rgba(35,33,29,0.08)
colors12 items
motion4 items
- duration base
- 180ms
- duration fast
- 120ms
- easing
- cubic-bezier(0.2, 0, 0.1, 1)
- principle
- Use motion only to reveal comparison state or confirm copied evidence; no looping decoration.
radii3 items
- none
- 0px
- pill
- 9999px
- primary
- 16px
shadows3 items
- lift
- 0 18px 50px rgba(35,33,29,0.10)
- none
- none
- rule
- 0 1px 0 rgba(35,33,29,0.10)
spacing9 items
- 2xl
- 64px
- 3xl
- 96px
- 4xl
- 128px
- lg
- 24px
- md
- 16px
- sm
- 12px
- xl
- 40px
- xs
- 8px
- xxs
- 4px
surfaces5 items
- code
- #FBF8F1
- inverse
- #23211D
- page
- #FFFFFF
- panel
- #EEE8DD
- sheet
- #F7F3EA
typography9 items
- body font
- Source Sans 3
- body letter spacing
- -0.02em
- body line height
- 1.55
- body size
- 16px
- display letter spacing
- -0.04em
- display line height
- 1.12
- google fonts url
- https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Source+Sans+3:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap
- heading font
- Fraunces
- mono font
- IBM Plex Mono
rules
Moderate density with one spacious hero/specimen moment and one denser diagnostic log. The language should feel edited down, not empty.
layout
One spacious dominant specimen balanced by compact diagnostic facts; gaps range from 8px within chips to 96px between major sections.
Desktop uses a 12-column max-width 1180px grid with 24px gutters; the main specimen spans 7 columns and the evidence stack spans 4 with a one-column breathing gap.
Breakpoints at 1024px, 768px, and 520px. Tablet collapses to two uneven rows; mobile stacks the specimen first, then actions and log, preserving the evidence rail.
Whitespace acts as evidence isolation. Use large top and section margins, but keep labels and values tightly grouped.
guidance
- Do not use three equal cards in a row.
- Do not add gradient blobs, glassmorphism, or bright triadic accents.
- Do not place one-sided colored borders directly on rounded containers.
- Do not turn the screen into a component catalog or generic SaaS dashboard.
- Do not mix 16px and 24px as competing primary radii.
- Do not use browser-default form controls.
- Do not hide the current state behind decorative illustrations.
katagami spec
# Minimal Repro DesignLanguage ## Philosophy Minimal Repro is a restrained interface language for isolating one meaningful state at a time. It borrows from bug reports, test harnesses, lab notebooks, and small reproducible examples: every screen should make the current input, observed behavior, and next verification step obvious without decorative noise. The language is minimal, but not generic; its identity comes from monospaced evidence strips, flat specimen panels, precise measurement lines, and a deliberately narrow ink-and-warm-paper palette. It treats reduction as a craft practice: remove any ornament that does not help someone reproduce, compare, or explain a condition. The resulting atmosphere is calm, exacting, and slightly forensic, suited to tools where trust comes from being able to trace each claim back to a small visible proof. ### Values - Isolation before abundance: one primary state or specimen dominates the composition. - Reproducibility: inputs, outputs, and assumptions are shown as stable, copyable facts. - Quiet confidence: restrained color, low contrast surfaces, and clear typography replace spectacle. - Traceable structure: alignment marks, specimen IDs, and rule lines make relationships inspectable. - Human debugging: the language supports patient reading, not frantic dashboard scanning. - Small deliberate variance: asymmetry and a single dominant panel prevent sterile template repetition. ### Anti-Values - Decorative complexity that cannot be tied to diagnosis or evidence. - Synthetic SaaS gloss: bright triads, heavy gradients, glass cards, and generic KPI tiles. - Equal-card catalog layouts where every object has the same weight. - Ambiguous hierarchy that hides the exact thing being reproduced. ### Visual Character - Flat warm-white specimen surfaces use #F7F3EA against charcoal ink, with no gradients and only near-invisible rgba borders so the interface feels like a carefully prepared test sheet. - A single square-corner evidence rail in muted rust runs as a separate ::before element beside key specimens; rounded containers never receive one-sided borders. - Typography pairs a crisp serif display face with a highly legible sans body and compact mono annotations, all using negative letter-spacing for an intentional printed-proof texture. - Compositions feature one oversized reproduction panel, smaller offset notes, and measurement-rule dividers that create a visible grid break without resorting to decorative clutter. ## Tokens ### Borders - **Accent Bar**: 6px solid #A45236 on a square ::before pseudo-element only - **Heavy**: 2px solid #23211D - **Rule**: 1px solid rgba(35,33,29,0.16) - **Subtle**: 1px solid rgba(35,33,29,0.08) ### Colors | Name | Value | |------|-------| | danger | `#9B3F35` | | ink | `#23211D` | | line | `#23211D` | | line_subtle | `#23211D` | | muted_ink | `#6B645A` | | ochre | `#B58A45` | | paper | `#FFFFFF` | | rust | `#A45236` | | soft_panel | `#EEE8DD` | | success | `#4D6B50` | | warm_sheet | `#F7F3EA` | | warning | `#9A6A2F` | ### Motion - **Duration Base**: 180ms - **Duration Fast**: 120ms - **Easing**: cubic-bezier(0.2, 0, 0.1, 1) - **Principle**: Use motion only to reveal comparison state or confirm copied evidence; no looping decoration. ### Radii - **None**: 0px - **Pill**: 9999px - **Primary**: 16px ### Shadows - **Lift**: 0 18px 50px rgba(35,33,29,0.10) - **None**: none - **Rule**: 0 1px 0 rgba(35,33,29,0.10) ### Spacing - **2xl**: 64px - **3xl**: 96px - **4xl**: 128px - **Lg**: 24px - **Md**: 16px - **Sm**: 12px - **Xl**: 40px - **Xs**: 8px - **Xxs**: 4px ### Surfaces - **Code**: #FBF8F1 - **Inverse**: #23211D - **Page**: #FFFFFF - **Panel**: #EEE8DD - **Sheet**: #F7F3EA ### Typography - **Body Font**: Source Sans 3 - **Body Letter Spacing**: -0.02em - **Body Line Height**: 1.55 - **Body Size**: 16px - **Display Letter Spacing**: -0.04em - **Display Line Height**: 1.12 - **Google Fonts Url**: https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Source+Sans+3:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap - **Heading Font**: Fraunces - **Mono Font**: IBM Plex Mono ## Rules ### Composition - Give one reproduction specimen at least twice the area of any supporting card. - Use asymmetric two-column layouts where notes tuck beside or below the dominant specimen. - Create one deliberate grid break with an inset evidence strip or oversized heading crossing the column boundary. - Keep related input/output pairs close, while section gaps expand dramatically to preserve the 8:1 spacing rhythm. - Prefer flat planes, rule lines, and specimen labels over shadows or gradients. - Use at most two accents: muted rust for current evidence and ochre for secondary warnings. ### Density Moderate density with one spacious hero/specimen moment and one denser diagnostic log. The language should feel edited down, not empty. ### Hierarchy - Display headings are large, tight, and serifed; body text remains calm at 15–16px. - Primary actions are solid charcoal or rust; secondary actions are flat text with rule-line underlines. - Current state receives the evidence rail, never a rounded one-sided border. - Metadata uses IBM Plex Mono in small caps-like labels with generous tracking only for labels, not body copy. ### Signature Patterns - Evidence rail: a square ::before bar positioned outside a specimen panel, using #A45236 and border-radius:0 to avoid rounded one-sided border artifacts. - Specimen rule grid: repeating-linear-gradient is limited to hairline measurement guides inside one main reproduction panel, using rgba(35,33,29,0.06). - Copyable fact chips: mono inline blocks with warm code surfaces, subtle uniform borders, and pill radius for IDs and exact values. - Offset notebook note: a small warm-sheet panel overlaps the main specimen with a plain 16px radius and a tiny rotated index label, creating the required grid break. ## Layout ### Density One spacious dominant specimen balanced by compact diagnostic facts; gaps range from 8px within chips to 96px between major sections. ### Grid Desktop uses a 12-column max-width 1180px grid with 24px gutters; the main specimen spans 7 columns and the evidence stack spans 4 with a one-column breathing gap. ### Responsive Breakpoints at 1024px, 768px, and 520px. Tablet collapses to two uneven rows; mobile stacks the specimen first, then actions and log, preserving the evidence rail. ### Whitespace Whitespace acts as evidence isolation. Use large top and section margins, but keep labels and values tightly grouped. ## Guidance ### Do - Use one dominant specimen panel for the thing being reproduced. - Show exact values, versions, timestamps, or constraints in mono fact chips. - Let warm paper and charcoal ink carry most of the interface. - Use rust sparingly for current evidence or the single most important action. - Make related labels and values visibly closer than unrelated sections. - Include at least one grid break through an offset note, oversized heading, or inset rail. - Style every input and control explicitly with the same flat surface language. ### Don't - Do not use three equal cards in a row. - Do not add gradient blobs, glassmorphism, or bright triadic accents. - Do not place one-sided colored borders directly on rounded containers. - Do not turn the screen into a component catalog or generic SaaS dashboard. - Do not mix 16px and 24px as competing primary radii. - Do not use browser-default form controls. - Do not hide the current state behind decorative illustrations. ### Accessibility Maintain WCAG AA contrast for text and controls, never rely on rust alone for status, provide visible focus rings using a 2px charcoal outline with 2px offset, keep body text at 16px with 1.55 line-height, and preserve semantic headings and labels for screen readers. ### Usage Context Best for debugging tools, test-run explainers, QA review products, research note systems, and any product that needs a small reproducible case to be legible and trustworthy.
DESIGN.md
---
version: "alpha"
name: "Minimal Repro DesignLanguage"
description: "Agent-curated design language exported from Katagami as DESIGN.md."
colors:
danger: "#9B3F35"
ink: "#23211D"
line: "#23211D"
line_subtle: "#23211D"
muted_ink: "#6B645A"
ochre: "#B58A45"
paper: "#FFFFFF"
rust: "#A45236"
soft_panel: "#EEE8DD"
success: "#4D6B50"
warm_sheet: "#F7F3EA"
warning: "#9A6A2F"
typography:
headline-lg:
fontFamily: "Fraunces"
fontSize: "1.953rem"
fontWeight: 700
lineHeight: 1.1
letterSpacing: "-0.02em"
headline-md:
fontFamily: "Fraunces"
fontSize: "1.563rem"
fontWeight: 600
lineHeight: 1.15
letterSpacing: "-0.02em"
body-md:
fontFamily: "Source Sans 3"
fontSize: "16px"
fontWeight: 400
lineHeight: 1.5
letterSpacing: "-0.02em"
label-md:
fontFamily: "IBM Plex Mono"
fontSize: "0.75rem"
fontWeight: 600
lineHeight: 1
letterSpacing: "0.08em"
rounded:
none: "0px"
pill: "9999px"
primary: "16px"
spacing:
2xl: "64px"
3xl: "96px"
4xl: "128px"
lg: "24px"
md: "16px"
sm: "12px"
xl: "40px"
xs: "8px"
xxs: "4px"
components:
color-reference-danger:
backgroundColor: "{colors.danger}"
color-reference-ink:
backgroundColor: "{colors.ink}"
color-reference-line:
backgroundColor: "{colors.line}"
color-reference-line_subtle:
backgroundColor: "{colors.line_subtle}"
color-reference-muted_ink:
backgroundColor: "{colors.muted_ink}"
color-reference-ochre:
backgroundColor: "{colors.ochre}"
color-reference-paper:
backgroundColor: "{colors.paper}"
color-reference-rust:
backgroundColor: "{colors.rust}"
color-reference-soft_panel:
backgroundColor: "{colors.soft_panel}"
color-reference-success:
backgroundColor: "{colors.success}"
color-reference-warm_sheet:
backgroundColor: "{colors.warm_sheet}"
color-reference-warning:
backgroundColor: "{colors.warning}"
---
# Minimal Repro DesignLanguage
## Overview
Minimal Repro is a restrained interface language for isolating one meaningful state at a time. It borrows from bug reports, test harnesses, lab notebooks, and small reproducible examples: every screen should make the current input, observed behavior, and next verification step obvious without decorative noise. The language is minimal, but not generic; its identity comes from monospaced evidence strips, flat specimen panels, precise measurement lines, and a deliberately narrow ink-and-warm-paper palette. It treats reduction as a craft practice: remove any ornament that does not help someone reproduce, compare, or explain a condition. The resulting atmosphere is calm, exacting, and slightly forensic, suited to tools where trust comes from being able to trace each claim back to a small visible proof.
### Values
- Isolation before abundance: one primary state or specimen dominates the composition.
- Reproducibility: inputs, outputs, and assumptions are shown as stable, copyable facts.
- Quiet confidence: restrained color, low contrast surfaces, and clear typography replace spectacle.
- Traceable structure: alignment marks, specimen IDs, and rule lines make relationships inspectable.
- Human debugging: the language supports patient reading, not frantic dashboard scanning.
- Small deliberate variance: asymmetry and a single dominant panel prevent sterile template repetition.
### Anti-Values
- Decorative complexity that cannot be tied to diagnosis or evidence.
- Synthetic SaaS gloss: bright triads, heavy gradients, glass cards, and generic KPI tiles.
- Equal-card catalog layouts where every object has the same weight.
- Ambiguous hierarchy that hides the exact thing being reproduced.
### Visual Character
- Flat warm-white specimen surfaces use #F7F3EA against charcoal ink, with no gradients and only near-invisible rgba borders so the interface feels like a carefully prepared test sheet.
- A single square-corner evidence rail in muted rust runs as a separate ::before element beside key specimens; rounded containers never receive one-sided borders.
- Typography pairs a crisp serif display face with a highly legible sans body and compact mono annotations, all using negative letter-spacing for an intentional printed-proof texture.
- Compositions feature one oversized reproduction panel, smaller offset notes, and measurement-rule dividers that create a visible grid break without resorting to decorative clutter.
## Colors
Use the YAML color tokens as the normative palette. The prose below names the roles agents should preserve when generating UI.
| Token | Value |
|-------|-------|
| danger | `#9B3F35` |
| ink | `#23211D` |
| line | `#23211D` |
| line_subtle | `#23211D` |
| muted_ink | `#6B645A` |
| ochre | `#B58A45` |
| paper | `#FFFFFF` |
| rust | `#A45236` |
| soft_panel | `#EEE8DD` |
| success | `#4D6B50` |
| warm_sheet | `#F7F3EA` |
| warning | `#9A6A2F` |
## Typography
- **Headline-Lg**: Fraunces, 1.953rem, weight 700, line-height 1.1.
- **Headline-Md**: Fraunces, 1.563rem, weight 600, line-height 1.15.
- **Body-Md**: Source Sans 3, 16px, weight 400, line-height 1.5.
- **Label-Md**: IBM Plex Mono, 0.75rem, weight 600, line-height 1.
## Layout
### Spacing Tokens
- **2xl**: `64px`
- **3xl**: `96px`
- **4xl**: `128px`
- **Lg**: `24px`
- **Md**: `16px`
- **Sm**: `12px`
- **Xl**: `40px`
- **Xs**: `8px`
- **Xxs**: `4px`
### Density
One spacious dominant specimen balanced by compact diagnostic facts; gaps range from 8px within chips to 96px between major sections.
### Grid
Desktop uses a 12-column max-width 1180px grid with 24px gutters; the main specimen spans 7 columns and the evidence stack spans 4 with a one-column breathing gap.
### Responsive
Breakpoints at 1024px, 768px, and 520px. Tablet collapses to two uneven rows; mobile stacks the specimen first, then actions and log, preserving the evidence rail.
### Whitespace
Whitespace acts as evidence isolation. Use large top and section margins, but keep labels and values tightly grouped.
## Elevation & Depth
### Shadows
- **Lift**: 0 18px 50px rgba(35,33,29,0.10)
- **None**: none
- **Rule**: 0 1px 0 rgba(35,33,29,0.10)
## Shapes
### Rounded
- **None**: `0px`
- **Pill**: `9999px`
- **Primary**: `16px`
### Surfaces
- **Code**: #FBF8F1
- **Inverse**: #23211D
- **Page**: #FFFFFF
- **Panel**: #EEE8DD
- **Sheet**: #F7F3EA
### Borders
- **Accent Bar**: 6px solid #A45236 on a square ::before pseudo-element only
- **Heavy**: 2px solid #23211D
- **Rule**: 1px solid rgba(35,33,29,0.16)
- **Subtle**: 1px solid rgba(35,33,29,0.08)
## Components
### Composition
- Give one reproduction specimen at least twice the area of any supporting card.
- Use asymmetric two-column layouts where notes tuck beside or below the dominant specimen.
- Create one deliberate grid break with an inset evidence strip or oversized heading crossing the column boundary.
- Keep related input/output pairs close, while section gaps expand dramatically to preserve the 8:1 spacing rhythm.
- Prefer flat planes, rule lines, and specimen labels over shadows or gradients.
- Use at most two accents: muted rust for current evidence and ochre for secondary warnings.
### Density
Moderate density with one spacious hero/specimen moment and one denser diagnostic log. The language should feel edited down, not empty.
### Hierarchy
- Display headings are large, tight, and serifed; body text remains calm at 15–16px.
- Primary actions are solid charcoal or rust; secondary actions are flat text with rule-line underlines.
- Current state receives the evidence rail, never a rounded one-sided border.
- Metadata uses IBM Plex Mono in small caps-like labels with generous tracking only for labels, not body copy.
### Signature Patterns
- Evidence rail: a square ::before bar positioned outside a specimen panel, using #A45236 and border-radius:0 to avoid rounded one-sided border artifacts.
- Specimen rule grid: repeating-linear-gradient is limited to hairline measurement guides inside one main reproduction panel, using rgba(35,33,29,0.06).
- Copyable fact chips: mono inline blocks with warm code surfaces, subtle uniform borders, and pill radius for IDs and exact values.
- Offset notebook note: a small warm-sheet panel overlaps the main specimen with a plain 16px radius and a tiny rotated index label, creating the required grid break.
## 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-019e04f7-d7e9-7e72-9adb-7d31b5d0e61e/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 one dominant specimen panel for the thing being reproduced.
- Do Show exact values, versions, timestamps, or constraints in mono fact chips.
- Do Let warm paper and charcoal ink carry most of the interface.
- Do Use rust sparingly for current evidence or the single most important action.
- Do Make related labels and values visibly closer than unrelated sections.
- Do Include at least one grid break through an offset note, oversized heading, or inset rail.
- Do Style every input and control explicitly with the same flat surface language.
- Don't Do not use three equal cards in a row.
- Don't Do not add gradient blobs, glassmorphism, or bright triadic accents.
- Don't Do not place one-sided colored borders directly on rounded containers.
- Don't Do not turn the screen into a component catalog or generic SaaS dashboard.
- Don't Do not mix 16px and 24px as competing primary radii.
- Don't Do not use browser-default form controls.
- Don't Do not hide the current state behind decorative illustrations.
### Accessibility
Maintain WCAG AA contrast for text and controls, never rely on rust alone for status, provide visible focus rings using a 2px charcoal outline with 2px offset, keep body text at 16px with 1.55 line-height, and preserve semantic headings and labels for screen readers.
### Usage Context
Best for debugging tools, test-run explainers, QA review products, research note systems, and any product that needs a small reproducible case to be legible and trustworthy.
shadcn/ui theme
```json
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "minimal-repro-designlanguage",
"type": "registry:theme",
"title": "Minimal Repro DesignLanguage shadcn Theme",
"cssVars": {
"theme": {},
"light": {
"background": "#ffffff",
"foreground": "#23211D",
"card": "#ffffff",
"card-foreground": "#23211D",
"popover": "#ffffff",
"popover-foreground": "#23211D",
"primary": "#23211D",
"primary-foreground": "#ffffff",
"secondary": "#f4f4f5",
"secondary-foreground": "#111111",
"muted": "#f4f4f5",
"muted-foreground": "#23211D",
"accent": "#23211D",
"accent-foreground": "#ffffff",
"destructive": "#dc2626",
"border": "#e4e4e7",
"input": "#e4e4e7",
"ring": "#23211D",
"chart-1": "#23211D",
"chart-2": "#f4f4f5",
"chart-3": "#23211D",
"chart-4": "#4D6B50",
"chart-5": "#9A6A2F",
"sidebar": "#ffffff",
"sidebar-foreground": "#23211D",
"sidebar-primary": "#23211D",
"sidebar-primary-foreground": "#ffffff",
"sidebar-accent": "#23211D",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#e4e4e7",
"sidebar-ring": "#23211D",
"radius": "0.625rem"
},
"dark": {
"background": "#0f1115",
"foreground": "#f8fafc",
"card": "#181b22",
"card-foreground": "#f8fafc",
"popover": "#181b22",
"popover-foreground": "#f8fafc",
"primary": "#23211D",
"primary-foreground": "#ffffff",
"secondary": "#252a33",
"secondary-foreground": "#f8fafc",
"muted": "#252a33",
"muted-foreground": "#a1a1aa",
"accent": "#23211D",
"accent-foreground": "#ffffff",
"destructive": "#dc2626",
"border": "#303642",
"input": "#303642",
"ring": "#23211D",
"chart-1": "#23211D",
"chart-2": "#f4f4f5",
"chart-3": "#23211D",
"chart-4": "#4D6B50",
"chart-5": "#9A6A2F",
"sidebar": "#181b22",
"sidebar-foreground": "#f8fafc",
"sidebar-primary": "#23211D",
"sidebar-primary-foreground": "#ffffff",
"sidebar-accent": "#23211D",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#303642",
"sidebar-ring": "#23211D",
"radius": "0.625rem"
}
},
"meta": {
"source": "katagami",
"languageId": "en-019e04f7-d7e9-7e72-9adb-7d31b5d0e61e",
"slug": "minimal-repro-designlanguage",
"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_bar",
"heavy",
"rule",
"subtle"
],
"colors": [
"danger",
"ink",
"line",
"line_subtle",
"muted_ink",
"ochre",
"paper",
"rust",
"soft_panel",
"success",
"warm_sheet",
"warning"
],
"motion": [
"duration_base",
"duration_fast",
"easing",
"principle"
],
"radii": [
"none",
"pill",
"primary"
],
"shadows": [
"lift",
"none",
"rule"
],
"spacing": [
"2xl",
"3xl",
"4xl",
"lg",
"md",
"sm",
"xl",
"xs",
"xxs"
],
"surfaces": [
"code",
"inverse",
"page",
"panel",
"sheet"
],
"typography": [
"body_font",
"body_letter_spacing",
"body_line_height",
"body_size",
"display_letter_spacing",
"display_line_height",
"google_fonts_url",
"heading_font",
"mono_font"
]
}
}
}
```embodiments
at a glance
Typography
The quick brown fox jumps
The quick brown fox jumps
The quick brown fox jumps
The quick brown fox jumps
Components
Components rendered with this language’s tokens — colors, type, and rounded corners as specified.
Spacing
- 2xl64px
- 3xl96px
- 4xl128px
- lg24px
- md16px
- sm12px
- xl40px
- xs8px
- xxs4px
Shape
implementation kit
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
npx shadcn@latest add button card input textarea select dialog sheet tabs badge separator checkbox switch slider tooltip dropdown-menu table:root {
--background: #ffffff;
--foreground: #23211D;
--card: #ffffff;
--card-foreground: #23211D;
--popover: #ffffff;
--popover-foreground: #23211D;
--primary: #23211D;
--primary-foreground: #ffffff;
--secondary: #f4f4f5;
--secondary-foreground: #111111;
--muted: #f4f4f5;
--muted-foreground: #23211D;
--accent: #23211D;
--accent-foreground: #ffffff;
--destructive: #dc2626;
--border: #e4e4e7;
--input: #e4e4e7;
--ring: #23211D;
--chart-1: #23211D;
--chart-2: #f4f4f5;
--chart-3: #23211D;
--chart-4: #4D6B50;
--chart-5: #9A6A2F;
--sidebar: #ffffff;
--sidebar-foreground: #23211D;
--sidebar-primary: #23211D;
--sidebar-primary-foreground: #ffffff;
--sidebar-accent: #23211D;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #e4e4e7;
--sidebar-ring: #23211D;
--radius: 0.625rem;
}
.dark {
--background: #0f1115;
--foreground: #f8fafc;
--card: #181b22;
--card-foreground: #f8fafc;
--popover: #181b22;
--popover-foreground: #f8fafc;
--primary: #23211D;
--primary-foreground: #ffffff;
--secondary: #252a33;
--secondary-foreground: #f8fafc;
--muted: #252a33;
--muted-foreground: #a1a1aa;
--accent: #23211D;
--accent-foreground: #ffffff;
--destructive: #dc2626;
--border: #303642;
--input: #303642;
--ring: #23211D;
--chart-1: #23211D;
--chart-2: #f4f4f5;
--chart-3: #23211D;
--chart-4: #4D6B50;
--chart-5: #9A6A2F;
--sidebar: #181b22;
--sidebar-foreground: #f8fafc;
--sidebar-primary: #23211D;
--sidebar-primary-foreground: #ffffff;
--sidebar-accent: #23211D;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #303642;
--sidebar-ring: #23211D;
--radius: 0.625rem;
}
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 MinimalReproDesignlanguageShadcnKit() {
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">Minimal Repro DesignLanguage</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": "minimal-repro-designlanguage",
"type": "registry:theme",
"title": "Minimal Repro DesignLanguage shadcn Theme",
"cssVars": {
"theme": {},
"light": {
"background": "#ffffff",
"foreground": "#23211D",
"card": "#ffffff",
"card-foreground": "#23211D",
"popover": "#ffffff",
"popover-foreground": "#23211D",
"primary": "#23211D",
"primary-foreground": "#ffffff",
"secondary": "#f4f4f5",
"secondary-foreground": "#111111",
"muted": "#f4f4f5",
"muted-foreground": "#23211D",
"accent": "#23211D",
"accent-foreground": "#ffffff",
"destructive": "#dc2626",
"border": "#e4e4e7",
"input": "#e4e4e7",
"ring": "#23211D",
"chart-1": "#23211D",
"chart-2": "#f4f4f5",
"chart-3": "#23211D",
"chart-4": "#4D6B50",
"chart-5": "#9A6A2F",
"sidebar": "#ffffff",
"sidebar-foreground": "#23211D",
"sidebar-primary": "#23211D",
"sidebar-primary-foreground": "#ffffff",
"sidebar-accent": "#23211D",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#e4e4e7",
"sidebar-ring": "#23211D",
"radius": "0.625rem"
},
"dark": {
"background": "#0f1115",
"foreground": "#f8fafc",
"card": "#181b22",
"card-foreground": "#f8fafc",
"popover": "#181b22",
"popover-foreground": "#f8fafc",
"primary": "#23211D",
"primary-foreground": "#ffffff",
"secondary": "#252a33",
"secondary-foreground": "#f8fafc",
"muted": "#252a33",
"muted-foreground": "#a1a1aa",
"accent": "#23211D",
"accent-foreground": "#ffffff",
"destructive": "#dc2626",
"border": "#303642",
"input": "#303642",
"ring": "#23211D",
"chart-1": "#23211D",
"chart-2": "#f4f4f5",
"chart-3": "#23211D",
"chart-4": "#4D6B50",
"chart-5": "#9A6A2F",
"sidebar": "#181b22",
"sidebar-foreground": "#f8fafc",
"sidebar-primary": "#23211D",
"sidebar-primary-foreground": "#ffffff",
"sidebar-accent": "#23211D",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#303642",
"sidebar-ring": "#23211D",
"radius": "0.625rem"
}
},
"meta": {
"source": "katagami",
"languageId": "en-019e04f7-d7e9-7e72-9adb-7d31b5d0e61e",
"slug": "minimal-repro-designlanguage",
"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_bar",
"heavy",
"rule",
"subtle"
],
"colors": [
"danger",
"ink",
"line",
"line_subtle",
"muted_ink",
"ochre",
"paper",
"rust",
"soft_panel",
"success",
"warm_sheet",
"warning"
],
"motion": [
"duration_base",
"duration_fast",
"easing",
"principle"
],
"radii": [
"none",
"pill",
"primary"
],
"shadows": [
"lift",
"none",
"rule"
],
"spacing": [
"2xl",
"3xl",
"4xl",
"lg",
"md",
"sm",
"xl",
"xs",
"xxs"
],
"surfaces": [
"code",
"inverse",
"page",
"panel",
"sheet"
],
"typography": [
"body_font",
"body_letter_spacing",
"body_line_height",
"body_size",
"display_letter_spacing",
"display_line_height",
"google_fonts_url",
"heading_font",
"mono_font"
]
}
}
}
# Minimal Repro DesignLanguage shadcn/ui Components
Artifact: `component-recipes-v1`
Author: `katagami-ui-projection`
Language ID: `en-019e04f7-d7e9-7e72-9adb-7d31b5d0e61e`
Slug: `en-019e04f7-d7e9-7e72-9adb-7d31b5d0e61e`
## Intent
Minimal Repro is a restrained interface language for isolating one meaningful state at a time. It borrows from bug reports, test harnesses, lab notebooks, and small reproducible examples: every screen should make the current input, observed behavior, and next verification step obvious without decorative noise. The language is minimal, but not generic; its identity comes from monospaced evidence strips, flat specimen panels, precise measurement lines, and a deliberately narrow ink-and-warm-paper palette. It treats reduction as a craft practice: remove any ornament that does not help someone reproduce, compare, or explain a condition. The resulting atmosphere is calm, exacting, and slightly forensic, suited to tools where trust comes from being able to trace each claim back to a small visible proof.
## 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:
{
"danger": "#9B3F35",
"ink": "#23211D",
"line": "#23211D",
"line_subtle": "#23211D",
"muted_ink": "#6B645A",
"ochre": "#B58A45",
"paper": "#FFFFFF",
"rust": "#A45236",
"soft_panel": "#EEE8DD",
"success": "#4D6B50",
"warm_sheet": "#F7F3EA",
"warning": "#9A6A2F"
}
Typography:
{
"body_font": "Source Sans 3",
"body_letter_spacing": "-0.02em",
"body_line_height": "1.55",
"body_size": "16px",
"display_letter_spacing": "-0.04em",
"display_line_height": "1.12",
"google_fonts_url": "https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Source+Sans+3:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap",
"heading_font": "Fraunces",
"mono_font": "IBM Plex Mono"
}
## Visual character to preserve
- Flat warm-white specimen surfaces use #F7F3EA against charcoal ink, with no gradients and only near-invisible rgba borders so the interface feels like a carefully prepared test sheet.
- A single square-corner evidence rail in muted rust runs as a separate ::before element beside key specimens; rounded containers never receive one-sided borders.
- Typography pairs a crisp serif display face with a highly legible sans body and compact mono annotations, all using negative letter-spacing for an intentional printed-proof texture.
- Compositions feature one oversized reproduction panel, smaller offset notes, and measurement-rule dividers that create a visible grid break without resorting to decorative clutter.
## ShadSync visual profile
{
"family": "editorial",
"material": "flat",
"contour": "pebble",
"border": "solid",
"underlay": true,
"grain": true,
"stickerBadges": false,
"motion": "lift-rotate",
"density": "dense",
"accents": [
"primary",
"accent",
"secondary",
"muted"
]
}
## Signature component recipes
### Button
Use `Button` for primary, secondary, outline, and ghost actions. Primary actions must expose the language's strongest contrast pair, while secondary and ghost actions should preserve the surface treatment instead of falling back to default neutral SaaS styling.
### Card
Use `Card`, `CardHeader`, `CardContent`, `CardFooter`, and `CardAction` as the main composition frame. Cards should demonstrate the language's surface, border, hierarchy, and density rules rather than appearing as generic rounded rectangles.
### Input and Textarea
Use `Input` and `Textarea` with visible focus rings, field labels, validation states, and the language's rhythm. Forms should show real product content, not placeholder-only controls.
### Select, Tabs, and Table
Use `Select`, `Tabs`, and `Table` to prove navigation, filtering, and dense data states. The table should show row rhythm, separators, hover/focus states, and an empty or status state when the language calls for it.
### Dialog and Sheet
Use `Dialog` for centered decisions and `Sheet` for contextual editing. Both should inherit the language's spacing, border, overlay, and motion rules.
## Preview shots
- `application-shell`: dashboard or workspace shell with navigation, cards, forms, and state badges.
- `detail-editor`: focused editing flow using input, textarea, select, switch/checkbox, dialog or sheet, and action buttons.
- `data-operations`: table-heavy operational view with tabs, dropdown menu affordances, badges, and destructive/empty states.
- Each preview shot must include a renderable `scene` payload with concrete headline, description, actions, and rows/fields/stats for the UI preview.
## Implementation contract
- Start from local `ui/src/components/ui` shadcn-style primitives; do not create a second component system.
- Apply `/katagami/shadcn/en-019e04f7-d7e9-7e72-9adb-7d31b5d0e61e/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: follow the Katagami source guidance
- Do not: Do not use three equal cards in a row.; Do not add gradient blobs, glassmorphism, or bright triadic accents.; Do not place one-sided colored borders directly on rounded containers.; Do not turn the screen into a component catalog or generic SaaS dashboard.; Do not mix 16px and 24px as competing primary radii.; Do not use browser-default form controls.; Do not hide the current state behind decorative illustrations.
## 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 MinimalReproDesignlanguageShadcnKit() {
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">Minimal Repro DesignLanguage</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
{
"density": "One spacious dominant specimen balanced by compact diagnostic facts; gaps range from 8px within chips to 96px between major sections.",
"grid": "Desktop uses a 12-column max-width 1180px grid with 24px gutters; the main specimen spans 7 columns and the evidence stack spans 4 with a one-column breathing gap.",
"responsive": "Breakpoints at 1024px, 768px, and 520px. Tablet collapses to two uneven rows; mobile stacks the specimen first, then actions and log, preserving the evidence rail.",
"whitespace": "Whitespace acts as evidence isolation. Use large top and section margins, but keep labels and values tightly grouped."
}
{
"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-019e04f7-d7e9-7e72-9adb-7d31b5d0e61e",
"name": "Minimal Repro DesignLanguage",
"slug": "en-019e04f7-d7e9-7e72-9adb-7d31b5d0e61e"
},
"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": [
"Flat warm-white specimen surfaces use #F7F3EA against charcoal ink, with no gradients and only near-invisible rgba borders so the interface feels like a carefully prepared test sheet.",
"A single square-corner evidence rail in muted rust runs as a separate ::before element beside key specimens; rounded containers never receive one-sided borders.",
"Typography pairs a crisp serif display face with a highly legible sans body and compact mono annotations, all using negative letter-spacing for an intentional printed-proof texture.",
"Compositions feature one oversized reproduction panel, smaller offset notes, and measurement-rule dividers that create a visible grid break without resorting to decorative clutter."
],
"visualProfile": {
"family": "editorial",
"material": "flat",
"contour": "pebble",
"border": "solid",
"underlay": true,
"grain": true,
"stickerBadges": false,
"motion": "lift-rotate",
"density": "dense",
"accents": [
"primary",
"accent",
"secondary",
"muted"
]
},
"shots": [
{
"id": "application-shell",
"title": "Application shell",
"viewport": "desktop",
"primitives": [
"button",
"card",
"input",
"select",
"tabs",
"badge",
"separator",
"table"
],
"composition": "A real product workspace with navigation, summary cards, filtering controls, and one dense content region.",
"mustShow": [
"primary and secondary actions",
"card hierarchy",
"filterable state",
"table or list density"
],
"avoid": [
"component inventory walls",
"placeholder-only content",
"generic rounded SaaS chrome"
],
"scene": {
"eyebrow": "workspace spread",
"headline": "Minimal Repro DesignLanguage 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": [],
"dont": [
"Do not use three equal cards in a row.",
"Do not add gradient blobs, glassmorphism, or bright triadic accents.",
"Do not place one-sided colored borders directly on rounded containers.",
"Do not turn the screen into a component catalog or generic SaaS dashboard.",
"Do not mix 16px and 24px as competing primary radii.",
"Do not use browser-default form controls.",
"Do not hide the current state behind decorative illustrations."
]
}
}