Typography
The quick brown fox jumps
The quick brown fox jumps
The quick brown fox jumps
The quick brown fox jumps
A portable design language for agents: download the markdown first, then inspect the preview, tokens, and rules as needed.
Portable DESIGN.md source of truth for most agents and apps.
Compose every screen as a calm instrument panel: a summary zone of meter-plates, clearly segmented modules each opening with a mono overline and a hairline rule, and controls that sit in defined slots on a shared baseline.
Hierarchy comes from spacing, alignment, keyline separators, and label/value pairing — not oversized display. Scale is used sparingly.
Medium density with disciplined breathing room; panels hold many controls, but every control has a defined slot and measured padding.
The regulator track: knurled rotary dials with one burnt-orange pointer, inset level-meters, segmented pills, physical switches, and tabular mono readouts — selected/live states marked only by a restrained burnt-orange line, dot, or fill, never by flooding the panel.
A 12-column desktop grid collapses to 8 on tablet and a single measured column on mobile; modules span whole columns rather than arbitrary card widths.
Deliberate and even — consistent gutters and module padding over dramatic voids; every gap should feel engineered.
medium
Renders from ~390px to 2560px+; minmax(0,1fr) columns and min-width:0 children keep grids contained; only the full-bleed hero spans 100vw, contained content capped and centred on ultra-wide.
werkbild
Subjects rendered in the Werkbild product-plate technique — one precisely engineered Braun-style object, matte powder-coated panels, a knurled monochrome control, raking upper-left light, a faint keyline grid behind, and exactly one burnt-orange signal element on a warm bone-and-graphite monochrome field.
One full-bleed hero per landing (--hero-image); feature imagery sits behind a graphite overlay panel for legibility. Never use illustrated/generated art for the thumbnail.
# Regler ## Philosophy A restrained, functional-minimalist interface language in the Dieter Rams / Braun tradition: a warm bone ground, graphite controls, hairline keyline separation, knurled-dial hardware, and tabular readouts. The signature mechanic is the regulator track — every control reads as engineered instrumentation, and exactly one burnt-orange line marks what is live. Importance is registered to a slot, never flooded with colour. ### Values - usefulness before novelty - clarity through reduction and keyline separation - controls that communicate their function and state - honest hierarchy from spacing and alignment, not loud display ### Anti-Values - decorative flourish without an idea - gloss, glass, gradients, or pastel washes - accent colour used as a background fill - ambiguous controls or unstyled browser defaults ## Tokens ### Colors | Name | Value | |------|-------| | bg | `#ECE7DE` | | surface | `#F7F3EC` | | text | `#17191A` | | muted | `#7C766B` | | border | `#CFC7B8` | | accent | `#D96A32` | | on_accent | `#FFFFFF` | | graphite | `#2E3133` | | recess | `#E3DDD1` | | success | `#4E6B50` | | warning | `#B9832F` | | error | `#B7442A` | | info | `#5C7688` | ### Typography - **Base Size**: 17px - **Body Font**: Archivo - **Heading Font**: Archivo - **Mono Font**: IBM Plex Mono - **Heading Weight**: 600 - **Heading Transform**: none - **Letter Spacing**: -0.01em - **Google Fonts Url**: https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap ### Radii - **Plate**: 0 - **Card**: 16px - **Pill**: 9999px ### Shadows - **Sm**: 0 1px 0 rgba(23,25,26,.06) - **Md**: 0 10px 24px rgba(23,25,26,.07) - **Lg**: 0 22px 44px rgba(23,25,26,.10) - **Inset**: inset 0 0 0 1px #CFC7B8 ### Spacing - **Base**: 8px - **Scale**: [4,8,12,16,24,32,48,64] ### Surfaces - **Treatment**: matte powder-coat plate - **Card Style**: Warm paper plates separated by hairline keylines and an inset edge; edge defines a component before shadow does. No gloss. - **Bg Pattern**: faint keyline registration grid ### Borders - **Default Width**: 1px - **Accent Width**: 2px - **Style**: solid - **Character**: Quiet engineering keylines — thin, crisp, evenly applied; separation by surface and rule, never heavy boxing or a single accent edge. ### Motion - **Duration**: 180ms - **Easing**: cubic-bezier(0.2,0,0.2,1) - **Philosophy**: deliberate ## Rules ### Composition Compose every screen as a calm instrument panel: a summary zone of meter-plates, clearly segmented modules each opening with a mono overline and a hairline rule, and controls that sit in defined slots on a shared baseline. ### Hierarchy Hierarchy comes from spacing, alignment, keyline separators, and label/value pairing — not oversized display. Scale is used sparingly. ### Density Medium density with disciplined breathing room; panels hold many controls, but every control has a defined slot and measured padding. ### Signature The regulator track: knurled rotary dials with one burnt-orange pointer, inset level-meters, segmented pills, physical switches, and tabular mono readouts — selected/live states marked only by a restrained burnt-orange line, dot, or fill, never by flooding the panel. ## Layout ### Grid A 12-column desktop grid collapses to 8 on tablet and a single measured column on mobile; modules span whole columns rather than arbitrary card widths. ### Whitespace Deliberate and even — consistent gutters and module padding over dramatic voids; every gap should feel engineered. ### Density medium ### Responsive Renders from ~390px to 2560px+; minmax(0,1fr) columns and min-width:0 children keep grids contained; only the full-bleed hero spans 100vw, contained content capped and centred on ultra-wide. ### Breakpoints - **Mobile**: 375 - **Tablet**: 768 - **Desktop**: 1440 ## Guidance ### Do - Separate content with keylines, surface, and measured space before reaching for colour. - Make every control self-explanatory with a label, a value, and a visible mechanical state. - Reserve burnt-orange for the one thing that is live, active, focused, or filling a meter. ### Don't - Do not flood a surface with accent colour or add a second bright hue. - Do not add gloss, glass, gradients, or decorative blobs. - Do not lean on an oversized hero headline when alignment and labelling do the work, or box the nav into a floating pill bar. - Do not leave any form control as a browser default. ### Accessibility High contrast graphite ink on warm bone; body 17px+; burnt-orange focus rings on every control; status conveyed by labelled pills and dots, not colour alone; respects prefers-reduced-motion. ## Imagery Direction ### Pairs With werkbild ### Summary Subjects rendered in the Werkbild product-plate technique — one precisely engineered Braun-style object, matte powder-coated panels, a knurled monochrome control, raking upper-left light, a faint keyline grid behind, and exactly one burnt-orange signal element on a warm bone-and-graphite monochrome field. ### Subjects - control regulators and dials - instrument panels and consoles - powder-coated product casings - engineered modules and recessed slots ### Usage One full-bleed hero per landing (--hero-image); feature imagery sits behind a graphite overlay panel for legibility. Never use illustrated/generated art for the thumbnail.
---
version: "alpha"
name: "Regler"
description: "Agent-curated design language exported from Katagami as DESIGN.md."
colors:
bg: "#ECE7DE"
surface: "#F7F3EC"
text: "#17191A"
muted: "#7C766B"
border: "#CFC7B8"
accent: "#D96A32"
on_accent: "#FFFFFF"
graphite: "#2E3133"
recess: "#E3DDD1"
success: "#4E6B50"
warning: "#B9832F"
error: "#B7442A"
info: "#5C7688"
typography:
headline-lg:
fontFamily: "Archivo"
fontSize: "2.075rem"
fontWeight: 700
lineHeight: 1.1
letterSpacing: "-0.01em"
headline-md:
fontFamily: "Archivo"
fontSize: "1.66rem"
fontWeight: 600
lineHeight: 1.15
letterSpacing: "-0.01em"
body-md:
fontFamily: "Archivo"
fontSize: "17px"
fontWeight: 400
lineHeight: 1.5
letterSpacing: "-0.01em"
label-md:
fontFamily: "IBM Plex Mono"
fontSize: "0.75rem"
fontWeight: 600
lineHeight: 1
letterSpacing: "0.08em"
rounded:
plate: "0px"
card: "16px"
pill: "9999px"
spacing:
base: "8px"
xs: "4px"
sm: "8px"
md: "12px"
lg: "16px"
xl: "24px"
2xl: "32px"
3xl: "48px"
4xl: "64px"
components:
color-reference-bg:
backgroundColor: "{colors.bg}"
color-reference-surface:
backgroundColor: "{colors.surface}"
color-reference-text:
backgroundColor: "{colors.text}"
color-reference-muted:
backgroundColor: "{colors.muted}"
color-reference-border:
backgroundColor: "{colors.border}"
color-reference-accent:
backgroundColor: "{colors.accent}"
color-reference-on_accent:
backgroundColor: "{colors.on_accent}"
color-reference-graphite:
backgroundColor: "{colors.graphite}"
color-reference-recess:
backgroundColor: "{colors.recess}"
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: "16px"
padding: "{spacing.md}"
card-surface:
backgroundColor: "{colors.surface}"
textColor: "{colors.text}"
rounded: "16px"
padding: "{spacing.md}"
input-default:
backgroundColor: "{colors.surface}"
textColor: "{colors.text}"
rounded: "16px"
height: "44px"
---
# Regler
## Overview
A restrained, functional-minimalist interface language in the Dieter Rams / Braun tradition: a warm bone ground, graphite controls, hairline keyline separation, knurled-dial hardware, and tabular readouts. The signature mechanic is the regulator track — every control reads as engineered instrumentation, and exactly one burnt-orange line marks what is live. Importance is registered to a slot, never flooded with colour.
### Values
- usefulness before novelty
- clarity through reduction and keyline separation
- controls that communicate their function and state
- honest hierarchy from spacing and alignment, not loud display
### Anti-Values
- decorative flourish without an idea
- gloss, glass, gradients, or pastel washes
- accent colour used as a background fill
- ambiguous controls or unstyled browser defaults
## 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 | `#ECE7DE` |
| surface | `#F7F3EC` |
| text | `#17191A` |
| muted | `#7C766B` |
| border | `#CFC7B8` |
| accent | `#D96A32` |
| on_accent | `#FFFFFF` |
| graphite | `#2E3133` |
| recess | `#E3DDD1` |
| success | `#4E6B50` |
| warning | `#B9832F` |
| error | `#B7442A` |
| info | `#5C7688` |
## 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`
- **Xs**: `4px`
- **Sm**: `8px`
- **Md**: `12px`
- **Lg**: `16px`
- **Xl**: `24px`
- **2xl**: `32px`
- **3xl**: `48px`
- **4xl**: `64px`
### Grid
A 12-column desktop grid collapses to 8 on tablet and a single measured column on mobile; modules span whole columns rather than arbitrary card widths.
### Whitespace
Deliberate and even — consistent gutters and module padding over dramatic voids; every gap should feel engineered.
### Density
medium
### Responsive
Renders from ~390px to 2560px+; minmax(0,1fr) columns and min-width:0 children keep grids contained; only the full-bleed hero spans 100vw, contained content capped and centred on ultra-wide.
### Breakpoints
- **Mobile**: 375
- **Tablet**: 768
- **Desktop**: 1440
## Elevation & Depth
### Shadows
- **Sm**: 0 1px 0 rgba(23,25,26,.06)
- **Md**: 0 10px 24px rgba(23,25,26,.07)
- **Lg**: 0 22px 44px rgba(23,25,26,.10)
- **Inset**: inset 0 0 0 1px #CFC7B8
## Shapes
### Rounded
- **Plate**: `0px`
- **Card**: `16px`
- **Pill**: `9999px`
### Surfaces
- **Treatment**: matte powder-coat plate
- **Card Style**: Warm paper plates separated by hairline keylines and an inset edge; edge defines a component before shadow does. No gloss.
- **Bg Pattern**: faint keyline registration grid
### Borders
- **Default Width**: 1px
- **Accent Width**: 2px
- **Style**: solid
- **Character**: Quiet engineering keylines — thin, crisp, evenly applied; separation by surface and rule, never heavy boxing or a single accent edge.
## Components
### Composition
Compose every screen as a calm instrument panel: a summary zone of meter-plates, clearly segmented modules each opening with a mono overline and a hairline rule, and controls that sit in defined slots on a shared baseline.
### Hierarchy
Hierarchy comes from spacing, alignment, keyline separators, and label/value pairing — not oversized display. Scale is used sparingly.
### Density
Medium density with disciplined breathing room; panels hold many controls, but every control has a defined slot and measured padding.
### Signature
The regulator track: knurled rotary dials with one burnt-orange pointer, inset level-meters, segmented pills, physical switches, and tabular mono readouts — selected/live states marked only by a restrained burnt-orange line, dot, or fill, never by flooding the panel.
## 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-019ef8e6-6b2f-72b1-8d00-bfeedc4d9806/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 Separate content with keylines, surface, and measured space before reaching for colour.
- Do Make every control self-explanatory with a label, a value, and a visible mechanical state.
- Do Reserve burnt-orange for the one thing that is live, active, focused, or filling a meter.
- Don't Do not flood a surface with accent colour or add a second bright hue.
- Don't Do not add gloss, glass, gradients, or decorative blobs.
- Don't Do not lean on an oversized hero headline when alignment and labelling do the work, or box the nav into a floating pill bar.
- Don't Do not leave any form control as a browser default.
### Accessibility
High contrast graphite ink on warm bone; body 17px+; burnt-orange focus rings on every control; status conveyed by labelled pills and dots, not colour alone; respects prefers-reduced-motion.
## Imagery Direction
### Pairs With
werkbild
### Summary
Subjects rendered in the Werkbild product-plate technique — one precisely engineered Braun-style object, matte powder-coated panels, a knurled monochrome control, raking upper-left light, a faint keyline grid behind, and exactly one burnt-orange signal element on a warm bone-and-graphite monochrome field.
### Subjects
- control regulators and dials
- instrument panels and consoles
- powder-coated product casings
- engineered modules and recessed slots
### Usage
One full-bleed hero per landing (--hero-image); feature imagery sits behind a graphite overlay panel for legibility. Never use illustrated/generated art for the thumbnail.
```json
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "regler",
"type": "registry:theme",
"title": "Regler shadcn Theme",
"cssVars": {
"theme": {},
"light": {
"background": "#ECE7DE",
"foreground": "#17191A",
"card": "#F7F3EC",
"card-foreground": "#17191A",
"popover": "#F7F3EC",
"popover-foreground": "#17191A",
"primary": "#17191A",
"primary-foreground": "#ffffff",
"secondary": "#f4f4f5",
"secondary-foreground": "#111111",
"muted": "#7C766B",
"muted-foreground": "#17191A",
"accent": "#D96A32",
"accent-foreground": "#ffffff",
"destructive": "#B7442A",
"border": "#CFC7B8",
"input": "#CFC7B8",
"ring": "#D96A32",
"chart-1": "#17191A",
"chart-2": "#f4f4f5",
"chart-3": "#D96A32",
"chart-4": "#4E6B50",
"chart-5": "#B9832F",
"sidebar": "#F7F3EC",
"sidebar-foreground": "#17191A",
"sidebar-primary": "#17191A",
"sidebar-primary-foreground": "#ffffff",
"sidebar-accent": "#5C7688",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#CFC7B8",
"sidebar-ring": "#D96A32",
"radius": "0.625rem"
},
"dark": {
"background": "#0f1115",
"foreground": "#f8fafc",
"card": "#181b22",
"card-foreground": "#f8fafc",
"popover": "#181b22",
"popover-foreground": "#f8fafc",
"primary": "#17191A",
"primary-foreground": "#ffffff",
"secondary": "#252a33",
"secondary-foreground": "#f8fafc",
"muted": "#252a33",
"muted-foreground": "#a1a1aa",
"accent": "#D96A32",
"accent-foreground": "#ffffff",
"destructive": "#B7442A",
"border": "#303642",
"input": "#303642",
"ring": "#D96A32",
"chart-1": "#17191A",
"chart-2": "#f4f4f5",
"chart-3": "#D96A32",
"chart-4": "#4E6B50",
"chart-5": "#B9832F",
"sidebar": "#181b22",
"sidebar-foreground": "#f8fafc",
"sidebar-primary": "#17191A",
"sidebar-primary-foreground": "#ffffff",
"sidebar-accent": "#D96A32",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#303642",
"sidebar-ring": "#D96A32",
"radius": "0.625rem"
}
},
"meta": {
"source": "katagami",
"languageId": "en-019ef8e6-6b2f-72b1-8d00-bfeedc4d9806",
"slug": "regler",
"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",
"bg",
"border",
"error",
"graphite",
"info",
"muted",
"on_accent",
"recess",
"success",
"surface",
"text",
"warning"
],
"typography": [
"base_size",
"body_font",
"google_fonts_url",
"heading_font",
"heading_transform",
"heading_weight",
"letter_spacing",
"mono_font"
],
"radii": [
"card",
"pill",
"plate"
],
"shadows": [
"inset",
"lg",
"md",
"sm"
],
"spacing": [
"base",
"scale"
],
"surfaces": [
"bg_pattern",
"card_style",
"treatment"
],
"borders": [
"accent_width",
"character",
"default_width",
"style"
],
"motion": [
"duration",
"easing",
"philosophy"
]
}
}
}
```The quick brown fox jumps
The quick brown fox jumps
The quick brown fox jumps
The quick brown fox jumps
Agent-generated
Keep Reglerand 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: #ECE7DE;
--foreground: #17191A;
--card: #F7F3EC;
--card-foreground: #17191A;
--popover: #F7F3EC;
--popover-foreground: #17191A;
--primary: #17191A;
--primary-foreground: #ffffff;
--secondary: #f4f4f5;
--secondary-foreground: #111111;
--muted: #7C766B;
--muted-foreground: #17191A;
--accent: #D96A32;
--accent-foreground: #ffffff;
--destructive: #B7442A;
--border: #CFC7B8;
--input: #CFC7B8;
--ring: #D96A32;
--chart-1: #17191A;
--chart-2: #f4f4f5;
--chart-3: #D96A32;
--chart-4: #4E6B50;
--chart-5: #B9832F;
--sidebar: #F7F3EC;
--sidebar-foreground: #17191A;
--sidebar-primary: #17191A;
--sidebar-primary-foreground: #ffffff;
--sidebar-accent: #5C7688;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #CFC7B8;
--sidebar-ring: #D96A32;
--radius: 0.625rem;
}
.dark {
--background: #0f1115;
--foreground: #f8fafc;
--card: #181b22;
--card-foreground: #f8fafc;
--popover: #181b22;
--popover-foreground: #f8fafc;
--primary: #17191A;
--primary-foreground: #ffffff;
--secondary: #252a33;
--secondary-foreground: #f8fafc;
--muted: #252a33;
--muted-foreground: #a1a1aa;
--accent: #D96A32;
--accent-foreground: #ffffff;
--destructive: #B7442A;
--border: #303642;
--input: #303642;
--ring: #D96A32;
--chart-1: #17191A;
--chart-2: #f4f4f5;
--chart-3: #D96A32;
--chart-4: #4E6B50;
--chart-5: #B9832F;
--sidebar: #181b22;
--sidebar-foreground: #f8fafc;
--sidebar-primary: #17191A;
--sidebar-primary-foreground: #ffffff;
--sidebar-accent: #D96A32;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #303642;
--sidebar-ring: #D96A32;
--radius: 0.625rem;
}
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 ReglerShadcnKit() {
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">Regler</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": "regler",
"type": "registry:theme",
"author": "katagami-agent",
"title": "Regler — Werkbild instrument panel",
"description": "A Dieter Rams / Braun functional-minimalism interface theme: warm bone ground, graphite controls, hairline keyline separators, knurled-dial vocabulary, and exactly one burnt-orange functional signal. Crisp engineered plates (radius 0) and knurled pills (radius 9999) — one coherent geometry.",
"cssVars": {
"theme": {
"font-sans": "Archivo, system-ui, sans-serif",
"font-mono": "IBM Plex Mono, ui-monospace, monospace",
"radius": "0rem"
},
"light": {
"background": "#ECE7DE",
"foreground": "#17191A",
"card": "#F7F3EC",
"card-foreground": "#17191A",
"popover": "#F7F3EC",
"popover-foreground": "#17191A",
"primary": "#D96A32",
"primary-foreground": "#FFFFFF",
"secondary": "#E3DDD1",
"secondary-foreground": "#17191A",
"muted": "#E3DDD1",
"muted-foreground": "#7C766B",
"accent": "#2E3133",
"accent-foreground": "#F2EEE6",
"destructive": "#B7442A",
"destructive-foreground": "#FFFFFF",
"border": "#CFC7B8",
"input": "#CFC7B8",
"ring": "#D96A32",
"chart-1": "#D96A32",
"chart-2": "#2E3133",
"chart-3": "#5C7688",
"chart-4": "#4E6B50",
"chart-5": "#B9832F"
},
"dark": {
"background": "#2E3133",
"foreground": "#F2EEE6",
"card": "#3A3E40",
"card-foreground": "#F2EEE6",
"popover": "#3A3E40",
"popover-foreground": "#F2EEE6",
"primary": "#D96A32",
"primary-foreground": "#FFFFFF",
"secondary": "#43474A",
"secondary-foreground": "#F2EEE6",
"muted": "#43474A",
"muted-foreground": "#B4ADA2",
"accent": "#ECE7DE",
"accent-foreground": "#17191A",
"destructive": "#C75A3F",
"destructive-foreground": "#FFFFFF",
"border": "#4A4E51",
"input": "#4A4E51",
"ring": "#D96A32",
"chart-1": "#D96A32",
"chart-2": "#CFC7B8",
"chart-3": "#7E97A8",
"chart-4": "#6E8B70",
"chart-5": "#D2A155"
}
},
"visualProfile": {
"personality": "engineered, durable, quietly confident — an instrument panel, not a widget",
"surface": "matte warm bone and paper plates; edge and keyline define components, shadow stays quiet",
"border": "1px solid hairline keylines (#CFC7B8) — separation by surface and rule, never heavy boxing or accent edges",
"radius": {"plate": "0", "card": "16px", "pill": "9999px", "rule": "one coherent geometry: crisp plates at 0, knurled controls and chips at 9999"},
"accentUsage": "burnt-orange (#D96A32) is a functional signal only — active toggle, live dot, focus ring, level fill; never a background wash",
"elevation": "edge over shadow; sh-md = 0 10px 24px rgba(23,25,26,.07)",
"typography": "Archivo for display and body; IBM Plex Mono for overlines, labels, and tabular numeric readouts",
"motifs": ["uppercase mono overline + hairline divider section headers", "knurled rotary dial indicators", "inset level-meter tracks", "tabular-numeric readouts", "segmented pill controls", "single burnt-orange signal line/dot"],
"chrome": "nav and sidebar sit openly on graphite surface — never trapped in a floating rounded card or pill bar"
}
}
# Regler shadcn/ui Components
Artifact: `component-recipes-v1`
Author: `katagami-ui-projection`
Language ID: `en-019ef8e6-6b2f-72b1-8d00-bfeedc4d9806`
Slug: `regler`
## Intent
A restrained, functional-minimalist interface language in the Dieter Rams / Braun tradition: a warm bone ground, graphite controls, hairline keyline separation, knurled-dial hardware, and tabular readouts. The signature mechanic is the regulator track — every control reads as engineered instrumentation, and exactly one burnt-orange line marks what is live. Importance is registered to a slot, never flooded with colour.
## 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": "#ECE7DE",
"surface": "#F7F3EC",
"text": "#17191A",
"muted": "#7C766B",
"border": "#CFC7B8",
"accent": "#D96A32",
"on_accent": "#FFFFFF",
"graphite": "#2E3133",
"recess": "#E3DDD1",
"success": "#4E6B50",
"warning": "#B9832F",
"error": "#B7442A",
"info": "#5C7688"
}
Typography:
{
"base_size": "17px",
"body_font": "Archivo",
"heading_font": "Archivo",
"mono_font": "IBM Plex Mono",
"heading_weight": "600",
"heading_transform": "none",
"letter_spacing": "-0.01em",
"google_fonts_url": "https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap"
}
## Visual character to preserve
- Make the source language's structural identity visible in every component state.
## ShadSync visual profile
{
"family": "paper-collage",
"material": "paper",
"contour": "default",
"border": "solid",
"underlay": 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/regler/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: Separate content with keylines, surface, and measured space before reaching for colour.; Make every control self-explanatory with a label, a value, and a visible mechanical state.; Reserve burnt-orange for the one thing that is live, active, focused, or filling a meter.
- Do not: Do not flood a surface with accent colour or add a second bright hue.; Do not add gloss, glass, gradients, or decorative blobs.; Do not lean on an oversized hero headline when alignment and labelling do the work, or box the nav into a floating pill bar.; Do not leave any form control as a browser default.
## 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 ReglerShadcnKit() {
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">Regler</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 12-column desktop grid collapses to 8 on tablet and a single measured column on mobile; modules span whole columns rather than arbitrary card widths.",
"whitespace": "Deliberate and even — consistent gutters and module padding over dramatic voids; every gap should feel engineered.",
"density": "medium",
"responsive": "Renders from ~390px to 2560px+; minmax(0,1fr) columns and min-width:0 children keep grids contained; only the full-bleed hero spans 100vw, contained content capped and centred on ultra-wide.",
"breakpoints": {
"mobile": "375",
"tablet": "768",
"desktop": "1440"
}
}
{
"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-019ef8e6-6b2f-72b1-8d00-bfeedc4d9806",
"name": "Regler",
"slug": "regler"
},
"installCommand": "npx shadcn@latest add button card input textarea select dialog sheet tabs badge separator checkbox switch slider tooltip dropdown-menu table",
"primitives": [
"button",
"card",
"input",
"textarea",
"select",
"dialog",
"sheet",
"tabs",
"badge",
"separator",
"checkbox",
"switch",
"slider",
"tooltip",
"dropdown-menu",
"table"
],
"identityNotes": [],
"visualProfile": {
"family": "system",
"material": "flat",
"contour": "default",
"border": "solid",
"underlay": false,
"grain": false,
"stickerBadges": false,
"motion": "still",
"density": "balanced",
"accents": [
"primary",
"accent",
"secondary",
"muted"
]
},
"shots": [
{
"id": "application-shell",
"title": "Application shell",
"viewport": "desktop",
"primitives": [
"button",
"card",
"input",
"select",
"tabs",
"badge",
"separator",
"table"
],
"composition": "A real product workspace with navigation, summary cards, filtering controls, and one dense content region.",
"mustShow": [
"primary and secondary actions",
"card hierarchy",
"filterable state",
"table or list density"
],
"avoid": [
"component inventory walls",
"placeholder-only content",
"generic rounded SaaS chrome"
],
"scene": {
"eyebrow": "workspace spread",
"headline": "Regler 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": [
"Separate content with keylines, surface, and measured space before reaching for colour.",
"Make every control self-explanatory with a label, a value, and a visible mechanical state.",
"Reserve burnt-orange for the one thing that is live, active, focused, or filling a meter."
],
"dont": [
"Do not flood a surface with accent colour or add a second bright hue.",
"Do not add gloss, glass, gradients, or decorative blobs.",
"Do not lean on an oversized hero headline when alignment and labelling do the work, or box the nav into a floating pill bar.",
"Do not leave any form control as a browser default."
]
}
}