Typography
The quick brown fox jumps
The quick brown fox jumps
The quick brown fox jumps
The quick brown fox jumps
A portable design language for agents: download the markdown first, then inspect the preview, tokens, and rules as needed.
Portable DESIGN.md source of truth for most agents and apps.
Compose every screen as a vertical fanfold stack of full-width record strips threaded between sprocket-feed margins, separated by dashed perforations; the landing opens on a full-viewport platen-mechanism schematic with a solid sepia overlay plate lower-left, and the dashboard is one continuous console with a breathing nav rail — never a rails-plus-center-plus-inspector workspace.
Use uppercase Archivo label strips and oversized tabular numerals for strategic summary, and Azeret Mono record fields and sequence numbers for transactional detail; the transport plus typographic contrast carries hierarchy.
High-density but controlled — fixed-pitch record strips, compact rows, the perforation carrying separation so borders are rare; numeric columns are tabular and aligned like line-printer output.
A tractor-feed sprocket margin and a fixed 34px pitch run through every region; records tear at a dashed perforation; and across tables and charts exactly one element wears the teal read-head (the active record, the one chart peak, the focus ring), so the eye lands on the single thing in play.
Single-column vertical fanfold of full-width record strips at a fixed feed pitch; readouts and charts split into equal minmax(0,1fr) columns that share the same pitch.
Generous padding above every title; the sprocket margins and feed-line texture do the structural work so interiors stay calm.
high
Strips stay full-width and stack; readout grids collapse 4->2->1; sprocket margins narrow on mobile; nothing overflows horizontally; ultra-wide caps and centres the contained content while only the hero spans 100vw.
bluework
Subjects rendered as precise orthographic engineering schematics in fine graphite hairline ink over a faint square measurement grid, with exactly one analytical element lifted in electric signal. The landing hero is a teleprinter platen and tractor-feed mechanism — the machine that makes the moving roll — read in that technique, the mechanism weighted left with open ruled feed-paper at the right and one teal read-head line crossing the paper.
Full-viewport landing hero driven by background-image: var(--hero-image); the schematic fills the frame with the measurement grid as substrate, the mechanism weighted to the left two-thirds and a solid sepia overlay plate carrying the headline in the lower-left.
# Platen ## Philosophy Platen runs an operational queue the way a teleprinter runs paper: every record is a fixed-pitch strip threaded over the drum, separated by a perforation, and read by one carriage line. The single record under the read-head is the only thing lit; everything else stays in sepia carbon on warm manila continuous-feed paper. A reimagination of the enterprise mono-grid concept — serious instruments, monochrome discipline, one reserved signal — reconceived around a paper-transport metaphor: structure comes from the sprocket feed, the fixed pitch, the perforation and the carriage, not from a ruled drafting grid or cards with edges. ### Values - operational clarity carried by the transport and by typography, never by colour - one record read at a time — the carriage marks the single decision in play - dense information made legible by a shared fixed pitch and tabular numerals - structure from the sprocket feed and the perforation, not from borders or shadows ### Anti-Values - floating cards with a colour pasted on an edge - rounded consumer-app softness, pastel washes, or decorative motion - the signal spread across every strip until it stops meaning anything - defaulting the ground to white or to a cool drafting grey ### Visual Character - A tractor-feed sprocket margin runs the length of every major region; its fixed hole pitch (34px) sets the rhythm of the whole page so readouts, records and charts share one cadence. - Records are separated by a dashed perforation tear-line rather than a border; cleared work is torn off the roll while held work stays threaded above the carriage. - Exactly one record wears a horizontal teal read-head line and a small READ tag at the left margin — the record being read — and charts lift exactly one column to the same teal. - Squared Archivo headlines and big tabular numerals pair with Azeret Mono record fields and sequence numbers; hard typographic contrast and line-printer cadence establish hierarchy so colour never has to. - Everything sits on warm manila feed paper in sepia carbon ink, with faint horizontal feed-lines across the whole surface, evoking continuous-form computer paper rather than a cool drafting table. ## Tokens ### Colors | Name | Value | |------|-------| | bg | `#e7dcc2` | | bg_deep | `#ddd0b2` | | surface | `#f4ecd8` | | surface_2 | `#efe5cd` | | text | `#2c2418` | | muted | `#7c6f57` | | faint | `#a99c80` | | border | `#c5b690` | | accent | `#0e7c86` | | accent_deep | `#0a5c64` | | on_accent | `#f4ecd8` | | primary | `#0e7c86` | | secondary | `#7c6f57` | | background | `#e7dcc2` | | success | `#3f7a3a` | | warning | `#b07a1f` | | error | `#b23a2a` | | info | `#0e7c86` | ### Typography - **Base Size**: 17px - **Body Font**: Azeret Mono - **Heading Font**: Archivo - **Mono Font**: Azeret Mono - **Heading Weight**: 800 - **Heading Transform**: uppercase - **Letter Spacing**: 0.005em - **Scale Ratio**: 1.25 - **Line Height**: 1.5 - **Google Fonts Url**: https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800;900&family=Azeret+Mono:wght@400;500;600;700&display=swap ### Radii - **None**: 0 - **Sm**: 0 - **Md**: 0 - **Lg**: 0 - **Full**: 9999px ### Shadows - **Sm**: 0 1px 0 rgba(44,36,24,.10) - **Md**: 0 8px 22px rgba(44,36,24,.10) - **Lg**: 0 18px 44px rgba(44,36,24,.14) ### Spacing - **Base**: 8px - **Scale**: [4,8,12,16,24,32,48,64] ### Surfaces - **Treatment**: warm-manila-continuous-feed-paper - **Card Style**: Flat record strips on lighter manila with sprocket-feed margins and dashed perforation tear-lines between records; section headers are uppercase label strips with a feed rule, never a shadow or accent edge. - **Bg Pattern**: feed-lines ### Borders - **Default Width**: 1px - **Accent Width**: 2px - **Style**: solid - **Character**: Warm hairline feed rules and dashed perforation tear-lines carry separation; the only 2px line is the single teal carriage read-head. Never a single decorative accent edge, never a heavy border. ### Motion - **Duration**: 180ms - **Easing**: cubic-bezier(0.2, 0.7, 0, 1) - **Philosophy**: Snappy and additive; the settled fully-rendered state is the no-JS default, reveals layered on top behind a class set on <html>, the hero ticker scrolls live form state at feed speed, all disabled under prefers-reduced-motion. ## Rules ### Composition Compose every screen as a vertical fanfold stack of full-width record strips threaded between sprocket-feed margins, separated by dashed perforations; the landing opens on a full-viewport platen-mechanism schematic with a solid sepia overlay plate lower-left, and the dashboard is one continuous console with a breathing nav rail — never a rails-plus-center-plus-inspector workspace. ### Hierarchy Use uppercase Archivo label strips and oversized tabular numerals for strategic summary, and Azeret Mono record fields and sequence numbers for transactional detail; the transport plus typographic contrast carries hierarchy. ### Density High-density but controlled — fixed-pitch record strips, compact rows, the perforation carrying separation so borders are rare; numeric columns are tabular and aligned like line-printer output. ### Signature A tractor-feed sprocket margin and a fixed 34px pitch run through every region; records tear at a dashed perforation; and across tables and charts exactly one element wears the teal read-head (the active record, the one chart peak, the focus ring), so the eye lands on the single thing in play. ## Layout ### Grid Single-column vertical fanfold of full-width record strips at a fixed feed pitch; readouts and charts split into equal minmax(0,1fr) columns that share the same pitch. ### Whitespace Generous padding above every title; the sprocket margins and feed-line texture do the structural work so interiors stay calm. ### Density high ### Responsive Strips stay full-width and stack; readout grids collapse 4->2->1; sprocket margins narrow on mobile; nothing overflows horizontally; ultra-wide caps and centres the contained content while only the hero spans 100vw. ### Breakpoints - **Mobile**: 390px - **Tablet**: 760px - **Desktop**: 1180px - **Ultrawide**: 2560px ## Guidance ### Do - Reserve the teal for the one record / one chart peak / focus state. - Let the sprocket feed and dashed perforation carry structure; pad above every title. - Use tabular numerals and align numeric columns like line-printer output. - Keep the warm manila ground and sepia ink consistent across all artifacts. ### Don't - Don't add a second accent or paste teal on every strip. - Don't give any region a single decorative accent edge, nest cards, or box the nav into a pill. - Don't default the ground to white or shift it cool. - Don't use emoji on buttons or symbol glyphs in copy. ### Accessibility Body 17px+ sepia carbon on manila clears AA; the teal signal is reinforced by the READ tag and position, never carried by colour alone; every form control is explicitly styled with a teal focus ring; motion respects prefers-reduced-motion and the no-JS state is fully rendered. ## Imagery Direction ### Pairs With bluework ### Summary Subjects rendered as precise orthographic engineering schematics in fine graphite hairline ink over a faint square measurement grid, with exactly one analytical element lifted in electric signal. The landing hero is a teleprinter platen and tractor-feed mechanism — the machine that makes the moving roll — read in that technique, the mechanism weighted left with open ruled feed-paper at the right and one teal read-head line crossing the paper. ### Subjects - teleprinter platen and tractor-feed mechanism - continuous-form paper roll and sprocket drive - line-printer carriage assembly - exploded feed-roller and pin-belt detail - ribbon and print-head transport ### Usage Full-viewport landing hero driven by background-image: var(--hero-image); the schematic fills the frame with the measurement grid as substrate, the mechanism weighted to the left two-thirds and a solid sepia overlay plate carrying the headline in the lower-left.
---
version: "alpha"
name: "Platen"
description: "Agent-curated design language exported from Katagami as DESIGN.md."
colors:
bg: "#e7dcc2"
bg_deep: "#ddd0b2"
surface: "#f4ecd8"
surface_2: "#efe5cd"
text: "#2c2418"
muted: "#7c6f57"
faint: "#a99c80"
border: "#c5b690"
accent: "#0e7c86"
accent_deep: "#0a5c64"
on_accent: "#f4ecd8"
primary: "#0e7c86"
secondary: "#7c6f57"
background: "#e7dcc2"
success: "#3f7a3a"
warning: "#b07a1f"
error: "#b23a2a"
info: "#0e7c86"
typography:
headline-lg:
fontFamily: "Archivo"
fontSize: "2.075rem"
fontWeight: 700
lineHeight: 1.1
letterSpacing: "0.005em"
headline-md:
fontFamily: "Archivo"
fontSize: "1.66rem"
fontWeight: 600
lineHeight: 1.15
letterSpacing: "0.005em"
body-md:
fontFamily: "Azeret Mono"
fontSize: "17px"
fontWeight: 400
lineHeight: 1.5
letterSpacing: "0.005em"
label-md:
fontFamily: "Azeret Mono"
fontSize: "0.75rem"
fontWeight: 600
lineHeight: 1
letterSpacing: "0.08em"
rounded:
none: "0px"
sm: "0px"
md: "0px"
lg: "0px"
full: "9999px"
spacing:
base: "8px"
xs: "4px"
sm: "8px"
md: "12px"
lg: "16px"
xl: "24px"
2xl: "32px"
3xl: "48px"
4xl: "64px"
components:
color-reference-bg:
backgroundColor: "{colors.bg}"
color-reference-bg_deep:
backgroundColor: "{colors.bg_deep}"
color-reference-surface:
backgroundColor: "{colors.surface}"
color-reference-surface_2:
backgroundColor: "{colors.surface_2}"
color-reference-text:
backgroundColor: "{colors.text}"
color-reference-muted:
backgroundColor: "{colors.muted}"
color-reference-faint:
backgroundColor: "{colors.faint}"
color-reference-border:
backgroundColor: "{colors.border}"
color-reference-accent:
backgroundColor: "{colors.accent}"
color-reference-accent_deep:
backgroundColor: "{colors.accent_deep}"
color-reference-on_accent:
backgroundColor: "{colors.on_accent}"
color-reference-primary:
backgroundColor: "{colors.primary}"
color-reference-secondary:
backgroundColor: "{colors.secondary}"
color-reference-background:
backgroundColor: "{colors.background}"
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.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"
---
# Platen
## Overview
Platen runs an operational queue the way a teleprinter runs paper: every record is a fixed-pitch strip threaded over the drum, separated by a perforation, and read by one carriage line. The single record under the read-head is the only thing lit; everything else stays in sepia carbon on warm manila continuous-feed paper. A reimagination of the enterprise mono-grid concept — serious instruments, monochrome discipline, one reserved signal — reconceived around a paper-transport metaphor: structure comes from the sprocket feed, the fixed pitch, the perforation and the carriage, not from a ruled drafting grid or cards with edges.
### Values
- operational clarity carried by the transport and by typography, never by colour
- one record read at a time — the carriage marks the single decision in play
- dense information made legible by a shared fixed pitch and tabular numerals
- structure from the sprocket feed and the perforation, not from borders or shadows
### Anti-Values
- floating cards with a colour pasted on an edge
- rounded consumer-app softness, pastel washes, or decorative motion
- the signal spread across every strip until it stops meaning anything
- defaulting the ground to white or to a cool drafting grey
### Visual Character
- A tractor-feed sprocket margin runs the length of every major region; its fixed hole pitch (34px) sets the rhythm of the whole page so readouts, records and charts share one cadence.
- Records are separated by a dashed perforation tear-line rather than a border; cleared work is torn off the roll while held work stays threaded above the carriage.
- Exactly one record wears a horizontal teal read-head line and a small READ tag at the left margin — the record being read — and charts lift exactly one column to the same teal.
- Squared Archivo headlines and big tabular numerals pair with Azeret Mono record fields and sequence numbers; hard typographic contrast and line-printer cadence establish hierarchy so colour never has to.
- Everything sits on warm manila feed paper in sepia carbon ink, with faint horizontal feed-lines across the whole surface, evoking continuous-form computer paper rather than a cool drafting table.
## 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 | `#e7dcc2` |
| bg_deep | `#ddd0b2` |
| surface | `#f4ecd8` |
| surface_2 | `#efe5cd` |
| text | `#2c2418` |
| muted | `#7c6f57` |
| faint | `#a99c80` |
| border | `#c5b690` |
| accent | `#0e7c86` |
| accent_deep | `#0a5c64` |
| on_accent | `#f4ecd8` |
| primary | `#0e7c86` |
| secondary | `#7c6f57` |
| background | `#e7dcc2` |
| success | `#3f7a3a` |
| warning | `#b07a1f` |
| error | `#b23a2a` |
| info | `#0e7c86` |
## Typography
- **Headline-Lg**: Archivo, 2.075rem, weight 700, line-height 1.1.
- **Headline-Md**: Archivo, 1.66rem, weight 600, line-height 1.15.
- **Body-Md**: Azeret Mono, 17px, weight 400, line-height 1.5.
- **Label-Md**: Azeret Mono, 0.75rem, weight 600, line-height 1.
## Layout
### Spacing Tokens
- **Base**: `8px`
- **Xs**: `4px`
- **Sm**: `8px`
- **Md**: `12px`
- **Lg**: `16px`
- **Xl**: `24px`
- **2xl**: `32px`
- **3xl**: `48px`
- **4xl**: `64px`
### Grid
Single-column vertical fanfold of full-width record strips at a fixed feed pitch; readouts and charts split into equal minmax(0,1fr) columns that share the same pitch.
### Whitespace
Generous padding above every title; the sprocket margins and feed-line texture do the structural work so interiors stay calm.
### Density
high
### Responsive
Strips stay full-width and stack; readout grids collapse 4->2->1; sprocket margins narrow on mobile; nothing overflows horizontally; ultra-wide caps and centres the contained content while only the hero spans 100vw.
### Breakpoints
- **Mobile**: 390px
- **Tablet**: 760px
- **Desktop**: 1180px
- **Ultrawide**: 2560px
## Elevation & Depth
### Shadows
- **Sm**: 0 1px 0 rgba(44,36,24,.10)
- **Md**: 0 8px 22px rgba(44,36,24,.10)
- **Lg**: 0 18px 44px rgba(44,36,24,.14)
## Shapes
### Rounded
- **None**: `0px`
- **Sm**: `0px`
- **Md**: `0px`
- **Lg**: `0px`
- **Full**: `9999px`
### Surfaces
- **Treatment**: warm-manila-continuous-feed-paper
- **Card Style**: Flat record strips on lighter manila with sprocket-feed margins and dashed perforation tear-lines between records; section headers are uppercase label strips with a feed rule, never a shadow or accent edge.
- **Bg Pattern**: feed-lines
### Borders
- **Default Width**: 1px
- **Accent Width**: 2px
- **Style**: solid
- **Character**: Warm hairline feed rules and dashed perforation tear-lines carry separation; the only 2px line is the single teal carriage read-head. Never a single decorative accent edge, never a heavy border.
## Components
### Composition
Compose every screen as a vertical fanfold stack of full-width record strips threaded between sprocket-feed margins, separated by dashed perforations; the landing opens on a full-viewport platen-mechanism schematic with a solid sepia overlay plate lower-left, and the dashboard is one continuous console with a breathing nav rail — never a rails-plus-center-plus-inspector workspace.
### Hierarchy
Use uppercase Archivo label strips and oversized tabular numerals for strategic summary, and Azeret Mono record fields and sequence numbers for transactional detail; the transport plus typographic contrast carries hierarchy.
### Density
High-density but controlled — fixed-pitch record strips, compact rows, the perforation carrying separation so borders are rare; numeric columns are tabular and aligned like line-printer output.
### Signature
A tractor-feed sprocket margin and a fixed 34px pitch run through every region; records tear at a dashed perforation; and across tables and charts exactly one element wears the teal read-head (the active record, the one chart peak, the focus ring), so the eye lands on the single thing in play.
## 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-019efa8b-32c0-7511-a7a1-7b02e3f983af/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 Reserve the teal for the one record / one chart peak / focus state.
- Do Let the sprocket feed and dashed perforation carry structure; pad above every title.
- Do Use tabular numerals and align numeric columns like line-printer output.
- Do Keep the warm manila ground and sepia ink consistent across all artifacts.
- Don't Don't add a second accent or paste teal on every strip.
- Don't Don't give any region a single decorative accent edge, nest cards, or box the nav into a pill.
- Don't Don't default the ground to white or shift it cool.
- Don't Don't use emoji on buttons or symbol glyphs in copy.
### Accessibility
Body 17px+ sepia carbon on manila clears AA; the teal signal is reinforced by the READ tag and position, never carried by colour alone; every form control is explicitly styled with a teal focus ring; motion respects prefers-reduced-motion and the no-JS state is fully rendered.
## Imagery Direction
### Pairs With
bluework
### Summary
Subjects rendered as precise orthographic engineering schematics in fine graphite hairline ink over a faint square measurement grid, with exactly one analytical element lifted in electric signal. The landing hero is a teleprinter platen and tractor-feed mechanism — the machine that makes the moving roll — read in that technique, the mechanism weighted left with open ruled feed-paper at the right and one teal read-head line crossing the paper.
### Subjects
- teleprinter platen and tractor-feed mechanism
- continuous-form paper roll and sprocket drive
- line-printer carriage assembly
- exploded feed-roller and pin-belt detail
- ribbon and print-head transport
### Usage
Full-viewport landing hero driven by background-image: var(--hero-image); the schematic fills the frame with the measurement grid as substrate, the mechanism weighted to the left two-thirds and a solid sepia overlay plate carrying the headline in the lower-left.
```json
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "platen",
"type": "registry:theme",
"title": "Platen shadcn Theme",
"cssVars": {
"theme": {},
"light": {
"background": "#e7dcc2",
"foreground": "#2c2418",
"card": "#f4ecd8",
"card-foreground": "#2c2418",
"popover": "#f4ecd8",
"popover-foreground": "#2c2418",
"primary": "#0e7c86",
"primary-foreground": "#ffffff",
"secondary": "#7c6f57",
"secondary-foreground": "#ffffff",
"muted": "#7c6f57",
"muted-foreground": "#2c2418",
"accent": "#0e7c86",
"accent-foreground": "#ffffff",
"destructive": "#b23a2a",
"border": "#c5b690",
"input": "#c5b690",
"ring": "#0e7c86",
"chart-1": "#0e7c86",
"chart-2": "#7c6f57",
"chart-3": "#0e7c86",
"chart-4": "#3f7a3a",
"chart-5": "#b07a1f",
"sidebar": "#f4ecd8",
"sidebar-foreground": "#2c2418",
"sidebar-primary": "#0e7c86",
"sidebar-primary-foreground": "#ffffff",
"sidebar-accent": "#0e7c86",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#c5b690",
"sidebar-ring": "#0e7c86",
"radius": "0"
},
"dark": {
"background": "#0f1115",
"foreground": "#f8fafc",
"card": "#181b22",
"card-foreground": "#f8fafc",
"popover": "#181b22",
"popover-foreground": "#f8fafc",
"primary": "#0e7c86",
"primary-foreground": "#ffffff",
"secondary": "#252a33",
"secondary-foreground": "#f8fafc",
"muted": "#252a33",
"muted-foreground": "#a1a1aa",
"accent": "#0e7c86",
"accent-foreground": "#ffffff",
"destructive": "#b23a2a",
"border": "#303642",
"input": "#303642",
"ring": "#0e7c86",
"chart-1": "#0e7c86",
"chart-2": "#7c6f57",
"chart-3": "#0e7c86",
"chart-4": "#3f7a3a",
"chart-5": "#b07a1f",
"sidebar": "#181b22",
"sidebar-foreground": "#f8fafc",
"sidebar-primary": "#0e7c86",
"sidebar-primary-foreground": "#ffffff",
"sidebar-accent": "#0e7c86",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#303642",
"sidebar-ring": "#0e7c86",
"radius": "0"
}
},
"meta": {
"source": "katagami",
"languageId": "en-019efa8b-32c0-7511-a7a1-7b02e3f983af",
"slug": "platen",
"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_deep",
"background",
"bg",
"bg_deep",
"border",
"error",
"faint",
"info",
"muted",
"on_accent",
"primary",
"secondary",
"success",
"surface",
"surface_2",
"text",
"warning"
],
"typography": [
"base_size",
"body_font",
"google_fonts_url",
"heading_font",
"heading_transform",
"heading_weight",
"letter_spacing",
"line_height",
"mono_font",
"scale_ratio"
],
"radii": [
"full",
"lg",
"md",
"none",
"sm"
],
"shadows": [
"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 Platenand 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: #e7dcc2;
--foreground: #2c2418;
--card: #f4ecd8;
--card-foreground: #2c2418;
--popover: #f4ecd8;
--popover-foreground: #2c2418;
--primary: #0e7c86;
--primary-foreground: #ffffff;
--secondary: #7c6f57;
--secondary-foreground: #ffffff;
--muted: #7c6f57;
--muted-foreground: #2c2418;
--accent: #0e7c86;
--accent-foreground: #ffffff;
--destructive: #b23a2a;
--border: #c5b690;
--input: #c5b690;
--ring: #0e7c86;
--chart-1: #0e7c86;
--chart-2: #7c6f57;
--chart-3: #0e7c86;
--chart-4: #3f7a3a;
--chart-5: #b07a1f;
--sidebar: #f4ecd8;
--sidebar-foreground: #2c2418;
--sidebar-primary: #0e7c86;
--sidebar-primary-foreground: #ffffff;
--sidebar-accent: #0e7c86;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #c5b690;
--sidebar-ring: #0e7c86;
--radius: 0;
}
.dark {
--background: #0f1115;
--foreground: #f8fafc;
--card: #181b22;
--card-foreground: #f8fafc;
--popover: #181b22;
--popover-foreground: #f8fafc;
--primary: #0e7c86;
--primary-foreground: #ffffff;
--secondary: #252a33;
--secondary-foreground: #f8fafc;
--muted: #252a33;
--muted-foreground: #a1a1aa;
--accent: #0e7c86;
--accent-foreground: #ffffff;
--destructive: #b23a2a;
--border: #303642;
--input: #303642;
--ring: #0e7c86;
--chart-1: #0e7c86;
--chart-2: #7c6f57;
--chart-3: #0e7c86;
--chart-4: #3f7a3a;
--chart-5: #b07a1f;
--sidebar: #181b22;
--sidebar-foreground: #f8fafc;
--sidebar-primary: #0e7c86;
--sidebar-primary-foreground: #ffffff;
--sidebar-accent: #0e7c86;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #303642;
--sidebar-ring: #0e7c86;
--radius: 0;
}
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 PlatenShadcnKit() {
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">Platen</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": "platen",
"type": "registry:theme",
"cssVars": {
"theme": {
"font-sans": "Azeret Mono, ui-monospace, Menlo, monospace",
"font-mono": "Azeret Mono, ui-monospace, Menlo, monospace",
"font-display": "Archivo, Azeret Mono, system-ui, sans-serif",
"radius": "0px"
},
"light": {
"background": "#e7dcc2",
"foreground": "#2c2418",
"card": "#f4ecd8",
"card-foreground": "#2c2418",
"popover": "#f4ecd8",
"popover-foreground": "#2c2418",
"primary": "#0e7c86",
"primary-foreground": "#f4ecd8",
"secondary": "#ddd0b2",
"secondary-foreground": "#2c2418",
"muted": "#efe5cd",
"muted-foreground": "#7c6f57",
"accent": "#0e7c86",
"accent-foreground": "#f4ecd8",
"destructive": "#b23a2a",
"destructive-foreground": "#f4ecd8",
"border": "#c5b690",
"input": "#c5b690",
"ring": "#0e7c86",
"chart-1": "#0e7c86",
"chart-2": "#7c6f57",
"chart-3": "#b07a1f",
"chart-4": "#3f7a3a",
"chart-5": "#a99c80",
"radius": "0px"
},
"dark": {
"background": "#211b10",
"foreground": "#ece1c7",
"card": "#2a2316",
"card-foreground": "#ece1c7",
"popover": "#2a2316",
"popover-foreground": "#ece1c7",
"primary": "#28a0aa",
"primary-foreground": "#1a1509",
"secondary": "#352c1c",
"secondary-foreground": "#ece1c7",
"muted": "#352c1c",
"muted-foreground": "#b7a987",
"accent": "#28a0aa",
"accent-foreground": "#1a1509",
"destructive": "#d2584a",
"destructive-foreground": "#1a1509",
"border": "#4a3f29",
"input": "#4a3f29",
"ring": "#28a0aa",
"chart-1": "#28a0aa",
"chart-2": "#b7a987",
"chart-3": "#cf9a3c",
"chart-4": "#5fa258",
"chart-5": "#8a7d5f",
"radius": "0px"
}
}
}
# Platen shadcn/ui Components
Artifact: `component-recipes-v1`
Author: `katagami-ui-projection`
Language ID: `en-019efa8b-32c0-7511-a7a1-7b02e3f983af`
Slug: `platen`
## Intent
Platen runs an operational queue the way a teleprinter runs paper: every record is a fixed-pitch strip threaded over the drum, separated by a perforation, and read by one carriage line. The single record under the read-head is the only thing lit; everything else stays in sepia carbon on warm manila continuous-feed paper. A reimagination of the enterprise mono-grid concept — serious instruments, monochrome discipline, one reserved signal — reconceived around a paper-transport metaphor: structure comes from the sprocket feed, the fixed pitch, the perforation and the carriage, not from a ruled drafting grid or cards with edges.
## 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": "#e7dcc2",
"bg_deep": "#ddd0b2",
"surface": "#f4ecd8",
"surface_2": "#efe5cd",
"text": "#2c2418",
"muted": "#7c6f57",
"faint": "#a99c80",
"border": "#c5b690",
"accent": "#0e7c86",
"accent_deep": "#0a5c64",
"on_accent": "#f4ecd8",
"primary": "#0e7c86",
"secondary": "#7c6f57",
"background": "#e7dcc2",
"success": "#3f7a3a",
"warning": "#b07a1f",
"error": "#b23a2a",
"info": "#0e7c86"
}
Typography:
{
"base_size": "17px",
"body_font": "Azeret Mono",
"heading_font": "Archivo",
"mono_font": "Azeret Mono",
"heading_weight": 800,
"heading_transform": "uppercase",
"letter_spacing": "0.005em",
"scale_ratio": 1.25,
"line_height": 1.5,
"google_fonts_url": "https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800;900&family=Azeret+Mono:wght@400;500;600;700&display=swap"
}
## Visual character to preserve
- A tractor-feed sprocket margin runs the length of every major region; its fixed hole pitch (34px) sets the rhythm of the whole page so readouts, records and charts share one cadence.
- Records are separated by a dashed perforation tear-line rather than a border; cleared work is torn off the roll while held work stays threaded above the carriage.
- Exactly one record wears a horizontal teal read-head line and a small READ tag at the left margin — the record being read — and charts lift exactly one column to the same teal.
- Squared Archivo headlines and big tabular numerals pair with Azeret Mono record fields and sequence numbers; hard typographic contrast and line-printer cadence establish hierarchy so colour never has to.
- Everything sits on warm manila feed paper in sepia carbon ink, with faint horizontal feed-lines across the whole surface, evoking continuous-form computer paper rather than a cool drafting table.
## ShadSync visual profile
{
"family": "paper-collage",
"material": "paper",
"contour": "default",
"border": "dashed",
"underlay": true,
"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/platen/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: Reserve the teal for the one record / one chart peak / focus state.; Let the sprocket feed and dashed perforation carry structure; pad above every title.; Use tabular numerals and align numeric columns like line-printer output.; Keep the warm manila ground and sepia ink consistent across all artifacts.
- Do not: Don't add a second accent or paste teal on every strip.; Don't give any region a single decorative accent edge, nest cards, or box the nav into a pill.; Don't default the ground to white or shift it cool.; Don't use emoji on buttons or symbol glyphs in copy.
## Copy-paste component example
This generated starter proves the import shape. Production Katagami agents should replace it with a language-specific product composition.
```tsx
import { Badge } from "@/components/ui/badge";
import { Button } from "@/components/ui/button";
import {
Card,
CardContent,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
} from "@/components/ui/card";
import { Input } from "@/components/ui/input";
import { Tabs, TabsList, TabsTrigger } from "@/components/ui/tabs";
export function PlatenShadcnKit() {
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">Platen</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": "Single-column vertical fanfold of full-width record strips at a fixed feed pitch; readouts and charts split into equal minmax(0,1fr) columns that share the same pitch.",
"whitespace": "Generous padding above every title; the sprocket margins and feed-line texture do the structural work so interiors stay calm.",
"density": "high",
"responsive": "Strips stay full-width and stack; readout grids collapse 4->2->1; sprocket margins narrow on mobile; nothing overflows horizontally; ultra-wide caps and centres the contained content while only the hero spans 100vw.",
"breakpoints": {
"mobile": "390px",
"tablet": "760px",
"desktop": "1180px",
"ultrawide": "2560px"
}
}
{
"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-019efa8b-32c0-7511-a7a1-7b02e3f983af",
"name": "Platen",
"slug": "platen"
},
"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 tractor-feed sprocket margin runs the length of every major region; its fixed hole pitch (34px) sets the rhythm of the whole page so readouts, records and charts share one cadence.",
"Records are separated by a dashed perforation tear-line rather than a border; cleared work is torn off the roll while held work stays threaded above the carriage.",
"Exactly one record wears a horizontal teal read-head line and a small READ tag at the left margin — the record being read — and charts lift exactly one column to the same teal.",
"Squared Archivo headlines and big tabular numerals pair with Azeret Mono record fields and sequence numbers; hard typographic contrast and line-printer cadence establish hierarchy so colour never has to.",
"Everything sits on warm manila feed paper in sepia carbon ink, with faint horizontal feed-lines across the whole surface, evoking continuous-form computer paper rather than a cool drafting table."
],
"visualProfile": {
"family": "paper-collage",
"material": "paper",
"contour": "default",
"border": "dashed",
"underlay": false,
"grain": true,
"stickerBadges": false,
"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": "Platen 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": [
"Reserve the teal for the one record / one chart peak / focus state.",
"Let the sprocket feed and dashed perforation carry structure; pad above every title.",
"Use tabular numerals and align numeric columns like line-printer output.",
"Keep the warm manila ground and sepia ink consistent across all artifacts."
],
"dont": [
"Don't add a second accent or paste teal on every strip.",
"Don't give any region a single decorative accent edge, nest cards, or box the nav into a pill.",
"Don't default the ground to white or shift it cool.",
"Don't use emoji on buttons or symbol glyphs in copy."
]
}
}