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.
Build pages as editorial spreads with one dominant narrative column, one or two narrow factual rails split by a vertical hairline, and instrumented dossier modules anchored to a visible baseline of horizontal rules.
Lead with a literary serif headline, descend into grotesk summaries, mono metrics, and caption-scale annotations so information feels authored and sequenced rather than dumped.
High density controlled by compartmentalisation: every dense data cluster is paired with whitespace, mono labels, and the dossier metadata strip that preserves reading order.
Every focal panel is a dossier module — an inset top rule plus a bottom metadata strip — over a faint instrument-grid-and-scanline scaffold; controls reveal through brightening hairlines and a measured teal glow, never soft fills.
A 12-column desktop grid with asymmetric spans, a two-column tablet reduction, and a single-column mobile stack while preserving factual rails and baseline rules wherever possible.
Deliberate and editorial: generous outer margins, compact internal panel padding, and larger inter-section gaps that mimic spread pacing between chapters.
dense
Renders from ~390px mobile to 2560px+ ultra-wide; mobile stacks to one column and drops the least-essential table column; the full-bleed hero spans 100vw, contained content caps and centres.
scanline-bureau
Subjects rendered as instrumented telemetry captures: a faint hairline instrument grid with crosshair ticks, subtle scanlines, a restrained radial glow, cyan and periwinkle rim light, and one warm halation at an edge. The landing hero is a radio-telescope dish read in that technique.
Full-viewport landing hero driven by background-image: var(--hero-image); imagery dresses a subject full-frame with the instrumentation as an overlay, never a literal gauge or dashboard object.
# Datum ## Philosophy Datum mounts live telemetry into editorial pacing: a literary serif lede, a factual mono rail, and instrumented dossier modules all set on one horizontal baseline, so an operator reads a control room like a feature spread rather than scanning a wall of identical cards. Deep graphite ground, periwinkle and pale-blue inks, one teal halation accent. ### Values - editorial hierarchy before decorative futurism - dense information made legible through pacing, annotation, and one shared baseline - dark control-room atmosphere with accessibility-aware contrast - worldbuilding through measured typographic restraint, not neon ### Anti-Values - arcade neon overload without information structure - generic dashboard cards with a sci-fi palette pasted on top - skeuomorphic cockpit clutter that defeats reading flow ### Visual Character - A deep graphite page field is segmented by hairline baseline rules and inset panel strokes, so every zone reads as typeset on a measured publication baseline rather than floating as an isolated card. - Oversized high-contrast serif headlines sit against compact grotesk and tabular-mono columns, a prestige-editorial tension between narrative copy and operational telemetry. - Every focal panel is a dossier module: an inset top rule (teal fading to transparent) and a bottom metadata strip carrying a timestamp, a label index, and a status dot. - Numeric readouts, timestamps, and section indexes are rendered in mono with wide tracking and tabular rhythm, a repeated machine-led texture across the composition. - Charts and the acquisition field sit over a faint gridline-and-scanline scaffold with crosshair registration ticks, so data appears instrumented without cartoon sci-fi chrome. - Interactive controls reveal through border brightening, baseline underlines, and a measured teal glow instead of soft consumer fills. ## Tokens ### Colors | Name | Value | |------|-------| | primary | `#8FB0FF` | | secondary | `#C7D8FF` | | accent | `#57E6CC` | | background | `#070B11` | | surface | `#0F1622` | | text | `#F2F5FA` | | muted | `#8E9AAD` | | border | `#243043` | | error | `#FF7A86` | | success | `#6FE0A6` | | warning | `#F2C879` | | info | `#79C3FF` | ### Typography - **Heading Font**: Cormorant Garamond - **Body Font**: Space Grotesk - **Mono Font**: IBM Plex Mono - **Base Size**: 17px - **Scale Ratio**: 1.25 - **Line Height**: 1.55 - **Letter Spacing**: 0.005em - **Heading Weight**: 600 - **Heading Transform**: none - **Google Fonts Url**: https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&family=IBM+Plex+Mono:wght@400;500;600&family=Space+Grotesk:wght@400;500;700&display=swap ### Spacing - **Base**: 8px - **Scale**: [4,8,12,16,24,32,48,64] ### Radii - **None**: 0 - **Sm**: 0 - **Md**: 0 - **Lg**: 0 - **Full**: 9999px ### Shadows - **Sm**: 0 0 0 1px rgba(143,176,255,.06), 0 8px 20px rgba(0,0,0,.40) - **Md**: 0 0 0 1px rgba(143,176,255,.07), 0 14px 36px rgba(0,0,0,.45) - **Lg**: 0 0 0 1px rgba(143,176,255,.10), 0 24px 60px rgba(0,0,0,.55) ### Surfaces - **Treatment**: scanline - **Card Style**: Graphite dossier modules with a faint top gradient, an inset top rule (teal fading to transparent), and a bottom metadata strip on the recess surface; glow and scanlines clipped inside severe rectangular frames. - **Bg Pattern**: instrument-grid ### Borders - **Default Width**: 1px - **Accent Width**: 1px - **Style**: solid - **Character**: Hairline and editorial: faint separators for pacing, an inset top rule and bottom metadata strip that plate each pane into a larger instrument wall; never a heavy or single-accent edge. ### Motion - **Duration**: 220ms - **Easing**: cubic-bezier(0.22, 1, 0.36, 1) - **Philosophy**: deliberate; the settled state is the no-JS default, reveals layered on top, fully disabled under prefers-reduced-motion ## Rules ### Composition Build pages as editorial spreads with one dominant narrative column, one or two narrow factual rails split by a vertical hairline, and instrumented dossier modules anchored to a visible baseline of horizontal rules. ### Hierarchy Lead with a literary serif headline, descend into grotesk summaries, mono metrics, and caption-scale annotations so information feels authored and sequenced rather than dumped. ### Density High density controlled by compartmentalisation: every dense data cluster is paired with whitespace, mono labels, and the dossier metadata strip that preserves reading order. ### Signature Every focal panel is a dossier module — an inset top rule plus a bottom metadata strip — over a faint instrument-grid-and-scanline scaffold; controls reveal through brightening hairlines and a measured teal glow, never soft fills. ## Layout ### Grid A 12-column desktop grid with asymmetric spans, a two-column tablet reduction, and a single-column mobile stack while preserving factual rails and baseline rules wherever possible. ### Whitespace Deliberate and editorial: generous outer margins, compact internal panel padding, and larger inter-section gaps that mimic spread pacing between chapters. ### Density dense ### Responsive Renders from ~390px mobile to 2560px+ ultra-wide; mobile stacks to one column and drops the least-essential table column; the full-bleed hero spans 100vw, contained content caps and centres. ### Breakpoints - **Mobile**: 390px - **Tablet**: 768px - **Desktop**: 1440px - **Ultrawide**: 1700px ## Guidance ### Do - Pair narrative copy with telemetry so data never loses context. - Use serif display moments sparingly but boldly against the grotesk and mono systems. - Keep glow, gradients, and scanlines clipped inside rigid frames and the baseline rule system. - Set numerals, timestamps, and labels in tabular mono. ### Don't - Flood the page with neon accents on every component. - Collapse all information into identical dashboard cards. - Use rounded consumer-app controls or soft fills that break the instrumented editorial tone. - Default to a light ground — this concept is dark by design. ### Accessibility Text holds AA contrast on the graphite ground; mono labels use a lighter tone at wider tracking. Body is 17px+, table rows 14.5px+. Focus is a visible teal ring, not a colour-only cue; status is carried by a label plus a dot. Motion respects prefers-reduced-motion. ## Imagery Direction ### Pairs With scanline-bureau ### Summary Subjects rendered as instrumented telemetry captures: a faint hairline instrument grid with crosshair ticks, subtle scanlines, a restrained radial glow, cyan and periwinkle rim light, and one warm halation at an edge. The landing hero is a radio-telescope dish read in that technique. ### Subjects - radio telescope dish - deep-space antenna array - observatory at night - spacecraft against star field - control-room instrument wall ### Usage Full-viewport landing hero driven by background-image: var(--hero-image); imagery dresses a subject full-frame with the instrumentation as an overlay, never a literal gauge or dashboard object.
---
version: "alpha"
name: "Datum"
description: "Agent-curated design language exported from Katagami as DESIGN.md."
colors:
primary: "#8FB0FF"
secondary: "#C7D8FF"
accent: "#57E6CC"
background: "#070B11"
surface: "#0F1622"
text: "#F2F5FA"
muted: "#8E9AAD"
border: "#243043"
error: "#FF7A86"
success: "#6FE0A6"
warning: "#F2C879"
info: "#79C3FF"
typography:
headline-lg:
fontFamily: "Cormorant Garamond"
fontSize: "2.075rem"
fontWeight: 700
lineHeight: 1.1
letterSpacing: "0.005em"
headline-md:
fontFamily: "Cormorant Garamond"
fontSize: "1.66rem"
fontWeight: 600
lineHeight: 1.15
letterSpacing: "0.005em"
body-md:
fontFamily: "Space Grotesk"
fontSize: "17px"
fontWeight: 400
lineHeight: 1.55
letterSpacing: "0.005em"
label-md:
fontFamily: "IBM Plex Mono"
fontSize: "0.75rem"
fontWeight: 600
lineHeight: 1
letterSpacing: "0.08em"
rounded:
none: "0px"
sm: "0px"
md: "0px"
lg: "0px"
full: "9999px"
spacing:
base: "8px"
xs: "4px"
sm: "8px"
md: "12px"
lg: "16px"
xl: "24px"
2xl: "32px"
3xl: "48px"
4xl: "64px"
components:
color-reference-primary:
backgroundColor: "{colors.primary}"
color-reference-secondary:
backgroundColor: "{colors.secondary}"
color-reference-accent:
backgroundColor: "{colors.accent}"
color-reference-background:
backgroundColor: "{colors.background}"
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-error:
backgroundColor: "{colors.error}"
color-reference-success:
backgroundColor: "{colors.success}"
color-reference-warning:
backgroundColor: "{colors.warning}"
color-reference-info:
backgroundColor: "{colors.info}"
button-primary:
backgroundColor: "{colors.primary}"
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"
---
# Datum
## Overview
Datum mounts live telemetry into editorial pacing: a literary serif lede, a factual mono rail, and instrumented dossier modules all set on one horizontal baseline, so an operator reads a control room like a feature spread rather than scanning a wall of identical cards. Deep graphite ground, periwinkle and pale-blue inks, one teal halation accent.
### Values
- editorial hierarchy before decorative futurism
- dense information made legible through pacing, annotation, and one shared baseline
- dark control-room atmosphere with accessibility-aware contrast
- worldbuilding through measured typographic restraint, not neon
### Anti-Values
- arcade neon overload without information structure
- generic dashboard cards with a sci-fi palette pasted on top
- skeuomorphic cockpit clutter that defeats reading flow
### Visual Character
- A deep graphite page field is segmented by hairline baseline rules and inset panel strokes, so every zone reads as typeset on a measured publication baseline rather than floating as an isolated card.
- Oversized high-contrast serif headlines sit against compact grotesk and tabular-mono columns, a prestige-editorial tension between narrative copy and operational telemetry.
- Every focal panel is a dossier module: an inset top rule (teal fading to transparent) and a bottom metadata strip carrying a timestamp, a label index, and a status dot.
- Numeric readouts, timestamps, and section indexes are rendered in mono with wide tracking and tabular rhythm, a repeated machine-led texture across the composition.
- Charts and the acquisition field sit over a faint gridline-and-scanline scaffold with crosshair registration ticks, so data appears instrumented without cartoon sci-fi chrome.
- Interactive controls reveal through border brightening, baseline underlines, and a measured teal glow instead of soft consumer fills.
## Colors
Use the YAML color tokens as the normative palette. The prose below names the roles agents should preserve when generating UI.
| Token | Value |
|-------|-------|
| primary | `#8FB0FF` |
| secondary | `#C7D8FF` |
| accent | `#57E6CC` |
| background | `#070B11` |
| surface | `#0F1622` |
| text | `#F2F5FA` |
| muted | `#8E9AAD` |
| border | `#243043` |
| error | `#FF7A86` |
| success | `#6FE0A6` |
| warning | `#F2C879` |
| info | `#79C3FF` |
## Typography
- **Headline-Lg**: Cormorant Garamond, 2.075rem, weight 700, line-height 1.1.
- **Headline-Md**: Cormorant Garamond, 1.66rem, weight 600, line-height 1.15.
- **Body-Md**: Space Grotesk, 17px, weight 400, line-height 1.55.
- **Label-Md**: IBM Plex Mono, 0.75rem, weight 600, line-height 1.
## Layout
### Spacing Tokens
- **Base**: `8px`
- **Xs**: `4px`
- **Sm**: `8px`
- **Md**: `12px`
- **Lg**: `16px`
- **Xl**: `24px`
- **2xl**: `32px`
- **3xl**: `48px`
- **4xl**: `64px`
### Grid
A 12-column desktop grid with asymmetric spans, a two-column tablet reduction, and a single-column mobile stack while preserving factual rails and baseline rules wherever possible.
### Whitespace
Deliberate and editorial: generous outer margins, compact internal panel padding, and larger inter-section gaps that mimic spread pacing between chapters.
### Density
dense
### Responsive
Renders from ~390px mobile to 2560px+ ultra-wide; mobile stacks to one column and drops the least-essential table column; the full-bleed hero spans 100vw, contained content caps and centres.
### Breakpoints
- **Mobile**: 390px
- **Tablet**: 768px
- **Desktop**: 1440px
- **Ultrawide**: 1700px
## Elevation & Depth
### Shadows
- **Sm**: 0 0 0 1px rgba(143,176,255,.06), 0 8px 20px rgba(0,0,0,.40)
- **Md**: 0 0 0 1px rgba(143,176,255,.07), 0 14px 36px rgba(0,0,0,.45)
- **Lg**: 0 0 0 1px rgba(143,176,255,.10), 0 24px 60px rgba(0,0,0,.55)
## Shapes
### Rounded
- **None**: `0px`
- **Sm**: `0px`
- **Md**: `0px`
- **Lg**: `0px`
- **Full**: `9999px`
### Surfaces
- **Treatment**: scanline
- **Card Style**: Graphite dossier modules with a faint top gradient, an inset top rule (teal fading to transparent), and a bottom metadata strip on the recess surface; glow and scanlines clipped inside severe rectangular frames.
- **Bg Pattern**: instrument-grid
### Borders
- **Default Width**: 1px
- **Accent Width**: 1px
- **Style**: solid
- **Character**: Hairline and editorial: faint separators for pacing, an inset top rule and bottom metadata strip that plate each pane into a larger instrument wall; never a heavy or single-accent edge.
## Components
### Composition
Build pages as editorial spreads with one dominant narrative column, one or two narrow factual rails split by a vertical hairline, and instrumented dossier modules anchored to a visible baseline of horizontal rules.
### Hierarchy
Lead with a literary serif headline, descend into grotesk summaries, mono metrics, and caption-scale annotations so information feels authored and sequenced rather than dumped.
### Density
High density controlled by compartmentalisation: every dense data cluster is paired with whitespace, mono labels, and the dossier metadata strip that preserves reading order.
### Signature
Every focal panel is a dossier module — an inset top rule plus a bottom metadata strip — over a faint instrument-grid-and-scanline scaffold; controls reveal through brightening hairlines and a measured teal glow, never soft fills.
## 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-019ef884-6c99-7963-9b5c-46788111bdca/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 Pair narrative copy with telemetry so data never loses context.
- Do Use serif display moments sparingly but boldly against the grotesk and mono systems.
- Do Keep glow, gradients, and scanlines clipped inside rigid frames and the baseline rule system.
- Do Set numerals, timestamps, and labels in tabular mono.
- Don't Flood the page with neon accents on every component.
- Don't Collapse all information into identical dashboard cards.
- Don't Use rounded consumer-app controls or soft fills that break the instrumented editorial tone.
- Don't Default to a light ground — this concept is dark by design.
### Accessibility
Text holds AA contrast on the graphite ground; mono labels use a lighter tone at wider tracking. Body is 17px+, table rows 14.5px+. Focus is a visible teal ring, not a colour-only cue; status is carried by a label plus a dot. Motion respects prefers-reduced-motion.
## Imagery Direction
### Pairs With
scanline-bureau
### Summary
Subjects rendered as instrumented telemetry captures: a faint hairline instrument grid with crosshair ticks, subtle scanlines, a restrained radial glow, cyan and periwinkle rim light, and one warm halation at an edge. The landing hero is a radio-telescope dish read in that technique.
### Subjects
- radio telescope dish
- deep-space antenna array
- observatory at night
- spacecraft against star field
- control-room instrument wall
### Usage
Full-viewport landing hero driven by background-image: var(--hero-image); imagery dresses a subject full-frame with the instrumentation as an overlay, never a literal gauge or dashboard object.
```json
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "datum",
"type": "registry:theme",
"title": "Datum shadcn Theme",
"cssVars": {
"theme": {},
"light": {
"background": "#070B11",
"foreground": "#F2F5FA",
"card": "#0F1622",
"card-foreground": "#F2F5FA",
"popover": "#0F1622",
"popover-foreground": "#F2F5FA",
"primary": "#8FB0FF",
"primary-foreground": "#ffffff",
"secondary": "#C7D8FF",
"secondary-foreground": "#111111",
"muted": "#8E9AAD",
"muted-foreground": "#F2F5FA",
"accent": "#57E6CC",
"accent-foreground": "#111111",
"destructive": "#FF7A86",
"border": "#243043",
"input": "#243043",
"ring": "#57E6CC",
"chart-1": "#8FB0FF",
"chart-2": "#C7D8FF",
"chart-3": "#57E6CC",
"chart-4": "#6FE0A6",
"chart-5": "#F2C879",
"sidebar": "#0F1622",
"sidebar-foreground": "#F2F5FA",
"sidebar-primary": "#8FB0FF",
"sidebar-primary-foreground": "#ffffff",
"sidebar-accent": "#79C3FF",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#243043",
"sidebar-ring": "#57E6CC",
"radius": "0"
},
"dark": {
"background": "#0f1115",
"foreground": "#f8fafc",
"card": "#181b22",
"card-foreground": "#f8fafc",
"popover": "#181b22",
"popover-foreground": "#f8fafc",
"primary": "#8FB0FF",
"primary-foreground": "#ffffff",
"secondary": "#252a33",
"secondary-foreground": "#f8fafc",
"muted": "#252a33",
"muted-foreground": "#a1a1aa",
"accent": "#57E6CC",
"accent-foreground": "#111111",
"destructive": "#FF7A86",
"border": "#303642",
"input": "#303642",
"ring": "#57E6CC",
"chart-1": "#8FB0FF",
"chart-2": "#C7D8FF",
"chart-3": "#57E6CC",
"chart-4": "#6FE0A6",
"chart-5": "#F2C879",
"sidebar": "#181b22",
"sidebar-foreground": "#f8fafc",
"sidebar-primary": "#8FB0FF",
"sidebar-primary-foreground": "#ffffff",
"sidebar-accent": "#57E6CC",
"sidebar-accent-foreground": "#111111",
"sidebar-border": "#303642",
"sidebar-ring": "#57E6CC",
"radius": "0"
}
},
"meta": {
"source": "katagami",
"languageId": "en-019ef884-6c99-7963-9b5c-46788111bdca",
"slug": "datum",
"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",
"background",
"border",
"error",
"info",
"muted",
"primary",
"secondary",
"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"
],
"spacing": [
"base",
"scale"
],
"radii": [
"full",
"lg",
"md",
"none",
"sm"
],
"shadows": [
"lg",
"md",
"sm"
],
"surfaces": [
"bg_pattern",
"card_style",
"treatment"
],
"borders": [
"accent_width",
"character",
"default_width",
"style"
],
"motion": [
"duration",
"easing",
"philosophy"
]
}
}
}
```The quick brown fox jumps
The quick brown fox jumps
The quick brown fox jumps
The quick brown fox jumps
Agent-generated
Keep Datumand 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: #070B11;
--foreground: #F2F5FA;
--card: #0F1622;
--card-foreground: #F2F5FA;
--popover: #0F1622;
--popover-foreground: #F2F5FA;
--primary: #8FB0FF;
--primary-foreground: #ffffff;
--secondary: #C7D8FF;
--secondary-foreground: #111111;
--muted: #8E9AAD;
--muted-foreground: #F2F5FA;
--accent: #57E6CC;
--accent-foreground: #111111;
--destructive: #FF7A86;
--border: #243043;
--input: #243043;
--ring: #57E6CC;
--chart-1: #8FB0FF;
--chart-2: #C7D8FF;
--chart-3: #57E6CC;
--chart-4: #6FE0A6;
--chart-5: #F2C879;
--sidebar: #0F1622;
--sidebar-foreground: #F2F5FA;
--sidebar-primary: #8FB0FF;
--sidebar-primary-foreground: #ffffff;
--sidebar-accent: #79C3FF;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #243043;
--sidebar-ring: #57E6CC;
--radius: 0;
}
.dark {
--background: #0f1115;
--foreground: #f8fafc;
--card: #181b22;
--card-foreground: #f8fafc;
--popover: #181b22;
--popover-foreground: #f8fafc;
--primary: #8FB0FF;
--primary-foreground: #ffffff;
--secondary: #252a33;
--secondary-foreground: #f8fafc;
--muted: #252a33;
--muted-foreground: #a1a1aa;
--accent: #57E6CC;
--accent-foreground: #111111;
--destructive: #FF7A86;
--border: #303642;
--input: #303642;
--ring: #57E6CC;
--chart-1: #8FB0FF;
--chart-2: #C7D8FF;
--chart-3: #57E6CC;
--chart-4: #6FE0A6;
--chart-5: #F2C879;
--sidebar: #181b22;
--sidebar-foreground: #f8fafc;
--sidebar-primary: #8FB0FF;
--sidebar-primary-foreground: #ffffff;
--sidebar-accent: #57E6CC;
--sidebar-accent-foreground: #111111;
--sidebar-border: #303642;
--sidebar-ring: #57E6CC;
--radius: 0;
}
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 DatumShadcnKit() {
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">Datum</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": "datum",
"type": "registry:theme",
"title": "Datum",
"description": "A cool-graphite control-room theme: deep ink-blue grounds, periwinkle and pale-blue signature inks, and a single teal halation accent. Sharp dossier corners (radius 0), hairline borders, mono labels.",
"cssVars": {
"theme": {
"font-sans": "Space Grotesk, ui-sans-serif, system-ui, sans-serif",
"font-serif": "Cormorant Garamond, Georgia, serif",
"font-mono": "IBM Plex Mono, ui-monospace, SFMono-Regular, monospace",
"radius": "0rem"
},
"light": {
"background": "#070B11",
"foreground": "#F2F5FA",
"card": "#0F1622",
"card-foreground": "#F2F5FA",
"popover": "#0F1622",
"popover-foreground": "#F2F5FA",
"primary": "#57E6CC",
"primary-foreground": "#04110D",
"secondary": "#16202E",
"secondary-foreground": "#C7D8FF",
"muted": "#0B121C",
"muted-foreground": "#8E9AAD",
"accent": "#8FB0FF",
"accent-foreground": "#070B11",
"destructive": "#FF7A86",
"destructive-foreground": "#070B11",
"border": "#243043",
"input": "#243043",
"ring": "#57E6CC",
"chart-1": "#57E6CC",
"chart-2": "#8FB0FF",
"chart-3": "#C7D8FF",
"chart-4": "#79C3FF",
"chart-5": "#6FE0A6",
"sidebar": "#0B121C",
"sidebar-foreground": "#C7D8FF",
"sidebar-primary": "#57E6CC",
"sidebar-primary-foreground": "#04110D",
"sidebar-accent": "#16202E",
"sidebar-accent-foreground": "#F2F5FA",
"sidebar-border": "#1B2433",
"sidebar-ring": "#57E6CC"
},
"dark": {
"background": "#070B11",
"foreground": "#F2F5FA",
"card": "#0F1622",
"card-foreground": "#F2F5FA",
"popover": "#0F1622",
"popover-foreground": "#F2F5FA",
"primary": "#57E6CC",
"primary-foreground": "#04110D",
"secondary": "#16202E",
"secondary-foreground": "#C7D8FF",
"muted": "#0B121C",
"muted-foreground": "#8E9AAD",
"accent": "#8FB0FF",
"accent-foreground": "#070B11",
"destructive": "#FF7A86",
"destructive-foreground": "#070B11",
"border": "#243043",
"input": "#243043",
"ring": "#57E6CC",
"chart-1": "#57E6CC",
"chart-2": "#8FB0FF",
"chart-3": "#C7D8FF",
"chart-4": "#79C3FF",
"chart-5": "#6FE0A6",
"sidebar": "#0B121C",
"sidebar-foreground": "#C7D8FF",
"sidebar-primary": "#57E6CC",
"sidebar-primary-foreground": "#04110D",
"sidebar-accent": "#16202E",
"sidebar-accent-foreground": "#F2F5FA",
"sidebar-border": "#1B2433",
"sidebar-ring": "#57E6CC"
}
}
}
# Datum shadcn/ui Components
Artifact: `component-recipes-v1`
Author: `katagami-ui-projection`
Language ID: `en-019ef884-6c99-7963-9b5c-46788111bdca`
Slug: `datum`
## Intent
Datum mounts live telemetry into editorial pacing: a literary serif lede, a factual mono rail, and instrumented dossier modules all set on one horizontal baseline, so an operator reads a control room like a feature spread rather than scanning a wall of identical cards. Deep graphite ground, periwinkle and pale-blue inks, one teal halation accent.
## 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:
{
"primary": "#8FB0FF",
"secondary": "#C7D8FF",
"accent": "#57E6CC",
"background": "#070B11",
"surface": "#0F1622",
"text": "#F2F5FA",
"muted": "#8E9AAD",
"border": "#243043",
"error": "#FF7A86",
"success": "#6FE0A6",
"warning": "#F2C879",
"info": "#79C3FF"
}
Typography:
{
"heading_font": "Cormorant Garamond",
"body_font": "Space Grotesk",
"mono_font": "IBM Plex Mono",
"base_size": "17px",
"scale_ratio": 1.25,
"line_height": 1.55,
"letter_spacing": "0.005em",
"heading_weight": 600,
"heading_transform": "none",
"google_fonts_url": "https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&family=IBM+Plex+Mono:wght@400;500;600&family=Space+Grotesk:wght@400;500;700&display=swap"
}
## Visual character to preserve
- A deep graphite page field is segmented by hairline baseline rules and inset panel strokes, so every zone reads as typeset on a measured publication baseline rather than floating as an isolated card.
- Oversized high-contrast serif headlines sit against compact grotesk and tabular-mono columns, a prestige-editorial tension between narrative copy and operational telemetry.
- Every focal panel is a dossier module: an inset top rule (teal fading to transparent) and a bottom metadata strip carrying a timestamp, a label index, and a status dot.
- Numeric readouts, timestamps, and section indexes are rendered in mono with wide tracking and tabular rhythm, a repeated machine-led texture across the composition.
- Charts and the acquisition field sit over a faint gridline-and-scanline scaffold with crosshair registration ticks, so data appears instrumented without cartoon sci-fi chrome.
- Interactive controls reveal through border brightening, baseline underlines, and a measured teal glow instead of soft consumer fills.
## ShadSync visual profile
{
"family": "editorial",
"material": "flat",
"contour": "default",
"border": "solid",
"underlay": true,
"grain": true,
"stickerBadges": true,
"motion": "still",
"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/datum/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: Pair narrative copy with telemetry so data never loses context.; Use serif display moments sparingly but boldly against the grotesk and mono systems.; Keep glow, gradients, and scanlines clipped inside rigid frames and the baseline rule system.; Set numerals, timestamps, and labels in tabular mono.
- Do not: Flood the page with neon accents on every component.; Collapse all information into identical dashboard cards.; Use rounded consumer-app controls or soft fills that break the instrumented editorial tone.; Default to a light ground — this concept is dark by design.
## 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 DatumShadcnKit() {
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">Datum</h2>
<p className="mt-1 max-w-xl text-sm text-muted-foreground">
Use the Katagami registry theme, then compose these shadcn primitives
with the language-specific component recipes.
</p>
</div>
<Button>Apply theme</Button>
</div>
<Tabs defaultValue="components">
<TabsList>
<TabsTrigger value="components">Components</TabsTrigger>
<TabsTrigger value="states">States</TabsTrigger>
<TabsTrigger value="export">Export</TabsTrigger>
</TabsList>
</Tabs>
<Card>
<CardHeader>
<CardTitle>Component recipe</CardTitle>
<CardDescription>
Replace this starter content with the agent-authored product scene
from components.md and preview-shots.json.
</CardDescription>
</CardHeader>
<CardContent className="grid gap-3 sm:grid-cols-[1fr_auto]">
<Input defaultValue="Tokenized shadcn surface" aria-label="Recipe name" />
<Button variant="secondary">Preview state</Button>
</CardContent>
<CardFooter className="justify-between">
<Badge>Ready</Badge>
<Button variant="outline">Copy recipe</Button>
</CardFooter>
</Card>
</section>
);
}
```
## Layout notes
{
"grid": "A 12-column desktop grid with asymmetric spans, a two-column tablet reduction, and a single-column mobile stack while preserving factual rails and baseline rules wherever possible.",
"whitespace": "Deliberate and editorial: generous outer margins, compact internal panel padding, and larger inter-section gaps that mimic spread pacing between chapters.",
"density": "dense",
"responsive": "Renders from ~390px mobile to 2560px+ ultra-wide; mobile stacks to one column and drops the least-essential table column; the full-bleed hero spans 100vw, contained content caps and centres.",
"breakpoints": {
"mobile": "390px",
"tablet": "768px",
"desktop": "1440px",
"ultrawide": "1700px"
}
}
{
"artifact": "katagami:shadcn-preview-shots",
"version": "preview-shots-v1",
"author": "katagami-agent",
"generatedBy": "katagami-agent",
"requiresVisualProfile": true,
"schema": "katagami:shadcn-preview-shots/renderable-v1",
"renderable": true,
"language": { "id": "", "name": "Datum", "slug": "datum" },
"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": [
"Dark graphite ground; every focal panel is a dossier module with an inset top rule and a bottom metadata strip — never a plain bordered card.",
"Three voices: a literary serif (Cormorant Garamond) for display, a disciplined grotesk (Space Grotesk) for body, a tabular mono (IBM Plex Mono) for labels, timestamps, and numerals.",
"Periwinkle and pale-blue are the signature inks; one teal halation is the single action accent. Controls reveal through brightening hairlines and a measured glow, never soft consumer fills. Square corners (radius 0)."
],
"visualProfile": {
"family": "instrument",
"material": "matte-graphite",
"contour": "sharp",
"border": "hairline",
"underlay": true,
"grain": true,
"stickerBadges": false,
"motion": "subtle",
"density": "dense",
"accents": ["accent", "info", "warning"]
},
"shots": [
{
"id": "application-shell",
"title": "The network operations console",
"viewport": "desktop",
"primitives": ["button", "card", "input", "select", "tabs", "badge", "separator", "table"],
"composition": "A control-room console: an open top bar with a station clock, a side rail with accent-tick navigation, KPI dossier modules with inset top rules and metadata strips, a signal chart over a gridline-and-scanline scaffold, and the pass ledger with status badges.",
"mustShow": ["teal halation primary action vs hairline-outline secondary", "dossier modules with an inset top rule + bottom metadata strip (no plain bordered cards)", "serif display numerals with mono unit labels", "pass ledger zebra'd by surface with locked / acquiring / margin-low badges"],
"avoid": ["plain bordered cards or accent-edge cards", "rounded corners", "soft consumer fills on controls", "a white or light ground"],
"scene": {
"eyebrow": "network ops",
"headline": "Network operations — Rev 0291",
"description": "A control-room reading surface where each pass is plated into a dossier module on one editorial baseline.",
"primaryAction": "Schedule a pass",
"secondaryAction": "Open dossier",
"stats": [
{ "label": "antennas online", "value": "7 / 9", "tone": "accent" },
{ "label": "aggregate downlink", "value": "412 Mbit/s", "tone": "info" },
{ "label": "worst link margin", "value": "+1.2 dB", "tone": "warning" }
],
"rows": [
{ "label": "Voyager Relay", "value": "DSS 43 · 23:41–01:09 · 160 bit/s", "status": "locked" },
{ "label": "Helios Cradle", "value": "DSS 14 · 00:02–02:30 · 88.0 Mbit/s", "status": "locked" },
{ "label": "Meridian 9", "value": "DSS 63 · 00:14–01:52 · 2.40 Mbit/s", "status": "acquiring" },
{ "label": "Kuiper Scout", "value": "DSS 43 · 01:20–03:08 · 11.2 Mbit/s", "status": "margin low" }
],
"statuses": ["Locked", "Acquiring", "Margin low", "Lost"]
}
},
{
"id": "detail-editor",
"title": "Schedule a pass",
"viewport": "tablet",
"primitives": ["button", "card", "input", "textarea", "select", "checkbox", "switch", "slider", "dialog", "sheet"],
"composition": "A formal scheduling flow inside a dossier module: mono-labelled grotesk fields, an invalid (error) symbol-rate state, a forward-error-correction checkbox, an auto-track switch, a symbol-rate slider, and a commit-confirm dialog.",
"mustShow": ["teal focus glow on inputs", "an invalid (error) field with a hairline + mono hint", "commit-confirm dialog as a formal mission notice", "real telemetry values"],
"avoid": ["unstyled browser controls", "missing mono labels", "nested cards", "rounded inputs", "soft fills instead of brightening hairlines"],
"scene": {
"eyebrow": "console",
"headline": "Schedule — Meridian 9",
"description": "A pass form proving mono labels, an invalid symbol-rate state, an FEC checkbox, an auto-track switch, a symbol-rate slider, and a commit confirm.",
"primaryAction": "Commit pass",
"secondaryAction": "Save draft",
"fields": [
{ "label": "Spacecraft", "value": "Meridian 9", "type": "text" },
{ "label": "Symbol rate (Msps)", "value": "— must be greater than 0 for a downlink pass", "type": "invalid" },
{ "label": "Ground station", "value": "DSS 63 — Madrid", "type": "select" },
{ "label": "Auto-track at horizon", "value": "on", "type": "switch" }
],
"statuses": ["Draft", "Invalid", "Auto-track"]
}
},
{
"id": "data-operations",
"title": "Pass queue",
"viewport": "mobile",
"primitives": ["button", "tabs", "badge", "dropdown-menu", "table", "tooltip", "separator"],
"composition": "A narrow pass queue: stacked rows with serif spacecraft names and mono station/time, per-row dropdown actions, status badges, tooltips, and a margin-low state.",
"mustShow": ["responsive reflow to a single column", "serif spacecraft names over mono detail lines", "row action menu with a destructive 'drop pass' item", "locked / acquiring / margin-low badges"],
"avoid": ["desktop-only tables", "horizontal overflow", "generic shadcn spacing without Datum character"],
"scene": {
"eyebrow": "queue",
"headline": "Pass queue",
"description": "A compact queue with rows, menus, tooltips, status badges, and a margin-low affordance.",
"primaryAction": "Schedule",
"secondaryAction": "Filter",
"rows": [
{ "label": "Voyager Relay", "value": "DSS 43 · Canberra", "status": "locked" },
{ "label": "Meridian 9", "value": "DSS 63 · Madrid", "status": "acquiring" },
{ "label": "Kuiper Scout", "value": "DSS 43 · Canberra", "status": "margin low" }
],
"statuses": ["Locked", "Acquiring", "Margin low"]
}
}
],
"componentRecipes": [
{ "primitive": "button", "intent": "Hierarchy: teal halation primary = the one emphasis (filled, measured glow); hairline-outline secondary; mono-uppercase ghost = quiet. Square, one shared height, label centred." },
{ "primitive": "card", "intent": "A dossier module: graphite surface with a faint top gradient, an inset top rule (teal fading to transparent) and a bottom metadata strip on the recess surface — never a plain bordered or accent-edge card." },
{ "primitive": "input", "intent": "Recess fill, a single hairline border; teal focus glow (inset hairline + soft outer ring); error state swaps the hairline to error red; square corners; mono label above." },
{ "primitive": "textarea", "intent": "Operator notes with the same focus + error rhythm; grotesk body, generous, square." },
{ "primitive": "select", "intent": "Ground-station picker with an explicitly styled square trigger and a custom caret SVG — no browser default arrow." },
{ "primitive": "dialog", "intent": "A formal 'Commit this pass?' mission notice — centred, square, generous, on the graphite surface; an inset top rule, no rounded chrome." },
{ "primitive": "sheet", "intent": "The spacecraft / dossier side rail for contextual detail; slides from the edge over a graphite scrim." },
{ "primitive": "tabs", "intent": "Switch Operations / Schedule / Spacecraft; the active tab carries a teal baseline underline, not a boxed pill." },
{ "primitive": "badge", "intent": "Flat status chips on a faint tint with a leading dot: locked (success) / acquiring (periwinkle) / margin-low (warning) / lost (error)." },
{ "primitive": "separator", "intent": "A hairline rule on the rule colour, or open baseline space — never a heavy divider across a module." },
{ "primitive": "checkbox", "intent": "Forward-error-correction opt-ins; checked is a teal inset square, focus brightens the hairline." },
{ "primitive": "switch", "intent": "Auto-track / settings toggle; on brightens the track hairline to teal with a glow and the thumb to teal, off is a quiet grey thumb on recess." },
{ "primitive": "slider", "intent": "Symbol-rate / gain control with a teal filled track and a square thumb; mono tabular value readout." },
{ "primitive": "tooltip", "intent": "Concise grotesk notes above compact controls, on the surface with a hairline." },
{ "primitive": "dropdown-menu", "intent": "Per-row pass actions with mono labels and a destructive 'drop pass' item in error red." },
{ "primitive": "table", "intent": "The pass ledger: mono header, serif spacecraft names, mono tabular station/time/downlink, quiet surface zebra (never rule-lines), a status badge per row, a metadata strip footer." }
],
"qualityRules": {
"do": [
"Plate every focal element as a dossier module with an inset top rule and a bottom metadata strip.",
"Keep the ground deep graphite; reserve teal halation for the one action and periwinkle/pale-blue for the inks.",
"Reveal controls through brightening hairlines and a measured glow; set numerals, timestamps, and labels in tabular mono.",
"Lead display moments with the literary serif against the disciplined grotesk and mono systems."
],
"dont": [
"Use plain bordered cards, accent-edge cards, or rounded corners.",
"Fill controls with soft consumer surfaces instead of hairline + glow states.",
"Flood the page with neon on every component, or default to a light ground.",
"Nest cards or collapse everything into identical look-alike tiles."
]
}
}