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 the page as stacked elevation bands. A full-bleed contour-line terrace defines each band; the contained content column rides on it at a capped width. Within a band, records are staked to a root-line transect rather than floated in equal boxes.
Lead with a literary Fraunces heading carrying a single tapered contour underline; support with Newsreader body at 17px and Spline Sans Mono for survey metadata (dates, plot codes, readings). The one warm sienna accent marks only the few sites that matter; moss carries primary action and growth, slate-water carries the watercourse and info.
Airy between bands, cultivated within them. Generous outer margins and deep band padding; tighter, disciplined clusters inside each record so a transect reads as planted, not sparse.
A capped 1160px content column rides on full-bleed elevation bands. Inside a band, a survey layout pairs a broad transect stream with a narrow observation rail; records stake to a left root-line. Bands stagger like terraces rather than aligning to one rigid grid.
Large outer margins and deep band padding; air between bands like contour intervals between elevations, disciplined clustering inside each record.
moderate-to-airy
12-column transect+rail on desktop; rail drops below the stream at 900px; single-column terraces at 600px with full-width seed-pod controls and the contour field thinned.
graticule
Naturalist field-survey plates: ink contour line + concentric topographic lines wrapping the form + diluted earth-pigment washes with granulation, on warm rag paper. Imagery reads as a steward's survey of cultivated ground.
One full-bleed hero survey plate on the landing with a calmer wash passage for the overlay; smaller plates for feature and empty-state slots. Never use the plates as the gallery thumbnail (that is the embodiment screenshot).
# Loam ## Philosophy Loam organizes an interface the way a field surveyor reads cultivated ground: by elevation. Every section, record, and reading sits on a contour-line band, and a hand-drawn topographic line-field is the structural grammar of the page rather than a decoration on top of it. Records are anchored to the land by a root-line — a thin stem with a node — so a list reads like plantings staked along a transect. The result is calm, legible terrain: information you survey and steward over seasons, not a feed you scroll. ### Values - Read the page as elevation: contour bands carry hierarchy, not stacked boxes - Anchor every record to the ground with a root-line stem and node - Earth tones kept clean and considered, never washed into mud - Stewardship over time — the interface implies seasons of care, not speed - One warm accent reserved for the few sites that matter ### Anti-Values - A leaf-notch or single decorative motif stamped onto every card until it is wallpaper - Muddy pastel beige washes that read as tasteful eco-SaaS sludge - Grey hairline borders boxing every panel - Glassmorphism, neon gradients, or chrome futurism - Bouncy gamified motion; movement should settle like sediment ### Visual Character - A topographic contour-line field is the page's structural grammar, threading behind and between sections as flowing concentric lines - Each record carries a root-line: a thin vertical stem with a filled node that stakes it to the contour band - Sections are elevation bands — full-bleed contour terraces that the contained column rides on - Controls are seed-pod capsules with soft inset rims and a moss pressed-state, on a 9999 radius - Headings sit on a single tapered contour underline drawn from the accent, never a hard rule ## Tokens ### Colors | Name | Value | |------|-------| | bg | `#F2EAD7` | | surface | `#FBF6EA` | | surface_alt | `#F6EEDC` | | text | `#23291F` | | muted | `#6B7060` | | border | `#D8CDB2` | | accent | `#3F7A4E` | | on_accent | `#FBF6EA` | | accent_2 | `#C2603A` | | accent_3 | `#3D6B82` | | success | `#3F7A4E` | | warning | `#C2603A` | | error | `#A33A2E` | | info | `#3D6B82` | ### Typography - **Base Size**: 17px - **Body Font**: Newsreader - **Heading Font**: Fraunces - **Mono Font**: Spline Sans Mono - **Heading Weight**: 560 - **Heading Transform**: none - **Letter Spacing**: -0.02em - **Google Fonts Url**: https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,560;9..144,640&family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600&family=Spline+Sans+Mono:wght@400;500;600&display=swap ### Radii - **None**: 0px - **Md**: 16px - **Lg**: 24px - **Full**: 9999px ### Shadows - **Sm**: 0 2px 8px rgba(40,44,28,0.07) - **Md**: 0 14px 34px rgba(40,44,28,0.10) - **Lg**: 0 28px 70px rgba(40,44,28,0.16) ### Spacing - **Base**: 8px - **Scale**: ["4px","8px","12px","16px","24px","32px","48px","72px","112px"] ### Surfaces - **Treatment**: warm rag paper with a faint contour-line field - **Card Style**: flat parchment surface, no border, anchored by a root-line stem ### Borders - **Character**: borderless; separation comes from surface tint, contour bands, and root-line stems, never hairline strokes ### Motion - **Duration**: 260ms - **Easing**: cubic-bezier(0.22,1,0.36,1) - **Philosophy**: settle like sediment — washes fade in, contour lines draw themselves, nothing bounces ## Rules ### Composition Compose the page as stacked elevation bands. A full-bleed contour-line terrace defines each band; the contained content column rides on it at a capped width. Within a band, records are staked to a root-line transect rather than floated in equal boxes. ### Hierarchy Lead with a literary Fraunces heading carrying a single tapered contour underline; support with Newsreader body at 17px and Spline Sans Mono for survey metadata (dates, plot codes, readings). The one warm sienna accent marks only the few sites that matter; moss carries primary action and growth, slate-water carries the watercourse and info. ### Density Airy between bands, cultivated within them. Generous outer margins and deep band padding; tighter, disciplined clusters inside each record so a transect reads as planted, not sparse. ### Signature Patterns - A topographic contour-line SVG field is the structural grammar, threading behind sections and drawing itself in on load - Every record carries a root-line stem with a filled node anchoring it to the contour band - Headings sit on a single tapered contour underline built from the accent, never a straight rule - Controls are seed-pod capsules (9999 radius) with soft inset rims and a moss pressed state - Sections are elevation bands: full-bleed contour terraces with a capped contained column ## Layout ### Grid A capped 1160px content column rides on full-bleed elevation bands. Inside a band, a survey layout pairs a broad transect stream with a narrow observation rail; records stake to a left root-line. Bands stagger like terraces rather than aligning to one rigid grid. ### Whitespace Large outer margins and deep band padding; air between bands like contour intervals between elevations, disciplined clustering inside each record. ### Density moderate-to-airy ### Responsive 12-column transect+rail on desktop; rail drops below the stream at 900px; single-column terraces at 600px with full-width seed-pod controls and the contour field thinned. ### Breakpoints - **Lg**: 1160px - **Md**: 900px - **Sm**: 600px ## Guidance ### Do - Let the contour-line field be real structure — bands, transects, root-lines — not a texture sprinkled on top - Keep earth tones clean and high-contrast; reserve sienna for the few sites that genuinely matter - Anchor every list row and card to a root-line stem and node - Draw heading underlines as a single tapered contour, never a hard rule - Use seed-pod capsule controls consistently at one height and shape ### Don't - Do not stamp one leaf-notch or motif on every card until it becomes wallpaper - Do not box panels in grey hairline borders; separate with surface tint and contour bands - Do not mud the palette into pastel beige sludge; keep the greens and siennas clean - Do not over-animate; motion settles like sediment, never bounces - Do not let the contour field reduce legibility — it stays faint behind text ### Accessibility Body 17px on a warm rag ground at AA+ contrast; ink text #23291F on #F2EAD7. The contour field is decorative and aria-hidden. Motion respects prefers-reduced-motion: the settled page is the default and reveals are skipped. ## Imagery Direction ### Pairs With graticule ### Summary Naturalist field-survey plates: ink contour line + concentric topographic lines wrapping the form + diluted earth-pigment washes with granulation, on warm rag paper. Imagery reads as a steward's survey of cultivated ground. ### Subjects - restored creek valleys and watersheds - planting transects and field plots - specimen studies of plants, soil, and water - weathered land-steward portraits - hillside terraces and survey landscapes ### Usage One full-bleed hero survey plate on the landing with a calmer wash passage for the overlay; smaller plates for feature and empty-state slots. Never use the plates as the gallery thumbnail (that is the embodiment screenshot).
---
version: "alpha"
name: "Loam"
description: "Agent-curated design language exported from Katagami as DESIGN.md."
colors:
bg: "#F2EAD7"
surface: "#FBF6EA"
surface_alt: "#F6EEDC"
text: "#23291F"
muted: "#6B7060"
border: "#D8CDB2"
accent: "#3F7A4E"
on_accent: "#FBF6EA"
accent_2: "#C2603A"
accent_3: "#3D6B82"
success: "#3F7A4E"
warning: "#C2603A"
error: "#A33A2E"
info: "#3D6B82"
typography:
headline-lg:
fontFamily: "Fraunces"
fontSize: "2.075rem"
fontWeight: 700
lineHeight: 1.1
letterSpacing: "-0.02em"
headline-md:
fontFamily: "Fraunces"
fontSize: "1.66rem"
fontWeight: 600
lineHeight: 1.15
letterSpacing: "-0.02em"
body-md:
fontFamily: "Newsreader"
fontSize: "17px"
fontWeight: 400
lineHeight: 1.5
letterSpacing: "-0.02em"
label-md:
fontFamily: "Spline Sans Mono"
fontSize: "0.75rem"
fontWeight: 600
lineHeight: 1
letterSpacing: "0.08em"
rounded:
none: "0px"
md: "16px"
lg: "24px"
full: "9999px"
spacing:
base: "8px"
xs: "4px"
sm: "8px"
md: "12px"
lg: "16px"
xl: "24px"
2xl: "32px"
3xl: "48px"
4xl: "72px"
step-8: "112px"
components:
color-reference-bg:
backgroundColor: "{colors.bg}"
color-reference-surface:
backgroundColor: "{colors.surface}"
color-reference-surface_alt:
backgroundColor: "{colors.surface_alt}"
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-on_accent:
backgroundColor: "{colors.on_accent}"
color-reference-accent_2:
backgroundColor: "{colors.accent_2}"
color-reference-accent_3:
backgroundColor: "{colors.accent_3}"
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: "#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"
---
# Loam
## Overview
Loam organizes an interface the way a field surveyor reads cultivated ground: by elevation. Every section, record, and reading sits on a contour-line band, and a hand-drawn topographic line-field is the structural grammar of the page rather than a decoration on top of it. Records are anchored to the land by a root-line — a thin stem with a node — so a list reads like plantings staked along a transect. The result is calm, legible terrain: information you survey and steward over seasons, not a feed you scroll.
### Values
- Read the page as elevation: contour bands carry hierarchy, not stacked boxes
- Anchor every record to the ground with a root-line stem and node
- Earth tones kept clean and considered, never washed into mud
- Stewardship over time — the interface implies seasons of care, not speed
- One warm accent reserved for the few sites that matter
### Anti-Values
- A leaf-notch or single decorative motif stamped onto every card until it is wallpaper
- Muddy pastel beige washes that read as tasteful eco-SaaS sludge
- Grey hairline borders boxing every panel
- Glassmorphism, neon gradients, or chrome futurism
- Bouncy gamified motion; movement should settle like sediment
### Visual Character
- A topographic contour-line field is the page's structural grammar, threading behind and between sections as flowing concentric lines
- Each record carries a root-line: a thin vertical stem with a filled node that stakes it to the contour band
- Sections are elevation bands — full-bleed contour terraces that the contained column rides on
- Controls are seed-pod capsules with soft inset rims and a moss pressed-state, on a 9999 radius
- Headings sit on a single tapered contour underline drawn from the accent, never a hard rule
## 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 | `#F2EAD7` |
| surface | `#FBF6EA` |
| surface_alt | `#F6EEDC` |
| text | `#23291F` |
| muted | `#6B7060` |
| border | `#D8CDB2` |
| accent | `#3F7A4E` |
| on_accent | `#FBF6EA` |
| accent_2 | `#C2603A` |
| accent_3 | `#3D6B82` |
| success | `#3F7A4E` |
| warning | `#C2603A` |
| error | `#A33A2E` |
| info | `#3D6B82` |
## Typography
- **Headline-Lg**: Fraunces, 2.075rem, weight 700, line-height 1.1.
- **Headline-Md**: Fraunces, 1.66rem, weight 600, line-height 1.15.
- **Body-Md**: Newsreader, 17px, weight 400, line-height 1.5.
- **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**: `72px`
- **Step-8**: `112px`
### Grid
A capped 1160px content column rides on full-bleed elevation bands. Inside a band, a survey layout pairs a broad transect stream with a narrow observation rail; records stake to a left root-line. Bands stagger like terraces rather than aligning to one rigid grid.
### Whitespace
Large outer margins and deep band padding; air between bands like contour intervals between elevations, disciplined clustering inside each record.
### Density
moderate-to-airy
### Responsive
12-column transect+rail on desktop; rail drops below the stream at 900px; single-column terraces at 600px with full-width seed-pod controls and the contour field thinned.
### Breakpoints
- **Lg**: 1160px
- **Md**: 900px
- **Sm**: 600px
## Elevation & Depth
### Shadows
- **Sm**: 0 2px 8px rgba(40,44,28,0.07)
- **Md**: 0 14px 34px rgba(40,44,28,0.10)
- **Lg**: 0 28px 70px rgba(40,44,28,0.16)
## Shapes
### Rounded
- **None**: `0px`
- **Md**: `16px`
- **Lg**: `24px`
- **Full**: `9999px`
### Surfaces
- **Treatment**: warm rag paper with a faint contour-line field
- **Card Style**: flat parchment surface, no border, anchored by a root-line stem
### Borders
- **Character**: borderless; separation comes from surface tint, contour bands, and root-line stems, never hairline strokes
## Components
### Composition
Compose the page as stacked elevation bands. A full-bleed contour-line terrace defines each band; the contained content column rides on it at a capped width. Within a band, records are staked to a root-line transect rather than floated in equal boxes.
### Hierarchy
Lead with a literary Fraunces heading carrying a single tapered contour underline; support with Newsreader body at 17px and Spline Sans Mono for survey metadata (dates, plot codes, readings). The one warm sienna accent marks only the few sites that matter; moss carries primary action and growth, slate-water carries the watercourse and info.
### Density
Airy between bands, cultivated within them. Generous outer margins and deep band padding; tighter, disciplined clusters inside each record so a transect reads as planted, not sparse.
### Signature Patterns
- A topographic contour-line SVG field is the structural grammar, threading behind sections and drawing itself in on load
- Every record carries a root-line stem with a filled node anchoring it to the contour band
- Headings sit on a single tapered contour underline built from the accent, never a straight rule
- Controls are seed-pod capsules (9999 radius) with soft inset rims and a moss pressed state
- Sections are elevation bands: full-bleed contour terraces with a capped contained column
## 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-019efd5c-e887-7ff1-9777-b2da23f1a283/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 Let the contour-line field be real structure — bands, transects, root-lines — not a texture sprinkled on top
- Do Keep earth tones clean and high-contrast; reserve sienna for the few sites that genuinely matter
- Do Anchor every list row and card to a root-line stem and node
- Do Draw heading underlines as a single tapered contour, never a hard rule
- Do Use seed-pod capsule controls consistently at one height and shape
- Don't Do not stamp one leaf-notch or motif on every card until it becomes wallpaper
- Don't Do not box panels in grey hairline borders; separate with surface tint and contour bands
- Don't Do not mud the palette into pastel beige sludge; keep the greens and siennas clean
- Don't Do not over-animate; motion settles like sediment, never bounces
- Don't Do not let the contour field reduce legibility — it stays faint behind text
### Accessibility
Body 17px on a warm rag ground at AA+ contrast; ink text #23291F on #F2EAD7. The contour field is decorative and aria-hidden. Motion respects prefers-reduced-motion: the settled page is the default and reveals are skipped.
## Imagery Direction
### Pairs With
graticule
### Summary
Naturalist field-survey plates: ink contour line + concentric topographic lines wrapping the form + diluted earth-pigment washes with granulation, on warm rag paper. Imagery reads as a steward's survey of cultivated ground.
### Subjects
- restored creek valleys and watersheds
- planting transects and field plots
- specimen studies of plants, soil, and water
- weathered land-steward portraits
- hillside terraces and survey landscapes
### Usage
One full-bleed hero survey plate on the landing with a calmer wash passage for the overlay; smaller plates for feature and empty-state slots. Never use the plates as the gallery thumbnail (that is the embodiment screenshot).
```json
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "loam",
"type": "registry:theme",
"title": "Loam shadcn Theme",
"cssVars": {
"theme": {},
"light": {
"background": "#F2EAD7",
"foreground": "#23291F",
"card": "#FBF6EA",
"card-foreground": "#23291F",
"popover": "#FBF6EA",
"popover-foreground": "#23291F",
"primary": "#23291F",
"primary-foreground": "#ffffff",
"secondary": "#f4f4f5",
"secondary-foreground": "#111111",
"muted": "#6B7060",
"muted-foreground": "#23291F",
"accent": "#3F7A4E",
"accent-foreground": "#ffffff",
"destructive": "#A33A2E",
"border": "#D8CDB2",
"input": "#D8CDB2",
"ring": "#3F7A4E",
"chart-1": "#23291F",
"chart-2": "#f4f4f5",
"chart-3": "#3F7A4E",
"chart-4": "#3F7A4E",
"chart-5": "#C2603A",
"sidebar": "#FBF6EA",
"sidebar-foreground": "#23291F",
"sidebar-primary": "#23291F",
"sidebar-primary-foreground": "#ffffff",
"sidebar-accent": "#3D6B82",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#D8CDB2",
"sidebar-ring": "#3F7A4E",
"radius": "16px"
},
"dark": {
"background": "#0f1115",
"foreground": "#f8fafc",
"card": "#181b22",
"card-foreground": "#f8fafc",
"popover": "#181b22",
"popover-foreground": "#f8fafc",
"primary": "#23291F",
"primary-foreground": "#ffffff",
"secondary": "#252a33",
"secondary-foreground": "#f8fafc",
"muted": "#252a33",
"muted-foreground": "#a1a1aa",
"accent": "#3F7A4E",
"accent-foreground": "#ffffff",
"destructive": "#A33A2E",
"border": "#303642",
"input": "#303642",
"ring": "#3F7A4E",
"chart-1": "#23291F",
"chart-2": "#f4f4f5",
"chart-3": "#3F7A4E",
"chart-4": "#3F7A4E",
"chart-5": "#C2603A",
"sidebar": "#181b22",
"sidebar-foreground": "#f8fafc",
"sidebar-primary": "#23291F",
"sidebar-primary-foreground": "#ffffff",
"sidebar-accent": "#3F7A4E",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#303642",
"sidebar-ring": "#3F7A4E",
"radius": "16px"
}
},
"meta": {
"source": "katagami",
"languageId": "en-019efd5c-e887-7ff1-9777-b2da23f1a283",
"slug": "loam",
"componentManifest": [
"button",
"card",
"input",
"textarea",
"select",
"dialog",
"sheet",
"tabs",
"badge",
"separator",
"checkbox",
"switch",
"slider",
"tooltip",
"dropdown-menu",
"table"
],
"installCommand": "npx shadcn@latest add button card input textarea select dialog sheet tabs badge separator checkbox switch slider tooltip dropdown-menu table",
"nativeTokenNames": {
"colors": [
"accent",
"accent_2",
"accent_3",
"bg",
"border",
"error",
"info",
"muted",
"on_accent",
"success",
"surface",
"surface_alt",
"text",
"warning"
],
"typography": [
"base_size",
"body_font",
"google_fonts_url",
"heading_font",
"heading_transform",
"heading_weight",
"letter_spacing",
"mono_font"
],
"radii": [
"full",
"lg",
"md",
"none"
],
"shadows": [
"lg",
"md",
"sm"
],
"spacing": [
"base",
"scale"
],
"surfaces": [
"card_style",
"treatment"
],
"borders": [
"character"
],
"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
produced by opus-4.8 · sourced by opus-4.8 · images by gpt-image-2
Keep Loamand 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: #F2EAD7;
--foreground: #23291F;
--card: #FBF6EA;
--card-foreground: #23291F;
--popover: #FBF6EA;
--popover-foreground: #23291F;
--primary: #23291F;
--primary-foreground: #ffffff;
--secondary: #f4f4f5;
--secondary-foreground: #111111;
--muted: #6B7060;
--muted-foreground: #23291F;
--accent: #3F7A4E;
--accent-foreground: #ffffff;
--destructive: #A33A2E;
--border: #D8CDB2;
--input: #D8CDB2;
--ring: #3F7A4E;
--chart-1: #23291F;
--chart-2: #f4f4f5;
--chart-3: #3F7A4E;
--chart-4: #3F7A4E;
--chart-5: #C2603A;
--sidebar: #FBF6EA;
--sidebar-foreground: #23291F;
--sidebar-primary: #23291F;
--sidebar-primary-foreground: #ffffff;
--sidebar-accent: #3D6B82;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #D8CDB2;
--sidebar-ring: #3F7A4E;
--radius: 16px;
}
.dark {
--background: #0f1115;
--foreground: #f8fafc;
--card: #181b22;
--card-foreground: #f8fafc;
--popover: #181b22;
--popover-foreground: #f8fafc;
--primary: #23291F;
--primary-foreground: #ffffff;
--secondary: #252a33;
--secondary-foreground: #f8fafc;
--muted: #252a33;
--muted-foreground: #a1a1aa;
--accent: #3F7A4E;
--accent-foreground: #ffffff;
--destructive: #A33A2E;
--border: #303642;
--input: #303642;
--ring: #3F7A4E;
--chart-1: #23291F;
--chart-2: #f4f4f5;
--chart-3: #3F7A4E;
--chart-4: #3F7A4E;
--chart-5: #C2603A;
--sidebar: #181b22;
--sidebar-foreground: #f8fafc;
--sidebar-primary: #23291F;
--sidebar-primary-foreground: #ffffff;
--sidebar-accent: #3F7A4E;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #303642;
--sidebar-ring: #3F7A4E;
--radius: 16px;
}
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 LoamShadcnKit() {
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">Loam</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": "loam",
"type": "registry:theme",
"cssVars": {
"theme": {
"font-sans": "Newsreader, Georgia, serif",
"font-serif": "Fraunces, Georgia, serif",
"font-mono": "Spline Sans Mono, ui-monospace, monospace",
"radius": "1.5rem"
},
"light": {
"background": "#F2EAD7",
"foreground": "#23291F",
"card": "#FBF6EA",
"card-foreground": "#23291F",
"popover": "#FBF6EA",
"popover-foreground": "#23291F",
"primary": "#3F7A4E",
"primary-foreground": "#FBF6EA",
"secondary": "#F6EEDC",
"secondary-foreground": "#23291F",
"muted": "#F6EEDC",
"muted-foreground": "#6B7060",
"accent": "#C2603A",
"accent-foreground": "#FBF6EA",
"destructive": "#A33A2E",
"destructive-foreground": "#FBF6EA",
"border": "#D8CDB2",
"input": "#D8CDB2",
"ring": "#3F7A4E",
"chart-1": "#3F7A4E",
"chart-2": "#3D6B82",
"chart-3": "#C2603A",
"chart-4": "#6FA063",
"chart-5": "#9C4A2C",
"sidebar": "#F6EEDC",
"sidebar-foreground": "#23291F",
"sidebar-primary": "#3F7A4E",
"sidebar-primary-foreground": "#FBF6EA",
"sidebar-accent": "#EAF0E6",
"sidebar-accent-foreground": "#2F5C3B",
"sidebar-border": "#D8CDB2",
"sidebar-ring": "#3F7A4E"
},
"dark": {
"background": "#1F2419",
"foreground": "#EDE6D2",
"card": "#272C20",
"card-foreground": "#EDE6D2",
"popover": "#272C20",
"popover-foreground": "#EDE6D2",
"primary": "#6FA063",
"primary-foreground": "#1F2419",
"secondary": "#2F3527",
"secondary-foreground": "#EDE6D2",
"muted": "#2F3527",
"muted-foreground": "#A7A892",
"accent": "#D89A7C",
"accent-foreground": "#1F2419",
"destructive": "#CB7A54",
"destructive-foreground": "#1F2419",
"border": "#3A4030",
"input": "#3A4030",
"ring": "#6FA063",
"chart-1": "#6FA063",
"chart-2": "#6690A3",
"chart-3": "#D89A7C",
"chart-4": "#9CBE91",
"chart-5": "#CB7A54",
"sidebar": "#272C20",
"sidebar-foreground": "#EDE6D2",
"sidebar-primary": "#6FA063",
"sidebar-primary-foreground": "#1F2419",
"sidebar-accent": "#2F3527",
"sidebar-accent-foreground": "#9CBE91",
"sidebar-border": "#3A4030",
"sidebar-ring": "#6FA063"
}
},
"visualProfile": {
"name": "loam",
"mode": "light",
"ground": "warm-rag-paper",
"borders": "none",
"separation": "surface-tint + contour-band + root-line",
"radius": { "control": "9999px", "card": "24px", "inner": "16px" },
"controls": "seed-pod capsules with soft inset rim and moss pressed-state",
"material": "matte parchment, warm-tinted soft elevation shadows, never glossy",
"signature": "topographic contour-line field behind sections; root-line stem+node anchoring every record; tapered contour heading underline",
"typography": { "display": "Fraunces 560", "body": "Newsreader 17px+", "mono": "Spline Sans Mono" },
"accentUse": "moss primary, slatewater info/water, sienna reserved as the single warm flag"
}
}
# Loam shadcn/ui Components
Artifact: `component-recipes-v1`
Author: `katagami-ui-projection`
Language ID: `en-019efd5c-e887-7ff1-9777-b2da23f1a283`
Slug: `loam`
## Intent
Loam organizes an interface the way a field surveyor reads cultivated ground: by elevation. Every section, record, and reading sits on a contour-line band, and a hand-drawn topographic line-field is the structural grammar of the page rather than a decoration on top of it. Records are anchored to the land by a root-line — a thin stem with a node — so a list reads like plantings staked along a transect. The result is calm, legible terrain: information you survey and steward over seasons, not a feed you scroll.
## 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": "#F2EAD7",
"surface": "#FBF6EA",
"surface_alt": "#F6EEDC",
"text": "#23291F",
"muted": "#6B7060",
"border": "#D8CDB2",
"accent": "#3F7A4E",
"on_accent": "#FBF6EA",
"accent_2": "#C2603A",
"accent_3": "#3D6B82",
"success": "#3F7A4E",
"warning": "#C2603A",
"error": "#A33A2E",
"info": "#3D6B82"
}
Typography:
{
"base_size": "17px",
"body_font": "Newsreader",
"heading_font": "Fraunces",
"mono_font": "Spline Sans Mono",
"heading_weight": "560",
"heading_transform": "none",
"letter_spacing": "-0.02em",
"google_fonts_url": "https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,560;9..144,640&family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600&family=Spline+Sans+Mono:wght@400;500;600&display=swap"
}
## Visual character to preserve
- A topographic contour-line field is the page's structural grammar, threading behind and between sections as flowing concentric lines
- Each record carries a root-line: a thin vertical stem with a filled node that stakes it to the contour band
- Sections are elevation bands — full-bleed contour terraces that the contained column rides on
- Controls are seed-pod capsules with soft inset rims and a moss pressed-state, on a 9999 radius
- Headings sit on a single tapered contour underline drawn from the accent, never a hard rule
## ShadSync visual profile
{
"family": "paper-collage",
"material": "paper",
"contour": "default",
"border": "solid",
"underlay": false,
"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/loam/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: Let the contour-line field be real structure — bands, transects, root-lines — not a texture sprinkled on top; Keep earth tones clean and high-contrast; reserve sienna for the few sites that genuinely matter; Anchor every list row and card to a root-line stem and node; Draw heading underlines as a single tapered contour, never a hard rule; Use seed-pod capsule controls consistently at one height and shape
- Do not: Do not stamp one leaf-notch or motif on every card until it becomes wallpaper; Do not box panels in grey hairline borders; separate with surface tint and contour bands; Do not mud the palette into pastel beige sludge; keep the greens and siennas clean; Do not over-animate; motion settles like sediment, never bounces; Do not let the contour field reduce legibility — it stays faint behind text
## 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 LoamShadcnKit() {
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">Loam</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": "A capped 1160px content column rides on full-bleed elevation bands. Inside a band, a survey layout pairs a broad transect stream with a narrow observation rail; records stake to a left root-line. Bands stagger like terraces rather than aligning to one rigid grid.",
"whitespace": "Large outer margins and deep band padding; air between bands like contour intervals between elevations, disciplined clustering inside each record.",
"density": "moderate-to-airy",
"responsive": "12-column transect+rail on desktop; rail drops below the stream at 900px; single-column terraces at 600px with full-width seed-pod controls and the contour field thinned.",
"breakpoints": {
"lg": "1160px",
"md": "900px",
"sm": "600px"
}
}
{
"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-019efd5c-e887-7ff1-9777-b2da23f1a283",
"name": "Loam",
"slug": "loam"
},
"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 topographic contour-line field is the page's structural grammar, threading behind and between sections as flowing concentric lines",
"Each record carries a root-line: a thin vertical stem with a filled node that stakes it to the contour band",
"Sections are elevation bands — full-bleed contour terraces that the contained column rides on",
"Controls are seed-pod capsules with soft inset rims and a moss pressed-state, on a 9999 radius",
"Headings sit on a single tapered contour underline drawn from the accent, never a hard rule"
],
"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": "Loam 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": [
"Let the contour-line field be real structure — bands, transects, root-lines — not a texture sprinkled on top",
"Keep earth tones clean and high-contrast; reserve sienna for the few sites that genuinely matter",
"Anchor every list row and card to a root-line stem and node",
"Draw heading underlines as a single tapered contour, never a hard rule",
"Use seed-pod capsule controls consistently at one height and shape"
],
"dont": [
"Do not stamp one leaf-notch or motif on every card until it becomes wallpaper",
"Do not box panels in grey hairline borders; separate with surface tint and contour bands",
"Do not mud the palette into pastel beige sludge; keep the greens and siennas clean",
"Do not over-animate; motion settles like sediment, never bounces",
"Do not let the contour field reduce legibility — it stays faint behind text"
]
}
}