AYA Woven Editorial Canvas
A portable design language for agents: download the markdown first, then inspect the preview, tokens, and rules as needed.
Download DESIGN.md
Portable DESIGN.md source of truth for most agents and apps.
specification
philosophy
tokens
borders4 items
- active
- 2px solid #275E76
- hairline
- 1px solid #DCDAD2
- puncture
- 2px solid #A7472B
- soft
- 1px solid #ECEAE2
colors12 items
motion5 items
- disclosure
- short paper-mask reveal without bounce
- duration
- 120ms
- easing
- cubic-bezier(0.2, 0, 0, 1)
- hover
- sharpen border and lift no more than 1px
- reduced motion
- instant opacity and border state changes
opacity3 items
- disabled
- 0.45
- muted
- 0.72
- underlay
- 0.18
radii5 items
- lg
- 4px
- md
- 2px
- none
- 0px
- pill
- 9999px
- sm
- 0px
shadows3 items
- lg
- none
- md
- none
- sm
- none
spacing2 items
- base
- 4px
- scale
- 4, 8, 12, 16, 20, 24, 32, 40, 48, 64, 96
surfaces4 items
- canvas
- porcelain #FCFCFA
- inset
- #F6F6F2 clipped evidence aperture
- plate
- flat #FFFFFF with one #DCDAD2 cut-line border
- selection
- #E8F1F4 active thread wash used sparingly
typography5 items
- body font
- Inter
- google fonts url
- https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap
- heading font
- Inter
- mono font
- IBM Plex Mono
- scale
- body 16px/1.65·caption 12px/1.45·display 40px/1.08·h1 32px/1.15·h2 24px/1.22
rules
Only one active thread color per view. Blue is navigation/context/focus/primary action. Persimmon is a rare editorial exception signal. Accent should appear as 1px rules, small dots, chips, underlines, sidebars, or one chart stroke.
Document cards include margin metadata; source chips act as woven knots; inline citations are quiet thread markers; context rails expand from thin stitched handles; data cards are paper plates; tables use generous line-height and soft separators.
Compose like an editorial worktable: primary document, contextual rail, margin metadata, and embedded evidence plates. One region must be clearly dominant; supporting surfaces should feel attached to the text by thread marks or citation anchors.
Controlled editorial density: generous reading measure with compact evidence rows and metadata only inside clearly bounded plates.
Hierarchy comes from measure, type scale, weight, leading, and rules. Color is the final layer and should identify only the active thread, selected context, focus, primary action, or rare callout.
layout
Mobile below 720px collapses the rail into inline context drawers and horizontal source threads; tablet stacks plates below the reading column while preserving citation anchors.
Medium editorial density: long-form text remains generous while metadata clusters can be compact at 4-12px. Data cards sit as embedded plates, not a full-screen dashboard.
Desktop uses a text-first two-zone layout: a 680-760px reading column, a 280-360px context rail, and optional margin metadata gutters. Use an 8px spacing base with 24/32/48px editorial rhythm.
Never reorder into a generic card grid. Keep the primary document first, then context knots, then data plates. Long lines must reflow to readable measure before controls compress.
Use ma as a functional affordance: 48-80px between major reading sections, 24-32px between related plates, and quiet margins for citations or source knots.
guidance
- Start every screen from the reading column and add context only where it helps comprehension.
- Use thread-blue for active navigation, selected thread, links, focus, and the primary action; keep it to lines, dots, chips, underlines, and sidebars.
- Reserve persimmon for rare human-attention moments such as exception notes, unresolved conflict, or editorial warning.
- Render sources as woven knots: compact chips with a small dot, source label, and optional connector to the relevant claim.
- Use charts with monochrome marks and a single blue emphasis stroke or selected series.
- Let typography, leading, measure, and spatial rhythm create hierarchy before adding color.
- Make Japanese craft references structural: apertures, seams, thread paths, negative space, and slight grid irregularity.
- Do not build a wall of metrics, red/yellow/green status systems, or dense equal cards.
- Do not flood backgrounds with blue or persimmon; accents are signals, not surfaces.
- Do not use decorative Japanese motifs, pattern wallpaper, tourist calligraphy, or ornamental stamps.
- Do not use low-contrast gray for body text or essential metadata.
- Do not add multiple accent colors in one view or let charts become rainbow dashboards.
- Do not rely on heavy shadows, gradients, or glass panels to separate information.
katagami spec
# AYA Woven Editorial Canvas
## Philosophy
AYA Woven Editorial Canvas is a quiet, text-first product language for intelligence interfaces that need to braid sources, claims, entities, and data through long reading surfaces without becoming a dashboard. It feels like a warm editorial worktable: paper-like surfaces, ink-charcoal typography, precise hairline rules, and a single blue thread that guides focus and context. Japanese references are structural rather than decorative: katagami negative space informs modular apertures and restrained repetition, kasuri weaving informs contextual thread paths, and sashiko repair stitching informs visible annotations and seams.
### Values
- Reading first: the core viewport is a generous 680-760px text measure with supporting context in rails, margins, and inline markers.
- Threaded context: claims, sources, entities, and decisions are connected by thin rules, dots, chips, and margin notes rather than colorful dashboard blocks.
- Emptiness as affordance: warm canvas and deliberate ma create calm space for reasoning, review, and human attention.
- One active accent at a time: thread-blue owns navigation, links, selected context, focus, and primary action; persimmon appears only for rare editorial callouts.
- Craft without motif wallpaper: weaving, katagami, and sashiko appear as grid behavior, aperture rhythm, and annotation seams, never as decorative Japanese ornament.
- Dashboard as embedded evidence: metrics and charts are paper plates inside the reading environment, using monochrome marks plus one thread accent.
### Anti-Values
- Dashboard walls of metrics, dense equal card grids, and command-center layouts.
- Bright gradients, heavy shadows, glassmorphism, or saturated accent floods.
- Touristic Japanese motifs such as fans, waves, dragons, red stamps, or pattern wallpaper used as decoration.
- Red/yellow/green status clutter or multiple competing accents in the same view.
- Low-contrast gray body text, tiny metadata that becomes illegible, or color-only state communication.
### Visual Character
- A warm white canvas surrounds crisp ink text, soft washi-gray panels, and barely visible #E7E1D6 hairline separators.
- The main article/work document dominates the page while an expandable context rail carries sources, entity knots, timeline stitches, and data plates.
- Thread-blue appears as 1px connectors, active sidebars, underlines, focus outlines, small source dots, and selected chips rather than large filled areas.
- Cards feel like stacked paper: flat, lightly bordered, softly tinted, and spatially calm with no heavy shadow system.
- Data views are editorial inserts: small multiples, mono numerals, sparse labels, and quiet plate captions instead of KPI walls.
## Tokens
### Borders
- **Active**: 2px solid #275E76
- **Hairline**: 1px solid #DCDAD2
- **Puncture**: 2px solid #A7472B
- **Soft**: 1px solid #ECEAE2
### Colors
| Name | Value |
|------|-------|
| accent | `#A7472B` |
| background | `#FCFCFA` |
| border | `#DCDAD2` |
| border_soft | `#ECEAE2` |
| primary | `#275E76` |
| primary_soft | `#D9E8EE` |
| success | `#4F6F54` |
| surface | `#FFFFFF` |
| surface_cut | `#F6F6F2` |
| surface_tint | `#E8F1F4` |
| text | `#1F1F1C` |
| text_muted | `#737067` |
### Motion
- **Disclosure**: short paper-mask reveal without bounce
- **Duration**: 120ms
- **Easing**: cubic-bezier(0.2, 0, 0, 1)
- **Hover**: sharpen border and lift no more than 1px
- **Reduced Motion**: instant opacity and border state changes
### Opacity
- **Disabled**: 0.45
- **Muted**: 0.72
- **Underlay**: 0.18
### Radii
- **Lg**: 4px
- **Md**: 2px
- **None**: 0px
- **Pill**: 9999px
- **Sm**: 0px
### Shadows
- **Lg**: none
- **Md**: none
- **Sm**: none
### Spacing
- **Base**: 4px
- **Scale**: [4,8,12,16,20,24,32,40,48,64,96]
### Surfaces
- **Canvas**: porcelain #FCFCFA
- **Inset**: #F6F6F2 clipped evidence aperture
- **Plate**: flat #FFFFFF with one #DCDAD2 cut-line border
- **Selection**: #E8F1F4 active thread wash used sparingly
### Typography
- **Body Font**: Inter
- **Google Fonts Url**: https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap
- **Heading Font**: Inter
- **Mono Font**: IBM Plex Mono
- **Scale**: {"body":"16px/1.65","caption":"12px/1.45","display":"40px/1.08","h1":"32px/1.15","h2":"24px/1.22"}
## Rules
### Accent
Only one active thread color per view. Blue is navigation/context/focus/primary action. Persimmon is a rare editorial exception signal. Accent should appear as 1px rules, small dots, chips, underlines, sidebars, or one chart stroke.
### Components
Document cards include margin metadata; source chips act as woven knots; inline citations are quiet thread markers; context rails expand from thin stitched handles; data cards are paper plates; tables use generous line-height and soft separators.
### Composition
Compose like an editorial worktable: primary document, contextual rail, margin metadata, and embedded evidence plates. One region must be clearly dominant; supporting surfaces should feel attached to the text by thread marks or citation anchors.
### Density
Controlled editorial density: generous reading measure with compact evidence rows and metadata only inside clearly bounded plates.
### Hierarchy
Hierarchy comes from measure, type scale, weight, leading, and rules. Color is the final layer and should identify only the active thread, selected context, focus, primary action, or rare callout.
### Signature Patterns
- Inline citation marker: small blue bracket/dot after a claim, connected on hover to a source chip in the margin or rail.
- Selected thread: 1px blue vertical rule with a pale #D9E8EE connector path, never a filled navigation block.
- Paper plate data card: white or washi surface, hairline border, mono caption, one emphasized numeric value, and no drop shadow beyond a subtle edge.
- Katagami aperture grid: sparse repeated cutouts or slots for metadata, using negative space and alignment rather than illustration.
- Sashiko seam timeline: dotted or short-dash blue stitches connecting revisions, sources, or reasoning steps.
## Layout
### Breakpoints
Mobile below 720px collapses the rail into inline context drawers and horizontal source threads; tablet stacks plates below the reading column while preserving citation anchors.
### Density
Medium editorial density: long-form text remains generous while metadata clusters can be compact at 4-12px. Data cards sit as embedded plates, not a full-screen dashboard.
### Grid
Desktop uses a text-first two-zone layout: a 680-760px reading column, a 280-360px context rail, and optional margin metadata gutters. Use an 8px spacing base with 24/32/48px editorial rhythm.
### Responsive
Never reorder into a generic card grid. Keep the primary document first, then context knots, then data plates. Long lines must reflow to readable measure before controls compress.
### Whitespace
Use ma as a functional affordance: 48-80px between major reading sections, 24-32px between related plates, and quiet margins for citations or source knots.
## Guidance
### Do
- Start every screen from the reading column and add context only where it helps comprehension.
- Use thread-blue for active navigation, selected thread, links, focus, and the primary action; keep it to lines, dots, chips, underlines, and sidebars.
- Reserve persimmon for rare human-attention moments such as exception notes, unresolved conflict, or editorial warning.
- Render sources as woven knots: compact chips with a small dot, source label, and optional connector to the relevant claim.
- Use charts with monochrome marks and a single blue emphasis stroke or selected series.
- Let typography, leading, measure, and spatial rhythm create hierarchy before adding color.
- Make Japanese craft references structural: apertures, seams, thread paths, negative space, and slight grid irregularity.
### Don't
- Do not build a wall of metrics, red/yellow/green status systems, or dense equal cards.
- Do not flood backgrounds with blue or persimmon; accents are signals, not surfaces.
- Do not use decorative Japanese motifs, pattern wallpaper, tourist calligraphy, or ornamental stamps.
- Do not use low-contrast gray for body text or essential metadata.
- Do not add multiple accent colors in one view or let charts become rainbow dashboards.
- Do not rely on heavy shadows, gradients, or glass panels to separate information.
### Accessibility
Core text must meet WCAG AA on warm surfaces; do not use muted gray for essential prose. Focus states use visible blue outlines or sidebars with text labels. Status and callouts include words and structure, not color alone. Preserve 44px touch targets for rail toggles and source chips.
### Usage Context
Best for AI research workspaces, source-grounded writing tools, knowledge synthesis products, editorial review systems, lightweight analytics inside text workflows, and products that connect evidence to narrative.
DESIGN.md
---
version: "alpha"
name: "AYA Woven Editorial Canvas"
description: "Agent-curated design language exported from Katagami as DESIGN.md."
colors:
accent: "#A7472B"
background: "#FCFCFA"
border: "#DCDAD2"
border_soft: "#ECEAE2"
primary: "#275E76"
primary_soft: "#D9E8EE"
success: "#4F6F54"
surface: "#FFFFFF"
surface_cut: "#F6F6F2"
surface_tint: "#E8F1F4"
text: "#1F1F1C"
text_muted: "#737067"
typography:
headline-lg:
fontFamily: "Inter"
fontSize: "1.953rem"
fontWeight: 700
lineHeight: 1.1
letterSpacing: "-0.02em"
headline-md:
fontFamily: "Inter"
fontSize: "1.563rem"
fontWeight: 600
lineHeight: 1.15
letterSpacing: "-0.02em"
body-md:
fontFamily: "Inter"
fontSize: "16px"
fontWeight: 400
lineHeight: 1.5
letterSpacing: "-0.02em"
label-md:
fontFamily: "IBM Plex Mono"
fontSize: "0.75rem"
fontWeight: 600
lineHeight: 1
letterSpacing: "0.08em"
rounded:
lg: "4px"
md: "2px"
none: "0px"
pill: "9999px"
sm: "0px"
spacing:
base: "4px"
xs: "4px"
sm: "8px"
md: "12px"
lg: "16px"
xl: "20px"
2xl: "24px"
3xl: "32px"
4xl: "40px"
step-8: "48px"
step-9: "64px"
step-10: "96px"
components:
color-reference-accent:
backgroundColor: "{colors.accent}"
color-reference-background:
backgroundColor: "{colors.background}"
color-reference-border:
backgroundColor: "{colors.border}"
color-reference-border_soft:
backgroundColor: "{colors.border_soft}"
color-reference-primary:
backgroundColor: "{colors.primary}"
color-reference-primary_soft:
backgroundColor: "{colors.primary_soft}"
color-reference-success:
backgroundColor: "{colors.success}"
color-reference-surface:
backgroundColor: "{colors.surface}"
color-reference-surface_cut:
backgroundColor: "{colors.surface_cut}"
color-reference-surface_tint:
backgroundColor: "{colors.surface_tint}"
color-reference-text:
backgroundColor: "{colors.text}"
color-reference-text_muted:
backgroundColor: "{colors.text_muted}"
button-primary:
backgroundColor: "{colors.primary}"
textColor: "#ffffff"
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"
---
# AYA Woven Editorial Canvas
## Overview
AYA Woven Editorial Canvas is a quiet, text-first product language for intelligence interfaces that need to braid sources, claims, entities, and data through long reading surfaces without becoming a dashboard. It feels like a warm editorial worktable: paper-like surfaces, ink-charcoal typography, precise hairline rules, and a single blue thread that guides focus and context. Japanese references are structural rather than decorative: katagami negative space informs modular apertures and restrained repetition, kasuri weaving informs contextual thread paths, and sashiko repair stitching informs visible annotations and seams.
### Values
- Reading first: the core viewport is a generous 680-760px text measure with supporting context in rails, margins, and inline markers.
- Threaded context: claims, sources, entities, and decisions are connected by thin rules, dots, chips, and margin notes rather than colorful dashboard blocks.
- Emptiness as affordance: warm canvas and deliberate ma create calm space for reasoning, review, and human attention.
- One active accent at a time: thread-blue owns navigation, links, selected context, focus, and primary action; persimmon appears only for rare editorial callouts.
- Craft without motif wallpaper: weaving, katagami, and sashiko appear as grid behavior, aperture rhythm, and annotation seams, never as decorative Japanese ornament.
- Dashboard as embedded evidence: metrics and charts are paper plates inside the reading environment, using monochrome marks plus one thread accent.
### Anti-Values
- Dashboard walls of metrics, dense equal card grids, and command-center layouts.
- Bright gradients, heavy shadows, glassmorphism, or saturated accent floods.
- Touristic Japanese motifs such as fans, waves, dragons, red stamps, or pattern wallpaper used as decoration.
- Red/yellow/green status clutter or multiple competing accents in the same view.
- Low-contrast gray body text, tiny metadata that becomes illegible, or color-only state communication.
### Visual Character
- A warm white canvas surrounds crisp ink text, soft washi-gray panels, and barely visible #E7E1D6 hairline separators.
- The main article/work document dominates the page while an expandable context rail carries sources, entity knots, timeline stitches, and data plates.
- Thread-blue appears as 1px connectors, active sidebars, underlines, focus outlines, small source dots, and selected chips rather than large filled areas.
- Cards feel like stacked paper: flat, lightly bordered, softly tinted, and spatially calm with no heavy shadow system.
- Data views are editorial inserts: small multiples, mono numerals, sparse labels, and quiet plate captions instead of KPI walls.
## Colors
Use the YAML color tokens as the normative palette. The prose below names the roles agents should preserve when generating UI.
| Token | Value |
|-------|-------|
| accent | `#A7472B` |
| background | `#FCFCFA` |
| border | `#DCDAD2` |
| border_soft | `#ECEAE2` |
| primary | `#275E76` |
| primary_soft | `#D9E8EE` |
| success | `#4F6F54` |
| surface | `#FFFFFF` |
| surface_cut | `#F6F6F2` |
| surface_tint | `#E8F1F4` |
| text | `#1F1F1C` |
| text_muted | `#737067` |
## Typography
- **Headline-Lg**: Inter, 1.953rem, weight 700, line-height 1.1.
- **Headline-Md**: Inter, 1.563rem, weight 600, line-height 1.15.
- **Body-Md**: Inter, 16px, weight 400, line-height 1.5.
- **Label-Md**: IBM Plex Mono, 0.75rem, weight 600, line-height 1.
## Layout
### Spacing Tokens
- **Base**: `4px`
- **Xs**: `4px`
- **Sm**: `8px`
- **Md**: `12px`
- **Lg**: `16px`
- **Xl**: `20px`
- **2xl**: `24px`
- **3xl**: `32px`
- **4xl**: `40px`
- **Step-8**: `48px`
- **Step-9**: `64px`
- **Step-10**: `96px`
### Breakpoints
Mobile below 720px collapses the rail into inline context drawers and horizontal source threads; tablet stacks plates below the reading column while preserving citation anchors.
### Density
Medium editorial density: long-form text remains generous while metadata clusters can be compact at 4-12px. Data cards sit as embedded plates, not a full-screen dashboard.
### Grid
Desktop uses a text-first two-zone layout: a 680-760px reading column, a 280-360px context rail, and optional margin metadata gutters. Use an 8px spacing base with 24/32/48px editorial rhythm.
### Responsive
Never reorder into a generic card grid. Keep the primary document first, then context knots, then data plates. Long lines must reflow to readable measure before controls compress.
### Whitespace
Use ma as a functional affordance: 48-80px between major reading sections, 24-32px between related plates, and quiet margins for citations or source knots.
## Elevation & Depth
### Shadows
- **Lg**: none
- **Md**: none
- **Sm**: none
## Shapes
### Rounded
- **Lg**: `4px`
- **Md**: `2px`
- **None**: `0px`
- **Pill**: `9999px`
- **Sm**: `0px`
### Surfaces
- **Canvas**: porcelain #FCFCFA
- **Inset**: #F6F6F2 clipped evidence aperture
- **Plate**: flat #FFFFFF with one #DCDAD2 cut-line border
- **Selection**: #E8F1F4 active thread wash used sparingly
### Borders
- **Active**: 2px solid #275E76
- **Hairline**: 1px solid #DCDAD2
- **Puncture**: 2px solid #A7472B
- **Soft**: 1px solid #ECEAE2
## Components
### Accent
Only one active thread color per view. Blue is navigation/context/focus/primary action. Persimmon is a rare editorial exception signal. Accent should appear as 1px rules, small dots, chips, underlines, sidebars, or one chart stroke.
### Components
Document cards include margin metadata; source chips act as woven knots; inline citations are quiet thread markers; context rails expand from thin stitched handles; data cards are paper plates; tables use generous line-height and soft separators.
### Composition
Compose like an editorial worktable: primary document, contextual rail, margin metadata, and embedded evidence plates. One region must be clearly dominant; supporting surfaces should feel attached to the text by thread marks or citation anchors.
### Density
Controlled editorial density: generous reading measure with compact evidence rows and metadata only inside clearly bounded plates.
### Hierarchy
Hierarchy comes from measure, type scale, weight, leading, and rules. Color is the final layer and should identify only the active thread, selected context, focus, primary action, or rare callout.
### Signature Patterns
- Inline citation marker: small blue bracket/dot after a claim, connected on hover to a source chip in the margin or rail.
- Selected thread: 1px blue vertical rule with a pale #D9E8EE connector path, never a filled navigation block.
- Paper plate data card: white or washi surface, hairline border, mono caption, one emphasized numeric value, and no drop shadow beyond a subtle edge.
- Katagami aperture grid: sparse repeated cutouts or slots for metadata, using negative space and alignment rather than illustration.
- Sashiko seam timeline: dotted or short-dash blue stitches connecting revisions, sources, or reasoning steps.
## 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-019ee036-9454-75c3-851e-325597993873/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 Start every screen from the reading column and add context only where it helps comprehension.
- Do Use thread-blue for active navigation, selected thread, links, focus, and the primary action; keep it to lines, dots, chips, underlines, and sidebars.
- Do Reserve persimmon for rare human-attention moments such as exception notes, unresolved conflict, or editorial warning.
- Do Render sources as woven knots: compact chips with a small dot, source label, and optional connector to the relevant claim.
- Do Use charts with monochrome marks and a single blue emphasis stroke or selected series.
- Do Let typography, leading, measure, and spatial rhythm create hierarchy before adding color.
- Do Make Japanese craft references structural: apertures, seams, thread paths, negative space, and slight grid irregularity.
- Don't Do not build a wall of metrics, red/yellow/green status systems, or dense equal cards.
- Don't Do not flood backgrounds with blue or persimmon; accents are signals, not surfaces.
- Don't Do not use decorative Japanese motifs, pattern wallpaper, tourist calligraphy, or ornamental stamps.
- Don't Do not use low-contrast gray for body text or essential metadata.
- Don't Do not add multiple accent colors in one view or let charts become rainbow dashboards.
- Don't Do not rely on heavy shadows, gradients, or glass panels to separate information.
### Accessibility
Core text must meet WCAG AA on warm surfaces; do not use muted gray for essential prose. Focus states use visible blue outlines or sidebars with text labels. Status and callouts include words and structure, not color alone. Preserve 44px touch targets for rail toggles and source chips.
### Usage Context
Best for AI research workspaces, source-grounded writing tools, knowledge synthesis products, editorial review systems, lightweight analytics inside text workflows, and products that connect evidence to narrative.
shadcn/ui theme
```json
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "aya-woven-editorial-canvas",
"type": "registry:theme",
"title": "AYA Woven Editorial Canvas shadcn Theme",
"cssVars": {
"theme": {},
"light": {
"background": "#FCFCFA",
"foreground": "#1F1F1C",
"card": "#FFFFFF",
"card-foreground": "#1F1F1C",
"popover": "#FFFFFF",
"popover-foreground": "#1F1F1C",
"primary": "#275E76",
"primary-foreground": "#ffffff",
"secondary": "#f4f4f5",
"secondary-foreground": "#111111",
"muted": "#f4f4f5",
"muted-foreground": "#1F1F1C",
"accent": "#A7472B",
"accent-foreground": "#ffffff",
"destructive": "#dc2626",
"border": "#DCDAD2",
"input": "#DCDAD2",
"ring": "#A7472B",
"chart-1": "#275E76",
"chart-2": "#f4f4f5",
"chart-3": "#A7472B",
"chart-4": "#4F6F54",
"chart-5": "#d97706",
"sidebar": "#FFFFFF",
"sidebar-foreground": "#1F1F1C",
"sidebar-primary": "#275E76",
"sidebar-primary-foreground": "#ffffff",
"sidebar-accent": "#A7472B",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#DCDAD2",
"sidebar-ring": "#A7472B",
"radius": "2px"
},
"dark": {
"background": "#0f1115",
"foreground": "#f8fafc",
"card": "#181b22",
"card-foreground": "#f8fafc",
"popover": "#181b22",
"popover-foreground": "#f8fafc",
"primary": "#275E76",
"primary-foreground": "#ffffff",
"secondary": "#252a33",
"secondary-foreground": "#f8fafc",
"muted": "#252a33",
"muted-foreground": "#a1a1aa",
"accent": "#A7472B",
"accent-foreground": "#ffffff",
"destructive": "#dc2626",
"border": "#303642",
"input": "#303642",
"ring": "#A7472B",
"chart-1": "#275E76",
"chart-2": "#f4f4f5",
"chart-3": "#A7472B",
"chart-4": "#4F6F54",
"chart-5": "#d97706",
"sidebar": "#181b22",
"sidebar-foreground": "#f8fafc",
"sidebar-primary": "#275E76",
"sidebar-primary-foreground": "#ffffff",
"sidebar-accent": "#A7472B",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#303642",
"sidebar-ring": "#A7472B",
"radius": "2px"
}
},
"meta": {
"source": "katagami",
"languageId": "en-019ee036-9454-75c3-851e-325597993873",
"slug": "aya-woven-editorial-canvas",
"componentManifest": [
"button",
"card",
"input",
"textarea",
"select",
"dialog",
"sheet",
"tabs",
"badge",
"separator",
"checkbox",
"switch",
"slider",
"tooltip",
"dropdown-menu",
"table"
],
"installCommand": "npx shadcn@latest add button card input textarea select dialog sheet tabs badge separator checkbox switch slider tooltip dropdown-menu table",
"nativeTokenNames": {
"borders": [
"active",
"hairline",
"puncture",
"soft"
],
"colors": [
"accent",
"background",
"border",
"border_soft",
"primary",
"primary_soft",
"success",
"surface",
"surface_cut",
"surface_tint",
"text",
"text_muted"
],
"motion": [
"disclosure",
"duration",
"easing",
"hover",
"reduced_motion"
],
"opacity": [
"disabled",
"muted",
"underlay"
],
"radii": [
"lg",
"md",
"none",
"pill",
"sm"
],
"shadows": [
"lg",
"md",
"sm"
],
"spacing": [
"base",
"scale"
],
"surfaces": [
"canvas",
"inset",
"plate",
"selection"
],
"typography": [
"body_font",
"google_fonts_url",
"heading_font",
"mono_font",
"scale"
]
}
}
}
```embodiments
at a glance
Typography
The quick brown fox jumps
The quick brown fox jumps
The quick brown fox jumps
The quick brown fox jumps
Components
Components rendered with this language’s tokens — colors, type, and rounded corners as specified.
Spacing
- base4px
- xs4px
- sm8px
- md12px
- lg16px
- xl20px
- 2xl24px
- 3xl32px
- 4xl40px
- step-848px
- step-964px
- step-1096px
Shape
implementation kit
DESIGN.md with shadcn
Copy this when the target app uses shadcn/ui. It packages the Katagami DESIGN.md context with the install list, theme variables, component recipes, preview-shot contract, and starter TSX in one Markdown companion.
advanced implementation filesoptional machine-readable theme, CSS, TSX starter, recipes, and preview contract
npx shadcn@latest add button card input textarea select dialog sheet tabs badge separator checkbox switch slider tooltip dropdown-menu table:root {
--background: #FCFCFA;
--foreground: #1F1F1C;
--card: #FFFFFF;
--card-foreground: #1F1F1C;
--popover: #FFFFFF;
--popover-foreground: #1F1F1C;
--primary: #275E76;
--primary-foreground: #ffffff;
--secondary: #f4f4f5;
--secondary-foreground: #111111;
--muted: #f4f4f5;
--muted-foreground: #1F1F1C;
--accent: #A7472B;
--accent-foreground: #ffffff;
--destructive: #dc2626;
--border: #DCDAD2;
--input: #DCDAD2;
--ring: #A7472B;
--chart-1: #275E76;
--chart-2: #f4f4f5;
--chart-3: #A7472B;
--chart-4: #4F6F54;
--chart-5: #d97706;
--sidebar: #FFFFFF;
--sidebar-foreground: #1F1F1C;
--sidebar-primary: #275E76;
--sidebar-primary-foreground: #ffffff;
--sidebar-accent: #A7472B;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #DCDAD2;
--sidebar-ring: #A7472B;
--radius: 2px;
}
.dark {
--background: #0f1115;
--foreground: #f8fafc;
--card: #181b22;
--card-foreground: #f8fafc;
--popover: #181b22;
--popover-foreground: #f8fafc;
--primary: #275E76;
--primary-foreground: #ffffff;
--secondary: #252a33;
--secondary-foreground: #f8fafc;
--muted: #252a33;
--muted-foreground: #a1a1aa;
--accent: #A7472B;
--accent-foreground: #ffffff;
--destructive: #dc2626;
--border: #303642;
--input: #303642;
--ring: #A7472B;
--chart-1: #275E76;
--chart-2: #f4f4f5;
--chart-3: #A7472B;
--chart-4: #4F6F54;
--chart-5: #d97706;
--sidebar: #181b22;
--sidebar-foreground: #f8fafc;
--sidebar-primary: #275E76;
--sidebar-primary-foreground: #ffffff;
--sidebar-accent: #A7472B;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #303642;
--sidebar-ring: #A7472B;
--radius: 2px;
}
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 AyaWovenEditorialCanvasShadcnKit() {
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">AYA Woven Editorial Canvas</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": "aya-woven-editorial-canvas",
"type": "registry:theme",
"title": "AYA Woven Editorial Canvas shadcn Theme",
"cssVars": {
"theme": {},
"light": {
"background": "#FCFCFA",
"foreground": "#1F1F1C",
"card": "#FFFFFF",
"card-foreground": "#1F1F1C",
"popover": "#FFFFFF",
"popover-foreground": "#1F1F1C",
"primary": "#275E76",
"primary-foreground": "#ffffff",
"secondary": "#f4f4f5",
"secondary-foreground": "#111111",
"muted": "#f4f4f5",
"muted-foreground": "#1F1F1C",
"accent": "#A7472B",
"accent-foreground": "#ffffff",
"destructive": "#dc2626",
"border": "#DCDAD2",
"input": "#DCDAD2",
"ring": "#A7472B",
"chart-1": "#275E76",
"chart-2": "#f4f4f5",
"chart-3": "#A7472B",
"chart-4": "#4F6F54",
"chart-5": "#d97706",
"sidebar": "#FFFFFF",
"sidebar-foreground": "#1F1F1C",
"sidebar-primary": "#275E76",
"sidebar-primary-foreground": "#ffffff",
"sidebar-accent": "#A7472B",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#DCDAD2",
"sidebar-ring": "#A7472B",
"radius": "2px"
},
"dark": {
"background": "#0f1115",
"foreground": "#f8fafc",
"card": "#181b22",
"card-foreground": "#f8fafc",
"popover": "#181b22",
"popover-foreground": "#f8fafc",
"primary": "#275E76",
"primary-foreground": "#ffffff",
"secondary": "#252a33",
"secondary-foreground": "#f8fafc",
"muted": "#252a33",
"muted-foreground": "#a1a1aa",
"accent": "#A7472B",
"accent-foreground": "#ffffff",
"destructive": "#dc2626",
"border": "#303642",
"input": "#303642",
"ring": "#A7472B",
"chart-1": "#275E76",
"chart-2": "#f4f4f5",
"chart-3": "#A7472B",
"chart-4": "#4F6F54",
"chart-5": "#d97706",
"sidebar": "#181b22",
"sidebar-foreground": "#f8fafc",
"sidebar-primary": "#275E76",
"sidebar-primary-foreground": "#ffffff",
"sidebar-accent": "#A7472B",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#303642",
"sidebar-ring": "#A7472B",
"radius": "2px"
}
},
"meta": {
"source": "katagami",
"languageId": "en-019ee036-9454-75c3-851e-325597993873",
"slug": "aya-woven-editorial-canvas",
"componentManifest": [
"button",
"card",
"input",
"textarea",
"select",
"dialog",
"sheet",
"tabs",
"badge",
"separator",
"checkbox",
"switch",
"slider",
"tooltip",
"dropdown-menu",
"table"
],
"installCommand": "npx shadcn@latest add button card input textarea select dialog sheet tabs badge separator checkbox switch slider tooltip dropdown-menu table",
"nativeTokenNames": {
"borders": [
"active",
"hairline",
"puncture",
"soft"
],
"colors": [
"accent",
"background",
"border",
"border_soft",
"primary",
"primary_soft",
"success",
"surface",
"surface_cut",
"surface_tint",
"text",
"text_muted"
],
"motion": [
"disclosure",
"duration",
"easing",
"hover",
"reduced_motion"
],
"opacity": [
"disabled",
"muted",
"underlay"
],
"radii": [
"lg",
"md",
"none",
"pill",
"sm"
],
"shadows": [
"lg",
"md",
"sm"
],
"spacing": [
"base",
"scale"
],
"surfaces": [
"canvas",
"inset",
"plate",
"selection"
],
"typography": [
"body_font",
"google_fonts_url",
"heading_font",
"mono_font",
"scale"
]
}
}
}
# AYA Woven Editorial Canvas shadcn/ui Components
Artifact: `component-recipes-v1`
Author: `katagami-ui-projection`
Language ID: `en-019ee036-9454-75c3-851e-325597993873`
Slug: `aya-woven-editorial-canvas`
## Intent
AYA Woven Editorial Canvas is a quiet, text-first product language for intelligence interfaces that need to braid sources, claims, entities, and data through long reading surfaces without becoming a dashboard. It feels like a warm editorial worktable: paper-like surfaces, ink-charcoal typography, precise hairline rules, and a single blue thread that guides focus and context. Japanese references are structural rather than decorative: katagami negative space informs modular apertures and restrained repetition, kasuri weaving informs contextual thread paths, and sashiko repair stitching informs visible annotations and seams.
## 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:
{
"accent": "#A7472B",
"background": "#FCFCFA",
"border": "#DCDAD2",
"border_soft": "#ECEAE2",
"primary": "#275E76",
"primary_soft": "#D9E8EE",
"success": "#4F6F54",
"surface": "#FFFFFF",
"surface_cut": "#F6F6F2",
"surface_tint": "#E8F1F4",
"text": "#1F1F1C",
"text_muted": "#737067"
}
Typography:
{
"body_font": "Inter",
"google_fonts_url": "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap",
"heading_font": "Inter",
"mono_font": "IBM Plex Mono",
"scale": {
"body": "16px/1.65",
"caption": "12px/1.45",
"display": "40px/1.08",
"h1": "32px/1.15",
"h2": "24px/1.22"
}
}
## Visual character to preserve
- A warm white canvas surrounds crisp ink text, soft washi-gray panels, and barely visible #E7E1D6 hairline separators.
- The main article/work document dominates the page while an expandable context rail carries sources, entity knots, timeline stitches, and data plates.
- Thread-blue appears as 1px connectors, active sidebars, underlines, focus outlines, small source dots, and selected chips rather than large filled areas.
- Cards feel like stacked paper: flat, lightly bordered, softly tinted, and spatially calm with no heavy shadow system.
- Data views are editorial inserts: small multiples, mono numerals, sparse labels, and quiet plate captions instead of KPI walls.
## ShadSync visual profile
{
"family": "paper-collage",
"material": "paper",
"contour": "default",
"border": "solid",
"underlay": false,
"grain": true,
"stickerBadges": false,
"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/aya-woven-editorial-canvas/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: Start every screen from the reading column and add context only where it helps comprehension.; Use thread-blue for active navigation, selected thread, links, focus, and the primary action; keep it to lines, dots, chips, underlines, and sidebars.; Reserve persimmon for rare human-attention moments such as exception notes, unresolved conflict, or editorial warning.; Render sources as woven knots: compact chips with a small dot, source label, and optional connector to the relevant claim.; Use charts with monochrome marks and a single blue emphasis stroke or selected series.; Let typography, leading, measure, and spatial rhythm create hierarchy before adding color.; Make Japanese craft references structural: apertures, seams, thread paths, negative space, and slight grid irregularity.
- Do not: Do not build a wall of metrics, red/yellow/green status systems, or dense equal cards.; Do not flood backgrounds with blue or persimmon; accents are signals, not surfaces.; Do not use decorative Japanese motifs, pattern wallpaper, tourist calligraphy, or ornamental stamps.; Do not use low-contrast gray for body text or essential metadata.; Do not add multiple accent colors in one view or let charts become rainbow dashboards.; Do not rely on heavy shadows, gradients, or glass panels to separate information.
## 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 AyaWovenEditorialCanvasShadcnKit() {
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">AYA Woven Editorial Canvas</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
{
"breakpoints": "Mobile below 720px collapses the rail into inline context drawers and horizontal source threads; tablet stacks plates below the reading column while preserving citation anchors.",
"density": "Medium editorial density: long-form text remains generous while metadata clusters can be compact at 4-12px. Data cards sit as embedded plates, not a full-screen dashboard.",
"grid": "Desktop uses a text-first two-zone layout: a 680-760px reading column, a 280-360px context rail, and optional margin metadata gutters. Use an 8px spacing base with 24/32/48px editorial rhythm.",
"responsive": "Never reorder into a generic card grid. Keep the primary document first, then context knots, then data plates. Long lines must reflow to readable measure before controls compress.",
"whitespace": "Use ma as a functional affordance: 48-80px between major reading sections, 24-32px between related plates, and quiet margins for citations or source knots."
}
{
"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-019ee036-9454-75c3-851e-325597993873",
"name": "AYA Woven Editorial Canvas",
"slug": "aya-woven-editorial-canvas"
},
"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 warm white canvas surrounds crisp ink text, soft washi-gray panels, and barely visible #E7E1D6 hairline separators.",
"The main article/work document dominates the page while an expandable context rail carries sources, entity knots, timeline stitches, and data plates.",
"Thread-blue appears as 1px connectors, active sidebars, underlines, focus outlines, small source dots, and selected chips rather than large filled areas.",
"Cards feel like stacked paper: flat, lightly bordered, softly tinted, and spatially calm with no heavy shadow system.",
"Data views are editorial inserts: small multiples, mono numerals, sparse labels, and quiet plate captions instead of KPI walls."
],
"visualProfile": {
"family": "paper-collage",
"material": "paper",
"contour": "default",
"border": "solid",
"underlay": false,
"grain": true,
"stickerBadges": false,
"motion": "still",
"density": "balanced",
"accents": [
"primary",
"accent",
"secondary",
"muted"
]
},
"shots": [
{
"id": "application-shell",
"title": "Application shell",
"viewport": "desktop",
"primitives": [
"button",
"card",
"input",
"select",
"tabs",
"badge",
"separator",
"table"
],
"composition": "A real product workspace with navigation, summary cards, filtering controls, and one dense content region.",
"mustShow": [
"primary and secondary actions",
"card hierarchy",
"filterable state",
"table or list density"
],
"avoid": [
"component inventory walls",
"placeholder-only content",
"generic rounded SaaS chrome"
],
"scene": {
"eyebrow": "workspace spread",
"headline": "AYA Woven Editorial Canvas 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": [
"Start every screen from the reading column and add context only where it helps comprehension.",
"Use thread-blue for active navigation, selected thread, links, focus, and the primary action; keep it to lines, dots, chips, underlines, and sidebars.",
"Reserve persimmon for rare human-attention moments such as exception notes, unresolved conflict, or editorial warning.",
"Render sources as woven knots: compact chips with a small dot, source label, and optional connector to the relevant claim.",
"Use charts with monochrome marks and a single blue emphasis stroke or selected series.",
"Let typography, leading, measure, and spatial rhythm create hierarchy before adding color.",
"Make Japanese craft references structural: apertures, seams, thread paths, negative space, and slight grid irregularity."
],
"dont": [
"Do not build a wall of metrics, red/yellow/green status systems, or dense equal cards.",
"Do not flood backgrounds with blue or persimmon; accents are signals, not surfaces.",
"Do not use decorative Japanese motifs, pattern wallpaper, tourist calligraphy, or ornamental stamps.",
"Do not use low-contrast gray for body text or essential metadata.",
"Do not add multiple accent colors in one view or let charts become rainbow dashboards.",
"Do not rely on heavy shadows, gradients, or glass panels to separate information."
]
}
}