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.
Keep the interface scene-specific — a fictional drafting-counter inventory for precision stationery, not a generic dashboard or component inventory. Register every working surface to a blueprint cross-hatch grid and align items to it. Put SKUs, prices, and par counts on engraved brass index-plates with mono numerals. Open sections with a title-block (index chip, grotesque heading, dashed rule, drafting stamp). Limit accents to blueprint cyan, brass, and graphite-red; keep colour on plates and small marks, never large fields. Use the ink drafting board and the cross-hatch grid as structural identity so the system survives palette swaps.
Space Grotesk carries display and body with engineered squareness; Spline Sans Mono carries all metadata — SKUs, prices, par levels, index chips, stamps — uppercase and wide-tracked. Title-blocks and active tabs provide wayfinding before colour-filled buttons. Tables are ruled like inventory sheets while cards stay airy on the grid.
Comfortable counter browsing by default with one dense ledger; metadata clusters on plates sit tight while sections breathe at 64-96px.
Engraved brass index-plate badges with a countersunk screw and mono numerals; a blueprint cross-hatch registration field behind every surface; a corner registration crosshair revealed on hover; title-block section headers with a dashed rule and drafting stamp; and a 240ms snap-to-grid lift/press across cards and controls.
12 columns desktop, max-width 1280px; working content sits inside registration fields carrying the cross-hatch; a featured wide drawer spans 8 of 12 to break even rows; 16px gutters.
Outer margins generous like a drawing border; metadata clusters tight on plates. Surface padding 24-48px; major scene bands separated by 64-96px.
comfortable
Desktop is a full drafting counter with an open index-rail; tablet drops the rail to a horizontal index and stacks the grid to one or two columns; mobile is a single-column flow that hides the aisle/par columns and secondary nav, never overflowing horizontally.
tagboard
Tagboard tagged flat-lay product photography reinterpreted onto the ink drafting board: precision stationery instruments shot top-down on a deep ink-blue blueprint ground with a fine cyan cross-hatch, soft crisp studio light, annotated with clipped paper index-tags and brass-rimmed stickers carrying terse mono labels, the instruments and their tags filling the frame in tidy registration-row order, accent reserved to the tags and small color blocks.
One full-bleed tagged drafting flat-lay hero per landing on the ink blueprint ground, composed so a measured cartouche can sit over the left; smaller instruments as feature splits and spot product shots.
# Hatchwork ## Philosophy Hatchwork runs the bungu (stationery) counter like a draftsman's table rather than a bright retail shelf. The ground is a deep ink-blue drafting board carrying a fine blueprint cross-hatch; stock is registered to that grid, and the metadata that would be a soft paper price-tag elsewhere is here an engraved brass index-plate with a countersunk screw. The same precision-stationery world, run with the discipline of a measured drawing: ink board, registration grid, brass plates, snap-to-crosshair handling. ### Values - Registration over arrangement: every surface sits on a blueprint cross-hatch and items align to it, never floating. - Engraved metadata: SKUs, prices, and par counts ride on milled brass index-plates with mono numerals, not soft chips. - Drafting clarity: codes, par levels, and stock states read as exact as a dimensioned drawing. - Snap handling: picking an item up marks a registration crosshair on a 240ms snap, no bounce. - Engineered restraint: a deep ink ground with three highlighter accents, nothing competing for attention. - Title-block wayfinding: sections open with an index chip, heading, dashed rule, and a drafting stamp. ### Anti-Values - Warm-paper or white retail shelf grounds that drop the ink drafting-board identity. - Soft paper price-tags, aisle rails, or a serif display face. - Rainbow maximalism or saturated background fields; accents stay on plates and small marks. - Boxed-in floating nav pills; the masthead and rail must sit open. - Decorative or bouncy motion; the snap is functional registration only. ### Visual Character - A deep ink-blue drafting board (#10141C) under a faint cyan cross-hatch grid sits behind flat ink surfaces, so the page reads as a lit drawing sheet rather than a white SaaS panel or a warm-paper shelf. - Section headers are title-blocks: a mono index chip, a grotesque heading, a dashed registration rule, and a drafting stamp (Rev. C, sheet n of m) — wayfinding by drawing convention, not an aisle rail. - Metadata badges are engraved brass index-plates: a milled gradient body with a countersunk screw rendered by a pseudo-element, carrying Spline Sans Mono numerals that recolour by role. - Working surfaces carry the fine cross-hatch field; cards align to it and reveal a corner registration crosshair on hover, never a one-sided border on a rounded component. - Interactions snap with a 240ms cubic-bezier(0.16,1,0.3,1) lift and a 1px press, marking registration like lifting an instrument off a drawing board. ## Tokens ### Colors | Name | Value | |------|-------| | bg | `#10141C` | | surface | `#161B26` | | surface_2 | `#1C2230` | | sunk | `#0C0F16` | | text | `#E9EEF6` | | muted | `#8B97AC` | | faint | `#5A6577` | | border | `#283246` | | hairline | `rgba(120,150,200,0.13)` | | grid | `rgba(91,208,224,0.10)` | | accent | `#5BD0E0` | | accent_2 | `#D9A441` | | accent_3 | `#E2604C` | | on_accent | `#0C0F16` | | cyan_wash | `rgba(91,208,224,0.12)` | | brass_wash | `rgba(217,164,65,0.14)` | | red_wash | `rgba(226,96,76,0.13)` | | success | `#52C08A` | | warning | `#D9A441` | | error | `#E2604C` | | info | `#5BD0E0` | ### Typography - **Base Size**: 17px - **Body Font**: Space Grotesk - **Heading Font**: Space Grotesk - **Mono Font**: Spline Sans Mono - **Heading Weight**: 600 - **Heading Transform**: none - **Letter Spacing**: -0.02em - **Google Fonts Url**: https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Spline+Sans+Mono:wght@400;500;600;700&display=swap ### Radii - **None**: 0px - **Sm**: 0px - **Md**: 16px - **Lg**: 16px - **Default**: 0px - **Full**: 9999px ### Shadows - **Sm**: 0 1px 0 rgba(0,0,0,0.4) - **Md**: 0 12px 30px rgba(0,0,0,0.45) - **Lg**: 0 26px 60px rgba(0,0,0,0.55) - **Inset**: inset 0 1px 0 rgba(255,255,255,0.04) ### Spacing - **Base**: 4px - **Scale**: [4,8,12,16,24,32,48,64,96] ### Surfaces - **Treatment**: deep ink-blue drafting board under a faint cyan cross-hatch grid, flat ink surfaces with inset top-light, no gradients on chrome - **Card Style**: flat ink sheet on the cross-hatch field, hard 0px corners, soft shadow + inset top-light, no border, corner crosshair on hover - **Bg Pattern**: fine cyan cross-hatch grid at 26px on the page and 13px behind working surfaces ### Borders - **Default Width**: 0 - **Accent Width**: 2px - **Style**: none - **Character**: No borders on cards — separation is soft shadow, sunk wells, and the cross-hatch field. The only colour edge is the dashed registration rule in a section title-block and the 2px cyan focus ring on controls. ### Motion - **Duration**: 240ms - **Easing**: cubic-bezier(0.16,1,0.3,1) - **Philosophy**: snap-to-grid drafting handling: cards lift 3px, buttons press 1px, a registration crosshair marks pick-up, no bounce ## Rules ### Composition Keep the interface scene-specific — a fictional drafting-counter inventory for precision stationery, not a generic dashboard or component inventory. Register every working surface to a blueprint cross-hatch grid and align items to it. Put SKUs, prices, and par counts on engraved brass index-plates with mono numerals. Open sections with a title-block (index chip, grotesque heading, dashed rule, drafting stamp). Limit accents to blueprint cyan, brass, and graphite-red; keep colour on plates and small marks, never large fields. Use the ink drafting board and the cross-hatch grid as structural identity so the system survives palette swaps. ### Hierarchy Space Grotesk carries display and body with engineered squareness; Spline Sans Mono carries all metadata — SKUs, prices, par levels, index chips, stamps — uppercase and wide-tracked. Title-blocks and active tabs provide wayfinding before colour-filled buttons. Tables are ruled like inventory sheets while cards stay airy on the grid. ### Density Comfortable counter browsing by default with one dense ledger; metadata clusters on plates sit tight while sections breathe at 64-96px. ### Signature Engraved brass index-plate badges with a countersunk screw and mono numerals; a blueprint cross-hatch registration field behind every surface; a corner registration crosshair revealed on hover; title-block section headers with a dashed rule and drafting stamp; and a 240ms snap-to-grid lift/press across cards and controls. ## Layout ### Grid 12 columns desktop, max-width 1280px; working content sits inside registration fields carrying the cross-hatch; a featured wide drawer spans 8 of 12 to break even rows; 16px gutters. ### Whitespace Outer margins generous like a drawing border; metadata clusters tight on plates. Surface padding 24-48px; major scene bands separated by 64-96px. ### Density comfortable ### Responsive Desktop is a full drafting counter with an open index-rail; tablet drops the rail to a horizontal index and stacks the grid to one or two columns; mobile is a single-column flow that hides the aisle/par columns and secondary nav, never overflowing horizontally. ### Breakpoints - **Desktop**: 1440 - **Tablet**: 900 - **Mobile**: 560 ## Guidance ### Do - Register every surface to the cross-hatch grid and align items to it. - Put SKUs, prices, and par counts on brass index-plates with mono numerals. - Open sections with a title-block: index chip, heading, dashed rule, drafting stamp. - Keep cyan for the live/primary line, brass for codes and low-stock, graphite-red for alerts only. - Style every control explicitly — sunk wells with a 2px cyan focus ring. - Keep the masthead and index-rail open; build hierarchy with space, type, and surface. ### Don't - Do not fall back to a warm-paper or white shelf ground. - Do not use soft paper chips, aisle rails, or a serif display face. - Do not flood surfaces with saturated colour; accents stay on plates and small marks. - Do not box the nav into a floating pill bar. - Do not add bounce or decorative motion; the snap is functional registration. - Do not leave native browser select, checkbox, or radio styling visible. ### Accessibility - **Contrast**: AA contrast for body text and controls on the ink ground - **Focus**: 2px blueprint-cyan focus ring, inset offset, on every control - **Color**: category and state always include text, never colour alone - **Motion**: prefers-reduced-motion disables all transforms and reveals ## Imagery Direction ### Pairs With tagboard ### Summary Tagboard tagged flat-lay product photography reinterpreted onto the ink drafting board: precision stationery instruments shot top-down on a deep ink-blue blueprint ground with a fine cyan cross-hatch, soft crisp studio light, annotated with clipped paper index-tags and brass-rimmed stickers carrying terse mono labels, the instruments and their tags filling the frame in tidy registration-row order, accent reserved to the tags and small color blocks. ### Subjects - a drafting-instrument flat-lay (pencils, scale, protractor, leads) - a single mechanical pencil - a folded sheet of blueprint grid paper - a brass protractor - a tray of refill leads ### Usage One full-bleed tagged drafting flat-lay hero per landing on the ink blueprint ground, composed so a measured cartouche can sit over the left; smaller instruments as feature splits and spot product shots.
---
version: "alpha"
name: "Hatchwork"
description: "Agent-curated design language exported from Katagami as DESIGN.md."
colors:
bg: "#10141C"
surface: "#161B26"
surface_2: "#1C2230"
sunk: "#0C0F16"
text: "#E9EEF6"
muted: "#8B97AC"
faint: "#5A6577"
border: "#283246"
accent: "#5BD0E0"
accent_2: "#D9A441"
accent_3: "#E2604C"
on_accent: "#0C0F16"
success: "#52C08A"
warning: "#D9A441"
error: "#E2604C"
info: "#5BD0E0"
typography:
headline-lg:
fontFamily: "Space Grotesk"
fontSize: "2.075rem"
fontWeight: 700
lineHeight: 1.1
letterSpacing: "-0.02em"
headline-md:
fontFamily: "Space Grotesk"
fontSize: "1.66rem"
fontWeight: 600
lineHeight: 1.15
letterSpacing: "-0.02em"
body-md:
fontFamily: "Space Grotesk"
fontSize: "17px"
fontWeight: 400
lineHeight: 1.5
letterSpacing: "-0.02em"
label-md:
fontFamily: "Spline Sans Mono"
fontSize: "0.75rem"
fontWeight: 600
lineHeight: 1
letterSpacing: "0.08em"
rounded:
none: "0px"
sm: "0px"
md: "16px"
lg: "16px"
default: "0px"
full: "9999px"
spacing:
base: "4px"
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-sunk:
backgroundColor: "{colors.sunk}"
color-reference-text:
backgroundColor: "{colors.text}"
color-reference-muted:
backgroundColor: "{colors.muted}"
color-reference-faint:
backgroundColor: "{colors.faint}"
color-reference-border:
backgroundColor: "{colors.border}"
color-reference-accent:
backgroundColor: "{colors.accent}"
color-reference-accent_2:
backgroundColor: "{colors.accent_2}"
color-reference-accent_3:
backgroundColor: "{colors.accent_3}"
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"
---
# Hatchwork
## Overview
Hatchwork runs the bungu (stationery) counter like a draftsman's table rather than a bright retail shelf. The ground is a deep ink-blue drafting board carrying a fine blueprint cross-hatch; stock is registered to that grid, and the metadata that would be a soft paper price-tag elsewhere is here an engraved brass index-plate with a countersunk screw. The same precision-stationery world, run with the discipline of a measured drawing: ink board, registration grid, brass plates, snap-to-crosshair handling.
### Values
- Registration over arrangement: every surface sits on a blueprint cross-hatch and items align to it, never floating.
- Engraved metadata: SKUs, prices, and par counts ride on milled brass index-plates with mono numerals, not soft chips.
- Drafting clarity: codes, par levels, and stock states read as exact as a dimensioned drawing.
- Snap handling: picking an item up marks a registration crosshair on a 240ms snap, no bounce.
- Engineered restraint: a deep ink ground with three highlighter accents, nothing competing for attention.
- Title-block wayfinding: sections open with an index chip, heading, dashed rule, and a drafting stamp.
### Anti-Values
- Warm-paper or white retail shelf grounds that drop the ink drafting-board identity.
- Soft paper price-tags, aisle rails, or a serif display face.
- Rainbow maximalism or saturated background fields; accents stay on plates and small marks.
- Boxed-in floating nav pills; the masthead and rail must sit open.
- Decorative or bouncy motion; the snap is functional registration only.
### Visual Character
- A deep ink-blue drafting board (#10141C) under a faint cyan cross-hatch grid sits behind flat ink surfaces, so the page reads as a lit drawing sheet rather than a white SaaS panel or a warm-paper shelf.
- Section headers are title-blocks: a mono index chip, a grotesque heading, a dashed registration rule, and a drafting stamp (Rev. C, sheet n of m) — wayfinding by drawing convention, not an aisle rail.
- Metadata badges are engraved brass index-plates: a milled gradient body with a countersunk screw rendered by a pseudo-element, carrying Spline Sans Mono numerals that recolour by role.
- Working surfaces carry the fine cross-hatch field; cards align to it and reveal a corner registration crosshair on hover, never a one-sided border on a rounded component.
- Interactions snap with a 240ms cubic-bezier(0.16,1,0.3,1) lift and a 1px press, marking registration like lifting an instrument off a drawing board.
## 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 | `#10141C` |
| surface | `#161B26` |
| surface_2 | `#1C2230` |
| sunk | `#0C0F16` |
| text | `#E9EEF6` |
| muted | `#8B97AC` |
| faint | `#5A6577` |
| border | `#283246` |
| accent | `#5BD0E0` |
| accent_2 | `#D9A441` |
| accent_3 | `#E2604C` |
| on_accent | `#0C0F16` |
| success | `#52C08A` |
| warning | `#D9A441` |
| error | `#E2604C` |
| info | `#5BD0E0` |
## 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**: Spline Sans Mono, 0.75rem, weight 600, line-height 1.
## Layout
### Spacing Tokens
- **Base**: `4px`
- **Xs**: `4px`
- **Sm**: `8px`
- **Md**: `12px`
- **Lg**: `16px`
- **Xl**: `24px`
- **2xl**: `32px`
- **3xl**: `48px`
- **4xl**: `64px`
- **Step-8**: `96px`
### Grid
12 columns desktop, max-width 1280px; working content sits inside registration fields carrying the cross-hatch; a featured wide drawer spans 8 of 12 to break even rows; 16px gutters.
### Whitespace
Outer margins generous like a drawing border; metadata clusters tight on plates. Surface padding 24-48px; major scene bands separated by 64-96px.
### Density
comfortable
### Responsive
Desktop is a full drafting counter with an open index-rail; tablet drops the rail to a horizontal index and stacks the grid to one or two columns; mobile is a single-column flow that hides the aisle/par columns and secondary nav, never overflowing horizontally.
### Breakpoints
- **Desktop**: 1440
- **Tablet**: 900
- **Mobile**: 560
## Elevation & Depth
### Shadows
- **Sm**: 0 1px 0 rgba(0,0,0,0.4)
- **Md**: 0 12px 30px rgba(0,0,0,0.45)
- **Lg**: 0 26px 60px rgba(0,0,0,0.55)
- **Inset**: inset 0 1px 0 rgba(255,255,255,0.04)
## Shapes
### Rounded
- **None**: `0px`
- **Sm**: `0px`
- **Md**: `16px`
- **Lg**: `16px`
- **Default**: `0px`
- **Full**: `9999px`
### Surfaces
- **Treatment**: deep ink-blue drafting board under a faint cyan cross-hatch grid, flat ink surfaces with inset top-light, no gradients on chrome
- **Card Style**: flat ink sheet on the cross-hatch field, hard 0px corners, soft shadow + inset top-light, no border, corner crosshair on hover
- **Bg Pattern**: fine cyan cross-hatch grid at 26px on the page and 13px behind working surfaces
### Borders
- **Default Width**: 0
- **Accent Width**: 2px
- **Style**: none
- **Character**: No borders on cards — separation is soft shadow, sunk wells, and the cross-hatch field. The only colour edge is the dashed registration rule in a section title-block and the 2px cyan focus ring on controls.
## Components
### Composition
Keep the interface scene-specific — a fictional drafting-counter inventory for precision stationery, not a generic dashboard or component inventory. Register every working surface to a blueprint cross-hatch grid and align items to it. Put SKUs, prices, and par counts on engraved brass index-plates with mono numerals. Open sections with a title-block (index chip, grotesque heading, dashed rule, drafting stamp). Limit accents to blueprint cyan, brass, and graphite-red; keep colour on plates and small marks, never large fields. Use the ink drafting board and the cross-hatch grid as structural identity so the system survives palette swaps.
### Hierarchy
Space Grotesk carries display and body with engineered squareness; Spline Sans Mono carries all metadata — SKUs, prices, par levels, index chips, stamps — uppercase and wide-tracked. Title-blocks and active tabs provide wayfinding before colour-filled buttons. Tables are ruled like inventory sheets while cards stay airy on the grid.
### Density
Comfortable counter browsing by default with one dense ledger; metadata clusters on plates sit tight while sections breathe at 64-96px.
### Signature
Engraved brass index-plate badges with a countersunk screw and mono numerals; a blueprint cross-hatch registration field behind every surface; a corner registration crosshair revealed on hover; title-block section headers with a dashed rule and drafting stamp; and a 240ms snap-to-grid lift/press across cards and controls.
## 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-019ef9c2-d41f-7ab3-8234-1b6e942676ca/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 Register every surface to the cross-hatch grid and align items to it.
- Do Put SKUs, prices, and par counts on brass index-plates with mono numerals.
- Do Open sections with a title-block: index chip, heading, dashed rule, drafting stamp.
- Do Keep cyan for the live/primary line, brass for codes and low-stock, graphite-red for alerts only.
- Do Style every control explicitly — sunk wells with a 2px cyan focus ring.
- Do Keep the masthead and index-rail open; build hierarchy with space, type, and surface.
- Don't Do not fall back to a warm-paper or white shelf ground.
- Don't Do not use soft paper chips, aisle rails, or a serif display face.
- Don't Do not flood surfaces with saturated colour; accents stay on plates and small marks.
- Don't Do not box the nav into a floating pill bar.
- Don't Do not add bounce or decorative motion; the snap is functional registration.
- Don't Do not leave native browser select, checkbox, or radio styling visible.
### Accessibility
- **Contrast**: AA contrast for body text and controls on the ink ground
- **Focus**: 2px blueprint-cyan focus ring, inset offset, on every control
- **Color**: category and state always include text, never colour alone
- **Motion**: prefers-reduced-motion disables all transforms and reveals
## Imagery Direction
### Pairs With
tagboard
### Summary
Tagboard tagged flat-lay product photography reinterpreted onto the ink drafting board: precision stationery instruments shot top-down on a deep ink-blue blueprint ground with a fine cyan cross-hatch, soft crisp studio light, annotated with clipped paper index-tags and brass-rimmed stickers carrying terse mono labels, the instruments and their tags filling the frame in tidy registration-row order, accent reserved to the tags and small color blocks.
### Subjects
- a drafting-instrument flat-lay (pencils, scale, protractor, leads)
- a single mechanical pencil
- a folded sheet of blueprint grid paper
- a brass protractor
- a tray of refill leads
### Usage
One full-bleed tagged drafting flat-lay hero per landing on the ink blueprint ground, composed so a measured cartouche can sit over the left; smaller instruments as feature splits and spot product shots.
```json
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "hatchwork",
"type": "registry:theme",
"title": "Hatchwork shadcn Theme",
"cssVars": {
"theme": {},
"light": {
"background": "#10141C",
"foreground": "#E9EEF6",
"card": "#161B26",
"card-foreground": "#E9EEF6",
"popover": "#161B26",
"popover-foreground": "#E9EEF6",
"primary": "#E9EEF6",
"primary-foreground": "#111111",
"secondary": "#f4f4f5",
"secondary-foreground": "#111111",
"muted": "#8B97AC",
"muted-foreground": "#E9EEF6",
"accent": "#5BD0E0",
"accent-foreground": "#ffffff",
"destructive": "#E2604C",
"border": "#283246",
"input": "#283246",
"ring": "#5BD0E0",
"chart-1": "#E9EEF6",
"chart-2": "#f4f4f5",
"chart-3": "#5BD0E0",
"chart-4": "#52C08A",
"chart-5": "#D9A441",
"sidebar": "#161B26",
"sidebar-foreground": "#E9EEF6",
"sidebar-primary": "#E9EEF6",
"sidebar-primary-foreground": "#111111",
"sidebar-accent": "#5BD0E0",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#283246",
"sidebar-ring": "#5BD0E0",
"radius": "0px"
},
"dark": {
"background": "#0f1115",
"foreground": "#f8fafc",
"card": "#181b22",
"card-foreground": "#f8fafc",
"popover": "#181b22",
"popover-foreground": "#f8fafc",
"primary": "#E9EEF6",
"primary-foreground": "#111111",
"secondary": "#252a33",
"secondary-foreground": "#f8fafc",
"muted": "#252a33",
"muted-foreground": "#a1a1aa",
"accent": "#5BD0E0",
"accent-foreground": "#ffffff",
"destructive": "#E2604C",
"border": "#303642",
"input": "#303642",
"ring": "#5BD0E0",
"chart-1": "#E9EEF6",
"chart-2": "#f4f4f5",
"chart-3": "#5BD0E0",
"chart-4": "#52C08A",
"chart-5": "#D9A441",
"sidebar": "#181b22",
"sidebar-foreground": "#f8fafc",
"sidebar-primary": "#E9EEF6",
"sidebar-primary-foreground": "#111111",
"sidebar-accent": "#5BD0E0",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#303642",
"sidebar-ring": "#5BD0E0",
"radius": "0px"
}
},
"meta": {
"source": "katagami",
"languageId": "en-019ef9c2-d41f-7ab3-8234-1b6e942676ca",
"slug": "hatchwork",
"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",
"accent_2",
"accent_3",
"bg",
"border",
"brass_wash",
"cyan_wash",
"error",
"faint",
"grid",
"hairline",
"info",
"muted",
"on_accent",
"red_wash",
"success",
"sunk",
"surface",
"surface_2",
"text",
"warning"
],
"typography": [
"base_size",
"body_font",
"google_fonts_url",
"heading_font",
"heading_transform",
"heading_weight",
"letter_spacing",
"mono_font"
],
"radii": [
"default",
"full",
"lg",
"md",
"none",
"sm"
],
"shadows": [
"inset",
"lg",
"md",
"sm"
],
"spacing": [
"base",
"scale"
],
"surfaces": [
"bg_pattern",
"card_style",
"treatment"
],
"borders": [
"accent_width",
"character",
"default_width",
"style"
],
"motion": [
"duration",
"easing",
"philosophy"
]
}
}
}
```The quick brown fox jumps
The quick brown fox jumps
The quick brown fox jumps
The quick brown fox jumps
Agent-generated
Keep Hatchworkand 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: #10141C;
--foreground: #E9EEF6;
--card: #161B26;
--card-foreground: #E9EEF6;
--popover: #161B26;
--popover-foreground: #E9EEF6;
--primary: #E9EEF6;
--primary-foreground: #111111;
--secondary: #f4f4f5;
--secondary-foreground: #111111;
--muted: #8B97AC;
--muted-foreground: #E9EEF6;
--accent: #5BD0E0;
--accent-foreground: #ffffff;
--destructive: #E2604C;
--border: #283246;
--input: #283246;
--ring: #5BD0E0;
--chart-1: #E9EEF6;
--chart-2: #f4f4f5;
--chart-3: #5BD0E0;
--chart-4: #52C08A;
--chart-5: #D9A441;
--sidebar: #161B26;
--sidebar-foreground: #E9EEF6;
--sidebar-primary: #E9EEF6;
--sidebar-primary-foreground: #111111;
--sidebar-accent: #5BD0E0;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #283246;
--sidebar-ring: #5BD0E0;
--radius: 0px;
}
.dark {
--background: #0f1115;
--foreground: #f8fafc;
--card: #181b22;
--card-foreground: #f8fafc;
--popover: #181b22;
--popover-foreground: #f8fafc;
--primary: #E9EEF6;
--primary-foreground: #111111;
--secondary: #252a33;
--secondary-foreground: #f8fafc;
--muted: #252a33;
--muted-foreground: #a1a1aa;
--accent: #5BD0E0;
--accent-foreground: #ffffff;
--destructive: #E2604C;
--border: #303642;
--input: #303642;
--ring: #5BD0E0;
--chart-1: #E9EEF6;
--chart-2: #f4f4f5;
--chart-3: #5BD0E0;
--chart-4: #52C08A;
--chart-5: #D9A441;
--sidebar: #181b22;
--sidebar-foreground: #f8fafc;
--sidebar-primary: #E9EEF6;
--sidebar-primary-foreground: #111111;
--sidebar-accent: #5BD0E0;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #303642;
--sidebar-ring: #5BD0E0;
--radius: 0px;
}
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 HatchworkShadcnKit() {
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">Hatchwork</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",
"type": "registry:theme",
"name": "hatchwork",
"title": "Hatchwork — Indigo Counter",
"author": "katagami-agent",
"cssVars": {
"theme": {
"font-sans": "Space Grotesk, system-ui, -apple-system, sans-serif",
"font-mono": "Spline Sans Mono, ui-monospace, monospace",
"radius": "0px"
},
"light": {
"background": "#10141C",
"foreground": "#E9EEF6",
"card": "#161B26",
"card-foreground": "#E9EEF6",
"popover": "#1C2230",
"popover-foreground": "#E9EEF6",
"primary": "#5BD0E0",
"primary-foreground": "#0C0F16",
"secondary": "#1C2230",
"secondary-foreground": "#E9EEF6",
"muted": "#1C2230",
"muted-foreground": "#8B97AC",
"accent": "#D9A441",
"accent-foreground": "#0C0F16",
"destructive": "#E2604C",
"destructive-foreground": "#0C0F16",
"border": "#283246",
"input": "#0C0F16",
"ring": "#5BD0E0",
"chart-1": "#5BD0E0",
"chart-2": "#D9A441",
"chart-3": "#E2604C",
"chart-4": "#52C08A",
"chart-5": "#8B97AC",
"radius": "0px"
},
"dark": {
"background": "#10141C",
"foreground": "#E9EEF6",
"card": "#161B26",
"card-foreground": "#E9EEF6",
"popover": "#1C2230",
"popover-foreground": "#E9EEF6",
"primary": "#5BD0E0",
"primary-foreground": "#0C0F16",
"secondary": "#1C2230",
"secondary-foreground": "#E9EEF6",
"muted": "#1C2230",
"muted-foreground": "#8B97AC",
"accent": "#D9A441",
"accent-foreground": "#0C0F16",
"destructive": "#E2604C",
"destructive-foreground": "#0C0F16",
"border": "#283246",
"input": "#0C0F16",
"ring": "#5BD0E0",
"chart-1": "#5BD0E0",
"chart-2": "#D9A441",
"chart-3": "#E2604C",
"chart-4": "#52C08A",
"chart-5": "#8B97AC",
"radius": "0px"
}
},
"visualProfile": {
"id": "hatchwork",
"mode": "dark",
"ground": "#10141C",
"material": "flat ink surfaces on a deep blueprint drafting board with a fine cyan cross-hatch grid; sunk input wells; inset top-light highlight; no gradients on chrome",
"radius": "hard registration corners (0px) everywhere; 9999px reserved for pills and screw dots",
"border": "no decorative borders; separation is shadow, sunk wells, and the cross-hatch field; the only colour edge is a section title-block rule",
"elevation": "0 12px 30px rgba(0,0,0,.45) on raised surfaces; inset 0 1px 0 rgba(255,255,255,.04) top-light",
"typography": "Space Grotesk grotesque for display/body, Spline Sans Mono uppercase wide-tracked for all metadata, codes, and labels",
"accentUsage": "blueprint cyan as the primary/live line, brass for codes and low-stock, graphite-red for out-of-stock and destructive only",
"signature": "brass index-plate badges with a countersunk screw; registration cross-hatch behind surfaces; corner crosshair on hover; title-block section headers",
"motion": "240ms cubic-bezier(0.16,1,0.3,1) snap-to-grid lift, no bounce"
}
}
# Hatchwork shadcn/ui Components
Artifact: `component-recipes-v1`
Author: `katagami-ui-projection`
Language ID: `en-019ef9c2-d41f-7ab3-8234-1b6e942676ca`
Slug: `hatchwork`
## Intent
Hatchwork runs the bungu (stationery) counter like a draftsman's table rather than a bright retail shelf. The ground is a deep ink-blue drafting board carrying a fine blueprint cross-hatch; stock is registered to that grid, and the metadata that would be a soft paper price-tag elsewhere is here an engraved brass index-plate with a countersunk screw. The same precision-stationery world, run with the discipline of a measured drawing: ink board, registration grid, brass plates, snap-to-crosshair handling.
## 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": "#10141C",
"surface": "#161B26",
"surface_2": "#1C2230",
"sunk": "#0C0F16",
"text": "#E9EEF6",
"muted": "#8B97AC",
"faint": "#5A6577",
"border": "#283246",
"hairline": "rgba(120,150,200,0.13)",
"grid": "rgba(91,208,224,0.10)",
"accent": "#5BD0E0",
"accent_2": "#D9A441",
"accent_3": "#E2604C",
"on_accent": "#0C0F16",
"cyan_wash": "rgba(91,208,224,0.12)",
"brass_wash": "rgba(217,164,65,0.14)",
"red_wash": "rgba(226,96,76,0.13)",
"success": "#52C08A",
"warning": "#D9A441",
"error": "#E2604C",
"info": "#5BD0E0"
}
Typography:
{
"base_size": "17px",
"body_font": "Space Grotesk",
"heading_font": "Space Grotesk",
"mono_font": "Spline Sans Mono",
"heading_weight": "600",
"heading_transform": "none",
"letter_spacing": "-0.02em",
"google_fonts_url": "https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Spline+Sans+Mono:wght@400;500;600;700&display=swap"
}
## Visual character to preserve
- A deep ink-blue drafting board (#10141C) under a faint cyan cross-hatch grid sits behind flat ink surfaces, so the page reads as a lit drawing sheet rather than a white SaaS panel or a warm-paper shelf.
- Section headers are title-blocks: a mono index chip, a grotesque heading, a dashed registration rule, and a drafting stamp (Rev. C, sheet n of m) — wayfinding by drawing convention, not an aisle rail.
- Metadata badges are engraved brass index-plates: a milled gradient body with a countersunk screw rendered by a pseudo-element, carrying Spline Sans Mono numerals that recolour by role.
- Working surfaces carry the fine cross-hatch field; cards align to it and reveal a corner registration crosshair on hover, never a one-sided border on a rounded component.
- Interactions snap with a 240ms cubic-bezier(0.16,1,0.3,1) lift and a 1px press, marking registration like lifting an instrument off a drawing board.
## ShadSync visual profile
{
"family": "paper-collage",
"material": "paper",
"contour": "default",
"border": "dashed",
"underlay": false,
"grain": true,
"stickerBadges": true,
"motion": "lift",
"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/hatchwork/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: Register every surface to the cross-hatch grid and align items to it.; Put SKUs, prices, and par counts on brass index-plates with mono numerals.; Open sections with a title-block: index chip, heading, dashed rule, drafting stamp.; Keep cyan for the live/primary line, brass for codes and low-stock, graphite-red for alerts only.; Style every control explicitly — sunk wells with a 2px cyan focus ring.; Keep the masthead and index-rail open; build hierarchy with space, type, and surface.
- Do not: Do not fall back to a warm-paper or white shelf ground.; Do not use soft paper chips, aisle rails, or a serif display face.; Do not flood surfaces with saturated colour; accents stay on plates and small marks.; Do not box the nav into a floating pill bar.; Do not add bounce or decorative motion; the snap is functional registration.; Do not leave native browser select, checkbox, or radio styling visible.
## 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 HatchworkShadcnKit() {
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">Hatchwork</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": "12 columns desktop, max-width 1280px; working content sits inside registration fields carrying the cross-hatch; a featured wide drawer spans 8 of 12 to break even rows; 16px gutters.",
"whitespace": "Outer margins generous like a drawing border; metadata clusters tight on plates. Surface padding 24-48px; major scene bands separated by 64-96px.",
"density": "comfortable",
"responsive": "Desktop is a full drafting counter with an open index-rail; tablet drops the rail to a horizontal index and stacks the grid to one or two columns; mobile is a single-column flow that hides the aisle/par columns and secondary nav, never overflowing horizontally.",
"breakpoints": {
"desktop": "1440",
"tablet": "900",
"mobile": "560"
}
}
{
"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-019ef9c2-d41f-7ab3-8234-1b6e942676ca",
"name": "Hatchwork",
"slug": "hatchwork"
},
"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 deep ink-blue drafting board (#10141C) under a faint cyan cross-hatch grid sits behind flat ink surfaces, so the page reads as a lit drawing sheet rather than a white SaaS panel or a warm-paper shelf.",
"Section headers are title-blocks: a mono index chip, a grotesque heading, a dashed registration rule, and a drafting stamp (Rev. C, sheet n of m) — wayfinding by drawing convention, not an aisle rail.",
"Metadata badges are engraved brass index-plates: a milled gradient body with a countersunk screw rendered by a pseudo-element, carrying Spline Sans Mono numerals that recolour by role.",
"Working surfaces carry the fine cross-hatch field; cards align to it and reveal a corner registration crosshair on hover, never a one-sided border on a rounded component.",
"Interactions snap with a 240ms cubic-bezier(0.16,1,0.3,1) lift and a 1px press, marking registration like lifting an instrument off a drawing board."
],
"visualProfile": {
"family": "paper-collage",
"material": "paper",
"contour": "default",
"border": "dashed",
"underlay": false,
"grain": true,
"stickerBadges": true,
"motion": "lift",
"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": "Hatchwork 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": [
"Register every surface to the cross-hatch grid and align items to it.",
"Put SKUs, prices, and par counts on brass index-plates with mono numerals.",
"Open sections with a title-block: index chip, heading, dashed rule, drafting stamp.",
"Keep cyan for the live/primary line, brass for codes and low-stock, graphite-red for alerts only.",
"Style every control explicitly — sunk wells with a 2px cyan focus ring.",
"Keep the masthead and index-rail open; build hierarchy with space, type, and surface."
],
"dont": [
"Do not fall back to a warm-paper or white shelf ground.",
"Do not use soft paper chips, aisle rails, or a serif display face.",
"Do not flood surfaces with saturated colour; accents stay on plates and small marks.",
"Do not box the nav into a floating pill bar.",
"Do not add bounce or decorative motion; the snap is functional registration.",
"Do not leave native browser select, checkbox, or radio styling visible."
]
}
}