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 broadsheet zine spread: an open masthead band across the header, column rules between articles, folio numbers on section rules, drop-cap standfirsts, pull-quotes, and a printed ledger for metrics — never a boxed terminal console.
Hierarchy comes from the misregistered green plate, scale of the Anton display, serif body weight, mono folios, and inked plates — never from large colourful cards or HUD chrome.
Medium-high editorial density; every cluster aligns to the column grid with clean rules and readable 17px serif body text.
The misregistered green plate: a phosphor-green duplicate of each focal element (headline, number, primary button, chart bar, focused input) offset a uniform 2.5px south-east behind the black, set with multiply on paper or screen on ink, so the slip reads as a real second printing pass, never a CSS drop shadow.
Broadsheet column-rule grid: an open masthead, an asymmetric lead (wide article + side plate card), 3-column article body with column rules, a 4-cell printed ledger, and two-up plate/quote and form bands.
Editorial and measured: column gutters of 30-34px, 1px paper rules between articles, 3px ink rules on mastheads, generous padding above every title.
medium-high
Collapses cleanly to one stacked column on mobile with the masthead, column rules and ledgers preserved; nothing overflows horizontally; the full-bleed hero cover spans 100vw.
phosphor-press
Photocopied two-plate riso plates: bone-white paper, dense sumi ink, manga halftone screentone, re-lit by one phosphor-green spot ink that lands deliberately off register so a green ghost-double slips off every black edge. Printer crop marks and registration targets in the corners.
One full-bleed riso cover plate for the landing hero, composed with a sumi overlay zone for the masthead; inked-plate panels and halftone fields elsewhere. End every prompt with NO text, NO letters, NO logos.
# Misregister ## Philosophy A two-plate riso-print interface language: bone paper and sumi black, re-lit by one phosphor green spot ink landed a measured 2.5mm off register on purpose — so a luminous green ghost trails every contour and you read the slip before you read the word. ### Values - a two-color print fault, the misregistered green plate, owned as the entire identity - green is spot ink on a drum, not a screen beam — it multiplies into the paper and never floats - depth is a 55-line halftone and the offset double, never a soft drop shadow - an editorial voice: grotesque masthead, warm serif body, teletype mono only for folios and registration marks - the slip does the work that glow and gradients fake, at no cost but discipline ### Anti-Values - a CRT terminal console or dark dashboard read of a hacker zine - rainbow gradients, neon glow, or a green used as light rather than ink - rounded friendly cards, soft drop shadows, or a third accent colour - monospace-everything that loses the editorial warmth of a printed sheet ## Tokens ### Colors | Name | Value | |------|-------| | bg | `#ece4d2` | | surface | `#e3d9c2` | | text | `#13130f` | | muted | `#6f6a58` | | border | `#ccc0a4` | | accent | `#00b945` | | accent_ink | `#00913a` | | on_accent | `#0a1206` | | ink | `#13130f` | | paper | `#ece4d2` | | success | `#00913a` | | warning | `#c97a14` | | error | `#d23b1e` | | info | `#5d6657` | ### Typography - **Base Size**: 17px - **Body Font**: Spectral - **Heading Font**: Anton - **Label Font**: Archivo - **Mono Font**: Spline Sans Mono - **Heading Weight**: 400 - **Heading Transform**: uppercase - **Letter Spacing**: 0 - **Line Height**: 1.55 - **Scale Ratio**: 1.25 - **Google Fonts Url**: https://fonts.googleapis.com/css2?family=Anton&family=Archivo:wght@500;600;700;800&family=Spectral:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Spline+Sans+Mono:wght@400;500;600&display=swap ### Radii - **None**: 0 - **Sm**: 0 - **Md**: 0 - **Lg**: 0 - **Full**: 9999px ### Shadows - **Plate**: 2.5px 2.5px 0 #13130f - **Sm**: 2.5px 2.5px 0 rgba(19,19,15,0.9) - **Screen**: no soft shadows — depth is the offset block plus a 55lpi halftone dot field ### Spacing - **Base**: 8px - **Scale**: [4,8,12,16,24,32,48,64] ### Surfaces - **Bg Pattern**: Bone paper with a faint halftone tooth and a barely-there print scanline; no muddy washes, no gradients. - **Card Style**: Flat bone or stock surfaces with a 1px sumi border and hard corners; inked-plate variant flips to sumi-black with a halftone dot overlay; never nested, never an accent edge. - **Treatment**: Every focal element carries a green spot-ink duplicate offset 2.5px south-east behind the black (multiply on paper, screen on ink) — the misregistration mechanic. ### Borders - **Default Width**: 1px - **Accent Width**: 3px - **Style**: solid - **Character**: Sumi rules; 1px on containers, 3px on masthead bands; the accent is never a border edge but a misregistered green plate behind the element. ### Motion - **Duration**: 600ms - **Easing**: cubic-bezier(.2,.7,.2,1) - **Philosophy**: The settled, fully-printed page is the no-JS default. Motion is layered on top: sections reveal as they enter view, gated behind a class on <html>; respects prefers-reduced-motion; no smooth consumer micro-easing, no scroll cues. ## Rules ### Composition Compose every screen as a broadsheet zine spread: an open masthead band across the header, column rules between articles, folio numbers on section rules, drop-cap standfirsts, pull-quotes, and a printed ledger for metrics — never a boxed terminal console. ### Hierarchy Hierarchy comes from the misregistered green plate, scale of the Anton display, serif body weight, mono folios, and inked plates — never from large colourful cards or HUD chrome. ### Density Medium-high editorial density; every cluster aligns to the column grid with clean rules and readable 17px serif body text. ### Signature The misregistered green plate: a phosphor-green duplicate of each focal element (headline, number, primary button, chart bar, focused input) offset a uniform 2.5px south-east behind the black, set with multiply on paper or screen on ink, so the slip reads as a real second printing pass, never a CSS drop shadow. ## Layout ### Grid Broadsheet column-rule grid: an open masthead, an asymmetric lead (wide article + side plate card), 3-column article body with column rules, a 4-cell printed ledger, and two-up plate/quote and form bands. ### Whitespace Editorial and measured: column gutters of 30-34px, 1px paper rules between articles, 3px ink rules on mastheads, generous padding above every title. ### Density medium-high ### Responsive Collapses cleanly to one stacked column on mobile with the masthead, column rules and ledgers preserved; nothing overflows horizontally; the full-bleed hero cover spans 100vw. ### Breakpoints - **Mobile**: < 720px - **Tablet**: 720-1024px - **Desktop**: >= 1024px - **Ultrawide**: >= 1320px capped/centred ## Guidance ### Do - Land one green plate 2.5mm off the black on every focal element — headline, number, button, chart bar, focused input. - Keep the green a single spot ink used like a second printing pass; reserve amber for a drifting plate and vermilion for a voided sheet. - Set body in the Spectral serif so the editorial voice stays warm; let Archivo carry labels and Spline Sans Mono run folios and registration marks. - Build depth from a 55lpi halftone dot field and the offset double; keep reading zones crisp and uncovered. ### Don't - Do not read the brief as a dark CRT terminal or dashboard — this is a printed sheet on bone paper. - Do not introduce a third accent, a gradient, or a glossy glow; the green is ink, not light. - Do not round corners, float soft cards, nest cards, or use drop shadows as the main depth device. - Do not box the masthead or nav into a floating pill, and never use a unicode symbol glyph where an SVG belongs. ### Accessibility High contrast throughout (sumi text on bone paper; bone text on sumi plates). The halftone and scanline overlays are pointer-events:none and never reduce text contrast. The misregistered ghost sits behind text and never competes with the reading layer. Motion respects prefers-reduced-motion; the settled page renders with no JavaScript. ## Imagery Direction ### Pairs With phosphor-press ### Summary Photocopied two-plate riso plates: bone-white paper, dense sumi ink, manga halftone screentone, re-lit by one phosphor-green spot ink that lands deliberately off register so a green ghost-double slips off every black edge. Printer crop marks and registration targets in the corners. ### Subjects - a hand-cranked risograph drum and ink-stained hands - a registration target and crop marks on a printed sheet - a stack of pulled zine sheets with green ghost edges - a composing stick / press furniture - a halftone-screened portrait used as a manga plate ### Usage One full-bleed riso cover plate for the landing hero, composed with a sumi overlay zone for the masthead; inked-plate panels and halftone fields elsewhere. End every prompt with NO text, NO letters, NO logos.
---
version: "alpha"
name: "Misregister"
description: "Agent-curated design language exported from Katagami as DESIGN.md."
colors:
bg: "#ece4d2"
surface: "#e3d9c2"
text: "#13130f"
muted: "#6f6a58"
border: "#ccc0a4"
accent: "#00b945"
accent_ink: "#00913a"
on_accent: "#0a1206"
ink: "#13130f"
paper: "#ece4d2"
success: "#00913a"
warning: "#c97a14"
error: "#d23b1e"
info: "#5d6657"
typography:
headline-lg:
fontFamily: "Anton"
fontSize: "2.075rem"
fontWeight: 700
lineHeight: 1.1
letterSpacing: "0px"
headline-md:
fontFamily: "Anton"
fontSize: "1.66rem"
fontWeight: 600
lineHeight: 1.15
letterSpacing: "0px"
body-md:
fontFamily: "Spectral"
fontSize: "17px"
fontWeight: 400
lineHeight: 1.55
letterSpacing: "0px"
label-md:
fontFamily: "Spline Sans 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-surface:
backgroundColor: "{colors.surface}"
color-reference-text:
backgroundColor: "{colors.text}"
color-reference-muted:
backgroundColor: "{colors.muted}"
color-reference-border:
backgroundColor: "{colors.border}"
color-reference-accent:
backgroundColor: "{colors.accent}"
color-reference-accent_ink:
backgroundColor: "{colors.accent_ink}"
color-reference-on_accent:
backgroundColor: "{colors.on_accent}"
color-reference-ink:
backgroundColor: "{colors.ink}"
color-reference-paper:
backgroundColor: "{colors.paper}"
color-reference-success:
backgroundColor: "{colors.success}"
color-reference-warning:
backgroundColor: "{colors.warning}"
color-reference-error:
backgroundColor: "{colors.error}"
color-reference-info:
backgroundColor: "{colors.info}"
button-primary:
backgroundColor: "{colors.accent}"
textColor: "#000000"
typography: "{typography.label-md}"
rounded: "{rounded.md}"
padding: "{spacing.md}"
card-surface:
backgroundColor: "{colors.surface}"
textColor: "{colors.text}"
rounded: "{rounded.md}"
padding: "{spacing.md}"
input-default:
backgroundColor: "{colors.surface}"
textColor: "{colors.text}"
rounded: "{rounded.md}"
height: "44px"
---
# Misregister
## Overview
A two-plate riso-print interface language: bone paper and sumi black, re-lit by one phosphor green spot ink landed a measured 2.5mm off register on purpose — so a luminous green ghost trails every contour and you read the slip before you read the word.
### Values
- a two-color print fault, the misregistered green plate, owned as the entire identity
- green is spot ink on a drum, not a screen beam — it multiplies into the paper and never floats
- depth is a 55-line halftone and the offset double, never a soft drop shadow
- an editorial voice: grotesque masthead, warm serif body, teletype mono only for folios and registration marks
- the slip does the work that glow and gradients fake, at no cost but discipline
### Anti-Values
- a CRT terminal console or dark dashboard read of a hacker zine
- rainbow gradients, neon glow, or a green used as light rather than ink
- rounded friendly cards, soft drop shadows, or a third accent colour
- monospace-everything that loses the editorial warmth of a printed sheet
## 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 | `#ece4d2` |
| surface | `#e3d9c2` |
| text | `#13130f` |
| muted | `#6f6a58` |
| border | `#ccc0a4` |
| accent | `#00b945` |
| accent_ink | `#00913a` |
| on_accent | `#0a1206` |
| ink | `#13130f` |
| paper | `#ece4d2` |
| success | `#00913a` |
| warning | `#c97a14` |
| error | `#d23b1e` |
| info | `#5d6657` |
## Typography
- **Headline-Lg**: Anton, 2.075rem, weight 700, line-height 1.1.
- **Headline-Md**: Anton, 1.66rem, weight 600, line-height 1.15.
- **Body-Md**: Spectral, 17px, weight 400, line-height 1.55.
- **Label-Md**: Spline Sans 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
Broadsheet column-rule grid: an open masthead, an asymmetric lead (wide article + side plate card), 3-column article body with column rules, a 4-cell printed ledger, and two-up plate/quote and form bands.
### Whitespace
Editorial and measured: column gutters of 30-34px, 1px paper rules between articles, 3px ink rules on mastheads, generous padding above every title.
### Density
medium-high
### Responsive
Collapses cleanly to one stacked column on mobile with the masthead, column rules and ledgers preserved; nothing overflows horizontally; the full-bleed hero cover spans 100vw.
### Breakpoints
- **Mobile**: < 720px
- **Tablet**: 720-1024px
- **Desktop**: >= 1024px
- **Ultrawide**: >= 1320px capped/centred
## Elevation & Depth
### Shadows
- **Plate**: 2.5px 2.5px 0 #13130f
- **Sm**: 2.5px 2.5px 0 rgba(19,19,15,0.9)
- **Screen**: no soft shadows — depth is the offset block plus a 55lpi halftone dot field
## Shapes
### Rounded
- **None**: `0px`
- **Sm**: `0px`
- **Md**: `0px`
- **Lg**: `0px`
- **Full**: `9999px`
### Surfaces
- **Bg Pattern**: Bone paper with a faint halftone tooth and a barely-there print scanline; no muddy washes, no gradients.
- **Card Style**: Flat bone or stock surfaces with a 1px sumi border and hard corners; inked-plate variant flips to sumi-black with a halftone dot overlay; never nested, never an accent edge.
- **Treatment**: Every focal element carries a green spot-ink duplicate offset 2.5px south-east behind the black (multiply on paper, screen on ink) — the misregistration mechanic.
### Borders
- **Default Width**: 1px
- **Accent Width**: 3px
- **Style**: solid
- **Character**: Sumi rules; 1px on containers, 3px on masthead bands; the accent is never a border edge but a misregistered green plate behind the element.
## Components
### Composition
Compose every screen as a broadsheet zine spread: an open masthead band across the header, column rules between articles, folio numbers on section rules, drop-cap standfirsts, pull-quotes, and a printed ledger for metrics — never a boxed terminal console.
### Hierarchy
Hierarchy comes from the misregistered green plate, scale of the Anton display, serif body weight, mono folios, and inked plates — never from large colourful cards or HUD chrome.
### Density
Medium-high editorial density; every cluster aligns to the column grid with clean rules and readable 17px serif body text.
### Signature
The misregistered green plate: a phosphor-green duplicate of each focal element (headline, number, primary button, chart bar, focused input) offset a uniform 2.5px south-east behind the black, set with multiply on paper or screen on ink, so the slip reads as a real second printing pass, never a CSS drop shadow.
## 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-019ef82c-b49b-7dc1-a531-a365b8eb77a1/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 Land one green plate 2.5mm off the black on every focal element — headline, number, button, chart bar, focused input.
- Do Keep the green a single spot ink used like a second printing pass; reserve amber for a drifting plate and vermilion for a voided sheet.
- Do Set body in the Spectral serif so the editorial voice stays warm; let Archivo carry labels and Spline Sans Mono run folios and registration marks.
- Do Build depth from a 55lpi halftone dot field and the offset double; keep reading zones crisp and uncovered.
- Don't Do not read the brief as a dark CRT terminal or dashboard — this is a printed sheet on bone paper.
- Don't Do not introduce a third accent, a gradient, or a glossy glow; the green is ink, not light.
- Don't Do not round corners, float soft cards, nest cards, or use drop shadows as the main depth device.
- Don't Do not box the masthead or nav into a floating pill, and never use a unicode symbol glyph where an SVG belongs.
### Accessibility
High contrast throughout (sumi text on bone paper; bone text on sumi plates). The halftone and scanline overlays are pointer-events:none and never reduce text contrast. The misregistered ghost sits behind text and never competes with the reading layer. Motion respects prefers-reduced-motion; the settled page renders with no JavaScript.
## Imagery Direction
### Pairs With
phosphor-press
### Summary
Photocopied two-plate riso plates: bone-white paper, dense sumi ink, manga halftone screentone, re-lit by one phosphor-green spot ink that lands deliberately off register so a green ghost-double slips off every black edge. Printer crop marks and registration targets in the corners.
### Subjects
- a hand-cranked risograph drum and ink-stained hands
- a registration target and crop marks on a printed sheet
- a stack of pulled zine sheets with green ghost edges
- a composing stick / press furniture
- a halftone-screened portrait used as a manga plate
### Usage
One full-bleed riso cover plate for the landing hero, composed with a sumi overlay zone for the masthead; inked-plate panels and halftone fields elsewhere. End every prompt with NO text, NO letters, NO logos.
```json
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "misregister",
"type": "registry:theme",
"title": "Misregister shadcn Theme",
"cssVars": {
"theme": {},
"light": {
"background": "#ece4d2",
"foreground": "#13130f",
"card": "#e3d9c2",
"card-foreground": "#13130f",
"popover": "#e3d9c2",
"popover-foreground": "#13130f",
"primary": "#13130f",
"primary-foreground": "#ffffff",
"secondary": "#f4f4f5",
"secondary-foreground": "#111111",
"muted": "#6f6a58",
"muted-foreground": "#13130f",
"accent": "#00b945",
"accent-foreground": "#ffffff",
"destructive": "#d23b1e",
"border": "#ccc0a4",
"input": "#ccc0a4",
"ring": "#00b945",
"chart-1": "#13130f",
"chart-2": "#f4f4f5",
"chart-3": "#00b945",
"chart-4": "#00913a",
"chart-5": "#c97a14",
"sidebar": "#e3d9c2",
"sidebar-foreground": "#13130f",
"sidebar-primary": "#13130f",
"sidebar-primary-foreground": "#ffffff",
"sidebar-accent": "#5d6657",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#ccc0a4",
"sidebar-ring": "#00b945",
"radius": "0"
},
"dark": {
"background": "#0f1115",
"foreground": "#f8fafc",
"card": "#181b22",
"card-foreground": "#f8fafc",
"popover": "#181b22",
"popover-foreground": "#f8fafc",
"primary": "#13130f",
"primary-foreground": "#ffffff",
"secondary": "#252a33",
"secondary-foreground": "#f8fafc",
"muted": "#252a33",
"muted-foreground": "#a1a1aa",
"accent": "#00b945",
"accent-foreground": "#ffffff",
"destructive": "#d23b1e",
"border": "#303642",
"input": "#303642",
"ring": "#00b945",
"chart-1": "#13130f",
"chart-2": "#f4f4f5",
"chart-3": "#00b945",
"chart-4": "#00913a",
"chart-5": "#c97a14",
"sidebar": "#181b22",
"sidebar-foreground": "#f8fafc",
"sidebar-primary": "#13130f",
"sidebar-primary-foreground": "#ffffff",
"sidebar-accent": "#00b945",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#303642",
"sidebar-ring": "#00b945",
"radius": "0"
}
},
"meta": {
"source": "katagami",
"languageId": "en-019ef82c-b49b-7dc1-a531-a365b8eb77a1",
"slug": "misregister",
"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_ink",
"bg",
"border",
"error",
"info",
"ink",
"muted",
"on_accent",
"paper",
"success",
"surface",
"text",
"warning"
],
"typography": [
"base_size",
"body_font",
"google_fonts_url",
"heading_font",
"heading_transform",
"heading_weight",
"label_font",
"letter_spacing",
"line_height",
"mono_font",
"scale_ratio"
],
"radii": [
"full",
"lg",
"md",
"none",
"sm"
],
"shadows": [
"plate",
"screen",
"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 Misregisterand 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: #ece4d2;
--foreground: #13130f;
--card: #e3d9c2;
--card-foreground: #13130f;
--popover: #e3d9c2;
--popover-foreground: #13130f;
--primary: #13130f;
--primary-foreground: #ffffff;
--secondary: #f4f4f5;
--secondary-foreground: #111111;
--muted: #6f6a58;
--muted-foreground: #13130f;
--accent: #00b945;
--accent-foreground: #ffffff;
--destructive: #d23b1e;
--border: #ccc0a4;
--input: #ccc0a4;
--ring: #00b945;
--chart-1: #13130f;
--chart-2: #f4f4f5;
--chart-3: #00b945;
--chart-4: #00913a;
--chart-5: #c97a14;
--sidebar: #e3d9c2;
--sidebar-foreground: #13130f;
--sidebar-primary: #13130f;
--sidebar-primary-foreground: #ffffff;
--sidebar-accent: #5d6657;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #ccc0a4;
--sidebar-ring: #00b945;
--radius: 0;
}
.dark {
--background: #0f1115;
--foreground: #f8fafc;
--card: #181b22;
--card-foreground: #f8fafc;
--popover: #181b22;
--popover-foreground: #f8fafc;
--primary: #13130f;
--primary-foreground: #ffffff;
--secondary: #252a33;
--secondary-foreground: #f8fafc;
--muted: #252a33;
--muted-foreground: #a1a1aa;
--accent: #00b945;
--accent-foreground: #ffffff;
--destructive: #d23b1e;
--border: #303642;
--input: #303642;
--ring: #00b945;
--chart-1: #13130f;
--chart-2: #f4f4f5;
--chart-3: #00b945;
--chart-4: #00913a;
--chart-5: #c97a14;
--sidebar: #181b22;
--sidebar-foreground: #f8fafc;
--sidebar-primary: #13130f;
--sidebar-primary-foreground: #ffffff;
--sidebar-accent: #00b945;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #303642;
--sidebar-ring: #00b945;
--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 MisregisterShadcnKit() {
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">Misregister</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": "misregister",
"type": "registry:theme",
"cssVars": {
"theme": {
"font-sans": "Archivo, 'Helvetica Neue', sans-serif",
"font-serif": "Spectral, Georgia, serif",
"font-mono": "Spline Sans Mono, ui-monospace, monospace",
"font-display": "Anton, Impact, sans-serif",
"radius": "0rem"
},
"light": {
"background": "#ece4d2",
"foreground": "#13130f",
"card": "#ece4d2",
"card-foreground": "#13130f",
"popover": "#ece4d2",
"popover-foreground": "#13130f",
"primary": "#00b945",
"primary-foreground": "#0a1206",
"secondary": "#e3d9c2",
"secondary-foreground": "#13130f",
"muted": "#e3d9c2",
"muted-foreground": "#6f6a58",
"accent": "#00b945",
"accent-foreground": "#0a1206",
"destructive": "#d23b1e",
"destructive-foreground": "#ece4d2",
"border": "#13130f",
"input": "#13130f",
"ring": "#00b945",
"chart-1": "#00b945",
"chart-2": "#13130f",
"chart-3": "#00913a",
"chart-4": "#c97a14",
"chart-5": "#6f6a58"
},
"dark": {
"background": "#13130f",
"foreground": "#ece4d2",
"card": "#13130f",
"card-foreground": "#ece4d2",
"popover": "#13130f",
"popover-foreground": "#ece4d2",
"primary": "#00b945",
"primary-foreground": "#0a1206",
"secondary": "#1c1c16",
"secondary-foreground": "#ece4d2",
"muted": "#1c1c16",
"muted-foreground": "#b7ae98",
"accent": "#00b945",
"accent-foreground": "#0a1206",
"destructive": "#d23b1e",
"destructive-foreground": "#ece4d2",
"border": "#ece4d2",
"input": "#2a2a22",
"ring": "#00b945",
"chart-1": "#00b945",
"chart-2": "#ece4d2",
"chart-3": "#00913a",
"chart-4": "#c97a14",
"chart-5": "#b7ae98"
}
},
"visualProfile": {
"name": "misregister",
"summary": "Two-plate riso print: bone-paper ground, sumi-black ink plates, one phosphor-green spot ink landed 2.5mm off register so a green ghost trails every focal element. Hard corners, halftone depth, editorial serif body with grotesque display.",
"ground": "paper",
"mode_default": "light",
"radius": "none",
"borders": "1px solid ink on every container; 3px ink masthead rules; no rounded chrome",
"elevation": "inked, not dropped — a 2.5mm offset block (misregister) plus 55lpi halftone dots; never soft drop shadows",
"signature": "misregistered green plate: a green duplicate of headlines, numbers, primary buttons and chart bars offset 2.5px SE behind the black, multiply on paper / screen on ink",
"accent_usage": "single phosphor green spot ink used like a second printing pass; amber=drift warning, vermilion=void error, never visually primary",
"typography": {
"display": "Anton uppercase",
"label": "Archivo 800 uppercase",
"body": "Spectral serif 17px",
"mono": "Spline Sans Mono for folios and registration marks"
},
"motion": "settled no-JS default; scroll-reveal layered on; respects prefers-reduced-motion; no smooth consumer easing"
}
}
# Misregister shadcn/ui Components
Artifact: `component-recipes-v1`
Author: `katagami-ui-projection`
Language ID: `en-019ef82c-b49b-7dc1-a531-a365b8eb77a1`
Slug: `misregister`
## Intent
A two-plate riso-print interface language: bone paper and sumi black, re-lit by one phosphor green spot ink landed a measured 2.5mm off register on purpose — so a luminous green ghost trails every contour and you read the slip before you read the word.
## 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": "#ece4d2",
"surface": "#e3d9c2",
"text": "#13130f",
"muted": "#6f6a58",
"border": "#ccc0a4",
"accent": "#00b945",
"accent_ink": "#00913a",
"on_accent": "#0a1206",
"ink": "#13130f",
"paper": "#ece4d2",
"success": "#00913a",
"warning": "#c97a14",
"error": "#d23b1e",
"info": "#5d6657"
}
Typography:
{
"base_size": "17px",
"body_font": "Spectral",
"heading_font": "Anton",
"label_font": "Archivo",
"mono_font": "Spline Sans Mono",
"heading_weight": "400",
"heading_transform": "uppercase",
"letter_spacing": "0",
"line_height": 1.55,
"scale_ratio": 1.25,
"google_fonts_url": "https://fonts.googleapis.com/css2?family=Anton&family=Archivo:wght@500;600;700;800&family=Spectral:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Spline+Sans+Mono:wght@400;500;600&display=swap"
}
## Visual character to preserve
- Make the source language's structural identity visible in every component state.
## ShadSync visual profile
{
"family": "paper-collage",
"material": "paper",
"contour": "default",
"border": "solid",
"underlay": true,
"grain": true,
"stickerBadges": false,
"motion": "still",
"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/misregister/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: Land one green plate 2.5mm off the black on every focal element — headline, number, button, chart bar, focused input.; Keep the green a single spot ink used like a second printing pass; reserve amber for a drifting plate and vermilion for a voided sheet.; Set body in the Spectral serif so the editorial voice stays warm; let Archivo carry labels and Spline Sans Mono run folios and registration marks.; Build depth from a 55lpi halftone dot field and the offset double; keep reading zones crisp and uncovered.
- Do not: Do not read the brief as a dark CRT terminal or dashboard — this is a printed sheet on bone paper.; Do not introduce a third accent, a gradient, or a glossy glow; the green is ink, not light.; Do not round corners, float soft cards, nest cards, or use drop shadows as the main depth device.; Do not box the masthead or nav into a floating pill, and never use a unicode symbol glyph where an SVG belongs.
## 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 MisregisterShadcnKit() {
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">Misregister</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": "Broadsheet column-rule grid: an open masthead, an asymmetric lead (wide article + side plate card), 3-column article body with column rules, a 4-cell printed ledger, and two-up plate/quote and form bands.",
"whitespace": "Editorial and measured: column gutters of 30-34px, 1px paper rules between articles, 3px ink rules on mastheads, generous padding above every title.",
"density": "medium-high",
"responsive": "Collapses cleanly to one stacked column on mobile with the masthead, column rules and ledgers preserved; nothing overflows horizontally; the full-bleed hero cover spans 100vw.",
"breakpoints": {
"mobile": "< 720px",
"tablet": "720-1024px",
"desktop": ">= 1024px",
"ultrawide": ">= 1320px capped/centred"
}
}
{
"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-019ef82c-b49b-7dc1-a531-a365b8eb77a1",
"name": "Misregister",
"slug": "misregister"
},
"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": [],
"visualProfile": {
"family": "system",
"material": "flat",
"contour": "default",
"border": "solid",
"underlay": false,
"grain": false,
"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": "Misregister 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": [
"Land one green plate 2.5mm off the black on every focal element — headline, number, button, chart bar, focused input.",
"Keep the green a single spot ink used like a second printing pass; reserve amber for a drifting plate and vermilion for a voided sheet.",
"Set body in the Spectral serif so the editorial voice stays warm; let Archivo carry labels and Spline Sans Mono run folios and registration marks.",
"Build depth from a 55lpi halftone dot field and the offset double; keep reading zones crisp and uncovered."
],
"dont": [
"Do not read the brief as a dark CRT terminal or dashboard — this is a printed sheet on bone paper.",
"Do not introduce a third accent, a gradient, or a glossy glow; the green is ink, not light.",
"Do not round corners, float soft cards, nest cards, or use drop shadows as the main depth device.",
"Do not box the masthead or nav into a floating pill, and never use a unicode symbol glyph where an SVG belongs."
]
}
}