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.
Organise every scene along one firing ridgeline — a temperature-vs-time curve with named phases (candle, climb, soak, cool) — rather than a grid of unrelated dashboard cards.
Let scale, whitespace, serif numerals, and warm charcoal weight establish priority; coral marks the single decision (the soak), seafoam confirms settled work.
Comfortable and airy with 24px to 48px group spacing; compact data only inside lifted porcelain slabs and ledger tables.
The firing ridgeline: a seafoam ramp/cool line, one thick coral soak segment at the apex, a coral cone-bend node, and a seafoam cooled-tail node — recolouring on palette swap.
Asymmetric: a narrow index/rail on one side and a wide curve canvas on the other, with wide gutters; collapses to a single column below tablet.
Whitespace is a primary material: 32-48px outer padding on desktop, 20-24px on mobile, generous breathing room around every colour moment.
airy
A single full-bleed hero spans 100vw; contained content caps and centres on ultra-wide; stacks to one column and hides the rail/nav on mobile; grids use minmax(0,1fr) so children shrink instead of overflowing.
bisque
Subjects rendered as smooth matte bone-china on a seamless warm bone-clay cove, soft top light and long soft shadow, with one coral and one seafoam glaze accent used like highlighters.
One full-bleed hero of bone-china cones progressing upright to slumped, composed with calm negative space for an overlay headline; feature crops show inset glaze highlight bands and a single coral or seafoam glaze accent.
# Saggar ## Philosophy A bone-china firing ledger: the whole language is organised along one firing curve that climbs, holds a single coral soak at peak, and falls into a seafoam cool. Porcelain slabs and warm charcoal type do the work; colour appears only at the decision and the settling. ### Values - one-curve clarity - the single coral decision - warm tactile calm - semantic restraint ### Anti-Values - dashboard widget grids - rainbow status colour - cold white SaaS default - decorative accent edges or rails ### Visual Character - A toasted bone-clay ground (#ECE3D3) — never white — with porcelain slabs lifting above a recessed clay well the way ware sits inside a saggar. - Every scene threads one firing ridgeline: a seafoam ramp-and-cool line with a single thick coral soak segment at the apex and a coral node where the cone bends. - Display and all figures are set in Fraunces serif so a temperature reads like a fired mark, not a spreadsheet cell. - Coral is spent exactly once per scene — the primary control, the active soak, the selected recipe line; seafoam settles over cooled, logged work. - Hierarchy is built from large negative space, warm charcoal type, soft vertical shadows, and an inset top-light glaze band; pearl hairlines only on inputs and dividers. ## Tokens ### Colors | Name | Value | |------|-------| | bg | `#ECE3D3` | | surface | `#FAF6EF` | | well | `#E2D7C4` | | text | `#2A2520` | | muted | `#8A8073` | | border | `#D9CDB8` | | accent | `#F2674F` | | accent_press | `#C24330` | | seafoam | `#6FC3B0` | | seafoam_wash | `#E0F0EA` | | on_accent | `#FFFFFF` | | success | `#6FC3B0` | | warning | `#D6A044` | | error | `#D9544A` | | info | `#6FA8D6` | ### Typography - **Base Size**: 17px - **Body Font**: Spline Sans - **Heading Font**: Fraunces - **Mono Font**: Spline Sans Mono - **Heading Weight**: 500 - **Heading Transform**: none - **Letter Spacing**: -0.02em - **Line Height**: 1.55 - **Scale Ratio**: 1.25 - **Google Fonts Url**: https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Spline+Sans:wght@400;500;600&family=Spline+Sans+Mono:wght@400;500&display=swap ### Radii - **None**: 0 - **Md**: 16px - **Lg**: 24px - **Full**: 9999px ### Shadows - **Sm**: 0 1px 2px rgba(42,37,32,.05) - **Md**: 0 16px 38px rgba(42,37,32,.09) - **Lg**: 0 34px 80px rgba(42,37,32,.13) ### Spacing - **Base**: 8px - **Scale**: [4,8,12,16,24,32,48,64,96] ### Surfaces - **Bg Pattern**: none: uninterrupted warm bone-clay ground, no pattern, dots, or grid - **Card Style**: porcelain slabs lifted by soft vertical shadows over a recessed clay well, with a translucent inset top-light glaze band; no borders - **Treatment**: porcelain over recessed bone-clay wells, top-light glaze gradient, no pattern ### Borders - **Default Width**: 1px - **Style**: solid - **Character**: pearl hairline (#D9CDB8) on inputs, select triggers, and table dividers only; never on cards or buttons; never an accent edge ### Motion - **Duration**: 200ms - **Easing**: cubic-bezier(0.2,0.8,0.2,1) - **Philosophy**: the settled, fully-rendered state is the no-JS default; reveals are layered on top via an inline script and respect prefers-reduced-motion ## Rules ### Composition Organise every scene along one firing ridgeline — a temperature-vs-time curve with named phases (candle, climb, soak, cool) — rather than a grid of unrelated dashboard cards. ### Hierarchy Let scale, whitespace, serif numerals, and warm charcoal weight establish priority; coral marks the single decision (the soak), seafoam confirms settled work. ### Density Comfortable and airy with 24px to 48px group spacing; compact data only inside lifted porcelain slabs and ledger tables. ### Signature The firing ridgeline: a seafoam ramp/cool line, one thick coral soak segment at the apex, a coral cone-bend node, and a seafoam cooled-tail node — recolouring on palette swap. ## Layout ### Grid Asymmetric: a narrow index/rail on one side and a wide curve canvas on the other, with wide gutters; collapses to a single column below tablet. ### Whitespace Whitespace is a primary material: 32-48px outer padding on desktop, 20-24px on mobile, generous breathing room around every colour moment. ### Density airy ### Responsive A single full-bleed hero spans 100vw; contained content caps and centres on ultra-wide; stacks to one column and hides the rail/nav on mobile; grids use minmax(0,1fr) so children shrink instead of overflowing. ### Breakpoints - **Mobile**: 390px - **Tablet**: 768px - **Desktop**: 1200px - **Wide**: 1440px ## Guidance ### Do - Spend coral exactly once per scene — the primary control, the active soak, or the selected recipe line. - Use seafoam for settled, cooled, and successful work, and for the ramp/cool curve. - Set headings and all numbers in Fraunces serif so figures read like fired marks. - Keep normal slabs, rows, inputs, and the rail clay-neutral with charcoal type until a state needs to speak. ### Don't - Do not lay scenes out as a grid of unrelated dashboard widgets — thread them along the one curve. - Do not default to a cold white ground; the ground is warm bone clay. - Do not add coloured rails, stripes, accent edges on cards, or rainbow status. - Do not introduce hues beyond coral, seafoam, and the quiet semantics. ### Accessibility Warm charcoal #2A2520 on bone-clay #ECE3D3 exceeds AA; coral text darkens to #C24330 for AA on porcelain; body 17px; every form control explicitly styled with a visible coral focus ring; motion gated behind prefers-reduced-motion with the settled state as the no-JS default. ## Imagery Direction ### Pairs With bisque ### Summary Subjects rendered as smooth matte bone-china on a seamless warm bone-clay cove, soft top light and long soft shadow, with one coral and one seafoam glaze accent used like highlighters. ### Subjects - pyrometric cones in progressive bend - thrown porcelain vessels - nested kiln saggars - glaze test tiles - a single bone-china teabowl ### Usage One full-bleed hero of bone-china cones progressing upright to slumped, composed with calm negative space for an overlay headline; feature crops show inset glaze highlight bands and a single coral or seafoam glaze accent.
---
version: "alpha"
name: "Saggar"
description: "Agent-curated design language exported from Katagami as DESIGN.md."
colors:
bg: "#ECE3D3"
surface: "#FAF6EF"
well: "#E2D7C4"
text: "#2A2520"
muted: "#8A8073"
border: "#D9CDB8"
accent: "#F2674F"
accent_press: "#C24330"
seafoam: "#6FC3B0"
seafoam_wash: "#E0F0EA"
on_accent: "#FFFFFF"
success: "#6FC3B0"
warning: "#D6A044"
error: "#D9544A"
info: "#6FA8D6"
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: "Spline Sans"
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: "64px"
step-8: "96px"
components:
color-reference-bg:
backgroundColor: "{colors.bg}"
color-reference-surface:
backgroundColor: "{colors.surface}"
color-reference-well:
backgroundColor: "{colors.well}"
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_press:
backgroundColor: "{colors.accent_press}"
color-reference-seafoam:
backgroundColor: "{colors.seafoam}"
color-reference-seafoam_wash:
backgroundColor: "{colors.seafoam_wash}"
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.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"
---
# Saggar
## Overview
A bone-china firing ledger: the whole language is organised along one firing curve that climbs, holds a single coral soak at peak, and falls into a seafoam cool. Porcelain slabs and warm charcoal type do the work; colour appears only at the decision and the settling.
### Values
- one-curve clarity
- the single coral decision
- warm tactile calm
- semantic restraint
### Anti-Values
- dashboard widget grids
- rainbow status colour
- cold white SaaS default
- decorative accent edges or rails
### Visual Character
- A toasted bone-clay ground (#ECE3D3) — never white — with porcelain slabs lifting above a recessed clay well the way ware sits inside a saggar.
- Every scene threads one firing ridgeline: a seafoam ramp-and-cool line with a single thick coral soak segment at the apex and a coral node where the cone bends.
- Display and all figures are set in Fraunces serif so a temperature reads like a fired mark, not a spreadsheet cell.
- Coral is spent exactly once per scene — the primary control, the active soak, the selected recipe line; seafoam settles over cooled, logged work.
- Hierarchy is built from large negative space, warm charcoal type, soft vertical shadows, and an inset top-light glaze band; pearl hairlines only on inputs and dividers.
## 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 | `#ECE3D3` |
| surface | `#FAF6EF` |
| well | `#E2D7C4` |
| text | `#2A2520` |
| muted | `#8A8073` |
| border | `#D9CDB8` |
| accent | `#F2674F` |
| accent_press | `#C24330` |
| seafoam | `#6FC3B0` |
| seafoam_wash | `#E0F0EA` |
| on_accent | `#FFFFFF` |
| success | `#6FC3B0` |
| warning | `#D6A044` |
| error | `#D9544A` |
| info | `#6FA8D6` |
## 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**: Spline Sans, 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**: `64px`
- **Step-8**: `96px`
### Grid
Asymmetric: a narrow index/rail on one side and a wide curve canvas on the other, with wide gutters; collapses to a single column below tablet.
### Whitespace
Whitespace is a primary material: 32-48px outer padding on desktop, 20-24px on mobile, generous breathing room around every colour moment.
### Density
airy
### Responsive
A single full-bleed hero spans 100vw; contained content caps and centres on ultra-wide; stacks to one column and hides the rail/nav on mobile; grids use minmax(0,1fr) so children shrink instead of overflowing.
### Breakpoints
- **Mobile**: 390px
- **Tablet**: 768px
- **Desktop**: 1200px
- **Wide**: 1440px
## Elevation & Depth
### Shadows
- **Sm**: 0 1px 2px rgba(42,37,32,.05)
- **Md**: 0 16px 38px rgba(42,37,32,.09)
- **Lg**: 0 34px 80px rgba(42,37,32,.13)
## Shapes
### Rounded
- **None**: `0px`
- **Md**: `16px`
- **Lg**: `24px`
- **Full**: `9999px`
### Surfaces
- **Bg Pattern**: none: uninterrupted warm bone-clay ground, no pattern, dots, or grid
- **Card Style**: porcelain slabs lifted by soft vertical shadows over a recessed clay well, with a translucent inset top-light glaze band; no borders
- **Treatment**: porcelain over recessed bone-clay wells, top-light glaze gradient, no pattern
### Borders
- **Default Width**: 1px
- **Style**: solid
- **Character**: pearl hairline (#D9CDB8) on inputs, select triggers, and table dividers only; never on cards or buttons; never an accent edge
## Components
### Composition
Organise every scene along one firing ridgeline — a temperature-vs-time curve with named phases (candle, climb, soak, cool) — rather than a grid of unrelated dashboard cards.
### Hierarchy
Let scale, whitespace, serif numerals, and warm charcoal weight establish priority; coral marks the single decision (the soak), seafoam confirms settled work.
### Density
Comfortable and airy with 24px to 48px group spacing; compact data only inside lifted porcelain slabs and ledger tables.
### Signature
The firing ridgeline: a seafoam ramp/cool line, one thick coral soak segment at the apex, a coral cone-bend node, and a seafoam cooled-tail node — recolouring on palette swap.
## 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-019efa90-a4ff-78d2-8d32-e470aa8bab2d/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 Spend coral exactly once per scene — the primary control, the active soak, or the selected recipe line.
- Do Use seafoam for settled, cooled, and successful work, and for the ramp/cool curve.
- Do Set headings and all numbers in Fraunces serif so figures read like fired marks.
- Do Keep normal slabs, rows, inputs, and the rail clay-neutral with charcoal type until a state needs to speak.
- Don't Do not lay scenes out as a grid of unrelated dashboard widgets — thread them along the one curve.
- Don't Do not default to a cold white ground; the ground is warm bone clay.
- Don't Do not add coloured rails, stripes, accent edges on cards, or rainbow status.
- Don't Do not introduce hues beyond coral, seafoam, and the quiet semantics.
### Accessibility
Warm charcoal #2A2520 on bone-clay #ECE3D3 exceeds AA; coral text darkens to #C24330 for AA on porcelain; body 17px; every form control explicitly styled with a visible coral focus ring; motion gated behind prefers-reduced-motion with the settled state as the no-JS default.
## Imagery Direction
### Pairs With
bisque
### Summary
Subjects rendered as smooth matte bone-china on a seamless warm bone-clay cove, soft top light and long soft shadow, with one coral and one seafoam glaze accent used like highlighters.
### Subjects
- pyrometric cones in progressive bend
- thrown porcelain vessels
- nested kiln saggars
- glaze test tiles
- a single bone-china teabowl
### Usage
One full-bleed hero of bone-china cones progressing upright to slumped, composed with calm negative space for an overlay headline; feature crops show inset glaze highlight bands and a single coral or seafoam glaze accent.
```json
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "saggar",
"type": "registry:theme",
"title": "Saggar shadcn Theme",
"cssVars": {
"theme": {},
"light": {
"background": "#ECE3D3",
"foreground": "#2A2520",
"card": "#FAF6EF",
"card-foreground": "#2A2520",
"popover": "#FAF6EF",
"popover-foreground": "#2A2520",
"primary": "#2A2520",
"primary-foreground": "#ffffff",
"secondary": "#f4f4f5",
"secondary-foreground": "#111111",
"muted": "#8A8073",
"muted-foreground": "#2A2520",
"accent": "#F2674F",
"accent-foreground": "#ffffff",
"destructive": "#D9544A",
"border": "#D9CDB8",
"input": "#D9CDB8",
"ring": "#F2674F",
"chart-1": "#2A2520",
"chart-2": "#f4f4f5",
"chart-3": "#F2674F",
"chart-4": "#6FC3B0",
"chart-5": "#D6A044",
"sidebar": "#FAF6EF",
"sidebar-foreground": "#2A2520",
"sidebar-primary": "#2A2520",
"sidebar-primary-foreground": "#ffffff",
"sidebar-accent": "#6FA8D6",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#D9CDB8",
"sidebar-ring": "#F2674F",
"radius": "16px"
},
"dark": {
"background": "#0f1115",
"foreground": "#f8fafc",
"card": "#181b22",
"card-foreground": "#f8fafc",
"popover": "#181b22",
"popover-foreground": "#f8fafc",
"primary": "#2A2520",
"primary-foreground": "#ffffff",
"secondary": "#252a33",
"secondary-foreground": "#f8fafc",
"muted": "#252a33",
"muted-foreground": "#a1a1aa",
"accent": "#F2674F",
"accent-foreground": "#ffffff",
"destructive": "#D9544A",
"border": "#303642",
"input": "#303642",
"ring": "#F2674F",
"chart-1": "#2A2520",
"chart-2": "#f4f4f5",
"chart-3": "#F2674F",
"chart-4": "#6FC3B0",
"chart-5": "#D6A044",
"sidebar": "#181b22",
"sidebar-foreground": "#f8fafc",
"sidebar-primary": "#2A2520",
"sidebar-primary-foreground": "#ffffff",
"sidebar-accent": "#F2674F",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#303642",
"sidebar-ring": "#F2674F",
"radius": "16px"
}
},
"meta": {
"source": "katagami",
"languageId": "en-019efa90-a4ff-78d2-8d32-e470aa8bab2d",
"slug": "saggar",
"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_press",
"bg",
"border",
"error",
"info",
"muted",
"on_accent",
"seafoam",
"seafoam_wash",
"success",
"surface",
"text",
"warning",
"well"
],
"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": [
"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 Saggarand 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: #ECE3D3;
--foreground: #2A2520;
--card: #FAF6EF;
--card-foreground: #2A2520;
--popover: #FAF6EF;
--popover-foreground: #2A2520;
--primary: #2A2520;
--primary-foreground: #ffffff;
--secondary: #f4f4f5;
--secondary-foreground: #111111;
--muted: #8A8073;
--muted-foreground: #2A2520;
--accent: #F2674F;
--accent-foreground: #ffffff;
--destructive: #D9544A;
--border: #D9CDB8;
--input: #D9CDB8;
--ring: #F2674F;
--chart-1: #2A2520;
--chart-2: #f4f4f5;
--chart-3: #F2674F;
--chart-4: #6FC3B0;
--chart-5: #D6A044;
--sidebar: #FAF6EF;
--sidebar-foreground: #2A2520;
--sidebar-primary: #2A2520;
--sidebar-primary-foreground: #ffffff;
--sidebar-accent: #6FA8D6;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #D9CDB8;
--sidebar-ring: #F2674F;
--radius: 16px;
}
.dark {
--background: #0f1115;
--foreground: #f8fafc;
--card: #181b22;
--card-foreground: #f8fafc;
--popover: #181b22;
--popover-foreground: #f8fafc;
--primary: #2A2520;
--primary-foreground: #ffffff;
--secondary: #252a33;
--secondary-foreground: #f8fafc;
--muted: #252a33;
--muted-foreground: #a1a1aa;
--accent: #F2674F;
--accent-foreground: #ffffff;
--destructive: #D9544A;
--border: #303642;
--input: #303642;
--ring: #F2674F;
--chart-1: #2A2520;
--chart-2: #f4f4f5;
--chart-3: #F2674F;
--chart-4: #6FC3B0;
--chart-5: #D6A044;
--sidebar: #181b22;
--sidebar-foreground: #f8fafc;
--sidebar-primary: #2A2520;
--sidebar-primary-foreground: #ffffff;
--sidebar-accent: #F2674F;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #303642;
--sidebar-ring: #F2674F;
--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 SaggarShadcnKit() {
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">Saggar</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": "saggar",
"type": "registry:theme",
"extends": "none",
"cssVars": {
"theme": {
"font-sans": "'Spline Sans', system-ui, sans-serif",
"font-serif": "'Fraunces', Georgia, serif",
"font-mono": "'Spline Sans Mono', ui-monospace, monospace",
"radius": "16px"
},
"light": {
"background": "#ECE3D3",
"foreground": "#2A2520",
"card": "#FAF6EF",
"card-foreground": "#2A2520",
"popover": "#FAF6EF",
"popover-foreground": "#2A2520",
"primary": "#F2674F",
"primary-foreground": "#FFFFFF",
"secondary": "#E2D7C4",
"secondary-foreground": "#2A2520",
"muted": "#E2D7C4",
"muted-foreground": "#8A8073",
"accent": "#E0F0EA",
"accent-foreground": "#2E7C6C",
"destructive": "#D9544A",
"destructive-foreground": "#FFFFFF",
"border": "#D9CDB8",
"input": "#D9CDB8",
"ring": "#F2674F",
"chart-1": "#F2674F",
"chart-2": "#6FC3B0",
"chart-3": "#D6A044",
"chart-4": "#6FA8D6",
"chart-5": "#8A8073",
"radius": "16px"
},
"dark": {
"background": "#ECE3D3",
"foreground": "#2A2520",
"card": "#FAF6EF",
"card-foreground": "#2A2520",
"primary": "#F2674F",
"primary-foreground": "#FFFFFF",
"border": "#D9CDB8",
"ring": "#F2674F"
}
},
"visualProfile": {
"surface": "warm porcelain slabs lifted by soft vertical shadows over a recessed bone-clay well; no borders on cards or buttons",
"border": "pearl hairline (#D9CDB8) on inputs and table dividers only; never on cards",
"radius": "16px on controls and small slabs, 24px on large panels, 9999px on pills",
"elevation": "soft long vertical shadow, never harsh; an inset top-light glaze highlight band on each slab",
"accentUse": "one coral primary per scene; seafoam for settled/success; everything else clay-neutral charcoal",
"typography": "Fraunces serif for headings and all numerals; Spline Sans body; Spline Sans Mono labels",
"mode": "warm clay ground (#ECE3D3), light"
}
}
# Saggar shadcn/ui Components
Artifact: `component-recipes-v1`
Author: `katagami-ui-projection`
Language ID: `en-019efa90-a4ff-78d2-8d32-e470aa8bab2d`
Slug: `saggar`
## Intent
A bone-china firing ledger: the whole language is organised along one firing curve that climbs, holds a single coral soak at peak, and falls into a seafoam cool. Porcelain slabs and warm charcoal type do the work; colour appears only at the decision and the settling.
## 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": "#ECE3D3",
"surface": "#FAF6EF",
"well": "#E2D7C4",
"text": "#2A2520",
"muted": "#8A8073",
"border": "#D9CDB8",
"accent": "#F2674F",
"accent_press": "#C24330",
"seafoam": "#6FC3B0",
"seafoam_wash": "#E0F0EA",
"on_accent": "#FFFFFF",
"success": "#6FC3B0",
"warning": "#D6A044",
"error": "#D9544A",
"info": "#6FA8D6"
}
Typography:
{
"base_size": "17px",
"body_font": "Spline Sans",
"heading_font": "Fraunces",
"mono_font": "Spline Sans Mono",
"heading_weight": "500",
"heading_transform": "none",
"letter_spacing": "-0.02em",
"line_height": "1.55",
"scale_ratio": "1.25",
"google_fonts_url": "https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Spline+Sans:wght@400;500;600&family=Spline+Sans+Mono:wght@400;500&display=swap"
}
## Visual character to preserve
- A toasted bone-clay ground (#ECE3D3) — never white — with porcelain slabs lifting above a recessed clay well the way ware sits inside a saggar.
- Every scene threads one firing ridgeline: a seafoam ramp-and-cool line with a single thick coral soak segment at the apex and a coral node where the cone bends.
- Display and all figures are set in Fraunces serif so a temperature reads like a fired mark, not a spreadsheet cell.
- Coral is spent exactly once per scene — the primary control, the active soak, the selected recipe line; seafoam settles over cooled, logged work.
- Hierarchy is built from large negative space, warm charcoal type, soft vertical shadows, and an inset top-light glaze band; pearl hairlines only on inputs and dividers.
## ShadSync visual profile
{
"family": "editorial",
"material": "flat",
"contour": "default",
"border": "solid",
"underlay": true,
"grain": false,
"stickerBadges": false,
"motion": "lift",
"density": "balanced",
"accents": [
"primary",
"accent",
"secondary",
"muted"
]
}
## Signature component recipes
### Button
Use `Button` for primary, secondary, outline, and ghost actions. Primary actions must expose the language's strongest contrast pair, while secondary and ghost actions should preserve the surface treatment instead of falling back to default neutral SaaS styling.
### Card
Use `Card`, `CardHeader`, `CardContent`, `CardFooter`, and `CardAction` as the main composition frame. Cards should demonstrate the language's surface, border, hierarchy, and density rules rather than appearing as generic rounded rectangles.
### Input and Textarea
Use `Input` and `Textarea` with visible focus rings, field labels, validation states, and the language's rhythm. Forms should show real product content, not placeholder-only controls.
### Select, Tabs, and Table
Use `Select`, `Tabs`, and `Table` to prove navigation, filtering, and dense data states. The table should show row rhythm, separators, hover/focus states, and an empty or status state when the language calls for it.
### Dialog and Sheet
Use `Dialog` for centered decisions and `Sheet` for contextual editing. Both should inherit the language's spacing, border, overlay, and motion rules.
## Preview shots
- `application-shell`: dashboard or workspace shell with navigation, cards, forms, and state badges.
- `detail-editor`: focused editing flow using input, textarea, select, switch/checkbox, dialog or sheet, and action buttons.
- `data-operations`: table-heavy operational view with tabs, dropdown menu affordances, badges, and destructive/empty states.
- Each preview shot must include a renderable `scene` payload with concrete headline, description, actions, and rows/fields/stats for the UI preview.
## Implementation contract
- Start from local `ui/src/components/ui` shadcn-style primitives; do not create a second component system.
- Apply `/katagami/shadcn/saggar/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: Spend coral exactly once per scene — the primary control, the active soak, or the selected recipe line.; Use seafoam for settled, cooled, and successful work, and for the ramp/cool curve.; Set headings and all numbers in Fraunces serif so figures read like fired marks.; Keep normal slabs, rows, inputs, and the rail clay-neutral with charcoal type until a state needs to speak.
- Do not: Do not lay scenes out as a grid of unrelated dashboard widgets — thread them along the one curve.; Do not default to a cold white ground; the ground is warm bone clay.; Do not add coloured rails, stripes, accent edges on cards, or rainbow status.; Do not introduce hues beyond coral, seafoam, and the quiet semantics.
## 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 SaggarShadcnKit() {
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">Saggar</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": "Asymmetric: a narrow index/rail on one side and a wide curve canvas on the other, with wide gutters; collapses to a single column below tablet.",
"whitespace": "Whitespace is a primary material: 32-48px outer padding on desktop, 20-24px on mobile, generous breathing room around every colour moment.",
"density": "airy",
"responsive": "A single full-bleed hero spans 100vw; contained content caps and centres on ultra-wide; stacks to one column and hides the rail/nav on mobile; grids use minmax(0,1fr) so children shrink instead of overflowing.",
"breakpoints": {
"mobile": "390px",
"tablet": "768px",
"desktop": "1200px",
"wide": "1440px"
}
}
{
"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-019efa90-a4ff-78d2-8d32-e470aa8bab2d",
"name": "Saggar",
"slug": "saggar"
},
"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 toasted bone-clay ground (#ECE3D3) — never white — with porcelain slabs lifting above a recessed clay well the way ware sits inside a saggar.",
"Every scene threads one firing ridgeline: a seafoam ramp-and-cool line with a single thick coral soak segment at the apex and a coral node where the cone bends.",
"Display and all figures are set in Fraunces serif so a temperature reads like a fired mark, not a spreadsheet cell.",
"Coral is spent exactly once per scene — the primary control, the active soak, the selected recipe line; seafoam settles over cooled, logged work.",
"Hierarchy is built from large negative space, warm charcoal type, soft vertical shadows, and an inset top-light glaze band; pearl hairlines only on inputs and dividers."
],
"visualProfile": {
"family": "editorial",
"material": "flat",
"contour": "default",
"border": "solid",
"underlay": false,
"grain": false,
"stickerBadges": false,
"motion": "lift",
"density": "balanced",
"accents": [
"primary",
"accent",
"secondary",
"muted"
]
},
"shots": [
{
"id": "application-shell",
"title": "Application shell",
"viewport": "desktop",
"primitives": [
"button",
"card",
"input",
"select",
"tabs",
"badge",
"separator",
"table"
],
"composition": "A real product workspace with navigation, summary cards, filtering controls, and one dense content region.",
"mustShow": [
"primary and secondary actions",
"card hierarchy",
"filterable state",
"table or list density"
],
"avoid": [
"component inventory walls",
"placeholder-only content",
"generic rounded SaaS chrome"
],
"scene": {
"eyebrow": "workspace spread",
"headline": "Saggar 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": [
"Spend coral exactly once per scene — the primary control, the active soak, or the selected recipe line.",
"Use seafoam for settled, cooled, and successful work, and for the ramp/cool curve.",
"Set headings and all numbers in Fraunces serif so figures read like fired marks.",
"Keep normal slabs, rows, inputs, and the rail clay-neutral with charcoal type until a state needs to speak."
],
"dont": [
"Do not lay scenes out as a grid of unrelated dashboard widgets — thread them along the one curve.",
"Do not default to a cold white ground; the ground is warm bone clay.",
"Do not add coloured rails, stripes, accent edges on cards, or rainbow status.",
"Do not introduce hues beyond coral, seafoam, and the quiet semantics."
]
}
}