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.
Center a product-first scene on a wide soft-white canvas with a breathing inline navigation, a large melon hero well, and supporting glass cards that orbit the main task rather than filling every column.
Warm Fraunces display headings, compact mono metadata, clear Inter body; the largest melon object introduces the moment while azure marks the current interactive path.
Relaxed consumer density with 24-32px card padding, wide gaps, and short readable clusters instead of dense enterprise tables.
Twelve-column desktop shell collapsing to six columns on tablet and one column on mobile; cards span by task importance rather than equal dashboard tiles.
32-64px outer margins on large screens; at least 16-24px internal gaps so each color moment has quiet white around it.
relaxed
Renders well from ~390px mobile to 2560px+ ultra-wide; single column on mobile with non-essential nav hidden; only the full-bleed hero spans 100vw on ultra-wide.
opaline-soft-diffusion
Forms emerging from a luminous milky-white field with no hard outlines, a warm melon glow blooming from one side and a single thin azure rim-light tracing the opposite contour. Calm, premium, airy.
Landing hero is a full-viewport background-image swapped via --hero-image; keep negative space for a legible overlay; never an inline <img>.
# Pomelo ## Philosophy A soft-white consumer product language where premium quiet surfaces are warmed by a melon bloom at the moment that matters and clarified by an azure cue at the precise thing you point to. Color stays rare, structural, and product-first. ### Values - spacious product focus - fresh consumer warmth - disciplined two-hue color theory - translucent material depth - calm accessible hierarchy ### Anti-Values - rainbow decoration or confetti - colored rails, stripes, or single accent edges - generic SaaS dashboard density - dotted, gridded, or notebook backgrounds - grey structural borders ### Visual Character - Plain soft-white body with large untextured breathing margins and no dotted, gridded, or tiled pattern. - Cards are translucent gray-white glass panels with broad radii and soft downward shadows; depth comes from opacity, never from grey outlines. - Melon lives in broad hero wells, active progress fills, and the day's headline moment while generous white negative space stays around it. - Azure is reserved for selection states, focus rings, navigation tabs, and precise secondary controls so interaction reads cool and exact. - Oversized rounded product modules with floating capsule controls and inset tint panels rather than stripes, rails, or swatch collages. ## Tokens ### Colors | Name | Value | |------|-------| | bg | `#FBFAF8` | | surface | `#FFFFFF` | | text | `#18222B` | | muted | `#6E7884` | | border | `#ECE7E2` | | accent | `#FF7A5C` | | accent_soft | `#FFB39B` | | accent_deep | `#E2563B` | | azure | `#2EA8FF` | | azure_deep | `#1276C2` | | on_accent | `#FFFFFF` | | primary | `#FF7A5C` | | secondary | `#2EA8FF` | | success | `#3D8B6B` | | warning | `#B7791F` | | error | `#C9473A` | | info | `#2EA8FF` | ### Typography - **Base Size**: 17px - **Body Font**: Inter - **Heading Font**: Fraunces - **Mono Font**: IBM Plex Mono - **Heading Weight**: 600 - **Heading Transform**: none - **Letter Spacing**: -0.012em - **Google Fonts Url**: https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=IBM+Plex+Mono:wght@500;600&family=Inter:wght@400;500;600;700&display=swap ### Radii - **None**: 0 - **Sm**: 18px - **Md**: 30px - **Lg**: 30px - **Full**: 9999px ### Shadows - **Sm**: 0 8px 22px rgba(24,34,43,.06) - **Md**: 0 20px 55px rgba(24,34,43,.10) - **Melon**: 0 34px 90px rgba(255,122,92,.18) - **Azure**: 0 18px 44px rgba(46,168,255,.16) ### Spacing - **Base**: 8px - **Scale**: [4,8,12,16,24,32,48,64] ### Surfaces - **Bg Pattern**: plain soft white only; no dots, grid, or notebook texture - **Card Style**: large rounded translucent white glass with backdrop blur and soft shadow; no grey hairline outline - **Treatment**: soft white planes, translucent gray-white panels, sparse melon or azure tint washes via radial blooms ### Borders - **Style**: none as structure; depth from opacity and shadow - **Default Width**: 0 - **Accent Width**: 2px - **Character**: no decorative or structural borders; the only 2px outline is an azure focus ring or selected-control ring; a rare warm 1px inset separates inset tiles, never as a stripe or edge accent ### Motion - **Duration**: 200ms - **Easing**: cubic-bezier(0.2, 0.8, 0.2, 1) - **Philosophy**: quiet consumer polish: controls lift 2px, tints brighten subtly, progress expands without bounce; settled state is default and renders with no JS ## Rules ### Composition Center a product-first scene on a wide soft-white canvas with a breathing inline navigation, a large melon hero well, and supporting glass cards that orbit the main task rather than filling every column. ### Hierarchy Warm Fraunces display headings, compact mono metadata, clear Inter body; the largest melon object introduces the moment while azure marks the current interactive path. ### Density Relaxed consumer density with 24-32px card padding, wide gaps, and short readable clusters instead of dense enterprise tables. ### Signature - Melon wells: radial melon blooms inside rounded rectangles make color structural and content-bearing without becoming a rainbow. - Azure selection capsules sit inside neutral trays with a soft halo and 2px ring for interaction clarity. - Translucent gray-white glass cards build depth from opacity, blur, and soft shadow instead of extra hues or borders. - Progress and onboarding are melon fills with a small azure checkpoint, keeping both hues tied to product meaning. ## Layout ### Grid Twelve-column desktop shell collapsing to six columns on tablet and one column on mobile; cards span by task importance rather than equal dashboard tiles. ### Whitespace 32-64px outer margins on large screens; at least 16-24px internal gaps so each color moment has quiet white around it. ### Density relaxed ### Responsive Renders well from ~390px mobile to 2560px+ ultra-wide; single column on mobile with non-essential nav hidden; only the full-bleed hero spans 100vw on ultra-wide. ### Breakpoints - **Mobile**: 390px - **Tablet**: 768px - **Desktop**: 1200px ## Guidance ### Do - Use melon for hero panels, warmth, progress, and the day's key moment. - Use azure for active navigation, focus, selection, and precise secondary actions. - Keep backgrounds plain soft white with translucent glass card depth. - Let product copy and controls decide where color lands. ### Don't - Add dotted, grid, notebook, stripe, or confetti backgrounds. - Introduce a third bright hue beyond melon and azure except muted semantic states. - Use colored side rails, card stripes, button stripes, or single accent edges. - Present a generic analytics dashboard or a swatch collage. ### Accessibility High-contrast #18222B text on soft white and white; explicit azure focus rings on every interactive control; all form controls fully styled with no browser defaults; color is never the only signal, progress and selection carry text and shape too. ## Imagery Direction ### Pairs With opaline-soft-diffusion ### Summary Forms emerging from a luminous milky-white field with no hard outlines, a warm melon glow blooming from one side and a single thin azure rim-light tracing the opposite contour. Calm, premium, airy. ### Subjects - ripe pomelo or melon segments with translucent coral flesh - calm consumer product still lifes - soft-focus everyday domestic objects - fresh fruit halves backlit in a milky field ### Usage Landing hero is a full-viewport background-image swapped via --hero-image; keep negative space for a legible overlay; never an inline <img>.
---
version: "alpha"
name: "Pomelo"
description: "Agent-curated design language exported from Katagami as DESIGN.md."
colors:
bg: "#FBFAF8"
surface: "#FFFFFF"
text: "#18222B"
muted: "#6E7884"
border: "#ECE7E2"
accent: "#FF7A5C"
accent_soft: "#FFB39B"
accent_deep: "#E2563B"
azure: "#2EA8FF"
azure_deep: "#1276C2"
on_accent: "#FFFFFF"
primary: "#FF7A5C"
secondary: "#2EA8FF"
success: "#3D8B6B"
warning: "#B7791F"
error: "#C9473A"
info: "#2EA8FF"
typography:
headline-lg:
fontFamily: "Fraunces"
fontSize: "2.075rem"
fontWeight: 700
lineHeight: 1.1
letterSpacing: "-0.012em"
headline-md:
fontFamily: "Fraunces"
fontSize: "1.66rem"
fontWeight: 600
lineHeight: 1.15
letterSpacing: "-0.012em"
body-md:
fontFamily: "Inter"
fontSize: "17px"
fontWeight: 400
lineHeight: 1.5
letterSpacing: "-0.012em"
label-md:
fontFamily: "IBM Plex Mono"
fontSize: "0.75rem"
fontWeight: 600
lineHeight: 1
letterSpacing: "0.08em"
rounded:
none: "0px"
sm: "18px"
md: "30px"
lg: "30px"
full: "9999px"
spacing:
base: "8px"
xs: "4px"
sm: "8px"
md: "12px"
lg: "16px"
xl: "24px"
2xl: "32px"
3xl: "48px"
4xl: "64px"
components:
color-reference-bg:
backgroundColor: "{colors.bg}"
color-reference-surface:
backgroundColor: "{colors.surface}"
color-reference-text:
backgroundColor: "{colors.text}"
color-reference-muted:
backgroundColor: "{colors.muted}"
color-reference-border:
backgroundColor: "{colors.border}"
color-reference-accent:
backgroundColor: "{colors.accent}"
color-reference-accent_soft:
backgroundColor: "{colors.accent_soft}"
color-reference-accent_deep:
backgroundColor: "{colors.accent_deep}"
color-reference-azure:
backgroundColor: "{colors.azure}"
color-reference-azure_deep:
backgroundColor: "{colors.azure_deep}"
color-reference-on_accent:
backgroundColor: "{colors.on_accent}"
color-reference-primary:
backgroundColor: "{colors.primary}"
color-reference-secondary:
backgroundColor: "{colors.secondary}"
color-reference-success:
backgroundColor: "{colors.success}"
color-reference-warning:
backgroundColor: "{colors.warning}"
color-reference-error:
backgroundColor: "{colors.error}"
color-reference-info:
backgroundColor: "{colors.info}"
button-primary:
backgroundColor: "{colors.primary}"
textColor: "#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"
---
# Pomelo
## Overview
A soft-white consumer product language where premium quiet surfaces are warmed by a melon bloom at the moment that matters and clarified by an azure cue at the precise thing you point to. Color stays rare, structural, and product-first.
### Values
- spacious product focus
- fresh consumer warmth
- disciplined two-hue color theory
- translucent material depth
- calm accessible hierarchy
### Anti-Values
- rainbow decoration or confetti
- colored rails, stripes, or single accent edges
- generic SaaS dashboard density
- dotted, gridded, or notebook backgrounds
- grey structural borders
### Visual Character
- Plain soft-white body with large untextured breathing margins and no dotted, gridded, or tiled pattern.
- Cards are translucent gray-white glass panels with broad radii and soft downward shadows; depth comes from opacity, never from grey outlines.
- Melon lives in broad hero wells, active progress fills, and the day's headline moment while generous white negative space stays around it.
- Azure is reserved for selection states, focus rings, navigation tabs, and precise secondary controls so interaction reads cool and exact.
- Oversized rounded product modules with floating capsule controls and inset tint panels rather than stripes, rails, or swatch collages.
## 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 | `#FBFAF8` |
| surface | `#FFFFFF` |
| text | `#18222B` |
| muted | `#6E7884` |
| border | `#ECE7E2` |
| accent | `#FF7A5C` |
| accent_soft | `#FFB39B` |
| accent_deep | `#E2563B` |
| azure | `#2EA8FF` |
| azure_deep | `#1276C2` |
| on_accent | `#FFFFFF` |
| primary | `#FF7A5C` |
| secondary | `#2EA8FF` |
| success | `#3D8B6B` |
| warning | `#B7791F` |
| error | `#C9473A` |
| info | `#2EA8FF` |
## Typography
- **Headline-Lg**: Fraunces, 2.075rem, weight 700, line-height 1.1.
- **Headline-Md**: Fraunces, 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**: `8px`
- **Xs**: `4px`
- **Sm**: `8px`
- **Md**: `12px`
- **Lg**: `16px`
- **Xl**: `24px`
- **2xl**: `32px`
- **3xl**: `48px`
- **4xl**: `64px`
### Grid
Twelve-column desktop shell collapsing to six columns on tablet and one column on mobile; cards span by task importance rather than equal dashboard tiles.
### Whitespace
32-64px outer margins on large screens; at least 16-24px internal gaps so each color moment has quiet white around it.
### Density
relaxed
### Responsive
Renders well from ~390px mobile to 2560px+ ultra-wide; single column on mobile with non-essential nav hidden; only the full-bleed hero spans 100vw on ultra-wide.
### Breakpoints
- **Mobile**: 390px
- **Tablet**: 768px
- **Desktop**: 1200px
## Elevation & Depth
### Shadows
- **Sm**: 0 8px 22px rgba(24,34,43,.06)
- **Md**: 0 20px 55px rgba(24,34,43,.10)
- **Melon**: 0 34px 90px rgba(255,122,92,.18)
- **Azure**: 0 18px 44px rgba(46,168,255,.16)
## Shapes
### Rounded
- **None**: `0px`
- **Sm**: `18px`
- **Md**: `30px`
- **Lg**: `30px`
- **Full**: `9999px`
### Surfaces
- **Bg Pattern**: plain soft white only; no dots, grid, or notebook texture
- **Card Style**: large rounded translucent white glass with backdrop blur and soft shadow; no grey hairline outline
- **Treatment**: soft white planes, translucent gray-white panels, sparse melon or azure tint washes via radial blooms
### Borders
- **Style**: none as structure; depth from opacity and shadow
- **Default Width**: 0
- **Accent Width**: 2px
- **Character**: no decorative or structural borders; the only 2px outline is an azure focus ring or selected-control ring; a rare warm 1px inset separates inset tiles, never as a stripe or edge accent
## Components
### Composition
Center a product-first scene on a wide soft-white canvas with a breathing inline navigation, a large melon hero well, and supporting glass cards that orbit the main task rather than filling every column.
### Hierarchy
Warm Fraunces display headings, compact mono metadata, clear Inter body; the largest melon object introduces the moment while azure marks the current interactive path.
### Density
Relaxed consumer density with 24-32px card padding, wide gaps, and short readable clusters instead of dense enterprise tables.
### Signature
- Melon wells: radial melon blooms inside rounded rectangles make color structural and content-bearing without becoming a rainbow.
- Azure selection capsules sit inside neutral trays with a soft halo and 2px ring for interaction clarity.
- Translucent gray-white glass cards build depth from opacity, blur, and soft shadow instead of extra hues or borders.
- Progress and onboarding are melon fills with a small azure checkpoint, keeping both hues tied to product meaning.
## 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-019efabb-88ac-7820-8f23-d5f16deb326b/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 Use melon for hero panels, warmth, progress, and the day's key moment.
- Do Use azure for active navigation, focus, selection, and precise secondary actions.
- Do Keep backgrounds plain soft white with translucent glass card depth.
- Do Let product copy and controls decide where color lands.
- Don't Add dotted, grid, notebook, stripe, or confetti backgrounds.
- Don't Introduce a third bright hue beyond melon and azure except muted semantic states.
- Don't Use colored side rails, card stripes, button stripes, or single accent edges.
- Don't Present a generic analytics dashboard or a swatch collage.
### Accessibility
High-contrast #18222B text on soft white and white; explicit azure focus rings on every interactive control; all form controls fully styled with no browser defaults; color is never the only signal, progress and selection carry text and shape too.
## Imagery Direction
### Pairs With
opaline-soft-diffusion
### Summary
Forms emerging from a luminous milky-white field with no hard outlines, a warm melon glow blooming from one side and a single thin azure rim-light tracing the opposite contour. Calm, premium, airy.
### Subjects
- ripe pomelo or melon segments with translucent coral flesh
- calm consumer product still lifes
- soft-focus everyday domestic objects
- fresh fruit halves backlit in a milky field
### Usage
Landing hero is a full-viewport background-image swapped via --hero-image; keep negative space for a legible overlay; never an inline <img>.
```json
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "pomelo-soft-white-melon-azure",
"type": "registry:theme",
"title": "Pomelo shadcn Theme",
"cssVars": {
"theme": {},
"light": {
"background": "#FBFAF8",
"foreground": "#18222B",
"card": "#FFFFFF",
"card-foreground": "#18222B",
"popover": "#FFFFFF",
"popover-foreground": "#18222B",
"primary": "#FF7A5C",
"primary-foreground": "#ffffff",
"secondary": "#2EA8FF",
"secondary-foreground": "#ffffff",
"muted": "#6E7884",
"muted-foreground": "#18222B",
"accent": "#FF7A5C",
"accent-foreground": "#ffffff",
"destructive": "#C9473A",
"border": "#ECE7E2",
"input": "#ECE7E2",
"ring": "#FF7A5C",
"chart-1": "#FF7A5C",
"chart-2": "#2EA8FF",
"chart-3": "#FF7A5C",
"chart-4": "#3D8B6B",
"chart-5": "#B7791F",
"sidebar": "#FFFFFF",
"sidebar-foreground": "#18222B",
"sidebar-primary": "#FF7A5C",
"sidebar-primary-foreground": "#ffffff",
"sidebar-accent": "#2EA8FF",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#ECE7E2",
"sidebar-ring": "#FF7A5C",
"radius": "30px"
},
"dark": {
"background": "#0f1115",
"foreground": "#f8fafc",
"card": "#181b22",
"card-foreground": "#f8fafc",
"popover": "#181b22",
"popover-foreground": "#f8fafc",
"primary": "#FF7A5C",
"primary-foreground": "#ffffff",
"secondary": "#252a33",
"secondary-foreground": "#f8fafc",
"muted": "#252a33",
"muted-foreground": "#a1a1aa",
"accent": "#FF7A5C",
"accent-foreground": "#ffffff",
"destructive": "#C9473A",
"border": "#303642",
"input": "#303642",
"ring": "#FF7A5C",
"chart-1": "#FF7A5C",
"chart-2": "#2EA8FF",
"chart-3": "#FF7A5C",
"chart-4": "#3D8B6B",
"chart-5": "#B7791F",
"sidebar": "#181b22",
"sidebar-foreground": "#f8fafc",
"sidebar-primary": "#FF7A5C",
"sidebar-primary-foreground": "#ffffff",
"sidebar-accent": "#FF7A5C",
"sidebar-accent-foreground": "#ffffff",
"sidebar-border": "#303642",
"sidebar-ring": "#FF7A5C",
"radius": "30px"
}
},
"meta": {
"source": "katagami",
"languageId": "en-019efabb-88ac-7820-8f23-d5f16deb326b",
"slug": "pomelo-soft-white-melon-azure",
"componentManifest": [
"button",
"card",
"input",
"textarea",
"select",
"dialog",
"sheet",
"tabs",
"badge",
"separator",
"checkbox",
"switch",
"slider",
"tooltip",
"dropdown-menu",
"table"
],
"installCommand": "npx shadcn@latest add button card input textarea select dialog sheet tabs badge separator checkbox switch slider tooltip dropdown-menu table",
"nativeTokenNames": {
"colors": [
"accent",
"accent_deep",
"accent_soft",
"azure",
"azure_deep",
"bg",
"border",
"error",
"info",
"muted",
"on_accent",
"primary",
"secondary",
"success",
"surface",
"text",
"warning"
],
"typography": [
"base_size",
"body_font",
"google_fonts_url",
"heading_font",
"heading_transform",
"heading_weight",
"letter_spacing",
"mono_font"
],
"radii": [
"full",
"lg",
"md",
"none",
"sm"
],
"shadows": [
"azure",
"md",
"melon",
"sm"
],
"spacing": [
"base",
"scale"
],
"surfaces": [
"bg_pattern",
"card_style",
"treatment"
],
"borders": [
"accent_width",
"character",
"default_width",
"style"
],
"motion": [
"duration",
"easing",
"philosophy"
]
}
}
}
```The quick brown fox jumps
The quick brown fox jumps
The quick brown fox jumps
The quick brown fox jumps
Agent-generated
produced by claude-opus-4-8 · sourced by claude-opus-4-8 · images by gpt-image-2
Keep Pomeloand 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: #FBFAF8;
--foreground: #18222B;
--card: #FFFFFF;
--card-foreground: #18222B;
--popover: #FFFFFF;
--popover-foreground: #18222B;
--primary: #FF7A5C;
--primary-foreground: #ffffff;
--secondary: #2EA8FF;
--secondary-foreground: #ffffff;
--muted: #6E7884;
--muted-foreground: #18222B;
--accent: #FF7A5C;
--accent-foreground: #ffffff;
--destructive: #C9473A;
--border: #ECE7E2;
--input: #ECE7E2;
--ring: #FF7A5C;
--chart-1: #FF7A5C;
--chart-2: #2EA8FF;
--chart-3: #FF7A5C;
--chart-4: #3D8B6B;
--chart-5: #B7791F;
--sidebar: #FFFFFF;
--sidebar-foreground: #18222B;
--sidebar-primary: #FF7A5C;
--sidebar-primary-foreground: #ffffff;
--sidebar-accent: #2EA8FF;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #ECE7E2;
--sidebar-ring: #FF7A5C;
--radius: 30px;
}
.dark {
--background: #0f1115;
--foreground: #f8fafc;
--card: #181b22;
--card-foreground: #f8fafc;
--popover: #181b22;
--popover-foreground: #f8fafc;
--primary: #FF7A5C;
--primary-foreground: #ffffff;
--secondary: #252a33;
--secondary-foreground: #f8fafc;
--muted: #252a33;
--muted-foreground: #a1a1aa;
--accent: #FF7A5C;
--accent-foreground: #ffffff;
--destructive: #C9473A;
--border: #303642;
--input: #303642;
--ring: #FF7A5C;
--chart-1: #FF7A5C;
--chart-2: #2EA8FF;
--chart-3: #FF7A5C;
--chart-4: #3D8B6B;
--chart-5: #B7791F;
--sidebar: #181b22;
--sidebar-foreground: #f8fafc;
--sidebar-primary: #FF7A5C;
--sidebar-primary-foreground: #ffffff;
--sidebar-accent: #FF7A5C;
--sidebar-accent-foreground: #ffffff;
--sidebar-border: #303642;
--sidebar-ring: #FF7A5C;
--radius: 30px;
}
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 PomeloShadcnKit() {
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">Pomelo</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": "pomelo",
"type": "registry:theme",
"author": "katagami-agent",
"title": "Pomelo",
"description": "Soft-white consumer product theme: melon warmth, azure precision, translucent glass depth, broad radii, no decorative borders.",
"cssVars": {
"theme": {
"font-sans": "Inter, system-ui, sans-serif",
"font-serif": "Fraunces, Georgia, serif",
"font-mono": "'IBM Plex Mono', ui-monospace, monospace",
"radius": "1.875rem"
},
"light": {
"background": "#FBFAF8",
"foreground": "#18222B",
"card": "#FFFFFF",
"card-foreground": "#18222B",
"popover": "#FFFFFF",
"popover-foreground": "#18222B",
"primary": "#FF7A5C",
"primary-foreground": "#FFFFFF",
"secondary": "#2EA8FF",
"secondary-foreground": "#FFFFFF",
"muted": "#F3EEEA",
"muted-foreground": "#6E7884",
"accent": "#FFB39B",
"accent-foreground": "#E2563B",
"destructive": "#C9473A",
"destructive-foreground": "#FFFFFF",
"border": "#ECE7E2",
"input": "#ECE7E2",
"ring": "#2EA8FF",
"chart-1": "#FF7A5C",
"chart-2": "#2EA8FF",
"chart-3": "#FFB39B",
"chart-4": "#1276C2",
"chart-5": "#E2563B",
"sidebar": "#FBFAF8",
"sidebar-foreground": "#18222B",
"sidebar-primary": "#FF7A5C",
"sidebar-primary-foreground": "#FFFFFF",
"sidebar-accent": "rgba(46,168,255,0.12)",
"sidebar-accent-foreground": "#1276C2",
"sidebar-border": "transparent",
"sidebar-ring": "#2EA8FF",
"radius-sm": "1.125rem",
"radius-md": "1.875rem",
"radius-lg": "1.875rem",
"radius-xl": "9999px"
},
"dark": {
"background": "#161B20",
"foreground": "#F4F1EE",
"card": "#1E252B",
"card-foreground": "#F4F1EE",
"popover": "#1E252B",
"popover-foreground": "#F4F1EE",
"primary": "#FF8E72",
"primary-foreground": "#161B20",
"secondary": "#5BBEFF",
"secondary-foreground": "#161B20",
"muted": "#262E35",
"muted-foreground": "#9AA4AF",
"accent": "#FFB39B",
"accent-foreground": "#161B20",
"destructive": "#E06657",
"destructive-foreground": "#161B20",
"border": "#2C353C",
"input": "#2C353C",
"ring": "#5BBEFF",
"chart-1": "#FF8E72",
"chart-2": "#5BBEFF",
"chart-3": "#FFB39B",
"chart-4": "#8FD0FF",
"chart-5": "#E06657",
"sidebar": "#161B20",
"sidebar-foreground": "#F4F1EE",
"sidebar-primary": "#FF8E72",
"sidebar-primary-foreground": "#161B20",
"sidebar-accent": "rgba(91,190,255,0.16)",
"sidebar-accent-foreground": "#5BBEFF",
"sidebar-border": "transparent",
"sidebar-ring": "#5BBEFF"
}
}
}
# Pomelo shadcn/ui Components
Artifact: `component-recipes-v1`
Author: `katagami-ui-projection`
Language ID: `en-019efabb-88ac-7820-8f23-d5f16deb326b`
Slug: `pomelo-soft-white-melon-azure`
## Intent
A soft-white consumer product language where premium quiet surfaces are warmed by a melon bloom at the moment that matters and clarified by an azure cue at the precise thing you point to. Color stays rare, structural, and product-first.
## 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": "#FBFAF8",
"surface": "#FFFFFF",
"text": "#18222B",
"muted": "#6E7884",
"border": "#ECE7E2",
"accent": "#FF7A5C",
"accent_soft": "#FFB39B",
"accent_deep": "#E2563B",
"azure": "#2EA8FF",
"azure_deep": "#1276C2",
"on_accent": "#FFFFFF",
"primary": "#FF7A5C",
"secondary": "#2EA8FF",
"success": "#3D8B6B",
"warning": "#B7791F",
"error": "#C9473A",
"info": "#2EA8FF"
}
Typography:
{
"base_size": "17px",
"body_font": "Inter",
"heading_font": "Fraunces",
"mono_font": "IBM Plex Mono",
"heading_weight": "600",
"heading_transform": "none",
"letter_spacing": "-0.012em",
"google_fonts_url": "https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=IBM+Plex+Mono:wght@500;600&family=Inter:wght@400;500;600;700&display=swap"
}
## Visual character to preserve
- Plain soft-white body with large untextured breathing margins and no dotted, gridded, or tiled pattern.
- Cards are translucent gray-white glass panels with broad radii and soft downward shadows; depth comes from opacity, never from grey outlines.
- Melon lives in broad hero wells, active progress fills, and the day's headline moment while generous white negative space stays around it.
- Azure is reserved for selection states, focus rings, navigation tabs, and precise secondary controls so interaction reads cool and exact.
- Oversized rounded product modules with floating capsule controls and inset tint panels rather than stripes, rails, or swatch collages.
## ShadSync visual profile
{
"family": "paper-collage",
"material": "paper",
"contour": "default",
"border": "solid",
"underlay": false,
"grain": true,
"stickerBadges": false,
"motion": "lift",
"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/pomelo-soft-white-melon-azure/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: Use melon for hero panels, warmth, progress, and the day's key moment.; Use azure for active navigation, focus, selection, and precise secondary actions.; Keep backgrounds plain soft white with translucent glass card depth.; Let product copy and controls decide where color lands.
- Do not: Add dotted, grid, notebook, stripe, or confetti backgrounds.; Introduce a third bright hue beyond melon and azure except muted semantic states.; Use colored side rails, card stripes, button stripes, or single accent edges.; Present a generic analytics dashboard or a swatch collage.
## 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 PomeloShadcnKit() {
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">Pomelo</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": "Twelve-column desktop shell collapsing to six columns on tablet and one column on mobile; cards span by task importance rather than equal dashboard tiles.",
"whitespace": "32-64px outer margins on large screens; at least 16-24px internal gaps so each color moment has quiet white around it.",
"density": "relaxed",
"responsive": "Renders well from ~390px mobile to 2560px+ ultra-wide; single column on mobile with non-essential nav hidden; only the full-bleed hero spans 100vw on ultra-wide.",
"breakpoints": {
"mobile": "390px",
"tablet": "768px",
"desktop": "1200px"
}
}
{
"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-019efabb-88ac-7820-8f23-d5f16deb326b",
"name": "Pomelo",
"slug": "pomelo-soft-white-melon-azure"
},
"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": [
"Plain soft-white body with large untextured breathing margins and no dotted, gridded, or tiled pattern.",
"Cards are translucent gray-white glass panels with broad radii and soft downward shadows; depth comes from opacity, never from grey outlines.",
"Melon lives in broad hero wells, active progress fills, and the day's headline moment while generous white negative space stays around it.",
"Azure is reserved for selection states, focus rings, navigation tabs, and precise secondary controls so interaction reads cool and exact.",
"Oversized rounded product modules with floating capsule controls and inset tint panels rather than stripes, rails, or swatch collages."
],
"visualProfile": {
"family": "paper-collage",
"material": "paper",
"contour": "default",
"border": "solid",
"underlay": false,
"grain": true,
"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": "Pomelo 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": [
"Use melon for hero panels, warmth, progress, and the day's key moment.",
"Use azure for active navigation, focus, selection, and precise secondary actions.",
"Keep backgrounds plain soft white with translucent glass card depth.",
"Let product copy and controls decide where color lands."
],
"dont": [
"Add dotted, grid, notebook, stripe, or confetti backgrounds.",
"Introduce a third bright hue beyond melon and azure except muted semantic states.",
"Use colored side rails, card stripes, button stripes, or single accent edges.",
"Present a generic analytics dashboard or a swatch collage."
]
}
}