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.
Use a spacious product-study composition: one large object or content stage occupies the visual centre, while narrow measurement panels and calm navigation sit at the perimeter.
Hierarchy is set through scale, weight, and isolation; violet marks current scope and chartreuse marks live significance, never decoration.
Low-to-medium density with generous 24-64px pauses, compact mono metadata rows, and at least one open quiet zone in every major viewport.
Desktop uses a 12-column fluid grid with a dominant 7-column stage, a 3-column instrument stack, and calm 2-column navigation; mobile collapses to stacked sections.
Whitespace is the luxury material: 32-64px exterior padding on larger viewports and clear breathing room around controls.
Low-to-medium; one open quiet zone per major viewport.
Render well from 390px mobile to 2560px+ ultra-wide; stack to one column on mobile, drop non-essential nav and table columns, never overflow horizontally; cap content at 1320px and centre on ultra-wide while only the hero spans 100vw.
plinth
Museum object-study photography: a single subject isolated on a seamless warm museum-white sweep, raking light from the upper-left tinting the shadow deep cool violet, with one razor-thin chartreuse rim catching a single lit contour like a live signal.
One full-bleed landing hero driven by background-image: var(--hero-image); the studio swaps the URL. Keep the overlay legible without a lazy gradient scrim.
# Vitrine ## Philosophy A product-first, museum-white interface where deep violet supplies calm intellectual authority and a single restrained chartreuse signal marks only live, high-value moments. The page is the gallery, your content is the object on the stage, and colour speaks only when it has something to say. ### Values - Product content stays the visual hero through white space, graphite typography, and minimal chrome. - Deep violet is structural and supervisory: selected controls, current scope, active states, and primary product decisions. - Chartreuse is a sharp optical signal for live thresholds, deltas, focus confirmations, and one or two decisive calls to action. - Premium restraint comes from larger pauses, fine stone hairlines, and disciplined radii instead of decorative colour fields. ### Anti-Values - No rainbow UI, SaaS dashboard templates, coloured side rails, stripe accents, confetti, dotted textures, or square-grid backgrounds. - No casual neon cyberpunk treatment; chartreuse must never flood surfaces or compete with product imagery. - No arbitrary mixed corner radii, gradient washes, or generic card-collage layouts. ### Visual Character - Museum-white page field with no pattern or grid texture and large uninterrupted margins around a centred product workspace. - Thin light-stone dividers and graphite hairlines define planes while avoiding coloured side rails or decorative card stripes. - Deep-violet active controls use compact filled capsules and underlined text markers rather than broad tinted panels. - Chartreuse is limited to small luminous LEDs, numeric deltas, focus ticks, and one precision scrubber handle at under five percent visual coverage. - Asymmetric product-study layout pairs an oversized object stage with narrow instrument panels and quiet metadata rows. ## Tokens ### Colors | Name | Value | |------|-------| | bg | `#FAFAF7` | | surface | `#FFFFFF` | | text | `#17151A` | | muted | `#77736E` | | border | `#E3E0D8` | | accent | `#5A2EA6` | | accent_deep | `#3B1B72` | | signal | `#C9F24A` | | on_accent | `#FFFFFF` | | on_signal | `#17151A` | | primary | `#3B1B72` | | secondary | `#C9F24A` | | success | `#6A7F16` | | warning | `#7A6413` | | error | `#8E2430` | | info | `#4A3A75` | ### Typography - **Base Size**: 17px - **Body Font**: Inter - **Heading Font**: Instrument Sans - **Mono Font**: IBM Plex Mono - **Heading Weight**: 700 - **Heading Transform**: none - **Letter Spacing**: -0.025em - **Line Height**: 1.5 - **Scale Ratio**: 1.22 - **Google Fonts Url**: https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Instrument+Sans:wght@500;600;700&family=Inter:wght@400;500;600&display=swap ### Radii - **None**: 0 - **Card**: 16px - **Pill**: 9999px ### Shadows - **Sm**: 0 1px 2px rgba(23,21,26,0.05) - **Md**: 0 16px 40px rgba(23,21,26,0.08) - **Lg**: 0 34px 90px rgba(23,21,26,0.12) ### Spacing - **Base**: 8px - **Scale**: [4,8,12,16,24,32,48,64,96] ### Surfaces - **Bg Pattern**: No pattern, no dots, no square grid; the background is uninterrupted warm museum white. - **Card Style**: Low-relief rectangular cards with 16px radius and a thin stone hairline; minimal shadow only when elevated above the product stage. - **Treatment**: Flat museum-white and pure-white planes with subtle stone hairlines; avoid colour washes except a very pale violet selection field. ### Borders - **Default Width**: 1px - **Accent Width**: 1.5px - **Style**: solid - **Character**: Stone hairlines for structure; violet only for selected outlines and chartreuse only for tiny state ticks, never decorative rails. ### Motion - **Duration**: 180ms - **Easing**: cubic-bezier(0.2, 0.0, 0.1, 1) - **Philosophy**: Interactions feel like precise instrument calibration: short fades, 1-2px lifts, and exact focus ticks without bounce or spectacle. ## Rules ### Composition Use a spacious product-study composition: one large object or content stage occupies the visual centre, while narrow measurement panels and calm navigation sit at the perimeter. ### Hierarchy Hierarchy is set through scale, weight, and isolation; violet marks current scope and chartreuse marks live significance, never decoration. ### Density Low-to-medium density with generous 24-64px pauses, compact mono metadata rows, and at least one open quiet zone in every major viewport. ### Signature - Product-stage asymmetry: a large unpatterned white stage offsets a compact graphite/violet instrument cluster without a generic dashboard grid. - Violet aperture controls: selected tabs and primary actions use deep-violet filled capsules with tight padding and white type. - Chartreuse precision ticks: small circular LEDs, one slider handle, and numeric deltas mark only active, live, or threshold states. - Stone vitrine panels: white cards use thin stone borders, small mono labels, and internal horizontal separators for museum-object clarity. - Quiet focus rings: keyboard focus is a 1.5px violet outline plus a tiny chartreuse notch rather than glowing neon. ## Layout ### Grid Desktop uses a 12-column fluid grid with a dominant 7-column stage, a 3-column instrument stack, and calm 2-column navigation; mobile collapses to stacked sections. ### Whitespace Whitespace is the luxury material: 32-64px exterior padding on larger viewports and clear breathing room around controls. ### Density Low-to-medium; one open quiet zone per major viewport. ### Responsive Render well from 390px mobile to 2560px+ ultra-wide; stack to one column on mobile, drop non-essential nav and table columns, never overflow horizontally; cap content at 1320px and centre on ultra-wide while only the hero spans 100vw. ### Breakpoints - **Mobile**: 375px - **Tablet**: 768px - **Desktop**: 1200px - **Wide**: 1440px - **Max Content**: 1320px ## Guidance ### Do - Keep backgrounds plain museum white and let product content, typography, and measurement panels create structure. - Use deep violet for active navigation, current scope, selected states, and primary product decisions. - Use chartreuse sparingly for live deltas, selected handles, status dots, and one decisive action moment only. - Build components from fine stone borders, consistent 16px card radii, and precise mono metadata labels. ### Don't - Do not use dotted backgrounds, square grids, coloured side rails, card stripes, swatch collages, gradients, or confetti. - Do not add blue, orange, coral, or additional vivid accent systems beyond the violet and restrained chartreuse relationship. - Do not flood cards or panels with chartreuse; it must remain a sharp highlight. - Do not turn the concept into a generic analytics dashboard or rainbow component catalog. ### Accessibility Graphite ink on museum white and pure white meets high contrast; chartreuse is paired with text or shape, never carrying meaning by colour alone; focus is a visible 1.5px violet ring; body text 17px+, table rows 14.5px+; motion respects prefers-reduced-motion. ## Imagery Direction ### Pairs With plinth ### Summary Museum object-study photography: a single subject isolated on a seamless warm museum-white sweep, raking light from the upper-left tinting the shadow deep cool violet, with one razor-thin chartreuse rim catching a single lit contour like a live signal. ### Subjects - antique scientific instrument - single museum object - precision brass mechanism - isolated product on a seamless sweep ### Usage One full-bleed landing hero driven by background-image: var(--hero-image); the studio swaps the URL. Keep the overlay legible without a lazy gradient scrim.
---
version: "alpha"
name: "Vitrine"
description: "Agent-curated design language exported from Katagami as DESIGN.md."
colors:
bg: "#FAFAF7"
surface: "#FFFFFF"
text: "#17151A"
muted: "#77736E"
border: "#E3E0D8"
accent: "#5A2EA6"
accent_deep: "#3B1B72"
signal: "#C9F24A"
on_accent: "#FFFFFF"
on_signal: "#17151A"
primary: "#3B1B72"
secondary: "#C9F24A"
success: "#6A7F16"
warning: "#7A6413"
error: "#8E2430"
info: "#4A3A75"
typography:
headline-lg:
fontFamily: "Instrument Sans"
fontSize: "1.929rem"
fontWeight: 700
lineHeight: 1.1
letterSpacing: "-0.025em"
headline-md:
fontFamily: "Instrument Sans"
fontSize: "1.581rem"
fontWeight: 600
lineHeight: 1.15
letterSpacing: "-0.025em"
body-md:
fontFamily: "Inter"
fontSize: "17px"
fontWeight: 400
lineHeight: 1.5
letterSpacing: "-0.025em"
label-md:
fontFamily: "IBM Plex Mono"
fontSize: "0.75rem"
fontWeight: 600
lineHeight: 1
letterSpacing: "0.08em"
rounded:
none: "0px"
card: "16px"
pill: "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-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_deep:
backgroundColor: "{colors.accent_deep}"
color-reference-signal:
backgroundColor: "{colors.signal}"
color-reference-on_accent:
backgroundColor: "{colors.on_accent}"
color-reference-on_signal:
backgroundColor: "{colors.on_signal}"
color-reference-primary:
backgroundColor: "{colors.primary}"
color-reference-secondary:
backgroundColor: "{colors.secondary}"
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.primary}"
textColor: "#ffffff"
typography: "{typography.label-md}"
rounded: "{rounded.none}"
padding: "{spacing.md}"
card-surface:
backgroundColor: "{colors.surface}"
textColor: "{colors.text}"
rounded: "{rounded.none}"
padding: "{spacing.md}"
input-default:
backgroundColor: "{colors.surface}"
textColor: "{colors.text}"
rounded: "{rounded.none}"
height: "44px"
---
# Vitrine
## Overview
A product-first, museum-white interface where deep violet supplies calm intellectual authority and a single restrained chartreuse signal marks only live, high-value moments. The page is the gallery, your content is the object on the stage, and colour speaks only when it has something to say.
### Values
- Product content stays the visual hero through white space, graphite typography, and minimal chrome.
- Deep violet is structural and supervisory: selected controls, current scope, active states, and primary product decisions.
- Chartreuse is a sharp optical signal for live thresholds, deltas, focus confirmations, and one or two decisive calls to action.
- Premium restraint comes from larger pauses, fine stone hairlines, and disciplined radii instead of decorative colour fields.
### Anti-Values
- No rainbow UI, SaaS dashboard templates, coloured side rails, stripe accents, confetti, dotted textures, or square-grid backgrounds.
- No casual neon cyberpunk treatment; chartreuse must never flood surfaces or compete with product imagery.
- No arbitrary mixed corner radii, gradient washes, or generic card-collage layouts.
### Visual Character
- Museum-white page field with no pattern or grid texture and large uninterrupted margins around a centred product workspace.
- Thin light-stone dividers and graphite hairlines define planes while avoiding coloured side rails or decorative card stripes.
- Deep-violet active controls use compact filled capsules and underlined text markers rather than broad tinted panels.
- Chartreuse is limited to small luminous LEDs, numeric deltas, focus ticks, and one precision scrubber handle at under five percent visual coverage.
- Asymmetric product-study layout pairs an oversized object stage with narrow instrument panels and quiet metadata rows.
## 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 | `#FAFAF7` |
| surface | `#FFFFFF` |
| text | `#17151A` |
| muted | `#77736E` |
| border | `#E3E0D8` |
| accent | `#5A2EA6` |
| accent_deep | `#3B1B72` |
| signal | `#C9F24A` |
| on_accent | `#FFFFFF` |
| on_signal | `#17151A` |
| primary | `#3B1B72` |
| secondary | `#C9F24A` |
| success | `#6A7F16` |
| warning | `#7A6413` |
| error | `#8E2430` |
| info | `#4A3A75` |
## Typography
- **Headline-Lg**: Instrument Sans, 1.929rem, weight 700, line-height 1.1.
- **Headline-Md**: Instrument Sans, 1.581rem, weight 600, line-height 1.15.
- **Body-Md**: Inter, 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`
- **Step-8**: `96px`
### Grid
Desktop uses a 12-column fluid grid with a dominant 7-column stage, a 3-column instrument stack, and calm 2-column navigation; mobile collapses to stacked sections.
### Whitespace
Whitespace is the luxury material: 32-64px exterior padding on larger viewports and clear breathing room around controls.
### Density
Low-to-medium; one open quiet zone per major viewport.
### Responsive
Render well from 390px mobile to 2560px+ ultra-wide; stack to one column on mobile, drop non-essential nav and table columns, never overflow horizontally; cap content at 1320px and centre on ultra-wide while only the hero spans 100vw.
### Breakpoints
- **Mobile**: 375px
- **Tablet**: 768px
- **Desktop**: 1200px
- **Wide**: 1440px
- **Max Content**: 1320px
## Elevation & Depth
### Shadows
- **Sm**: 0 1px 2px rgba(23,21,26,0.05)
- **Md**: 0 16px 40px rgba(23,21,26,0.08)
- **Lg**: 0 34px 90px rgba(23,21,26,0.12)
## Shapes
### Rounded
- **None**: `0px`
- **Card**: `16px`
- **Pill**: `9999px`
### Surfaces
- **Bg Pattern**: No pattern, no dots, no square grid; the background is uninterrupted warm museum white.
- **Card Style**: Low-relief rectangular cards with 16px radius and a thin stone hairline; minimal shadow only when elevated above the product stage.
- **Treatment**: Flat museum-white and pure-white planes with subtle stone hairlines; avoid colour washes except a very pale violet selection field.
### Borders
- **Default Width**: 1px
- **Accent Width**: 1.5px
- **Style**: solid
- **Character**: Stone hairlines for structure; violet only for selected outlines and chartreuse only for tiny state ticks, never decorative rails.
## Components
### Composition
Use a spacious product-study composition: one large object or content stage occupies the visual centre, while narrow measurement panels and calm navigation sit at the perimeter.
### Hierarchy
Hierarchy is set through scale, weight, and isolation; violet marks current scope and chartreuse marks live significance, never decoration.
### Density
Low-to-medium density with generous 24-64px pauses, compact mono metadata rows, and at least one open quiet zone in every major viewport.
### Signature
- Product-stage asymmetry: a large unpatterned white stage offsets a compact graphite/violet instrument cluster without a generic dashboard grid.
- Violet aperture controls: selected tabs and primary actions use deep-violet filled capsules with tight padding and white type.
- Chartreuse precision ticks: small circular LEDs, one slider handle, and numeric deltas mark only active, live, or threshold states.
- Stone vitrine panels: white cards use thin stone borders, small mono labels, and internal horizontal separators for museum-object clarity.
- Quiet focus rings: keyboard focus is a 1.5px violet outline plus a tiny chartreuse notch rather than glowing neon.
## 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-019efab6-5558-76a3-8864-3e108694beab/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 Keep backgrounds plain museum white and let product content, typography, and measurement panels create structure.
- Do Use deep violet for active navigation, current scope, selected states, and primary product decisions.
- Do Use chartreuse sparingly for live deltas, selected handles, status dots, and one decisive action moment only.
- Do Build components from fine stone borders, consistent 16px card radii, and precise mono metadata labels.
- Don't Do not use dotted backgrounds, square grids, coloured side rails, card stripes, swatch collages, gradients, or confetti.
- Don't Do not add blue, orange, coral, or additional vivid accent systems beyond the violet and restrained chartreuse relationship.
- Don't Do not flood cards or panels with chartreuse; it must remain a sharp highlight.
- Don't Do not turn the concept into a generic analytics dashboard or rainbow component catalog.
### Accessibility
Graphite ink on museum white and pure white meets high contrast; chartreuse is paired with text or shape, never carrying meaning by colour alone; focus is a visible 1.5px violet ring; body text 17px+, table rows 14.5px+; motion respects prefers-reduced-motion.
## Imagery Direction
### Pairs With
plinth
### Summary
Museum object-study photography: a single subject isolated on a seamless warm museum-white sweep, raking light from the upper-left tinting the shadow deep cool violet, with one razor-thin chartreuse rim catching a single lit contour like a live signal.
### Subjects
- antique scientific instrument
- single museum object
- precision brass mechanism
- isolated product on a seamless sweep
### Usage
One full-bleed landing hero driven by background-image: var(--hero-image); the studio swaps the URL. Keep the overlay legible without a lazy gradient scrim.
```json
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "vitrine",
"type": "registry:theme",
"title": "Vitrine shadcn Theme",
"cssVars": {
"theme": {},
"light": {
"background": "#FAFAF7",
"foreground": "#17151A",
"card": "#FFFFFF",
"card-foreground": "#17151A",
"popover": "#FFFFFF",
"popover-foreground": "#17151A",
"primary": "#3B1B72",
"primary-foreground": "#ffffff",
"secondary": "#C9F24A",
"secondary-foreground": "#111111",
"muted": "#77736E",
"muted-foreground": "#17151A",
"accent": "#5A2EA6",
"accent-foreground": "#ffffff",
"destructive": "#8E2430",
"border": "#E3E0D8",
"input": "#E3E0D8",
"ring": "#5A2EA6",
"chart-1": "#3B1B72",
"chart-2": "#C9F24A",
"chart-3": "#5A2EA6",
"chart-4": "#6A7F16",
"chart-5": "#7A6413",
"sidebar": "#FFFFFF",
"sidebar-foreground": "#17151A",
"sidebar-primary": "#3B1B72",
"sidebar-primary-foreground": "#ffffff",
"sidebar-accent": "#4A3A75",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#E3E0D8",
"sidebar-ring": "#5A2EA6",
"radius": "0.625rem"
},
"dark": {
"background": "#0f1115",
"foreground": "#f8fafc",
"card": "#181b22",
"card-foreground": "#f8fafc",
"popover": "#181b22",
"popover-foreground": "#f8fafc",
"primary": "#3B1B72",
"primary-foreground": "#ffffff",
"secondary": "#252a33",
"secondary-foreground": "#f8fafc",
"muted": "#252a33",
"muted-foreground": "#a1a1aa",
"accent": "#5A2EA6",
"accent-foreground": "#ffffff",
"destructive": "#8E2430",
"border": "#303642",
"input": "#303642",
"ring": "#5A2EA6",
"chart-1": "#3B1B72",
"chart-2": "#C9F24A",
"chart-3": "#5A2EA6",
"chart-4": "#6A7F16",
"chart-5": "#7A6413",
"sidebar": "#181b22",
"sidebar-foreground": "#f8fafc",
"sidebar-primary": "#3B1B72",
"sidebar-primary-foreground": "#ffffff",
"sidebar-accent": "#5A2EA6",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#303642",
"sidebar-ring": "#5A2EA6",
"radius": "0.625rem"
}
},
"meta": {
"source": "katagami",
"languageId": "en-019efab6-5558-76a3-8864-3e108694beab",
"slug": "vitrine",
"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_deep",
"bg",
"border",
"error",
"info",
"muted",
"on_accent",
"on_signal",
"primary",
"secondary",
"signal",
"success",
"surface",
"text",
"warning"
],
"typography": [
"base_size",
"body_font",
"google_fonts_url",
"heading_font",
"heading_transform",
"heading_weight",
"letter_spacing",
"line_height",
"mono_font",
"scale_ratio"
],
"radii": [
"card",
"none",
"pill"
],
"shadows": [
"lg",
"md",
"sm"
],
"spacing": [
"base",
"scale"
],
"surfaces": [
"bg_pattern",
"card_style",
"treatment"
],
"borders": [
"accent_width",
"character",
"default_width",
"style"
],
"motion": [
"duration",
"easing",
"philosophy"
]
}
}
}
```The quick brown fox jumps
The quick brown fox jumps
The quick brown fox jumps
The quick brown fox jumps
Agent-generated
produced by claude-opus-4-8 · sourced by claude-opus-4-8 · images by gpt-image-2
Keep Vitrineand 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: #FAFAF7;
--foreground: #17151A;
--card: #FFFFFF;
--card-foreground: #17151A;
--popover: #FFFFFF;
--popover-foreground: #17151A;
--primary: #3B1B72;
--primary-foreground: #ffffff;
--secondary: #C9F24A;
--secondary-foreground: #111111;
--muted: #77736E;
--muted-foreground: #17151A;
--accent: #5A2EA6;
--accent-foreground: #ffffff;
--destructive: #8E2430;
--border: #E3E0D8;
--input: #E3E0D8;
--ring: #5A2EA6;
--chart-1: #3B1B72;
--chart-2: #C9F24A;
--chart-3: #5A2EA6;
--chart-4: #6A7F16;
--chart-5: #7A6413;
--sidebar: #FFFFFF;
--sidebar-foreground: #17151A;
--sidebar-primary: #3B1B72;
--sidebar-primary-foreground: #ffffff;
--sidebar-accent: #4A3A75;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #E3E0D8;
--sidebar-ring: #5A2EA6;
--radius: 0.625rem;
}
.dark {
--background: #0f1115;
--foreground: #f8fafc;
--card: #181b22;
--card-foreground: #f8fafc;
--popover: #181b22;
--popover-foreground: #f8fafc;
--primary: #3B1B72;
--primary-foreground: #ffffff;
--secondary: #252a33;
--secondary-foreground: #f8fafc;
--muted: #252a33;
--muted-foreground: #a1a1aa;
--accent: #5A2EA6;
--accent-foreground: #ffffff;
--destructive: #8E2430;
--border: #303642;
--input: #303642;
--ring: #5A2EA6;
--chart-1: #3B1B72;
--chart-2: #C9F24A;
--chart-3: #5A2EA6;
--chart-4: #6A7F16;
--chart-5: #7A6413;
--sidebar: #181b22;
--sidebar-foreground: #f8fafc;
--sidebar-primary: #3B1B72;
--sidebar-primary-foreground: #ffffff;
--sidebar-accent: #5A2EA6;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #303642;
--sidebar-ring: #5A2EA6;
--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 VitrineShadcnKit() {
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">Vitrine</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": "vitrine",
"type": "registry:theme",
"cssVars": {
"theme": {
"font-sans": "Inter, system-ui, sans-serif",
"font-mono": "IBM Plex Mono, ui-monospace, monospace",
"radius": "16px"
},
"light": {
"background": "#FAFAF7",
"foreground": "#17151A",
"card": "#FFFFFF",
"card-foreground": "#17151A",
"popover": "#FFFFFF",
"popover-foreground": "#17151A",
"primary": "#3B1B72",
"primary-foreground": "#FFFFFF",
"secondary": "#F4F2EC",
"secondary-foreground": "#17151A",
"muted": "#F4F2EC",
"muted-foreground": "#77736E",
"accent": "#C9F24A",
"accent-foreground": "#17151A",
"destructive": "#8E2430",
"destructive-foreground": "#FFFFFF",
"border": "#E3E0D8",
"input": "#E3E0D8",
"ring": "#5A2EA6",
"chart-1": "#5A2EA6",
"chart-2": "#3B1B72",
"chart-3": "#C9F24A",
"chart-4": "#77736E",
"chart-5": "#6A7F16",
"radius": "16px"
},
"dark": {
"background": "#17151A",
"foreground": "#FAFAF7",
"card": "#221F27",
"card-foreground": "#FAFAF7",
"popover": "#221F27",
"popover-foreground": "#FAFAF7",
"primary": "#9D7FD6",
"primary-foreground": "#17151A",
"secondary": "#2C2933",
"secondary-foreground": "#FAFAF7",
"muted": "#2C2933",
"muted-foreground": "#A6A1AC",
"accent": "#C9F24A",
"accent-foreground": "#17151A",
"destructive": "#C2495A",
"destructive-foreground": "#17151A",
"border": "#34303C",
"input": "#34303C",
"ring": "#9D7FD6",
"chart-1": "#9D7FD6",
"chart-2": "#5A2EA6",
"chart-3": "#C9F24A",
"chart-4": "#A6A1AC",
"chart-5": "#A6C24A",
"radius": "16px"
}
}
}
# Vitrine shadcn/ui Components
Artifact: `component-recipes-v1`
Author: `katagami-ui-projection`
Language ID: `en-019efab6-5558-76a3-8864-3e108694beab`
Slug: `vitrine`
## Intent
A product-first, museum-white interface where deep violet supplies calm intellectual authority and a single restrained chartreuse signal marks only live, high-value moments. The page is the gallery, your content is the object on the stage, and colour speaks only when it has something to say.
## 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": "#FAFAF7",
"surface": "#FFFFFF",
"text": "#17151A",
"muted": "#77736E",
"border": "#E3E0D8",
"accent": "#5A2EA6",
"accent_deep": "#3B1B72",
"signal": "#C9F24A",
"on_accent": "#FFFFFF",
"on_signal": "#17151A",
"primary": "#3B1B72",
"secondary": "#C9F24A",
"success": "#6A7F16",
"warning": "#7A6413",
"error": "#8E2430",
"info": "#4A3A75"
}
Typography:
{
"base_size": "17px",
"body_font": "Inter",
"heading_font": "Instrument Sans",
"mono_font": "IBM Plex Mono",
"heading_weight": "700",
"heading_transform": "none",
"letter_spacing": "-0.025em",
"line_height": 1.5,
"scale_ratio": 1.22,
"google_fonts_url": "https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Instrument+Sans:wght@500;600;700&family=Inter:wght@400;500;600&display=swap"
}
## Visual character to preserve
- Museum-white page field with no pattern or grid texture and large uninterrupted margins around a centred product workspace.
- Thin light-stone dividers and graphite hairlines define planes while avoiding coloured side rails or decorative card stripes.
- Deep-violet active controls use compact filled capsules and underlined text markers rather than broad tinted panels.
- Chartreuse is limited to small luminous LEDs, numeric deltas, focus ticks, and one precision scrubber handle at under five percent visual coverage.
- Asymmetric product-study layout pairs an oversized object stage with narrow instrument panels and quiet metadata rows.
## ShadSync visual profile
{
"family": "system",
"material": "flat",
"contour": "default",
"border": "solid",
"underlay": false,
"grain": true,
"stickerBadges": false,
"motion": "lift",
"density": "dense",
"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/vitrine/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: Keep backgrounds plain museum white and let product content, typography, and measurement panels create structure.; Use deep violet for active navigation, current scope, selected states, and primary product decisions.; Use chartreuse sparingly for live deltas, selected handles, status dots, and one decisive action moment only.; Build components from fine stone borders, consistent 16px card radii, and precise mono metadata labels.
- Do not: Do not use dotted backgrounds, square grids, coloured side rails, card stripes, swatch collages, gradients, or confetti.; Do not add blue, orange, coral, or additional vivid accent systems beyond the violet and restrained chartreuse relationship.; Do not flood cards or panels with chartreuse; it must remain a sharp highlight.; Do not turn the concept into a generic analytics dashboard or rainbow component catalog.
## 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 VitrineShadcnKit() {
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">Vitrine</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": "Desktop uses a 12-column fluid grid with a dominant 7-column stage, a 3-column instrument stack, and calm 2-column navigation; mobile collapses to stacked sections.",
"whitespace": "Whitespace is the luxury material: 32-64px exterior padding on larger viewports and clear breathing room around controls.",
"density": "Low-to-medium; one open quiet zone per major viewport.",
"responsive": "Render well from 390px mobile to 2560px+ ultra-wide; stack to one column on mobile, drop non-essential nav and table columns, never overflow horizontally; cap content at 1320px and centre on ultra-wide while only the hero spans 100vw.",
"breakpoints": {
"mobile": "375px",
"tablet": "768px",
"desktop": "1200px",
"wide": "1440px",
"max_content": "1320px"
}
}
{
"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-019efab6-5558-76a3-8864-3e108694beab",
"name": "Vitrine",
"slug": "vitrine"
},
"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": [
"Museum-white page field with no pattern or grid texture and large uninterrupted margins around a centred product workspace.",
"Thin light-stone dividers and graphite hairlines define planes while avoiding coloured side rails or decorative card stripes.",
"Deep-violet active controls use compact filled capsules and underlined text markers rather than broad tinted panels.",
"Chartreuse is limited to small luminous LEDs, numeric deltas, focus ticks, and one precision scrubber handle at under five percent visual coverage.",
"Asymmetric product-study layout pairs an oversized object stage with narrow instrument panels and quiet metadata rows."
],
"visualProfile": {
"family": "system",
"material": "flat",
"contour": "default",
"border": "solid",
"underlay": false,
"grain": true,
"stickerBadges": false,
"motion": "still",
"density": "dense",
"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": "Vitrine 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": [
"Keep backgrounds plain museum white and let product content, typography, and measurement panels create structure.",
"Use deep violet for active navigation, current scope, selected states, and primary product decisions.",
"Use chartreuse sparingly for live deltas, selected handles, status dots, and one decisive action moment only.",
"Build components from fine stone borders, consistent 16px card radii, and precise mono metadata labels."
],
"dont": [
"Do not use dotted backgrounds, square grids, coloured side rails, card stripes, swatch collages, gradients, or confetti.",
"Do not add blue, orange, coral, or additional vivid accent systems beyond the violet and restrained chartreuse relationship.",
"Do not flood cards or panels with chartreuse; it must remain a sharp highlight.",
"Do not turn the concept into a generic analytics dashboard or rainbow component catalog."
]
}
}