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 — tokens plus the paired art style. Agents must generate real images.
A reimagining of Chromatic Decision Lab: the same conviction that colour must carry meaning, moved from a calm white workbench onto an ink bench where the hue arrives as a dye front and stops at a seam.
One full-bleed plate layer under a 1280px contained measure (1480px above 1800px). Copy sits on quiet ground; full-strength imagery belongs to bands, plates and transitions. Every scroll depth is a composed poster with consistent gutters.
Two display moments in the whole set — the landing wordmark and the endpoint reading. Everything else compresses toward 17px body, with mono furniture at 12px carrying instrument context.
Catalogue-exact. Aligned strip rows, seam-marked cells and mono readings pack tightly, held apart by 8px-based spacing with at least 12px above every title.
12-column ink page with a 1280px contained measure (1480px above 1800px) and one full-bleed plate layer. The console runs a 1.55fr canvas beside a 1fr queue column, collapsing to one column under 1180px; the landing is a six-scene pinned film on the same measure.
mobile 390px, tablet 768-1024px, desktop 1440px, wide 1920px+ — each art-directed on its own terms.
8px base; 24px panel padding, 32px block gaps, 62px section rhythm, 12px minimum above every title.
dyefront
Bench apparatus, wet paper, and the moment a dye front crosses something — but the style itself is subject-agnostic and dresses a face, a city or a teapot the same way.
Reserve a quiet black region for type in every plate; place the dye front off-centre so the hard edge does the composing.
Graphite black, bone paper, acid crimson, base indigo, endpoint chartreuse — nothing else.
Flat frontal studio light, hard-edged colour separation, visible paper fibre in the soaked region, 4x5 sheet-film grain, no gradients in the ground.
Gradients, glow, bokeh, rainbow spreads, pastel washes, branded objects, any lettering.
# Litmus ## Philosophy Colour is a reading rather than a garnish. Every stateful surface in Litmus is a paper strip with a dye field and a hairline seam at the point the measurement stopped, and the number is printed on that seam so a value is never separated from the position it came from. ### Values - semantic colour - measured honesty - square geometry - instrument legibility - editorial restraint ### Anti-Values - decorative hue - rounded softness - glow and gradient - ambient particle weather - status by hue alone ### Visual Character - graphite ink ground with square bone-paper strips and hard zero-blur black offsets - a 2px ruler-straight seam on every stateful control with the reading set on it in mono - dye fills occupy whole regions of a control and never outline one - IBM Plex Mono for anything an instrument measured; Archivo at 17px regular for prose - border-radius 0 on every element in every artifact ### Lineage > A reimagining of Chromatic Decision Lab: the same conviction that colour must carry meaning, moved from a calm white workbench onto an ink bench where the hue arrives as a dye front and stops at a seam. ## Tokens ### Colors | Name | Value | |------|-------| | bg | `#0F1014` | | surface | `#17181D` | | surface_solid | `#F1EEE5` | | text | `#EFECE3` | | muted | `#8C8E97` | | border | `#26282F` | | accent | `#E51F4B` | | accent_2 | `#2A47B8` | | accent_soft | `#C7E01B` | | on_accent | `#F5F2E9` | | success | `#C7E01B` | | warning | `#E8A317` | | error | `#E51F4B` | | info | `#2A47B8` | ### Typography - **Base Size**: 17px - **Body Font**: Archivo - **Heading Font**: Archivo - **Mono Font**: IBM Plex Mono - **Heading Weight**: 700 - **Heading Transform**: none - **Letter Spacing**: -0.02em - **Line Height**: 1.55 - **Scale Ratio**: 1.28 - **Google Fonts Url**: https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap ### Radii - **None**: 0px - **Md**: 0px - **Lg**: 0px - **Full**: 0px ### Shadows - **Sm**: 4px 4px 0 0 #000000 - **Md**: 6px 6px 0 0 #000000 - **Lg**: 10px 10px 0 0 #000000 ### Spacing - **Base**: 8px - **Scale**: 8, 16, 24, 32, 48, 62, 96 ### Surfaces - **Treatment**: Graphite ink ground with matte bone-paper strips laid on it; dye fills whole regions of a control and never outlines one. - **Card Style**: Square panel with a titration band across the head, a hairline seam at the reading, and one hard zero-blur black offset. No outline, no edge rail, no nesting. - **Bg Pattern**: A 14px rule cadence borrowed from the burette scale, printed at low contrast on ink and only where no copy sits. ### Borders - **Default Width**: 1px - **Accent Width**: 2px - **Style**: solid - **Character**: Hairline seams only. A 1px rule separates table rows; a 2px seam marks a reading. Never an outline around a card and never a narrow strip hugging a card edge. ### Motion - **Duration**: 620ms - **Easing**: cubic-bezier(0.22,0.61,0.28,1) - **Philosophy**: Nothing fades in for its own sake. A value travels, a front advances, a seam lands. One ease vocabulary across the whole set; beats scale 1x / 1.6x / 2.6x. ## Rules ### Composition One full-bleed plate layer under a 1280px contained measure (1480px above 1800px). Copy sits on quiet ground; full-strength imagery belongs to bands, plates and transitions. Every scroll depth is a composed poster with consistent gutters. ### Hierarchy Two display moments in the whole set — the landing wordmark and the endpoint reading. Everything else compresses toward 17px body, with mono furniture at 12px carrying instrument context. ### Density Catalogue-exact. Aligned strip rows, seam-marked cells and mono readings pack tightly, held apart by 8px-based spacing with at least 12px above every title. ### Signature Patterns - The turn seam: a paper field, a dye front, a 2px hairline where it stopped, and the reading printed on the hairline. - Titration band: a 10px strip across a card's head carrying that card's own reading. - The rail: many strips side by side sorted by turn point, so the shape of a batch reads before any number. - Threshold wash: a selected or confirmed row takes a chartreuse wash across its whole surface, never an edge mark. - Upright strip: avatars, gauges and column charts are the same primitive rotated. ## Layout ### Grid 12-column ink page with a 1280px contained measure (1480px above 1800px) and one full-bleed plate layer. The console runs a 1.55fr canvas beside a 1fr queue column, collapsing to one column under 1180px; the landing is a six-scene pinned film on the same measure. ### Breakpoints mobile 390px, tablet 768-1024px, desktop 1440px, wide 1920px+ — each art-directed on its own terms. ### Whitespace 8px base; 24px panel padding, 32px block gaps, 62px section rhythm, 12px minimum above every title. ## Guidance ### Do - Give every hue one meaning and repeat it across actions, states, rows, cells, charts and steps. - Print the reading on the seam so the number and its position stay together. - Use the ink or lit variant of an accent whenever that accent has to be read as type. - Keep the ground quiet under every line of copy. - Write in the bench's real vocabulary: run identifiers, reagent lots, tolerances, analysts, times. ### Don't - Don't put a coloured stripe, rail or ribbon along the edge of a card, in any artifact. - Don't round anything; a rounded corner anywhere breaks the geometry. - Don't let a bright accent carry small text over imagery or paper. - Don't add glow shadows, decorative gradients or ambient particle fields. - Don't inflate the mid-scale; body is 17px and subheads sit close to it. ## Imagery Direction ### Pairs With dyefront ### Subjects Bench apparatus, wet paper, and the moment a dye front crosses something — but the style itself is subject-agnostic and dresses a face, a city or a teapot the same way. ### Composition Reserve a quiet black region for type in every plate; place the dye front off-centre so the hard edge does the composing. ### Palette Graphite black, bone paper, acid crimson, base indigo, endpoint chartreuse — nothing else. ### Treatment Flat frontal studio light, hard-edged colour separation, visible paper fibre in the soaked region, 4x5 sheet-film grain, no gradients in the ground. ### Avoid Gradients, glow, bokeh, rainbow spreads, pastel washes, branded objects, any lettering.
---
version: "alpha"
name: "Litmus"
description: "Agent-curated design language exported from Katagami as DESIGN.md."
colors:
bg: "#0F1014"
surface: "#17181D"
surface_solid: "#F1EEE5"
text: "#EFECE3"
muted: "#8C8E97"
border: "#26282F"
accent: "#E51F4B"
accent_2: "#2A47B8"
accent_soft: "#C7E01B"
on_accent: "#F5F2E9"
success: "#C7E01B"
warning: "#E8A317"
error: "#E51F4B"
info: "#2A47B8"
typography:
headline-lg:
fontFamily: "Archivo"
fontSize: "2.075rem"
fontWeight: 700
lineHeight: 1.1
letterSpacing: "-0.02em"
headline-md:
fontFamily: "Archivo"
fontSize: "1.66rem"
fontWeight: 600
lineHeight: 1.15
letterSpacing: "-0.02em"
body-md:
fontFamily: "Archivo"
fontSize: "17px"
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:
none: "0px"
md: "0px"
lg: "0px"
full: "0px"
spacing:
base: "8px"
components:
color-reference-bg:
backgroundColor: "{colors.bg}"
color-reference-surface:
backgroundColor: "{colors.surface}"
color-reference-surface_solid:
backgroundColor: "{colors.surface_solid}"
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_2:
backgroundColor: "{colors.accent_2}"
color-reference-accent_soft:
backgroundColor: "{colors.accent_soft}"
color-reference-on_accent:
backgroundColor: "{colors.on_accent}"
color-reference-success:
backgroundColor: "{colors.success}"
color-reference-warning:
backgroundColor: "{colors.warning}"
color-reference-error:
backgroundColor: "{colors.error}"
color-reference-info:
backgroundColor: "{colors.info}"
button-primary:
backgroundColor: "{colors.accent}"
textColor: "#000000"
typography: "{typography.label-md}"
rounded: "{rounded.md}"
padding: "{spacing.base}"
card-surface:
backgroundColor: "{colors.surface}"
textColor: "{colors.text}"
rounded: "{rounded.md}"
padding: "{spacing.base}"
input-default:
backgroundColor: "{colors.surface}"
textColor: "{colors.text}"
rounded: "{rounded.md}"
height: "44px"
---
# Litmus
## Overview
Colour is a reading rather than a garnish. Every stateful surface in Litmus is a paper strip with a dye field and a hairline seam at the point the measurement stopped, and the number is printed on that seam so a value is never separated from the position it came from.
### Values
- semantic colour
- measured honesty
- square geometry
- instrument legibility
- editorial restraint
### Anti-Values
- decorative hue
- rounded softness
- glow and gradient
- ambient particle weather
- status by hue alone
### Visual Character
- graphite ink ground with square bone-paper strips and hard zero-blur black offsets
- a 2px ruler-straight seam on every stateful control with the reading set on it in mono
- dye fills occupy whole regions of a control and never outline one
- IBM Plex Mono for anything an instrument measured; Archivo at 17px regular for prose
- border-radius 0 on every element in every artifact
### Lineage
> A reimagining of Chromatic Decision Lab: the same conviction that colour must carry meaning, moved from a calm white workbench onto an ink bench where the hue arrives as a dye front and stops at a seam.
## 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 | `#0F1014` |
| surface | `#17181D` |
| surface_solid | `#F1EEE5` |
| text | `#EFECE3` |
| muted | `#8C8E97` |
| border | `#26282F` |
| accent | `#E51F4B` |
| accent_2 | `#2A47B8` |
| accent_soft | `#C7E01B` |
| on_accent | `#F5F2E9` |
| success | `#C7E01B` |
| warning | `#E8A317` |
| error | `#E51F4B` |
| info | `#2A47B8` |
## 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**: Archivo, 17px, weight 400, line-height 1.5.
- **Label-Md**: IBM Plex Mono, 0.75rem, weight 600, line-height 1.
## Layout
### Spacing Tokens
- **Base**: `8px`
### Grid
12-column ink page with a 1280px contained measure (1480px above 1800px) and one full-bleed plate layer. The console runs a 1.55fr canvas beside a 1fr queue column, collapsing to one column under 1180px; the landing is a six-scene pinned film on the same measure.
### Breakpoints
mobile 390px, tablet 768-1024px, desktop 1440px, wide 1920px+ — each art-directed on its own terms.
### Whitespace
8px base; 24px panel padding, 32px block gaps, 62px section rhythm, 12px minimum above every title.
## Elevation & Depth
### Shadows
- **Sm**: 4px 4px 0 0 #000000
- **Md**: 6px 6px 0 0 #000000
- **Lg**: 10px 10px 0 0 #000000
## Shapes
### Rounded
- **None**: `0px`
- **Md**: `0px`
- **Lg**: `0px`
- **Full**: `0px`
### Surfaces
- **Treatment**: Graphite ink ground with matte bone-paper strips laid on it; dye fills whole regions of a control and never outlines one.
- **Card Style**: Square panel with a titration band across the head, a hairline seam at the reading, and one hard zero-blur black offset. No outline, no edge rail, no nesting.
- **Bg Pattern**: A 14px rule cadence borrowed from the burette scale, printed at low contrast on ink and only where no copy sits.
### Borders
- **Default Width**: 1px
- **Accent Width**: 2px
- **Style**: solid
- **Character**: Hairline seams only. A 1px rule separates table rows; a 2px seam marks a reading. Never an outline around a card and never a narrow strip hugging a card edge.
## Components
### Composition
One full-bleed plate layer under a 1280px contained measure (1480px above 1800px). Copy sits on quiet ground; full-strength imagery belongs to bands, plates and transitions. Every scroll depth is a composed poster with consistent gutters.
### Hierarchy
Two display moments in the whole set — the landing wordmark and the endpoint reading. Everything else compresses toward 17px body, with mono furniture at 12px carrying instrument context.
### Density
Catalogue-exact. Aligned strip rows, seam-marked cells and mono readings pack tightly, held apart by 8px-based spacing with at least 12px above every title.
### Signature Patterns
- The turn seam: a paper field, a dye front, a 2px hairline where it stopped, and the reading printed on the hairline.
- Titration band: a 10px strip across a card's head carrying that card's own reading.
- The rail: many strips side by side sorted by turn point, so the shape of a batch reads before any number.
- Threshold wash: a selected or confirmed row takes a chartreuse wash across its whole surface, never an edge mark.
- Upright strip: avatars, gauges and column charts are the same primitive rotated.
## 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-019ffc43-e769-78a2-8e7e-3d48d41e968b/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 Give every hue one meaning and repeat it across actions, states, rows, cells, charts and steps.
- Do Print the reading on the seam so the number and its position stay together.
- Do Use the ink or lit variant of an accent whenever that accent has to be read as type.
- Do Keep the ground quiet under every line of copy.
- Do Write in the bench's real vocabulary: run identifiers, reagent lots, tolerances, analysts, times.
- Don't Don't put a coloured stripe, rail or ribbon along the edge of a card, in any artifact.
- Don't Don't round anything; a rounded corner anywhere breaks the geometry.
- Don't Don't let a bright accent carry small text over imagery or paper.
- Don't Don't add glow shadows, decorative gradients or ambient particle fields.
- Don't Don't inflate the mid-scale; body is 17px and subheads sit close to it.
## Imagery Direction
### Pairs With
dyefront
### Subjects
Bench apparatus, wet paper, and the moment a dye front crosses something — but the style itself is subject-agnostic and dresses a face, a city or a teapot the same way.
### Composition
Reserve a quiet black region for type in every plate; place the dye front off-centre so the hard edge does the composing.
### Palette
Graphite black, bone paper, acid crimson, base indigo, endpoint chartreuse — nothing else.
### Treatment
Flat frontal studio light, hard-edged colour separation, visible paper fibre in the soaked region, 4x5 sheet-film grain, no gradients in the ground.
### Avoid
Gradients, glow, bokeh, rainbow spreads, pastel washes, branded objects, any lettering.
```json
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "litmus",
"type": "registry:theme",
"title": "Litmus shadcn Theme",
"cssVars": {
"theme": {},
"light": {
"background": "#0F1014",
"foreground": "#EFECE3",
"card": "#17181D",
"card-foreground": "#EFECE3",
"popover": "#17181D",
"popover-foreground": "#EFECE3",
"primary": "#EFECE3",
"primary-foreground": "#111111",
"secondary": "#f4f4f5",
"secondary-foreground": "#111111",
"muted": "#8C8E97",
"muted-foreground": "#EFECE3",
"accent": "#E51F4B",
"accent-foreground": "#ffffff",
"destructive": "#E51F4B",
"border": "#26282F",
"input": "#26282F",
"ring": "#E51F4B",
"chart-1": "#EFECE3",
"chart-2": "#f4f4f5",
"chart-3": "#E51F4B",
"chart-4": "#C7E01B",
"chart-5": "#E8A317",
"sidebar": "#17181D",
"sidebar-foreground": "#EFECE3",
"sidebar-primary": "#EFECE3",
"sidebar-primary-foreground": "#111111",
"sidebar-accent": "#2A47B8",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#26282F",
"sidebar-ring": "#E51F4B",
"radius": "0px"
},
"dark": {
"background": "#0f1115",
"foreground": "#f8fafc",
"card": "#181b22",
"card-foreground": "#f8fafc",
"popover": "#181b22",
"popover-foreground": "#f8fafc",
"primary": "#EFECE3",
"primary-foreground": "#111111",
"secondary": "#252a33",
"secondary-foreground": "#f8fafc",
"muted": "#252a33",
"muted-foreground": "#a1a1aa",
"accent": "#E51F4B",
"accent-foreground": "#ffffff",
"destructive": "#E51F4B",
"border": "#303642",
"input": "#303642",
"ring": "#E51F4B",
"chart-1": "#EFECE3",
"chart-2": "#f4f4f5",
"chart-3": "#E51F4B",
"chart-4": "#C7E01B",
"chart-5": "#E8A317",
"sidebar": "#181b22",
"sidebar-foreground": "#f8fafc",
"sidebar-primary": "#EFECE3",
"sidebar-primary-foreground": "#111111",
"sidebar-accent": "#E51F4B",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#303642",
"sidebar-ring": "#E51F4B",
"radius": "0px"
}
},
"meta": {
"source": "katagami",
"languageId": "en-019ffc43-e769-78a2-8e7e-3d48d41e968b",
"slug": "litmus",
"componentManifest": [
"button",
"card",
"input",
"textarea",
"select",
"dialog",
"sheet",
"tabs",
"badge",
"separator",
"checkbox",
"switch",
"slider",
"tooltip",
"dropdown-menu",
"table"
],
"installCommand": "npx shadcn@latest add button card input textarea select dialog sheet tabs badge separator checkbox switch slider tooltip dropdown-menu table",
"nativeTokenNames": {
"colors": [
"accent",
"accent_2",
"accent_soft",
"bg",
"border",
"error",
"info",
"muted",
"on_accent",
"success",
"surface",
"surface_solid",
"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"
],
"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
A generated style is an aggregate of many influences — credit is given to the artists and traditions it draws on, not a claim of authorship.
Keep Litmus and swap a palette and an art style onto it. The landing & dashboard recolor live.
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: #0F1014;
--foreground: #EFECE3;
--card: #17181D;
--card-foreground: #EFECE3;
--popover: #17181D;
--popover-foreground: #EFECE3;
--primary: #EFECE3;
--primary-foreground: #111111;
--secondary: #f4f4f5;
--secondary-foreground: #111111;
--muted: #8C8E97;
--muted-foreground: #EFECE3;
--accent: #E51F4B;
--accent-foreground: #ffffff;
--destructive: #E51F4B;
--border: #26282F;
--input: #26282F;
--ring: #E51F4B;
--chart-1: #EFECE3;
--chart-2: #f4f4f5;
--chart-3: #E51F4B;
--chart-4: #C7E01B;
--chart-5: #E8A317;
--sidebar: #17181D;
--sidebar-foreground: #EFECE3;
--sidebar-primary: #EFECE3;
--sidebar-primary-foreground: #111111;
--sidebar-accent: #2A47B8;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #26282F;
--sidebar-ring: #E51F4B;
--radius: 0px;
}
.dark {
--background: #0f1115;
--foreground: #f8fafc;
--card: #181b22;
--card-foreground: #f8fafc;
--popover: #181b22;
--popover-foreground: #f8fafc;
--primary: #EFECE3;
--primary-foreground: #111111;
--secondary: #252a33;
--secondary-foreground: #f8fafc;
--muted: #252a33;
--muted-foreground: #a1a1aa;
--accent: #E51F4B;
--accent-foreground: #ffffff;
--destructive: #E51F4B;
--border: #303642;
--input: #303642;
--ring: #E51F4B;
--chart-1: #EFECE3;
--chart-2: #f4f4f5;
--chart-3: #E51F4B;
--chart-4: #C7E01B;
--chart-5: #E8A317;
--sidebar: #181b22;
--sidebar-foreground: #f8fafc;
--sidebar-primary: #EFECE3;
--sidebar-primary-foreground: #111111;
--sidebar-accent: #E51F4B;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #303642;
--sidebar-ring: #E51F4B;
--radius: 0px;
}
import { Badge } from "@/components/ui/badge";
import { Button } from "@/components/ui/button";
import {
Card,
CardContent,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
} from "@/components/ui/card";
import { Input } from "@/components/ui/input";
import { Tabs, TabsList, TabsTrigger } from "@/components/ui/tabs";
export function LitmusShadcnKit() {
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">Litmus</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>
);
}
{
"format": "shadcn-export-v1",
"version": "1.0",
"name": "Litmus",
"slug": "litmus",
"author": "katagami-agent",
"mode": "dark",
"radius": "0rem",
"fonts": {
"sans": "Archivo, 'Helvetica Neue', Arial, sans-serif",
"display": "Archivo, 'Helvetica Neue', Arial, sans-serif",
"mono": "'IBM Plex Mono', ui-monospace, monospace",
"googleFontsUrl": "https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap"
},
"cssVars": {
"dark": {
"background": "#0F1014",
"foreground": "#EFECE3",
"card": "#17181D",
"card-foreground": "#EFECE3",
"popover": "#F1EEE5",
"popover-foreground": "#14151A",
"primary": "#C7E01B",
"primary-foreground": "#3E4800",
"secondary": "#F1EEE5",
"secondary-foreground": "#14151A",
"muted": "#17181D",
"muted-foreground": "#8C8E97",
"accent": "#2A47B8",
"accent-foreground": "#F5F2E9",
"destructive": "#E51F4B",
"destructive-foreground": "#F5F2E9",
"success": "#C7E01B",
"success-foreground": "#3E4800",
"warning": "#E8A317",
"warning-foreground": "#241900",
"info": "#2A47B8",
"info-foreground": "#F5F2E9",
"border": "#26282F",
"input": "#26282F",
"ring": "#C7E01B",
"chart-1": "#2A47B8",
"chart-2": "#C7E01B",
"chart-3": "#E51F4B",
"chart-4": "#E8A317",
"chart-5": "#F1EEE5",
"radius": "0rem"
}
},
"tokens": {
"colors": {
"bg": "#0F1014",
"surface": "#17181D",
"surface_solid": "#F1EEE5",
"text": "#EFECE3",
"muted": "#8C8E97",
"border": "#26282F",
"accent": "#E51F4B",
"accent_2": "#2A47B8",
"accent_soft": "#C7E01B",
"on_accent": "#F5F2E9",
"success": "#C7E01B",
"warning": "#E8A317",
"error": "#E51F4B",
"info": "#2A47B8"
},
"ink_variants": {
"acid_on_ink": "#FF7189",
"base_on_ink": "#93ACFF",
"endpoint_on_ink": "#C7E01B",
"graphite_on_paper": "#14151A",
"acid_on_paper": "#A80C33",
"base_on_paper": "#1E338C",
"endpoint_on_paper": "#3E4800",
"hold_on_paper": "#241900"
},
"typography": {
"base_size": "17px",
"body_font": "Archivo",
"heading_font": "Archivo",
"mono_font": "IBM Plex Mono",
"heading_weight": "700",
"heading_transform": "none",
"letter_spacing": "-0.02em",
"line_height": "1.55",
"scale_ratio": "1.28",
"google_fonts_url": "https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap"
},
"scale": {
"micro": "12px",
"label": "13.5px",
"control": "15px",
"body": "17px",
"lede": "21px",
"h3": "27px",
"h2": "35px",
"h1": "45px",
"display_landing": "21vw",
"display_endpoint": "15vw"
},
"radii": {
"none": "0px",
"md": "0px",
"lg": "0px",
"full": "0px"
},
"shadows": {
"sm": "4px 4px 0 0 #000000",
"md": "6px 6px 0 0 #000000",
"lg": "10px 10px 0 0 #000000"
},
"spacing": {
"base": "8px",
"scale": "8, 16, 24, 32, 48, 62, 96"
},
"surfaces": {
"treatment": "Graphite ink ground with matte bone-paper strips laid on it; dye fills whole regions of a control and never outlines one.",
"card_style": "Square panel with a titration band across the head, a hairline seam at the reading, and one hard zero-blur black offset. No outline, no edge rail, no nesting.",
"bg_pattern": "A 14px rule cadence borrowed from the burette scale, printed at low contrast on ink and only where no copy sits."
},
"borders": {
"default_width": "1px",
"accent_width": "2px",
"style": "solid",
"character": "Hairline seams only. A 1px rule separates table rows; a 2px seam marks a reading. Never an outline around a card and never a narrow strip hugging a card edge."
},
"motion": {
"duration": "620ms",
"easing": "cubic-bezier(0.22,0.61,0.28,1)",
"philosophy": "Nothing fades in for its own sake. A value travels, a front advances, a seam lands. One ease vocabulary across the whole set; beats scale 1x / 1.6x / 2.6x."
}
},
"primitives": [
"button",
"card",
"input",
"textarea",
"select",
"dialog",
"sheet",
"tabs",
"badge",
"separator",
"checkbox",
"switch",
"slider",
"tooltip",
"dropdown-menu",
"table"
],
"install": "npx shadcn@latest add button card input textarea select dialog sheet tabs badge separator checkbox switch slider tooltip dropdown-menu table",
"rules": [
"border-radius is 0 on every element, including cards, chips, avatars and thumbnails.",
"Shadows are hard offsets with zero blur; no glow, no soft drop, no gradient.",
"Any component showing a measured quantity shows its seam: a 2px hairline at the value with the number set on it.",
"Accent-role text uses the ink or lit variant; full-strength hues stay on fills and swatches.",
"One primary (chartreuse) surface per view.",
"No coloured stripe, rail or ribbon on any card or block edge."
]
}# Litmus shadcn/ui Components
Artifact: `component-recipes-v1`
Author: `katagami-ui-projection`
Language ID: `en-019ffc43-e769-78a2-8e7e-3d48d41e968b`
Slug: `litmus`
## Intent
Colour is a reading rather than a garnish. Every stateful surface in Litmus is a paper strip with a dye field and a hairline seam at the point the measurement stopped, and the number is printed on that seam so a value is never separated from the position it came from.
## 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": "#0F1014",
"surface": "#17181D",
"surface_solid": "#F1EEE5",
"text": "#EFECE3",
"muted": "#8C8E97",
"border": "#26282F",
"accent": "#E51F4B",
"accent_2": "#2A47B8",
"accent_soft": "#C7E01B",
"on_accent": "#F5F2E9",
"success": "#C7E01B",
"warning": "#E8A317",
"error": "#E51F4B",
"info": "#2A47B8"
}
Typography:
{
"base_size": "17px",
"body_font": "Archivo",
"heading_font": "Archivo",
"mono_font": "IBM Plex Mono",
"heading_weight": "700",
"heading_transform": "none",
"letter_spacing": "-0.02em",
"line_height": "1.55",
"scale_ratio": "1.28",
"google_fonts_url": "https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap"
}
## Visual character to preserve
- graphite ink ground with square bone-paper strips and hard zero-blur black offsets
- a 2px ruler-straight seam on every stateful control with the reading set on it in mono
- dye fills occupy whole regions of a control and never outline one
- IBM Plex Mono for anything an instrument measured; Archivo at 17px regular for prose
- border-radius 0 on every element in every artifact
## ShadSync visual profile
{
"family": "paper-collage",
"material": "paper",
"contour": "default",
"border": "solid",
"underlay": true,
"grain": true,
"stickerBadges": false,
"motion": "lift-rotate",
"density": "balanced",
"accents": [
"primary",
"accent",
"secondary",
"muted"
]
}
## Signature component recipes
### Button
Use `Button` for primary, secondary, outline, and ghost actions. Primary actions must expose the language's strongest contrast pair, while secondary and ghost actions should preserve the surface treatment instead of falling back to default neutral SaaS styling.
### Card
Use `Card`, `CardHeader`, `CardContent`, `CardFooter`, and `CardAction` as the main composition frame. Cards should demonstrate the language's surface, border, hierarchy, and density rules rather than appearing as generic rounded rectangles.
### Input and Textarea
Use `Input` and `Textarea` with visible focus rings, field labels, validation states, and the language's rhythm. Forms should show real product content, not placeholder-only controls.
### Select, Tabs, and Table
Use `Select`, `Tabs`, and `Table` to prove navigation, filtering, and dense data states. The table should show row rhythm, separators, hover/focus states, and an empty or status state when the language calls for it.
### Dialog and Sheet
Use `Dialog` for centered decisions and `Sheet` for contextual editing. Both should inherit the language's spacing, border, overlay, and motion rules.
## Preview shots
- `application-shell`: dashboard or workspace shell with navigation, cards, forms, and state badges.
- `detail-editor`: focused editing flow using input, textarea, select, switch/checkbox, dialog or sheet, and action buttons.
- `data-operations`: table-heavy operational view with tabs, dropdown menu affordances, badges, and destructive/empty states.
- Each preview shot must include a renderable `scene` payload with concrete headline, description, actions, and rows/fields/stats for the UI preview.
## Implementation contract
- Start from local `ui/src/components/ui` shadcn-style primitives; do not create a second component system.
- Apply `/katagami/shadcn/litmus/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: Give every hue one meaning and repeat it across actions, states, rows, cells, charts and steps.; Print the reading on the seam so the number and its position stay together.; Use the ink or lit variant of an accent whenever that accent has to be read as type.; Keep the ground quiet under every line of copy.; Write in the bench's real vocabulary: run identifiers, reagent lots, tolerances, analysts, times.
- Do not: Don't put a coloured stripe, rail or ribbon along the edge of a card, in any artifact.; Don't round anything; a rounded corner anywhere breaks the geometry.; Don't let a bright accent carry small text over imagery or paper.; Don't add glow shadows, decorative gradients or ambient particle fields.; Don't inflate the mid-scale; body is 17px and subheads sit close to it.
## 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 LitmusShadcnKit() {
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">Litmus</h2>
<p className="mt-1 max-w-xl text-sm text-muted-foreground">
Use the Katagami registry theme, then compose these shadcn primitives
with the language-specific component recipes.
</p>
</div>
<Button>Apply theme</Button>
</div>
<Tabs defaultValue="components">
<TabsList>
<TabsTrigger value="components">Components</TabsTrigger>
<TabsTrigger value="states">States</TabsTrigger>
<TabsTrigger value="export">Export</TabsTrigger>
</TabsList>
</Tabs>
<Card>
<CardHeader>
<CardTitle>Component recipe</CardTitle>
<CardDescription>
Replace this starter content with the agent-authored product scene
from components.md and preview-shots.json.
</CardDescription>
</CardHeader>
<CardContent className="grid gap-3 sm:grid-cols-[1fr_auto]">
<Input defaultValue="Tokenized shadcn surface" aria-label="Recipe name" />
<Button variant="secondary">Preview state</Button>
</CardContent>
<CardFooter className="justify-between">
<Badge>Ready</Badge>
<Button variant="outline">Copy recipe</Button>
</CardFooter>
</Card>
</section>
);
}
```
## Layout notes
{
"grid": "12-column ink page with a 1280px contained measure (1480px above 1800px) and one full-bleed plate layer. The console runs a 1.55fr canvas beside a 1fr queue column, collapsing to one column under 1180px; the landing is a six-scene pinned film on the same measure.",
"breakpoints": "mobile 390px, tablet 768-1024px, desktop 1440px, wide 1920px+ — each art-directed on its own terms.",
"whitespace": "8px base; 24px panel padding, 32px block gaps, 62px section rhythm, 12px minimum above every title."
}
{
"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-019ffc43-e769-78a2-8e7e-3d48d41e968b",
"name": "Litmus",
"slug": "litmus"
},
"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": [
"graphite ink ground with square bone-paper strips and hard zero-blur black offsets",
"a 2px ruler-straight seam on every stateful control with the reading set on it in mono",
"dye fills occupy whole regions of a control and never outline one",
"IBM Plex Mono for anything an instrument measured; Archivo at 17px regular for prose",
"border-radius 0 on every element in every artifact"
],
"visualProfile": {
"family": "paper-collage",
"material": "paper",
"contour": "default",
"border": "solid",
"underlay": true,
"grain": true,
"stickerBadges": false,
"motion": "lift-rotate",
"density": "balanced",
"accents": [
"primary",
"accent",
"secondary",
"muted"
]
},
"shots": [
{
"id": "application-shell",
"title": "Application shell",
"viewport": "desktop",
"primitives": [
"button",
"card",
"input",
"select",
"tabs",
"badge",
"separator",
"table"
],
"composition": "A real product workspace with navigation, summary cards, filtering controls, and one dense content region.",
"mustShow": [
"primary and secondary actions",
"card hierarchy",
"filterable state",
"table or list density"
],
"avoid": [
"component inventory walls",
"placeholder-only content",
"generic rounded SaaS chrome"
],
"scene": {
"eyebrow": "workspace spread",
"headline": "Litmus 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": [
"Give every hue one meaning and repeat it across actions, states, rows, cells, charts and steps.",
"Print the reading on the seam so the number and its position stay together.",
"Use the ink or lit variant of an accent whenever that accent has to be read as type.",
"Keep the ground quiet under every line of copy.",
"Write in the bench's real vocabulary: run identifiers, reagent lots, tolerances, analysts, times."
],
"dont": [
"Don't put a coloured stripe, rail or ribbon along the edge of a card, in any artifact.",
"Don't round anything; a rounded corner anywhere breaks the geometry.",
"Don't let a bright accent carry small text over imagery or paper.",
"Don't add glow shadows, decorative gradients or ambient particle fields.",
"Don't inflate the mid-scale; body is 17px and subheads sit close to it."
]
}
}