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 screens as a shoji lattice on a dark ground: a strict modular grid of cells, most resting in shadow, a few lit. Keep at least one large resting zone per viewport so density never goes uniform. An upright reading rail carries region names in the margin.
Hierarchy is carried by light: a lit cell warms from the top edge to signal it is live; Mincho display sits over gothic UI and mono metadata. Emphasis comes from glow and position, not from many weights or many colours. Exactly one vermilion ember marks the single thing that needs a person.
Low-to-medium. Cells are compact but never cramped; the lattice breathes with generous padding and dark resting cells between lit ones.
Three devices: (1) the shoji light-grid — a kumiko lattice whose cells glow warm amber when live and rest dark otherwise; (2) one tilted vermilion ember seal per board for the single reading that needs a person; (3) an upright reading rail naming regions in the margin. Surfaces have no frame border — structure is carried by light, the lattice hairline, and the trailing heading rule.
Desktop is a shoji lattice: a fixed narrow upright reading rail beside a modular grid of cells (4-up on wide). Tablet drops to 2-up and compresses the rail; phone collapses to a single column with the rail lying down to a horizontal label band.
Darkness is structural emptiness: 40-96px outer margins on desktop, 24-40px tablet, 16-24px phone. Never light every cell; leave resting cells dark to create rhythm.
low-to-medium
390px single column with the rail as a horizontal band, scrollable/wrapping tables, full-width actions; 680px stacked panels; 880px two-up lattice; 1200px+ full four-up board; the full-bleed hero spans 100vw, contained content caps and centres on ultra-wide.
sumi-ink-wash
Sumi-e ink-wash brushwork applied on a dark night field: one dark pigment, graded washes, decisive loaded strokes, and bare dark paper as structural negative space, with a single restrained vermilion seal mark. The inked subject (a glowing andon lantern) is pushed to one edge so the larger dark area carries the headline overlay.
Hero images push the inked, warm-lit subject to one edge and leave the larger area as bare dark negative space for the headline overlay. One small vermilion seal mark is the only saturated colour.
# Andon ## Philosophy A night-and-paper interface language. The screen is a paper lantern grid on a deep sumi-indigo ground: every surface is a shoji cell, dark when resting and warm when it holds something live. It reads the same Japanese paper as its source but from the dark side — intentional emptiness becomes the dark ground itself, light becomes the message, and a single vermilion ember marks the one thing that needs a person. ### Values - light as the only chrome - darkness as structural emptiness (ma) - one rationed ember - paper-and-lantern tactility - calm operational clarity ### Anti-Values - defaulting to white or pale washes - a second loud accent - framing every surface with a border - flooding the board with status chips - bounce or overshoot motion ### Visual Character - a strict shoji lattice of cells: resting cells sit dark, live cells warm from the top edge inward like washi lit from behind - one vermilion ember seal pressed at a slight tilt marks the single reading that needs a person — one per board - an upright reading rail names regions in the margin in mono, so the lattice itself stays wordless and lit - a deep sumi-indigo night ground carries everything with a faint blue-grey kumiko grain crossing the field - warm lantern amber is the whole live vocabulary; cool moon-indigo plays the quiet secondary ## Tokens ### Colors | Name | Value | |------|-------| | primary | `#F2C879` | | secondary | `#7FA6C9` | | accent | `#F2C879` | | background | `#14181F` | | surface | `#1E2530` | | text | `#F4EEDF` | | muted | `#9AA6B6` | | border | `#3A4554` | | on_accent | `#1A1206` | | error | `#E2533B` | | success | `#6FA37A` | | warning | `#D9A23C` | | info | `#7FA6C9` | ### Typography - **Heading Font**: "Zen Old Mincho", serif - **Body Font**: "Zen Kaku Gothic New", sans-serif - **Mono Font**: "IBM Plex Mono", monospace - **Base Size**: 17px - **Scale Ratio**: 1.2 - **Line Height**: 1.6 - **Letter Spacing**: 0.01em - **Heading Weight**: 700 - **Heading Transform**: none - **Google Fonts Url**: https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Zen+Kaku+Gothic+New:wght@400;500;700&family=Zen+Old+Mincho:wght@500;700&display=swap ### Spacing - **Base Unit**: 8px - **Base**: 8px - **Scale**: ["4px","8px","16px","24px","40px","64px","96px","128px"] ### Radii - **None**: 0px - **Md**: 16px - **Lg**: 24px - **Full**: 9999px ### Shadows - **Sm**: 0 1px 0 rgba(0,0,0,0.2) - **Md**: 0 14px 36px rgba(0,0,0,0.22) - **Lg**: 0 18px 40px rgba(0,0,0,0.25) - **Glow**: 0 0 0 1px rgba(242,200,121,0.42), 0 0 60px rgba(242,200,121,0.16) ### Surfaces - **Treatment**: lit-paper-cell - **Card Style**: dark shoji cells with no frame border; live cells carry a warm amber top-down glow, resting cells stay dark - **Bg Pattern**: faint blue-grey kumiko lattice grain on a sumi-night ground ### Borders - **Default Width**: 1px - **Style**: solid - **Character**: kumiko hairlines used only as lattice dividers between cells and trailing heading rules — never as a frame drawn around a container ### Motion - **Duration**: 220ms - **Easing**: cubic-bezier(0.22, 1, 0.36, 1) - **Philosophy**: deliberate, no bounce or overshoot; cells warm in as they enter the viewport; the settled fully-lit state renders with no JS, reveal added on top behind an html.anim gate with a safety sweep so a static render is never blank ### Responsive - **Breakpoints**: [1200,880,680,390] - **Column Progression**: 12 → 8 → 4 → 1 ## Rules ### Composition Compose screens as a shoji lattice on a dark ground: a strict modular grid of cells, most resting in shadow, a few lit. Keep at least one large resting zone per viewport so density never goes uniform. An upright reading rail carries region names in the margin. ### Hierarchy Hierarchy is carried by light: a lit cell warms from the top edge to signal it is live; Mincho display sits over gothic UI and mono metadata. Emphasis comes from glow and position, not from many weights or many colours. Exactly one vermilion ember marks the single thing that needs a person. ### Density Low-to-medium. Cells are compact but never cramped; the lattice breathes with generous padding and dark resting cells between lit ones. ### Signature Three devices: (1) the shoji light-grid — a kumiko lattice whose cells glow warm amber when live and rest dark otherwise; (2) one tilted vermilion ember seal per board for the single reading that needs a person; (3) an upright reading rail naming regions in the margin. Surfaces have no frame border — structure is carried by light, the lattice hairline, and the trailing heading rule. ## Layout ### Grid Desktop is a shoji lattice: a fixed narrow upright reading rail beside a modular grid of cells (4-up on wide). Tablet drops to 2-up and compresses the rail; phone collapses to a single column with the rail lying down to a horizontal label band. ### Whitespace Darkness is structural emptiness: 40-96px outer margins on desktop, 24-40px tablet, 16-24px phone. Never light every cell; leave resting cells dark to create rhythm. ### Density low-to-medium ### Responsive 390px single column with the rail as a horizontal band, scrollable/wrapping tables, full-width actions; 680px stacked panels; 880px two-up lattice; 1200px+ full four-up board; the full-bleed hero spans 100vw, contained content caps and centres on ultra-wide. ### Breakpoints - **Xl**: 1200px - **Lg**: 880px - **Md**: 680px - **Sm**: 390px ## Guidance ### Do - light only the cells that are true right now and let the rest rest in the dark - use warm amber for live and reserve the vermilion ember for the one thing that needs a person - carry structure with light, surface, and the trailing rule before any border - keep region names in the upright reading rail so the lattice stays wordless - tune neutrals cool to the sumi-night ground ### Don't - do not default to white or wash the ground pale — the night is the point - do not add a second loud accent or flood the board with embers - do not frame every cell with a charcoal border or inset inner frame - do not centre everything or build perfectly symmetrical dashboards - do not animate with bounce, spring, or playful overshoot ### Accessibility Body text 17px+ in warm paper ink on the sumi ground at high contrast. The ember seal is always paired with a text label so status never relies on colour alone. Focus rings swap to lantern amber. Motion respects prefers-reduced-motion; the settled state renders with no JavaScript. ## Imagery Direction ### Pairs With sumi-ink-wash ### Summary Sumi-e ink-wash brushwork applied on a dark night field: one dark pigment, graded washes, decisive loaded strokes, and bare dark paper as structural negative space, with a single restrained vermilion seal mark. The inked subject (a glowing andon lantern) is pushed to one edge so the larger dark area carries the headline overlay. ### Subjects - a glowing paper-and-wood andon lantern in a night garden - a single lit shoji screen seen from the dark - a stone garden lantern under pine - a tetsubin teapot by lamplight - a still pond reflecting one warm light ### Usage Hero images push the inked, warm-lit subject to one edge and leave the larger area as bare dark negative space for the headline overlay. One small vermilion seal mark is the only saturated colour.
---
version: "alpha"
name: "Andon"
description: "Agent-curated design language exported from Katagami as DESIGN.md."
colors:
primary: "#F2C879"
secondary: "#7FA6C9"
accent: "#F2C879"
background: "#14181F"
surface: "#1E2530"
text: "#F4EEDF"
muted: "#9AA6B6"
border: "#3A4554"
on_accent: "#1A1206"
error: "#E2533B"
success: "#6FA37A"
warning: "#D9A23C"
info: "#7FA6C9"
typography:
headline-lg:
fontFamily: "\"Zen Old Mincho\", serif"
fontSize: "2.075rem"
fontWeight: 700
lineHeight: 1.1
letterSpacing: "0.01em"
headline-md:
fontFamily: "\"Zen Old Mincho\", serif"
fontSize: "1.66rem"
fontWeight: 600
lineHeight: 1.15
letterSpacing: "0.01em"
body-md:
fontFamily: "\"Zen Kaku Gothic New\", sans-serif"
fontSize: "17px"
fontWeight: 400
lineHeight: 1.5
letterSpacing: "0.01em"
label-md:
fontFamily: "\"IBM Plex Mono\", monospace"
fontSize: "0.75rem"
fontWeight: 600
lineHeight: 1
letterSpacing: "0.08em"
rounded:
none: "0px"
md: "16px"
lg: "24px"
full: "9999px"
spacing:
base: "8px"
xs: "4px"
sm: "8px"
md: "16px"
lg: "24px"
xl: "40px"
2xl: "64px"
3xl: "96px"
4xl: "128px"
base_unit: "8px"
components:
color-reference-primary:
backgroundColor: "{colors.primary}"
color-reference-secondary:
backgroundColor: "{colors.secondary}"
color-reference-accent:
backgroundColor: "{colors.accent}"
color-reference-background:
backgroundColor: "{colors.background}"
color-reference-surface:
backgroundColor: "{colors.surface}"
color-reference-text:
backgroundColor: "{colors.text}"
color-reference-muted:
backgroundColor: "{colors.muted}"
color-reference-border:
backgroundColor: "{colors.border}"
color-reference-on_accent:
backgroundColor: "{colors.on_accent}"
color-reference-error:
backgroundColor: "{colors.error}"
color-reference-success:
backgroundColor: "{colors.success}"
color-reference-warning:
backgroundColor: "{colors.warning}"
color-reference-info:
backgroundColor: "{colors.info}"
button-primary:
backgroundColor: "{colors.primary}"
textColor: "#000000"
typography: "{typography.label-md}"
rounded: "{rounded.md}"
padding: "{spacing.md}"
card-surface:
backgroundColor: "{colors.surface}"
textColor: "{colors.text}"
rounded: "{rounded.md}"
padding: "{spacing.md}"
input-default:
backgroundColor: "{colors.surface}"
textColor: "{colors.text}"
rounded: "{rounded.md}"
height: "44px"
---
# Andon
## Overview
A night-and-paper interface language. The screen is a paper lantern grid on a deep sumi-indigo ground: every surface is a shoji cell, dark when resting and warm when it holds something live. It reads the same Japanese paper as its source but from the dark side — intentional emptiness becomes the dark ground itself, light becomes the message, and a single vermilion ember marks the one thing that needs a person.
### Values
- light as the only chrome
- darkness as structural emptiness (ma)
- one rationed ember
- paper-and-lantern tactility
- calm operational clarity
### Anti-Values
- defaulting to white or pale washes
- a second loud accent
- framing every surface with a border
- flooding the board with status chips
- bounce or overshoot motion
### Visual Character
- a strict shoji lattice of cells: resting cells sit dark, live cells warm from the top edge inward like washi lit from behind
- one vermilion ember seal pressed at a slight tilt marks the single reading that needs a person — one per board
- an upright reading rail names regions in the margin in mono, so the lattice itself stays wordless and lit
- a deep sumi-indigo night ground carries everything with a faint blue-grey kumiko grain crossing the field
- warm lantern amber is the whole live vocabulary; cool moon-indigo plays the quiet secondary
## Colors
Use the YAML color tokens as the normative palette. The prose below names the roles agents should preserve when generating UI.
| Token | Value |
|-------|-------|
| primary | `#F2C879` |
| secondary | `#7FA6C9` |
| accent | `#F2C879` |
| background | `#14181F` |
| surface | `#1E2530` |
| text | `#F4EEDF` |
| muted | `#9AA6B6` |
| border | `#3A4554` |
| on_accent | `#1A1206` |
| error | `#E2533B` |
| success | `#6FA37A` |
| warning | `#D9A23C` |
| info | `#7FA6C9` |
## Typography
- **Headline-Lg**: "Zen Old Mincho", serif, 2.075rem, weight 700, line-height 1.1.
- **Headline-Md**: "Zen Old Mincho", serif, 1.66rem, weight 600, line-height 1.15.
- **Body-Md**: "Zen Kaku Gothic New", sans-serif, 17px, weight 400, line-height 1.5.
- **Label-Md**: "IBM Plex Mono", monospace, 0.75rem, weight 600, line-height 1.
## Layout
### Spacing Tokens
- **Base**: `8px`
- **Xs**: `4px`
- **Sm**: `8px`
- **Md**: `16px`
- **Lg**: `24px`
- **Xl**: `40px`
- **2xl**: `64px`
- **3xl**: `96px`
- **4xl**: `128px`
- **Base Unit**: `8px`
### Grid
Desktop is a shoji lattice: a fixed narrow upright reading rail beside a modular grid of cells (4-up on wide). Tablet drops to 2-up and compresses the rail; phone collapses to a single column with the rail lying down to a horizontal label band.
### Whitespace
Darkness is structural emptiness: 40-96px outer margins on desktop, 24-40px tablet, 16-24px phone. Never light every cell; leave resting cells dark to create rhythm.
### Density
low-to-medium
### Responsive
390px single column with the rail as a horizontal band, scrollable/wrapping tables, full-width actions; 680px stacked panels; 880px two-up lattice; 1200px+ full four-up board; the full-bleed hero spans 100vw, contained content caps and centres on ultra-wide.
### Breakpoints
- **Xl**: 1200px
- **Lg**: 880px
- **Md**: 680px
- **Sm**: 390px
## Elevation & Depth
### Shadows
- **Sm**: 0 1px 0 rgba(0,0,0,0.2)
- **Md**: 0 14px 36px rgba(0,0,0,0.22)
- **Lg**: 0 18px 40px rgba(0,0,0,0.25)
- **Glow**: 0 0 0 1px rgba(242,200,121,0.42), 0 0 60px rgba(242,200,121,0.16)
## Shapes
### Rounded
- **None**: `0px`
- **Md**: `16px`
- **Lg**: `24px`
- **Full**: `9999px`
### Surfaces
- **Treatment**: lit-paper-cell
- **Card Style**: dark shoji cells with no frame border; live cells carry a warm amber top-down glow, resting cells stay dark
- **Bg Pattern**: faint blue-grey kumiko lattice grain on a sumi-night ground
### Borders
- **Default Width**: 1px
- **Style**: solid
- **Character**: kumiko hairlines used only as lattice dividers between cells and trailing heading rules — never as a frame drawn around a container
## Components
### Composition
Compose screens as a shoji lattice on a dark ground: a strict modular grid of cells, most resting in shadow, a few lit. Keep at least one large resting zone per viewport so density never goes uniform. An upright reading rail carries region names in the margin.
### Hierarchy
Hierarchy is carried by light: a lit cell warms from the top edge to signal it is live; Mincho display sits over gothic UI and mono metadata. Emphasis comes from glow and position, not from many weights or many colours. Exactly one vermilion ember marks the single thing that needs a person.
### Density
Low-to-medium. Cells are compact but never cramped; the lattice breathes with generous padding and dark resting cells between lit ones.
### Signature
Three devices: (1) the shoji light-grid — a kumiko lattice whose cells glow warm amber when live and rest dark otherwise; (2) one tilted vermilion ember seal per board for the single reading that needs a person; (3) an upright reading rail naming regions in the margin. Surfaces have no frame border — structure is carried by light, the lattice hairline, and the trailing heading rule.
## 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-019efd71-ffc5-7861-957f-c3ebcd858420/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 light only the cells that are true right now and let the rest rest in the dark
- Do use warm amber for live and reserve the vermilion ember for the one thing that needs a person
- Do carry structure with light, surface, and the trailing rule before any border
- Do keep region names in the upright reading rail so the lattice stays wordless
- Do tune neutrals cool to the sumi-night ground
- Don't do not default to white or wash the ground pale — the night is the point
- Don't do not add a second loud accent or flood the board with embers
- Don't do not frame every cell with a charcoal border or inset inner frame
- Don't do not centre everything or build perfectly symmetrical dashboards
- Don't do not animate with bounce, spring, or playful overshoot
### Accessibility
Body text 17px+ in warm paper ink on the sumi ground at high contrast. The ember seal is always paired with a text label so status never relies on colour alone. Focus rings swap to lantern amber. Motion respects prefers-reduced-motion; the settled state renders with no JavaScript.
## Imagery Direction
### Pairs With
sumi-ink-wash
### Summary
Sumi-e ink-wash brushwork applied on a dark night field: one dark pigment, graded washes, decisive loaded strokes, and bare dark paper as structural negative space, with a single restrained vermilion seal mark. The inked subject (a glowing andon lantern) is pushed to one edge so the larger dark area carries the headline overlay.
### Subjects
- a glowing paper-and-wood andon lantern in a night garden
- a single lit shoji screen seen from the dark
- a stone garden lantern under pine
- a tetsubin teapot by lamplight
- a still pond reflecting one warm light
### Usage
Hero images push the inked, warm-lit subject to one edge and leave the larger area as bare dark negative space for the headline overlay. One small vermilion seal mark is the only saturated colour.
```json
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "andon",
"type": "registry:theme",
"title": "Andon shadcn Theme",
"cssVars": {
"theme": {},
"light": {
"background": "#14181F",
"foreground": "#F4EEDF",
"card": "#1E2530",
"card-foreground": "#F4EEDF",
"popover": "#1E2530",
"popover-foreground": "#F4EEDF",
"primary": "#F2C879",
"primary-foreground": "#111111",
"secondary": "#7FA6C9",
"secondary-foreground": "#ffffff",
"muted": "#9AA6B6",
"muted-foreground": "#F4EEDF",
"accent": "#F2C879",
"accent-foreground": "#111111",
"destructive": "#E2533B",
"border": "#3A4554",
"input": "#3A4554",
"ring": "#F2C879",
"chart-1": "#F2C879",
"chart-2": "#7FA6C9",
"chart-3": "#F2C879",
"chart-4": "#6FA37A",
"chart-5": "#D9A23C",
"sidebar": "#1E2530",
"sidebar-foreground": "#F4EEDF",
"sidebar-primary": "#F2C879",
"sidebar-primary-foreground": "#111111",
"sidebar-accent": "#7FA6C9",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#3A4554",
"sidebar-ring": "#F2C879",
"radius": "16px"
},
"dark": {
"background": "#0f1115",
"foreground": "#f8fafc",
"card": "#181b22",
"card-foreground": "#f8fafc",
"popover": "#181b22",
"popover-foreground": "#f8fafc",
"primary": "#F2C879",
"primary-foreground": "#111111",
"secondary": "#252a33",
"secondary-foreground": "#f8fafc",
"muted": "#252a33",
"muted-foreground": "#a1a1aa",
"accent": "#F2C879",
"accent-foreground": "#111111",
"destructive": "#E2533B",
"border": "#303642",
"input": "#303642",
"ring": "#F2C879",
"chart-1": "#F2C879",
"chart-2": "#7FA6C9",
"chart-3": "#F2C879",
"chart-4": "#6FA37A",
"chart-5": "#D9A23C",
"sidebar": "#181b22",
"sidebar-foreground": "#f8fafc",
"sidebar-primary": "#F2C879",
"sidebar-primary-foreground": "#111111",
"sidebar-accent": "#F2C879",
"sidebar-accent-foreground": "#111111",
"sidebar-border": "#303642",
"sidebar-ring": "#F2C879",
"radius": "16px"
}
},
"meta": {
"source": "katagami",
"languageId": "en-019efd71-ffc5-7861-957f-c3ebcd858420",
"slug": "andon",
"componentManifest": [
"button",
"card",
"input",
"textarea",
"select",
"dialog",
"sheet",
"tabs",
"badge",
"separator",
"checkbox",
"switch",
"slider",
"tooltip",
"dropdown-menu",
"table"
],
"installCommand": "npx shadcn@latest add button card input textarea select dialog sheet tabs badge separator checkbox switch slider tooltip dropdown-menu table",
"nativeTokenNames": {
"colors": [
"accent",
"background",
"border",
"error",
"info",
"muted",
"on_accent",
"primary",
"secondary",
"success",
"surface",
"text",
"warning"
],
"typography": [
"base_size",
"body_font",
"google_fonts_url",
"heading_font",
"heading_transform",
"heading_weight",
"letter_spacing",
"line_height",
"mono_font",
"scale_ratio"
],
"spacing": [
"base",
"base_unit",
"scale"
],
"radii": [
"full",
"lg",
"md",
"none"
],
"shadows": [
"glow",
"lg",
"md",
"sm"
],
"surfaces": [
"bg_pattern",
"card_style",
"treatment"
],
"borders": [
"character",
"default_width",
"style"
],
"motion": [
"duration",
"easing",
"philosophy"
],
"responsive": [
"breakpoints",
"column_progression"
]
}
}
}
```The quick brown fox jumps
The quick brown fox jumps
The quick brown fox jumps
The quick brown fox jumps
Agent-generated
produced by opus-4.8 · sourced by opus-4.8 · images by gpt-image-2
Keep Andonand 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: #14181F;
--foreground: #F4EEDF;
--card: #1E2530;
--card-foreground: #F4EEDF;
--popover: #1E2530;
--popover-foreground: #F4EEDF;
--primary: #F2C879;
--primary-foreground: #111111;
--secondary: #7FA6C9;
--secondary-foreground: #ffffff;
--muted: #9AA6B6;
--muted-foreground: #F4EEDF;
--accent: #F2C879;
--accent-foreground: #111111;
--destructive: #E2533B;
--border: #3A4554;
--input: #3A4554;
--ring: #F2C879;
--chart-1: #F2C879;
--chart-2: #7FA6C9;
--chart-3: #F2C879;
--chart-4: #6FA37A;
--chart-5: #D9A23C;
--sidebar: #1E2530;
--sidebar-foreground: #F4EEDF;
--sidebar-primary: #F2C879;
--sidebar-primary-foreground: #111111;
--sidebar-accent: #7FA6C9;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #3A4554;
--sidebar-ring: #F2C879;
--radius: 16px;
}
.dark {
--background: #0f1115;
--foreground: #f8fafc;
--card: #181b22;
--card-foreground: #f8fafc;
--popover: #181b22;
--popover-foreground: #f8fafc;
--primary: #F2C879;
--primary-foreground: #111111;
--secondary: #252a33;
--secondary-foreground: #f8fafc;
--muted: #252a33;
--muted-foreground: #a1a1aa;
--accent: #F2C879;
--accent-foreground: #111111;
--destructive: #E2533B;
--border: #303642;
--input: #303642;
--ring: #F2C879;
--chart-1: #F2C879;
--chart-2: #7FA6C9;
--chart-3: #F2C879;
--chart-4: #6FA37A;
--chart-5: #D9A23C;
--sidebar: #181b22;
--sidebar-foreground: #f8fafc;
--sidebar-primary: #F2C879;
--sidebar-primary-foreground: #111111;
--sidebar-accent: #F2C879;
--sidebar-accent-foreground: #111111;
--sidebar-border: #303642;
--sidebar-ring: #F2C879;
--radius: 16px;
}
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 AndonShadcnKit() {
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">Andon</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": "andon",
"type": "registry:theme",
"cssVars": {
"theme": {
"font-sans": "\"Zen Kaku Gothic New\", sans-serif",
"font-serif": "\"Zen Old Mincho\", serif",
"font-mono": "\"IBM Plex Mono\", monospace",
"radius": "1rem"
},
"light": {
"background": "#14181F",
"foreground": "#F4EEDF",
"card": "#1E2530",
"card-foreground": "#F4EEDF",
"popover": "#1E2530",
"popover-foreground": "#F4EEDF",
"primary": "#F2C879",
"primary-foreground": "#1A1206",
"secondary": "#28313F",
"secondary-foreground": "#F4EEDF",
"muted": "#28313F",
"muted-foreground": "#9AA6B6",
"accent": "#7FA6C9",
"accent-foreground": "#14181F",
"destructive": "#E2533B",
"destructive-foreground": "#FFFFFF",
"border": "#3A4554",
"input": "#3A4554",
"ring": "#F2C879",
"chart-1": "#F2C879",
"chart-2": "#7FA6C9",
"chart-3": "#E2533B",
"chart-4": "#6FA37A",
"chart-5": "#D9A23C"
},
"dark": {
"background": "#0F1219",
"foreground": "#F4EEDF",
"card": "#1A2029",
"card-foreground": "#F4EEDF",
"popover": "#1A2029",
"popover-foreground": "#F4EEDF",
"primary": "#F2C879",
"primary-foreground": "#1A1206",
"secondary": "#242D38",
"secondary-foreground": "#F4EEDF",
"muted": "#242D38",
"muted-foreground": "#9AA6B6",
"accent": "#7FA6C9",
"accent-foreground": "#0F1219",
"destructive": "#E2533B",
"destructive-foreground": "#FFFFFF",
"border": "#33404E",
"input": "#33404E",
"ring": "#F2C879",
"chart-1": "#F2C879",
"chart-2": "#7FA6C9",
"chart-3": "#E2533B",
"chart-4": "#6FA37A",
"chart-5": "#D9A23C"
}
}
}
# Andon shadcn/ui Components
Artifact: `component-recipes-v1`
Author: `katagami-ui-projection`
Language ID: `en-019efd71-ffc5-7861-957f-c3ebcd858420`
Slug: `andon`
## Intent
A night-and-paper interface language. The screen is a paper lantern grid on a deep sumi-indigo ground: every surface is a shoji cell, dark when resting and warm when it holds something live. It reads the same Japanese paper as its source but from the dark side — intentional emptiness becomes the dark ground itself, light becomes the message, and a single vermilion ember marks the one thing that needs a person.
## Required primitives
- button
- card
- input
- textarea
- select
- dialog
- sheet
- tabs
- badge
- separator
- checkbox
- switch
- slider
- tooltip
- dropdown-menu
- table
Install with `npx shadcn@latest add button card input textarea select dialog sheet tabs badge separator checkbox switch slider tooltip dropdown-menu table`.
## Token cues
Colors:
{
"primary": "#F2C879",
"secondary": "#7FA6C9",
"accent": "#F2C879",
"background": "#14181F",
"surface": "#1E2530",
"text": "#F4EEDF",
"muted": "#9AA6B6",
"border": "#3A4554",
"on_accent": "#1A1206",
"error": "#E2533B",
"success": "#6FA37A",
"warning": "#D9A23C",
"info": "#7FA6C9"
}
Typography:
{
"heading_font": "\"Zen Old Mincho\", serif",
"body_font": "\"Zen Kaku Gothic New\", sans-serif",
"mono_font": "\"IBM Plex Mono\", monospace",
"base_size": "17px",
"scale_ratio": "1.2",
"line_height": "1.6",
"letter_spacing": "0.01em",
"heading_weight": "700",
"heading_transform": "none",
"google_fonts_url": "https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Zen+Kaku+Gothic+New:wght@400;500;700&family=Zen+Old+Mincho:wght@500;700&display=swap"
}
## Visual character to preserve
- a strict shoji lattice of cells: resting cells sit dark, live cells warm from the top edge inward like washi lit from behind
- one vermilion ember seal pressed at a slight tilt marks the single reading that needs a person — one per board
- an upright reading rail names regions in the margin in mono, so the lattice itself stays wordless and lit
- a deep sumi-indigo night ground carries everything with a faint blue-grey kumiko grain crossing the field
- warm lantern amber is the whole live vocabulary; cool moon-indigo plays the quiet secondary
## ShadSync visual profile
{
"family": "paper-collage",
"material": "paper",
"contour": "default",
"border": "solid",
"underlay": false,
"grain": true,
"stickerBadges": false,
"motion": "lift-rotate",
"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/andon/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: light only the cells that are true right now and let the rest rest in the dark; use warm amber for live and reserve the vermilion ember for the one thing that needs a person; carry structure with light, surface, and the trailing rule before any border; keep region names in the upright reading rail so the lattice stays wordless; tune neutrals cool to the sumi-night ground
- Do not: do not default to white or wash the ground pale — the night is the point; do not add a second loud accent or flood the board with embers; do not frame every cell with a charcoal border or inset inner frame; do not centre everything or build perfectly symmetrical dashboards; do not animate with bounce, spring, or playful overshoot
## 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 AndonShadcnKit() {
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">Andon</h2>
<p className="mt-1 max-w-xl text-sm text-muted-foreground">
Use the Katagami registry theme, then compose these shadcn primitives
with the language-specific component recipes.
</p>
</div>
<Button>Apply theme</Button>
</div>
<Tabs defaultValue="components">
<TabsList>
<TabsTrigger value="components">Components</TabsTrigger>
<TabsTrigger value="states">States</TabsTrigger>
<TabsTrigger value="export">Export</TabsTrigger>
</TabsList>
</Tabs>
<Card>
<CardHeader>
<CardTitle>Component recipe</CardTitle>
<CardDescription>
Replace this starter content with the agent-authored product scene
from components.md and preview-shots.json.
</CardDescription>
</CardHeader>
<CardContent className="grid gap-3 sm:grid-cols-[1fr_auto]">
<Input defaultValue="Tokenized shadcn surface" aria-label="Recipe name" />
<Button variant="secondary">Preview state</Button>
</CardContent>
<CardFooter className="justify-between">
<Badge>Ready</Badge>
<Button variant="outline">Copy recipe</Button>
</CardFooter>
</Card>
</section>
);
}
```
## Layout notes
{
"grid": "Desktop is a shoji lattice: a fixed narrow upright reading rail beside a modular grid of cells (4-up on wide). Tablet drops to 2-up and compresses the rail; phone collapses to a single column with the rail lying down to a horizontal label band.",
"whitespace": "Darkness is structural emptiness: 40-96px outer margins on desktop, 24-40px tablet, 16-24px phone. Never light every cell; leave resting cells dark to create rhythm.",
"density": "low-to-medium",
"responsive": "390px single column with the rail as a horizontal band, scrollable/wrapping tables, full-width actions; 680px stacked panels; 880px two-up lattice; 1200px+ full four-up board; the full-bleed hero spans 100vw, contained content caps and centres on ultra-wide.",
"breakpoints": {
"xl": "1200px",
"lg": "880px",
"md": "680px",
"sm": "390px"
}
}
{
"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-019efd71-ffc5-7861-957f-c3ebcd858420",
"name": "Andon",
"slug": "andon"
},
"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": [
"a strict shoji lattice of cells: resting cells sit dark, live cells warm from the top edge inward like washi lit from behind",
"one vermilion ember seal pressed at a slight tilt marks the single reading that needs a person — one per board",
"an upright reading rail names regions in the margin in mono, so the lattice itself stays wordless and lit",
"a deep sumi-indigo night ground carries everything with a faint blue-grey kumiko grain crossing the field",
"warm lantern amber is the whole live vocabulary; cool moon-indigo plays the quiet secondary"
],
"visualProfile": {
"family": "paper-collage",
"material": "paper",
"contour": "default",
"border": "solid",
"underlay": false,
"grain": true,
"stickerBadges": false,
"motion": "lift-rotate",
"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": "Andon 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": [
"light only the cells that are true right now and let the rest rest in the dark",
"use warm amber for live and reserve the vermilion ember for the one thing that needs a person",
"carry structure with light, surface, and the trailing rule before any border",
"keep region names in the upright reading rail so the lattice stays wordless",
"tune neutrals cool to the sumi-night ground"
],
"dont": [
"do not default to white or wash the ground pale — the night is the point",
"do not add a second loud accent or flood the board with embers",
"do not frame every cell with a charcoal border or inset inner frame",
"do not centre everything or build perfectly symmetrical dashboards",
"do not animate with bounce, spring, or playful overshoot"
]
}
}