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.
Lead with a herald cut-in on a full-bleed key visual, the headline proclaimed beside it on the open stage. Below, announce each section with a full-width colour cut-band header, then a flat panel of content. Keep the primary action a single struck CTA, never a button pair as default furniture.
Hierarchy comes from the cut-band and the strike before pure text size. State is told by which accent strikes: vermilion announces / priority, cobalt charges / info, lemon completes. Supporting data is tiered through strike chips, segmented spark meters and mono cues.
High density organised as proclaimed beats: one herald focal, a stack of cut-band sections, and strike chips and spark meters within each flat panel. Bright stage space is reserved for the speed-streak energy, not neutral whitespace.
The proclamation cut (full-width colour banner announcing a section, lemon spark at the strike point), the strike chip (square-cut chip with one mitred corner), the spark meter (flat segmented bar striking a lemon spark at the fill edge), and the herald cut-in (flat cel figure breaking its band under a vermilion key-light rim).
A contained max-width stage (1180-1320px) with a full-bleed hero and full-bleed cut-band section headers. Desktop runs multi-column flat-panel grids beneath each cut-band; tablet drops to two columns; mobile stacks to a single proclaimed scroll.
Theatrical on a bright stage: speed-streak energy and spark room around the herald, tight spacing inside dense data panels, generous padding above every title.
high
From ~390px to 2560px+. Single column on mobile with a wrapping nav; the full-bleed hero re-anchors so the figure stays legible behind a vertical stage-darkening; cut-band headers wrap; headlines shrink with clamp() and wrap, never clipping the 390px edge.
keylight-cel-anime
Bold cel-anime / screen-native digital illustration — flat saturated cels, one dramatic key light, rim-lit silhouettes, radiating speed-streaks and sparkle blooms; the figure cuts in from the side leaving open dark stage for the overlay.
Landing hero is a full-bleed cel-anime key visual with the herald cut in from the left and open dark stage on the right for the overlay; cut-in portraits use tight crops with a vermilion key-rim.
# Fanfare ## Philosophy Fanfare treats the interface like a herald's announcement, not a quiet tool. Every important beat is proclaimed on a bold colour cut-band that slices full-width across a bright paper stage, the way an anime title card flashes a named move across the screen. It keeps the spectacle energy of the original gacha-screen idea and trades its midnight-violet gloss and metallic jewel-frames for a luminous bone-white stage where flat graphic accents read like ink and a brass-bright herald cuts in from the side. ### Values - Hierarchy proclaimed by a colour cut-band, not by text size alone - A bright paper stage so flat accents read like fresh poster ink - State told by which accent strikes: vermilion announces, cobalt charges, lemon completes - Spectacle delivered as flat graphic energy — speed-streaks and spark blooms, never glossy chrome - Dense HUD read as proclaimed beats stacked down one bright column ### Anti-Values - Midnight-violet glassy wash and metallic double-frames with jewel corners - A dark cinema-stage ground that hides the paper-bright energy - Grey-bordered boxes and floating pill nav widgets - The eyebrow-tag + two-button + three-stat SaaS hero - Muted grayscale that suppresses the announcement ### Visual Character - Proclamation cut: a bold vermilion banner slices full-width across the stage to announce a section, a lemon spark struck at its leading point - Strike chips: square-cut status chips with one mitred corner, coloured by state - Spark meters: flat segmented bars that strike a lemon spark at the fill edge - Herald cut-in: a flat cel-anime figure breaks past its band under a vermilion key-light rim - Speed-streak rails: thin radiating cobalt streaks behind a focal beat, drawn as flat ink ## Tokens ### Colors | Name | Value | |------|-------| | bg | `#FBF7EF` | | surface | `#FFFFFF` | | surface_2 | `#FFF1EC` | | text | `#14110F` | | muted | `#6E665C` | | border | `#EBE2D4` | | accent | `#FF2D2D` | | accent_2 | `#1B5BFF` | | accent_3 | `#FFD200` | | on_accent | `#FFF7F2` | | success | `#0FB36B` | | warning | `#FFB000` | | error | `#FF2D2D` | | info | `#1B5BFF` | ### Typography - **Base Size**: 17px - **Body Font**: Zen Maru Gothic - **Heading Font**: Archivo - **Mono Font**: Space Mono - **Heading Weight**: 800 - **Heading Transform**: none - **Letter Spacing**: -0.02em - **Line Height**: 1.6 - **Google Fonts Url**: https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800;900&family=Zen+Maru+Gothic:wght@400;500;700&family=Space+Mono:wght@400;700&display=swap ### Radii - **None**: 0 - **Md**: 16px - **Lg**: 24px - **Full**: 9999px ### Shadows - **Cut**: 0 18px 40px -28px rgba(20,17,15,.5) - **Strike**: 0 10px 0 -2px rgba(255,45,45,.18) - **Sm**: 0 2px 0 rgba(20,17,15,.05) ### Spacing - **Base**: 8px - **Scale**: [4,8,12,16,24,32,48,64,96] ### Surfaces - **Ground**: bright bone-white paper stage - **Card Style**: flat panel announced by a colour cut-band header - **Treatment**: flat graphic, soft depth shadow, no borders ### Borders - **Style**: none - **Character**: no decorative borders; structure comes from full-width colour cut-bands and flat panel shadow, never grey strokes ### Motion - **Duration**: 320ms - **Easing**: cubic-bezier(.16,.84,.3,1) - **Philosophy**: cut-bands sweep in and strike a spark, settled-by-default behind an html.anim gate ## Rules ### Composition Lead with a herald cut-in on a full-bleed key visual, the headline proclaimed beside it on the open stage. Below, announce each section with a full-width colour cut-band header, then a flat panel of content. Keep the primary action a single struck CTA, never a button pair as default furniture. ### Hierarchy Hierarchy comes from the cut-band and the strike before pure text size. State is told by which accent strikes: vermilion announces / priority, cobalt charges / info, lemon completes. Supporting data is tiered through strike chips, segmented spark meters and mono cues. ### Density High density organised as proclaimed beats: one herald focal, a stack of cut-band sections, and strike chips and spark meters within each flat panel. Bright stage space is reserved for the speed-streak energy, not neutral whitespace. ### Signature The proclamation cut (full-width colour banner announcing a section, lemon spark at the strike point), the strike chip (square-cut chip with one mitred corner), the spark meter (flat segmented bar striking a lemon spark at the fill edge), and the herald cut-in (flat cel figure breaking its band under a vermilion key-light rim). ## Layout ### Grid A contained max-width stage (1180-1320px) with a full-bleed hero and full-bleed cut-band section headers. Desktop runs multi-column flat-panel grids beneath each cut-band; tablet drops to two columns; mobile stacks to a single proclaimed scroll. ### Whitespace Theatrical on a bright stage: speed-streak energy and spark room around the herald, tight spacing inside dense data panels, generous padding above every title. ### Density high ### Responsive From ~390px to 2560px+. Single column on mobile with a wrapping nav; the full-bleed hero re-anchors so the figure stays legible behind a vertical stage-darkening; cut-band headers wrap; headlines shrink with clamp() and wrap, never clipping the 390px edge. ### Breakpoints - **Mobile**: 0-619px - **Tablet**: 620-1039px - **Desktop**: 1040px+ ## Guidance ### Do - Announce every section with a full-width colour cut-band and a lemon spark at its strike point - Use vermilion, cobalt and lemon as highlighters to encode announce, charge and complete - Render status as square-cut strike chips and flat segmented spark meters - Let a flat cel-anime herald break out of its band under a vermilion key-light rim - Keep the ground a bright bone-white paper stage so flat accents read like poster ink ### Don't - Do not use midnight-violet glass, metallic double-frames or jewel corners - Do not drop onto a dark cinema-stage ground; the stage is bright paper - Do not box the nav into a pill bar or float chrome as a widget - Do not open the hero with an eyebrow tag, a button pair, or a three-stat row - Do not swap a regular serif for an italic serif in the headline; strike a colour cut-band on a word instead ### Accessibility Body 17px+ on the bright stage with high contrast; never encode meaning in accent colour alone (pair every accent with a chip label or meter text); focus rings strike in vermilion; respect prefers-reduced-motion. ## Imagery Direction ### Pairs With keylight-cel-anime ### Summary Bold cel-anime / screen-native digital illustration — flat saturated cels, one dramatic key light, rim-lit silhouettes, radiating speed-streaks and sparkle blooms; the figure cuts in from the side leaving open dark stage for the overlay. ### Subjects - a triumphant herald-courier at the moment of an announcement - leaping couriers and runners at a reveal - festival fanfare crowds under fireworks - hero objects struck by a single key light ### Usage Landing hero is a full-bleed cel-anime key visual with the herald cut in from the left and open dark stage on the right for the overlay; cut-in portraits use tight crops with a vermilion key-rim.
---
version: "alpha"
name: "Fanfare"
description: "Agent-curated design language exported from Katagami as DESIGN.md."
colors:
bg: "#FBF7EF"
surface: "#FFFFFF"
surface_2: "#FFF1EC"
text: "#14110F"
muted: "#6E665C"
border: "#EBE2D4"
accent: "#FF2D2D"
accent_2: "#1B5BFF"
accent_3: "#FFD200"
on_accent: "#FFF7F2"
success: "#0FB36B"
warning: "#FFB000"
error: "#FF2D2D"
info: "#1B5BFF"
typography:
headline-lg:
fontFamily: "Archivo"
fontSize: "2.075rem"
fontWeight: 700
lineHeight: 1.1
letterSpacing: "-0.02em"
headline-md:
fontFamily: "Archivo"
fontSize: "1.66rem"
fontWeight: 600
lineHeight: 1.15
letterSpacing: "-0.02em"
body-md:
fontFamily: "Zen Maru Gothic"
fontSize: "17px"
fontWeight: 400
lineHeight: 1.6
letterSpacing: "-0.02em"
label-md:
fontFamily: "Space 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-surface_2:
backgroundColor: "{colors.surface_2}"
color-reference-text:
backgroundColor: "{colors.text}"
color-reference-muted:
backgroundColor: "{colors.muted}"
color-reference-border:
backgroundColor: "{colors.border}"
color-reference-accent:
backgroundColor: "{colors.accent}"
color-reference-accent_2:
backgroundColor: "{colors.accent_2}"
color-reference-accent_3:
backgroundColor: "{colors.accent_3}"
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"
---
# Fanfare
## Overview
Fanfare treats the interface like a herald's announcement, not a quiet tool. Every important beat is proclaimed on a bold colour cut-band that slices full-width across a bright paper stage, the way an anime title card flashes a named move across the screen. It keeps the spectacle energy of the original gacha-screen idea and trades its midnight-violet gloss and metallic jewel-frames for a luminous bone-white stage where flat graphic accents read like ink and a brass-bright herald cuts in from the side.
### Values
- Hierarchy proclaimed by a colour cut-band, not by text size alone
- A bright paper stage so flat accents read like fresh poster ink
- State told by which accent strikes: vermilion announces, cobalt charges, lemon completes
- Spectacle delivered as flat graphic energy — speed-streaks and spark blooms, never glossy chrome
- Dense HUD read as proclaimed beats stacked down one bright column
### Anti-Values
- Midnight-violet glassy wash and metallic double-frames with jewel corners
- A dark cinema-stage ground that hides the paper-bright energy
- Grey-bordered boxes and floating pill nav widgets
- The eyebrow-tag + two-button + three-stat SaaS hero
- Muted grayscale that suppresses the announcement
### Visual Character
- Proclamation cut: a bold vermilion banner slices full-width across the stage to announce a section, a lemon spark struck at its leading point
- Strike chips: square-cut status chips with one mitred corner, coloured by state
- Spark meters: flat segmented bars that strike a lemon spark at the fill edge
- Herald cut-in: a flat cel-anime figure breaks past its band under a vermilion key-light rim
- Speed-streak rails: thin radiating cobalt streaks behind a focal beat, drawn as flat ink
## 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 | `#FBF7EF` |
| surface | `#FFFFFF` |
| surface_2 | `#FFF1EC` |
| text | `#14110F` |
| muted | `#6E665C` |
| border | `#EBE2D4` |
| accent | `#FF2D2D` |
| accent_2 | `#1B5BFF` |
| accent_3 | `#FFD200` |
| on_accent | `#FFF7F2` |
| success | `#0FB36B` |
| warning | `#FFB000` |
| error | `#FF2D2D` |
| info | `#1B5BFF` |
## 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**: Zen Maru Gothic, 17px, weight 400, line-height 1.6.
- **Label-Md**: Space 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
A contained max-width stage (1180-1320px) with a full-bleed hero and full-bleed cut-band section headers. Desktop runs multi-column flat-panel grids beneath each cut-band; tablet drops to two columns; mobile stacks to a single proclaimed scroll.
### Whitespace
Theatrical on a bright stage: speed-streak energy and spark room around the herald, tight spacing inside dense data panels, generous padding above every title.
### Density
high
### Responsive
From ~390px to 2560px+. Single column on mobile with a wrapping nav; the full-bleed hero re-anchors so the figure stays legible behind a vertical stage-darkening; cut-band headers wrap; headlines shrink with clamp() and wrap, never clipping the 390px edge.
### Breakpoints
- **Mobile**: 0-619px
- **Tablet**: 620-1039px
- **Desktop**: 1040px+
## Elevation & Depth
### Shadows
- **Cut**: 0 18px 40px -28px rgba(20,17,15,.5)
- **Strike**: 0 10px 0 -2px rgba(255,45,45,.18)
- **Sm**: 0 2px 0 rgba(20,17,15,.05)
## Shapes
### Rounded
- **None**: `0px`
- **Md**: `16px`
- **Lg**: `24px`
- **Full**: `9999px`
### Surfaces
- **Ground**: bright bone-white paper stage
- **Card Style**: flat panel announced by a colour cut-band header
- **Treatment**: flat graphic, soft depth shadow, no borders
### Borders
- **Style**: none
- **Character**: no decorative borders; structure comes from full-width colour cut-bands and flat panel shadow, never grey strokes
## Components
### Composition
Lead with a herald cut-in on a full-bleed key visual, the headline proclaimed beside it on the open stage. Below, announce each section with a full-width colour cut-band header, then a flat panel of content. Keep the primary action a single struck CTA, never a button pair as default furniture.
### Hierarchy
Hierarchy comes from the cut-band and the strike before pure text size. State is told by which accent strikes: vermilion announces / priority, cobalt charges / info, lemon completes. Supporting data is tiered through strike chips, segmented spark meters and mono cues.
### Density
High density organised as proclaimed beats: one herald focal, a stack of cut-band sections, and strike chips and spark meters within each flat panel. Bright stage space is reserved for the speed-streak energy, not neutral whitespace.
### Signature
The proclamation cut (full-width colour banner announcing a section, lemon spark at the strike point), the strike chip (square-cut chip with one mitred corner), the spark meter (flat segmented bar striking a lemon spark at the fill edge), and the herald cut-in (flat cel figure breaking its band under a vermilion key-light rim).
## 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-019efdb9-0b5b-77b3-8043-22e8b1706610/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 Announce every section with a full-width colour cut-band and a lemon spark at its strike point
- Do Use vermilion, cobalt and lemon as highlighters to encode announce, charge and complete
- Do Render status as square-cut strike chips and flat segmented spark meters
- Do Let a flat cel-anime herald break out of its band under a vermilion key-light rim
- Do Keep the ground a bright bone-white paper stage so flat accents read like poster ink
- Don't Do not use midnight-violet glass, metallic double-frames or jewel corners
- Don't Do not drop onto a dark cinema-stage ground; the stage is bright paper
- Don't Do not box the nav into a pill bar or float chrome as a widget
- Don't Do not open the hero with an eyebrow tag, a button pair, or a three-stat row
- Don't Do not swap a regular serif for an italic serif in the headline; strike a colour cut-band on a word instead
### Accessibility
Body 17px+ on the bright stage with high contrast; never encode meaning in accent colour alone (pair every accent with a chip label or meter text); focus rings strike in vermilion; respect prefers-reduced-motion.
## Imagery Direction
### Pairs With
keylight-cel-anime
### Summary
Bold cel-anime / screen-native digital illustration — flat saturated cels, one dramatic key light, rim-lit silhouettes, radiating speed-streaks and sparkle blooms; the figure cuts in from the side leaving open dark stage for the overlay.
### Subjects
- a triumphant herald-courier at the moment of an announcement
- leaping couriers and runners at a reveal
- festival fanfare crowds under fireworks
- hero objects struck by a single key light
### Usage
Landing hero is a full-bleed cel-anime key visual with the herald cut in from the left and open dark stage on the right for the overlay; cut-in portraits use tight crops with a vermilion key-rim.
```json
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "fanfare",
"type": "registry:theme",
"title": "Fanfare shadcn Theme",
"cssVars": {
"theme": {},
"light": {
"background": "#FBF7EF",
"foreground": "#14110F",
"card": "#FFFFFF",
"card-foreground": "#14110F",
"popover": "#FFFFFF",
"popover-foreground": "#14110F",
"primary": "#14110F",
"primary-foreground": "#ffffff",
"secondary": "#f4f4f5",
"secondary-foreground": "#111111",
"muted": "#6E665C",
"muted-foreground": "#14110F",
"accent": "#FF2D2D",
"accent-foreground": "#ffffff",
"destructive": "#FF2D2D",
"border": "#EBE2D4",
"input": "#EBE2D4",
"ring": "#FF2D2D",
"chart-1": "#14110F",
"chart-2": "#f4f4f5",
"chart-3": "#FF2D2D",
"chart-4": "#0FB36B",
"chart-5": "#FFB000",
"sidebar": "#FFFFFF",
"sidebar-foreground": "#14110F",
"sidebar-primary": "#14110F",
"sidebar-primary-foreground": "#ffffff",
"sidebar-accent": "#1B5BFF",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#EBE2D4",
"sidebar-ring": "#FF2D2D",
"radius": "16px"
},
"dark": {
"background": "#0f1115",
"foreground": "#f8fafc",
"card": "#181b22",
"card-foreground": "#f8fafc",
"popover": "#181b22",
"popover-foreground": "#f8fafc",
"primary": "#14110F",
"primary-foreground": "#ffffff",
"secondary": "#252a33",
"secondary-foreground": "#f8fafc",
"muted": "#252a33",
"muted-foreground": "#a1a1aa",
"accent": "#FF2D2D",
"accent-foreground": "#ffffff",
"destructive": "#FF2D2D",
"border": "#303642",
"input": "#303642",
"ring": "#FF2D2D",
"chart-1": "#14110F",
"chart-2": "#f4f4f5",
"chart-3": "#FF2D2D",
"chart-4": "#0FB36B",
"chart-5": "#FFB000",
"sidebar": "#181b22",
"sidebar-foreground": "#f8fafc",
"sidebar-primary": "#14110F",
"sidebar-primary-foreground": "#ffffff",
"sidebar-accent": "#FF2D2D",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#303642",
"sidebar-ring": "#FF2D2D",
"radius": "16px"
}
},
"meta": {
"source": "katagami",
"languageId": "en-019efdb9-0b5b-77b3-8043-22e8b1706610",
"slug": "fanfare",
"componentManifest": [
"button",
"card",
"input",
"textarea",
"select",
"dialog",
"sheet",
"tabs",
"badge",
"separator",
"checkbox",
"switch",
"slider",
"tooltip",
"dropdown-menu",
"table"
],
"installCommand": "npx shadcn@latest add button card input textarea select dialog sheet tabs badge separator checkbox switch slider tooltip dropdown-menu table",
"nativeTokenNames": {
"colors": [
"accent",
"accent_2",
"accent_3",
"bg",
"border",
"error",
"info",
"muted",
"on_accent",
"success",
"surface",
"surface_2",
"text",
"warning"
],
"typography": [
"base_size",
"body_font",
"google_fonts_url",
"heading_font",
"heading_transform",
"heading_weight",
"letter_spacing",
"line_height",
"mono_font"
],
"radii": [
"full",
"lg",
"md",
"none"
],
"shadows": [
"cut",
"sm",
"strike"
],
"spacing": [
"base",
"scale"
],
"surfaces": [
"card_style",
"ground",
"treatment"
],
"borders": [
"character",
"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 opus-4.8 · sourced by opus-4.8 · images by gpt-image-2
Keep Fanfareand 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: #FBF7EF;
--foreground: #14110F;
--card: #FFFFFF;
--card-foreground: #14110F;
--popover: #FFFFFF;
--popover-foreground: #14110F;
--primary: #14110F;
--primary-foreground: #ffffff;
--secondary: #f4f4f5;
--secondary-foreground: #111111;
--muted: #6E665C;
--muted-foreground: #14110F;
--accent: #FF2D2D;
--accent-foreground: #ffffff;
--destructive: #FF2D2D;
--border: #EBE2D4;
--input: #EBE2D4;
--ring: #FF2D2D;
--chart-1: #14110F;
--chart-2: #f4f4f5;
--chart-3: #FF2D2D;
--chart-4: #0FB36B;
--chart-5: #FFB000;
--sidebar: #FFFFFF;
--sidebar-foreground: #14110F;
--sidebar-primary: #14110F;
--sidebar-primary-foreground: #ffffff;
--sidebar-accent: #1B5BFF;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #EBE2D4;
--sidebar-ring: #FF2D2D;
--radius: 16px;
}
.dark {
--background: #0f1115;
--foreground: #f8fafc;
--card: #181b22;
--card-foreground: #f8fafc;
--popover: #181b22;
--popover-foreground: #f8fafc;
--primary: #14110F;
--primary-foreground: #ffffff;
--secondary: #252a33;
--secondary-foreground: #f8fafc;
--muted: #252a33;
--muted-foreground: #a1a1aa;
--accent: #FF2D2D;
--accent-foreground: #ffffff;
--destructive: #FF2D2D;
--border: #303642;
--input: #303642;
--ring: #FF2D2D;
--chart-1: #14110F;
--chart-2: #f4f4f5;
--chart-3: #FF2D2D;
--chart-4: #0FB36B;
--chart-5: #FFB000;
--sidebar: #181b22;
--sidebar-foreground: #f8fafc;
--sidebar-primary: #14110F;
--sidebar-primary-foreground: #ffffff;
--sidebar-accent: #FF2D2D;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #303642;
--sidebar-ring: #FF2D2D;
--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 FanfareShadcnKit() {
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">Fanfare</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": "fanfare",
"type": "registry:theme",
"cssVars": {
"theme": {
"font-sans": "Zen Maru Gothic, system-ui, sans-serif",
"font-heading": "Archivo, system-ui, sans-serif",
"font-mono": "Space Mono, ui-monospace, monospace",
"radius": "0rem"
},
"light": {
"background": "#FBF7EF",
"foreground": "#14110F",
"card": "#FFFFFF",
"card-foreground": "#14110F",
"popover": "#FFFFFF",
"popover-foreground": "#14110F",
"primary": "#FF2D2D",
"primary-foreground": "#FFF7F2",
"secondary": "#FFF1EC",
"secondary-foreground": "#14110F",
"muted": "#FFF1EC",
"muted-foreground": "#6E665C",
"accent": "#1B5BFF",
"accent-foreground": "#FFF7F2",
"destructive": "#FF2D2D",
"destructive-foreground": "#FFF7F2",
"border": "#EBE2D4",
"input": "#FFF1EC",
"ring": "#FF2D2D",
"chart-1": "#FF2D2D",
"chart-2": "#1B5BFF",
"chart-3": "#FFD200",
"chart-4": "#0FB36B",
"chart-5": "#6E665C"
},
"dark": {
"background": "#14110F",
"foreground": "#FBF7EF",
"card": "#1E1A17",
"card-foreground": "#FBF7EF",
"popover": "#1E1A17",
"popover-foreground": "#FBF7EF",
"primary": "#FF2D2D",
"primary-foreground": "#FFF7F2",
"secondary": "#241F1B",
"secondary-foreground": "#FBF7EF",
"muted": "#241F1B",
"muted-foreground": "#A89E92",
"accent": "#1B5BFF",
"accent-foreground": "#FFF7F2",
"destructive": "#FF5C5C",
"destructive-foreground": "#FFF7F2",
"border": "#2C2620",
"input": "#241F1B",
"ring": "#FF2D2D",
"chart-1": "#FF2D2D",
"chart-2": "#1B5BFF",
"chart-3": "#FFD200",
"chart-4": "#0FB36B",
"chart-5": "#A89E92"
}
}
}
# Fanfare shadcn/ui Components
Artifact: `component-recipes-v1`
Author: `katagami-ui-projection`
Language ID: `en-019efdb9-0b5b-77b3-8043-22e8b1706610`
Slug: `fanfare`
## Intent
Fanfare treats the interface like a herald's announcement, not a quiet tool. Every important beat is proclaimed on a bold colour cut-band that slices full-width across a bright paper stage, the way an anime title card flashes a named move across the screen. It keeps the spectacle energy of the original gacha-screen idea and trades its midnight-violet gloss and metallic jewel-frames for a luminous bone-white stage where flat graphic accents read like ink and a brass-bright herald cuts in from the side.
## 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": "#FBF7EF",
"surface": "#FFFFFF",
"surface_2": "#FFF1EC",
"text": "#14110F",
"muted": "#6E665C",
"border": "#EBE2D4",
"accent": "#FF2D2D",
"accent_2": "#1B5BFF",
"accent_3": "#FFD200",
"on_accent": "#FFF7F2",
"success": "#0FB36B",
"warning": "#FFB000",
"error": "#FF2D2D",
"info": "#1B5BFF"
}
Typography:
{
"base_size": "17px",
"body_font": "Zen Maru Gothic",
"heading_font": "Archivo",
"mono_font": "Space Mono",
"heading_weight": "800",
"heading_transform": "none",
"letter_spacing": "-0.02em",
"line_height": 1.6,
"google_fonts_url": "https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800;900&family=Zen+Maru+Gothic:wght@400;500;700&family=Space+Mono:wght@400;700&display=swap"
}
## Visual character to preserve
- Proclamation cut: a bold vermilion banner slices full-width across the stage to announce a section, a lemon spark struck at its leading point
- Strike chips: square-cut status chips with one mitred corner, coloured by state
- Spark meters: flat segmented bars that strike a lemon spark at the fill edge
- Herald cut-in: a flat cel-anime figure breaks past its band under a vermilion key-light rim
- Speed-streak rails: thin radiating cobalt streaks behind a focal beat, drawn as flat ink
## 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/fanfare/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: Announce every section with a full-width colour cut-band and a lemon spark at its strike point; Use vermilion, cobalt and lemon as highlighters to encode announce, charge and complete; Render status as square-cut strike chips and flat segmented spark meters; Let a flat cel-anime herald break out of its band under a vermilion key-light rim; Keep the ground a bright bone-white paper stage so flat accents read like poster ink
- Do not: Do not use midnight-violet glass, metallic double-frames or jewel corners; Do not drop onto a dark cinema-stage ground; the stage is bright paper; Do not box the nav into a pill bar or float chrome as a widget; Do not open the hero with an eyebrow tag, a button pair, or a three-stat row; Do not swap a regular serif for an italic serif in the headline; strike a colour cut-band on a word instead
## 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 FanfareShadcnKit() {
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">Fanfare</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 contained max-width stage (1180-1320px) with a full-bleed hero and full-bleed cut-band section headers. Desktop runs multi-column flat-panel grids beneath each cut-band; tablet drops to two columns; mobile stacks to a single proclaimed scroll.",
"whitespace": "Theatrical on a bright stage: speed-streak energy and spark room around the herald, tight spacing inside dense data panels, generous padding above every title.",
"density": "high",
"responsive": "From ~390px to 2560px+. Single column on mobile with a wrapping nav; the full-bleed hero re-anchors so the figure stays legible behind a vertical stage-darkening; cut-band headers wrap; headlines shrink with clamp() and wrap, never clipping the 390px edge.",
"breakpoints": {
"mobile": "0-619px",
"tablet": "620-1039px",
"desktop": "1040px+"
}
}
{
"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-019efdb9-0b5b-77b3-8043-22e8b1706610",
"name": "Fanfare",
"slug": "fanfare"
},
"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": [
"Proclamation cut: a bold vermilion banner slices full-width across the stage to announce a section, a lemon spark struck at its leading point",
"Strike chips: square-cut status chips with one mitred corner, coloured by state",
"Spark meters: flat segmented bars that strike a lemon spark at the fill edge",
"Herald cut-in: a flat cel-anime figure breaks past its band under a vermilion key-light rim",
"Speed-streak rails: thin radiating cobalt streaks behind a focal beat, drawn as flat ink"
],
"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": "Fanfare 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": [
"Announce every section with a full-width colour cut-band and a lemon spark at its strike point",
"Use vermilion, cobalt and lemon as highlighters to encode announce, charge and complete",
"Render status as square-cut strike chips and flat segmented spark meters",
"Let a flat cel-anime herald break out of its band under a vermilion key-light rim",
"Keep the ground a bright bone-white paper stage so flat accents read like poster ink"
],
"dont": [
"Do not use midnight-violet glass, metallic double-frames or jewel corners",
"Do not drop onto a dark cinema-stage ground; the stage is bright paper",
"Do not box the nav into a pill bar or float chrome as a widget",
"Do not open the hero with an eyebrow tag, a button pair, or a three-stat row",
"Do not swap a regular serif for an italic serif in the headline; strike a colour cut-band on a word instead"
]
}
}