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.
A measured baseline-and-scale grid: a thin tick-scale ruler organizes the top of each section; the hero altitude-arc anchors the top; charts and instrument cards fall into a calm asymmetric grid with generous gutters.
Titles padded above; values right-aligned to the scale in tabular mono; one neon accent leads, the rest are quieter chips.
balanced — generous whitespace, instrument cards breathe
Altitude arc on a tick-scale: a faint graduated arc with a neon fill; recurs as the gauge/progress/countdown primitive. Instrument cards carry a neon arc-glyph in the title row; nav is a tick-scale of words; the primary button is a 'set heading' pill with a degree-tick mark.
baseline-and-scale; tick-scale ruler per section; asymmetric module grid below the hero
generous; always pad above titles
balanced
ultra-wide caps and centres content, full-bleed hero spans 100vw; mobile stacks to single column, charts reflow with minmax(0,1fr), non-essential reading columns hidden, no horizontal overflow
meridian
High-key early-summer-dawn photography with a crisp neon vector instrument layer drawn edge to edge — altitude arcs, degree-tick scales, an angle-mark wedge, a datum baseline. The photographic light stays airy and atmospheric; the neon comes only from the precise annotation layer.
One full-bleed hero per landing; the altitude-arc overlay echoes the UI's signature arc.
# Meridian ## Philosophy A clear-air seasonal-chart language: every metric is read like an almanac reads the day, as a neon arc climbing a tick-scale. The altitude arc is the hero chart and the progress primitive at once — loading, capacity, countdown and live values all render as the same filling arc, recoloured by role. Built for civic almanacs and live festival operations boards. ### Values - clear-air white ground - neon used like a surveyor's pen - tabular-figure readouts - one arc primitive for every metric - measured baseline-and-scale grid ### Anti-Values - muted or greyed accents - borders and accent edges - pastel background washes - the generic SaaS hero - untabular numbers that break the scale ## Tokens ### Colors | Name | Value | |------|-------| | bg | `#FFFFFF` | | surface | `#FFFFFF` | | surface_sunk | `#F6F8FB` | | text | `#0A0D11` | | muted | `#4B5662` | | border | `#E0E6EE` | | accent | `#15D66B` | | on_accent | `#0A0D11` | | info | `#2E84FF` | | warning | `#FFB000` | | error | `#FF3B47` | | success | `#15D66B` | ### Typography - **Base Size**: 17px - **Body Font**: Inter - **Heading Font**: Space Grotesk - **Mono Font**: IBM Plex Mono - **Heading Weight**: 700 - **Heading Transform**: none - **Letter Spacing**: -0.02em - **Google Fonts Url**: https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap ### Radii - **Base**: 16px - **Card**: 16px - **Panel**: 24px - **Pill**: 9999px - **Flat**: 0px - **Scale**: [0,16,24,9999] ### Shadows - **Card**: 0 1px 0 rgba(10,13,17,.04), 0 18px 44px -34px rgba(10,13,17,.30) - **Panel**: 0 1px 0 rgba(10,13,17,.04), 0 26px 60px -42px rgba(10,13,17,.30) ### Spacing - **Base**: 4px - **Scale**: [6,12,20,32,52,84] ### Surfaces - **Page**: #FFFFFF - **Card**: #FFFFFF - **Sunk**: #F6F8FB - **Separation**: soft-shadow + space, never a border ### Borders - **Default**: none - **Structural**: 1.5px ink hairline under table header; 1.5px datum baseline under charts only ### Motion - **Reveal**: sections rise + fade on scroll - **Arc**: arcs read as filling toward their value - **Reduced Motion**: honoured; settled state is the default ## Rules ### Composition A measured baseline-and-scale grid: a thin tick-scale ruler organizes the top of each section; the hero altitude-arc anchors the top; charts and instrument cards fall into a calm asymmetric grid with generous gutters. ### Hierarchy Titles padded above; values right-aligned to the scale in tabular mono; one neon accent leads, the rest are quieter chips. ### Density balanced — generous whitespace, instrument cards breathe ### Signature Altitude arc on a tick-scale: a faint graduated arc with a neon fill; recurs as the gauge/progress/countdown primitive. Instrument cards carry a neon arc-glyph in the title row; nav is a tick-scale of words; the primary button is a 'set heading' pill with a degree-tick mark. ## Layout ### Grid baseline-and-scale; tick-scale ruler per section; asymmetric module grid below the hero ### Whitespace generous; always pad above titles ### Density balanced ### Responsive ultra-wide caps and centres content, full-bleed hero spans 100vw; mobile stacks to single column, charts reflow with minmax(0,1fr), non-essential reading columns hidden, no horizontal overflow ### Breakpoints - **Mobile**: 390px - **Stack**: 880px - **Table Collapse**: 680px - **Ultrawide**: 2200px ## Guidance ### Do - Read every metric through the arc and keep the progress primitive the same shape as the hero chart - Keep the ground clear white; let neon appear only in the instrument layer - Set every figure in tabular mono so columns and scales align - Reserve amber for peaks and alerts; green carries success and primary action ### Don't - Mute the neons to grey or wash the background with pastel - Add borders, accent edges, or decorative sidelines to cards - Stack two CTAs or fall back to the generic SaaS hero - Use emoji or symbol glyphs on buttons ### Accessibility High contrast: ink #0A0D11 on white; neon accents carry a tabular value or a text label, never colour alone; tap targets generous; prefers-reduced-motion honoured; settled state visible with no JavaScript. ## Imagery Direction ### Pairs With meridian ### Summary High-key early-summer-dawn photography with a crisp neon vector instrument layer drawn edge to edge — altitude arcs, degree-tick scales, an angle-mark wedge, a datum baseline. The photographic light stays airy and atmospheric; the neon comes only from the precise annotation layer. ### Subjects - a dawn river with koinobori carp streamers on a pole - an open early-summer sky over fresh greenery - festival grounds at first light ### Usage One full-bleed hero per landing; the altitude-arc overlay echoes the UI's signature arc.
---
version: "alpha"
name: "Meridian"
description: "Agent-curated design language exported from Katagami as DESIGN.md."
colors:
bg: "#FFFFFF"
surface: "#FFFFFF"
surface_sunk: "#F6F8FB"
text: "#0A0D11"
muted: "#4B5662"
border: "#E0E6EE"
accent: "#15D66B"
on_accent: "#0A0D11"
info: "#2E84FF"
warning: "#FFB000"
error: "#FF3B47"
success: "#15D66B"
typography:
headline-lg:
fontFamily: "Space Grotesk"
fontSize: "2.075rem"
fontWeight: 700
lineHeight: 1.1
letterSpacing: "-0.02em"
headline-md:
fontFamily: "Space Grotesk"
fontSize: "1.66rem"
fontWeight: 600
lineHeight: 1.15
letterSpacing: "-0.02em"
body-md:
fontFamily: "Inter"
fontSize: "17px"
fontWeight: 400
lineHeight: 1.5
letterSpacing: "-0.02em"
label-md:
fontFamily: "IBM Plex Mono"
fontSize: "0.75rem"
fontWeight: 600
lineHeight: 1
letterSpacing: "0.08em"
rounded:
base: "16px"
card: "16px"
panel: "24px"
pill: "9999px"
flat: "0px"
scale: "0px"
spacing:
base: "4px"
xs: "6px"
sm: "12px"
md: "20px"
lg: "32px"
xl: "52px"
2xl: "84px"
components:
color-reference-bg:
backgroundColor: "{colors.bg}"
color-reference-surface:
backgroundColor: "{colors.surface}"
color-reference-surface_sunk:
backgroundColor: "{colors.surface_sunk}"
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-info:
backgroundColor: "{colors.info}"
color-reference-warning:
backgroundColor: "{colors.warning}"
color-reference-error:
backgroundColor: "{colors.error}"
color-reference-success:
backgroundColor: "{colors.success}"
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"
---
# Meridian
## Overview
A clear-air seasonal-chart language: every metric is read like an almanac reads the day, as a neon arc climbing a tick-scale. The altitude arc is the hero chart and the progress primitive at once — loading, capacity, countdown and live values all render as the same filling arc, recoloured by role. Built for civic almanacs and live festival operations boards.
### Values
- clear-air white ground
- neon used like a surveyor's pen
- tabular-figure readouts
- one arc primitive for every metric
- measured baseline-and-scale grid
### Anti-Values
- muted or greyed accents
- borders and accent edges
- pastel background washes
- the generic SaaS hero
- untabular numbers that break the scale
## 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 | `#FFFFFF` |
| surface | `#FFFFFF` |
| surface_sunk | `#F6F8FB` |
| text | `#0A0D11` |
| muted | `#4B5662` |
| border | `#E0E6EE` |
| accent | `#15D66B` |
| on_accent | `#0A0D11` |
| info | `#2E84FF` |
| warning | `#FFB000` |
| error | `#FF3B47` |
| success | `#15D66B` |
## Typography
- **Headline-Lg**: Space Grotesk, 2.075rem, weight 700, line-height 1.1.
- **Headline-Md**: Space Grotesk, 1.66rem, 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**: `4px`
- **Xs**: `6px`
- **Sm**: `12px`
- **Md**: `20px`
- **Lg**: `32px`
- **Xl**: `52px`
- **2xl**: `84px`
### Grid
baseline-and-scale; tick-scale ruler per section; asymmetric module grid below the hero
### Whitespace
generous; always pad above titles
### Density
balanced
### Responsive
ultra-wide caps and centres content, full-bleed hero spans 100vw; mobile stacks to single column, charts reflow with minmax(0,1fr), non-essential reading columns hidden, no horizontal overflow
### Breakpoints
- **Mobile**: 390px
- **Stack**: 880px
- **Table Collapse**: 680px
- **Ultrawide**: 2200px
## Elevation & Depth
### Shadows
- **Card**: 0 1px 0 rgba(10,13,17,.04), 0 18px 44px -34px rgba(10,13,17,.30)
- **Panel**: 0 1px 0 rgba(10,13,17,.04), 0 26px 60px -42px rgba(10,13,17,.30)
## Shapes
### Rounded
- **Base**: `16px`
- **Card**: `16px`
- **Panel**: `24px`
- **Pill**: `9999px`
- **Flat**: `0px`
- **Scale**: `0px`
### Surfaces
- **Page**: #FFFFFF
- **Card**: #FFFFFF
- **Sunk**: #F6F8FB
- **Separation**: soft-shadow + space, never a border
### Borders
- **Default**: none
- **Structural**: 1.5px ink hairline under table header; 1.5px datum baseline under charts only
## Components
### Composition
A measured baseline-and-scale grid: a thin tick-scale ruler organizes the top of each section; the hero altitude-arc anchors the top; charts and instrument cards fall into a calm asymmetric grid with generous gutters.
### Hierarchy
Titles padded above; values right-aligned to the scale in tabular mono; one neon accent leads, the rest are quieter chips.
### Density
balanced — generous whitespace, instrument cards breathe
### Signature
Altitude arc on a tick-scale: a faint graduated arc with a neon fill; recurs as the gauge/progress/countdown primitive. Instrument cards carry a neon arc-glyph in the title row; nav is a tick-scale of words; the primary button is a 'set heading' pill with a degree-tick mark.
## 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-019efb77-0301-7d12-af3c-b85d7288cb34/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 Read every metric through the arc and keep the progress primitive the same shape as the hero chart
- Do Keep the ground clear white; let neon appear only in the instrument layer
- Do Set every figure in tabular mono so columns and scales align
- Do Reserve amber for peaks and alerts; green carries success and primary action
- Don't Mute the neons to grey or wash the background with pastel
- Don't Add borders, accent edges, or decorative sidelines to cards
- Don't Stack two CTAs or fall back to the generic SaaS hero
- Don't Use emoji or symbol glyphs on buttons
### Accessibility
High contrast: ink #0A0D11 on white; neon accents carry a tabular value or a text label, never colour alone; tap targets generous; prefers-reduced-motion honoured; settled state visible with no JavaScript.
## Imagery Direction
### Pairs With
meridian
### Summary
High-key early-summer-dawn photography with a crisp neon vector instrument layer drawn edge to edge — altitude arcs, degree-tick scales, an angle-mark wedge, a datum baseline. The photographic light stays airy and atmospheric; the neon comes only from the precise annotation layer.
### Subjects
- a dawn river with koinobori carp streamers on a pole
- an open early-summer sky over fresh greenery
- festival grounds at first light
### Usage
One full-bleed hero per landing; the altitude-arc overlay echoes the UI's signature arc.
```json
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "meridian",
"type": "registry:theme",
"title": "Meridian shadcn Theme",
"cssVars": {
"theme": {},
"light": {
"background": "#FFFFFF",
"foreground": "#0A0D11",
"card": "#FFFFFF",
"card-foreground": "#0A0D11",
"popover": "#FFFFFF",
"popover-foreground": "#0A0D11",
"primary": "#0A0D11",
"primary-foreground": "#ffffff",
"secondary": "#f4f4f5",
"secondary-foreground": "#111111",
"muted": "#4B5662",
"muted-foreground": "#0A0D11",
"accent": "#15D66B",
"accent-foreground": "#ffffff",
"destructive": "#FF3B47",
"border": "#E0E6EE",
"input": "#E0E6EE",
"ring": "#15D66B",
"chart-1": "#0A0D11",
"chart-2": "#f4f4f5",
"chart-3": "#15D66B",
"chart-4": "#15D66B",
"chart-5": "#FFB000",
"sidebar": "#FFFFFF",
"sidebar-foreground": "#0A0D11",
"sidebar-primary": "#0A0D11",
"sidebar-primary-foreground": "#ffffff",
"sidebar-accent": "#2E84FF",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#E0E6EE",
"sidebar-ring": "#15D66B",
"radius": "16px"
},
"dark": {
"background": "#0f1115",
"foreground": "#f8fafc",
"card": "#181b22",
"card-foreground": "#f8fafc",
"popover": "#181b22",
"popover-foreground": "#f8fafc",
"primary": "#0A0D11",
"primary-foreground": "#ffffff",
"secondary": "#252a33",
"secondary-foreground": "#f8fafc",
"muted": "#252a33",
"muted-foreground": "#a1a1aa",
"accent": "#15D66B",
"accent-foreground": "#ffffff",
"destructive": "#FF3B47",
"border": "#303642",
"input": "#303642",
"ring": "#15D66B",
"chart-1": "#0A0D11",
"chart-2": "#f4f4f5",
"chart-3": "#15D66B",
"chart-4": "#15D66B",
"chart-5": "#FFB000",
"sidebar": "#181b22",
"sidebar-foreground": "#f8fafc",
"sidebar-primary": "#0A0D11",
"sidebar-primary-foreground": "#ffffff",
"sidebar-accent": "#15D66B",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#303642",
"sidebar-ring": "#15D66B",
"radius": "16px"
}
},
"meta": {
"source": "katagami",
"languageId": "en-019efb77-0301-7d12-af3c-b85d7288cb34",
"slug": "meridian",
"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",
"info",
"muted",
"on_accent",
"success",
"surface",
"surface_sunk",
"text",
"warning"
],
"typography": [
"base_size",
"body_font",
"google_fonts_url",
"heading_font",
"heading_transform",
"heading_weight",
"letter_spacing",
"mono_font"
],
"radii": [
"base",
"card",
"flat",
"panel",
"pill",
"scale"
],
"shadows": [
"card",
"panel"
],
"spacing": [
"base",
"scale"
],
"surfaces": [
"card",
"page",
"separation",
"sunk"
],
"borders": [
"default",
"structural"
],
"motion": [
"arc",
"reduced_motion",
"reveal"
]
}
}
}
```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 Meridianand 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: #FFFFFF;
--foreground: #0A0D11;
--card: #FFFFFF;
--card-foreground: #0A0D11;
--popover: #FFFFFF;
--popover-foreground: #0A0D11;
--primary: #0A0D11;
--primary-foreground: #ffffff;
--secondary: #f4f4f5;
--secondary-foreground: #111111;
--muted: #4B5662;
--muted-foreground: #0A0D11;
--accent: #15D66B;
--accent-foreground: #ffffff;
--destructive: #FF3B47;
--border: #E0E6EE;
--input: #E0E6EE;
--ring: #15D66B;
--chart-1: #0A0D11;
--chart-2: #f4f4f5;
--chart-3: #15D66B;
--chart-4: #15D66B;
--chart-5: #FFB000;
--sidebar: #FFFFFF;
--sidebar-foreground: #0A0D11;
--sidebar-primary: #0A0D11;
--sidebar-primary-foreground: #ffffff;
--sidebar-accent: #2E84FF;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #E0E6EE;
--sidebar-ring: #15D66B;
--radius: 16px;
}
.dark {
--background: #0f1115;
--foreground: #f8fafc;
--card: #181b22;
--card-foreground: #f8fafc;
--popover: #181b22;
--popover-foreground: #f8fafc;
--primary: #0A0D11;
--primary-foreground: #ffffff;
--secondary: #252a33;
--secondary-foreground: #f8fafc;
--muted: #252a33;
--muted-foreground: #a1a1aa;
--accent: #15D66B;
--accent-foreground: #ffffff;
--destructive: #FF3B47;
--border: #303642;
--input: #303642;
--ring: #15D66B;
--chart-1: #0A0D11;
--chart-2: #f4f4f5;
--chart-3: #15D66B;
--chart-4: #15D66B;
--chart-5: #FFB000;
--sidebar: #181b22;
--sidebar-foreground: #f8fafc;
--sidebar-primary: #0A0D11;
--sidebar-primary-foreground: #ffffff;
--sidebar-accent: #15D66B;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #303642;
--sidebar-ring: #15D66B;
--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 MeridianShadcnKit() {
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">Meridian</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": "meridian",
"type": "registry:theme",
"author": "katagami-agent",
"cssVars": {
"theme": {
"font-sans": "Inter, ui-sans-serif, system-ui, sans-serif",
"font-mono": "IBM Plex Mono, ui-monospace, monospace",
"font-display": "Space Grotesk, Inter, sans-serif",
"radius": "16px"
},
"light": {
"background": "#FFFFFF",
"foreground": "#0A0D11",
"card": "#FFFFFF",
"card-foreground": "#0A0D11",
"popover": "#FFFFFF",
"popover-foreground": "#0A0D11",
"primary": "#15D66B",
"primary-foreground": "#0A0D11",
"secondary": "#F6F8FB",
"secondary-foreground": "#0A0D11",
"muted": "#F6F8FB",
"muted-foreground": "#4B5662",
"accent": "#E6FBF0",
"accent-foreground": "#0FA552",
"destructive": "#FF3B47",
"destructive-foreground": "#FFFFFF",
"border": "#E0E6EE",
"input": "#F6F8FB",
"ring": "#15D66B",
"chart-1": "#15D66B",
"chart-2": "#2E84FF",
"chart-3": "#FFB000",
"chart-4": "#0FA552",
"chart-5": "#175FCC",
"radius": "16px"
},
"dark": {
"background": "#0A0D11",
"foreground": "#F6F8FB",
"card": "#11161C",
"card-foreground": "#F6F8FB",
"popover": "#11161C",
"popover-foreground": "#F6F8FB",
"primary": "#15D66B",
"primary-foreground": "#0A0D11",
"secondary": "#1A222B",
"secondary-foreground": "#F6F8FB",
"muted": "#1A222B",
"muted-foreground": "#9BA7B4",
"accent": "#15D66B",
"accent-foreground": "#0A0D11",
"destructive": "#FF3B47",
"destructive-foreground": "#FFFFFF",
"border": "#1F2A34",
"input": "#1A222B",
"ring": "#15D66B",
"chart-1": "#15D66B",
"chart-2": "#2E84FF",
"chart-3": "#FFB000",
"chart-4": "#9BEFC4",
"chart-5": "#A9CBFF",
"radius": "16px"
}
},
"visualProfile": {
"surface": "flat-white-no-border",
"elevation": "soft-shadow",
"borderTreatment": "none",
"radius": 16,
"accentUsage": "neon-highlighter-arcs-ticks-values",
"signature": "altitude-arc-on-tick-scale",
"figures": "tabular-mono",
"divider": "hairline-under-header-only"
}
}
# Meridian shadcn/ui Components
Artifact: `component-recipes-v1`
Author: `katagami-ui-projection`
Language ID: `en-019efb77-0301-7d12-af3c-b85d7288cb34`
Slug: `meridian`
## Intent
A clear-air seasonal-chart language: every metric is read like an almanac reads the day, as a neon arc climbing a tick-scale. The altitude arc is the hero chart and the progress primitive at once — loading, capacity, countdown and live values all render as the same filling arc, recoloured by role. Built for civic almanacs and live festival operations boards.
## 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": "#FFFFFF",
"surface": "#FFFFFF",
"surface_sunk": "#F6F8FB",
"text": "#0A0D11",
"muted": "#4B5662",
"border": "#E0E6EE",
"accent": "#15D66B",
"on_accent": "#0A0D11",
"info": "#2E84FF",
"warning": "#FFB000",
"error": "#FF3B47",
"success": "#15D66B"
}
Typography:
{
"base_size": "17px",
"body_font": "Inter",
"heading_font": "Space Grotesk",
"mono_font": "IBM Plex Mono",
"heading_weight": "700",
"heading_transform": "none",
"letter_spacing": "-0.02em",
"google_fonts_url": "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@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": "system",
"material": "flat",
"contour": "default",
"border": "solid",
"underlay": false,
"grain": false,
"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/meridian/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: Read every metric through the arc and keep the progress primitive the same shape as the hero chart; Keep the ground clear white; let neon appear only in the instrument layer; Set every figure in tabular mono so columns and scales align; Reserve amber for peaks and alerts; green carries success and primary action
- Do not: Mute the neons to grey or wash the background with pastel; Add borders, accent edges, or decorative sidelines to cards; Stack two CTAs or fall back to the generic SaaS hero; Use emoji or symbol glyphs on buttons
## 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 MeridianShadcnKit() {
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">Meridian</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": "baseline-and-scale; tick-scale ruler per section; asymmetric module grid below the hero",
"whitespace": "generous; always pad above titles",
"density": "balanced",
"responsive": "ultra-wide caps and centres content, full-bleed hero spans 100vw; mobile stacks to single column, charts reflow with minmax(0,1fr), non-essential reading columns hidden, no horizontal overflow",
"breakpoints": {
"mobile": "390px",
"stack": "880px",
"table_collapse": "680px",
"ultrawide": "2200px"
}
}
{
"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-019efb77-0301-7d12-af3c-b85d7288cb34",
"name": "Meridian",
"slug": "meridian"
},
"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": "Meridian 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": [
"Read every metric through the arc and keep the progress primitive the same shape as the hero chart",
"Keep the ground clear white; let neon appear only in the instrument layer",
"Set every figure in tabular mono so columns and scales align",
"Reserve amber for peaks and alerts; green carries success and primary action"
],
"dont": [
"Mute the neons to grey or wash the background with pastel",
"Add borders, accent edges, or decorative sidelines to cards",
"Stack two CTAs or fall back to the generic SaaS hero",
"Use emoji or symbol glyphs on buttons"
]
}
}