back to gallery
design language·marginalia

Marginalia

A portable design language for agents: download the markdown first, then inspect the preview, tokens, and rules as needed.

Download DESIGN.md

Portable DESIGN.md source of truth for most agents and apps.

the spec

specification

philosophy
summary
A scrapbook planner: plan the week the way you'd paste a page. Plans live as layered paper sticker cards on a warm cream notebook page, bright ink-pad stamps file every entry by role, and a pen underline marks the one thing that matters. Faithful to its techo-inspired source, brought up to standard with one clear primary accent, a coherent paper-cutout geometry, fully styled controls, and a full-bleed cut-paper hero.
values
The page, not a feed — a week is a finite notebook spread of paper stickers, not an infinite scroll to clear.Paper over chrome — surfaces are layered stationery with soft paper-weight shadow, never glass, gloss, or hard plastic.Pen before bold — emphasis comes from a single colored underline on display text, not from heavy weight or oversized controls.Bright always, ink stays dark — category and status read instantly from bright stamp fills with dark ink text.Five inks, five roles, one primary — sky leads; coral, honey, mint, and lilac are a documented category scale.Density with air — content can be rich and list-heavy but always sits in generous margins on a calm dot-grid page.
anti-values
×No dark-fill badges or reversed white text; stamps stay bright with dark ink.×No rounded-full cards, pill toolbars, or inflated blobs; cards stay rectangular paper cutouts.×No glass blur, neon glow, animated gradients, or mesh backgrounds; the scene reads printed and tactile.×No accent hue beyond the five-ink role system.×No solid panel borders for structure; use borderless stickers, perforation rules, and edge tabs.×No dot grid inside cards; it belongs to the page background only.×No pen underline on body or small labels.
tokens
colors17 items
bg
#F4EFE7
surface
#FFFEFB
surface_2
#FBF7F0
text
#24262E
muted
#877F73
border
#E6DECF
accent
#6FB4F2
on_accent
#1C2733
coral
#F3A39A
honey
#F5DE76
mint
#B6E7C9
sky
#9FD0FF
lilac
#D9C2F0
success
#6FBF8F
warning
#E7B93F
error
#E07A6E
info
#6FB4F2
typography12 items
base size
17px
body font
Nunito
heading font
Bricolage Grotesque
mono font
Geist Mono
heading weight
800
heading transform
none
letter spacing
-0.02em
line height
1.6
heading features
ss02 ss04
mono tracking
0.12em to 0.16em uppercase labels
scale
eyebrow 10.5-11px mono, body 16-17px sans, title 19-23px display, hero 38-76px display
google fonts url
https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,800&family=Nunito:wght@400;500;700&family=Geist+Mono:wght@400;500&display=swap
radii5 items
none
0
sm
3px
md
6px
lg
6px
full
9999px
shadows3 items
sm
0 1px 2px rgba(36,38,46,.06)
md
0 2px 3px rgba(36,38,46,.06), 0 6px 14px rgba(36,38,46,.07)
lg
0 3px 5px rgba(36,38,46,.07), 0 12px 28px rgba(36,38,46,.09)
spacing2 items
base
4px
scale
4, 8, 12, 16, 22, 32, 48, 72
surfaces3 items
treatment
paper
card style
Borderless near-white paper sticker with a two-layer paper-weight shadow and a single top edge tab; floats above the dot-grid page without glass blur or bevel.
bg pattern
fixed 24px radial dot-grid on the page only
borders4 items
default width
0
divider
2px dashed #E6DECF
style
dashed perforation
character
Structure comes from perforation-like dashed dividers and small edge tabs, not from enclosing cards with borders. The 1.5px deckle line appears only inside form controls.
motion6 items
duration
220ms
easing
cubic-bezier(0.22,1,0.36,1)
philosophy
snappy
sticker hover
translateY(-3px) rotate(-0.4deg)
reveal
settled state is the default and renders with no JavaScript; an inline html.js class gates a hidden start-state and an IntersectionObserver reveals on scroll; respects prefers-reduced-motion
page transitions
none
rules
composition
Build scenes as layered stationery on a notebook page: one hero planning area, one dense reading or task block, and smaller supporting stickers around them. Cards are borderless paper stickers with top edge tabs, ink-pad stamps, and dashed perforation lines replacing generic panel chrome.
hierarchy
Lead with Bricolage Grotesque display text, then guide the eye with single pen underlines, mono eyebrows, and bright stamp metadata. Exactly one sky primary action per view; categories and states are surfaced through stamp color roles rather than oversized controls.
density
Content may be rich and list-heavy, but padding stays generous (16-22px inside cards) and the layout breathes with wide page margins. Empty space is textured by the dot grid, never filled with decorative noise.
signature

Sticker cards + top edge tabs + bright dark-ink ink-pad stamps + pen underlines on display text + a page-only 24px dot grid + 2px dashed perforation dividers.

layout
grid
Container max-width 1180px with 16-44px responsive padding. Desktop landing uses a full-bleed hero plus contained multi-card grids; the dashboard uses a 236px sidebar + main; mobile becomes a single-column notebook flow.
whitespace
Generous outer margins and 32-72px section gaps so dense content feels curated rather than cramped. Dot-grid texture occupies page whitespace while edge tabs sit flush to card tops.
density

Comfortable; list-heavy content allowed but always inside generous margins on a calm page.

responsive
Renders well from ~390px mobile to 2560px+ ultra-wide. On mobile, stack to a single column and hide non-essential nav links and table columns; never overflow horizontally. On ultra-wide, cap and center contained content; only the hero spans 100vw. Grids use minmax(0,1fr) + min-width:0 so children shrink instead of overflowing.
breakpoints
sm
640px
md
760px
lg
900px
guidance
do
  • File entries by stamp color and keep stamp text dark for every state.
  • Underline display headings with a single pen stroke; leave body copy clean.
  • Give each major sticker card one top edge tab and a soft paper shadow.
  • Separate sections and rows with dashed perforation rules, not solid borders.
  • Use Geist Mono for dates, counts, labels, and status so metadata feels filed and cataloged.
  • Let the page dot-grid texture the whitespace; keep cards clean and pattern-free.
  • Keep one sky primary action per view and make the rest quieter.
avoid
  • Do not use dark badges, neon accents, or gradient buttons.
  • Do not introduce rounded-full cards, pill toolbars, or oversized bubble inputs.
  • Do not put the dot-grid inside cards.
  • Do not add glass blur, glow, floating 3D plastic, or ambient animated effects.
  • Do not use pen underlines on paragraph text or small labels.
  • Do not replace stamps with outline chips; labels stay filled and bright.
  • Do not add accent hues beyond the five-ink role system.
imagery
pairs with

pasteboard

summary
Cut-paper collage built from layered torn and scissor-cut construction-paper shapes with soft paper drop shadows, masking-tape tabs, small bright ink-pad stamps, and fine pen annotation lines, on warm cream dot-grid paper. Subjects are scrapbook and planning scenes — open notebooks, sticker cards, tabbed index pages, pressed leaves, tape, pens.
subjects
open techo notebook spreadlayered paper sticker cardstabbed index pagesmasking tape and penpressed leaf and small stamps
usage

One full-bleed cut-paper hero per landing, composed so a legible paper-sticker overlay card can sit over the calmer area. Generated in the Pasteboard technique.

generator
model
gpt-image-2
provider
openai
tool
openai-image MCP
size
1536x1024
quality
high
generated at
2026-06-24
engine hints
model
gpt-image-2
provider
openai
tool
openai-image MCP
size
1536x1024
quality
high
katagami spec
# Marginalia

## Philosophy

A scrapbook planner: plan the week the way you'd paste a page. Plans live as layered paper sticker cards on a warm cream notebook page, bright ink-pad stamps file every entry by role, and a pen underline marks the one thing that matters. Faithful to its techo-inspired source, brought up to standard with one clear primary accent, a coherent paper-cutout geometry, fully styled controls, and a full-bleed cut-paper hero.

### Values

- The page, not a feed — a week is a finite notebook spread of paper stickers, not an infinite scroll to clear.
- Paper over chrome — surfaces are layered stationery with soft paper-weight shadow, never glass, gloss, or hard plastic.
- Pen before bold — emphasis comes from a single colored underline on display text, not from heavy weight or oversized controls.
- Bright always, ink stays dark — category and status read instantly from bright stamp fills with dark ink text.
- Five inks, five roles, one primary — sky leads; coral, honey, mint, and lilac are a documented category scale.
- Density with air — content can be rich and list-heavy but always sits in generous margins on a calm dot-grid page.

### Anti-Values

- No dark-fill badges or reversed white text; stamps stay bright with dark ink.
- No rounded-full cards, pill toolbars, or inflated blobs; cards stay rectangular paper cutouts.
- No glass blur, neon glow, animated gradients, or mesh backgrounds; the scene reads printed and tactile.
- No accent hue beyond the five-ink role system.
- No solid panel borders for structure; use borderless stickers, perforation rules, and edge tabs.
- No dot grid inside cards; it belongs to the page background only.
- No pen underline on body or small labels.

### Visual Character

- Sticker cards use near-white paper surfaces with no border, a two-layer paper-weight shadow, and a hover lift of translateY(-3px) rotate(-0.4deg) over 220ms cubic-bezier(0.22,1,0.36,1).
- A fixed 24px radial dot-grid lives on the warm cream page background and shows through the gaps between stickers, never inside a card.
- Display headlines get a single ~4px pen underline built with an ::after pseudo-element, slightly rotated and partially transparent, so emphasis feels hand-marked rather than boxed.
- Ink-pad stamps are bright solid-fill labels with dark ink text, 3px radius, uppercase Geist Mono metadata, and no outline, rotation, or dark fill.
- Each major card carries a single edge tab on its top edge, a 38-58px by 8-10px accent bar, giving every sticker a filed-and-categorized cue without a border.
- Sections and list rows are separated by 2px dashed perforation rules instead of solid dividers.

## Tokens

### Colors

| Name | Value |
|------|-------|
| bg | `#F4EFE7` |
| surface | `#FFFEFB` |
| surface_2 | `#FBF7F0` |
| text | `#24262E` |
| muted | `#877F73` |
| border | `#E6DECF` |
| accent | `#6FB4F2` |
| on_accent | `#1C2733` |
| coral | `#F3A39A` |
| honey | `#F5DE76` |
| mint | `#B6E7C9` |
| sky | `#9FD0FF` |
| lilac | `#D9C2F0` |
| success | `#6FBF8F` |
| warning | `#E7B93F` |
| error | `#E07A6E` |
| info | `#6FB4F2` |

### Typography

- **Base Size**: 17px
- **Body Font**: Nunito
- **Heading Font**: Bricolage Grotesque
- **Mono Font**: Geist Mono
- **Heading Weight**: 800
- **Heading Transform**: none
- **Letter Spacing**: -0.02em
- **Line Height**: 1.6
- **Heading Features**: ss02 ss04
- **Mono Tracking**: 0.12em to 0.16em uppercase labels
- **Scale**: eyebrow 10.5-11px mono, body 16-17px sans, title 19-23px display, hero 38-76px display
- **Google Fonts Url**: https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,800&family=Nunito:wght@400;500;700&family=Geist+Mono:wght@400;500&display=swap

### Radii

- **None**: 0
- **Sm**: 3px
- **Md**: 6px
- **Lg**: 6px
- **Full**: 9999px

### Shadows

- **Sm**: 0 1px 2px rgba(36,38,46,.06)
- **Md**: 0 2px 3px rgba(36,38,46,.06), 0 6px 14px rgba(36,38,46,.07)
- **Lg**: 0 3px 5px rgba(36,38,46,.07), 0 12px 28px rgba(36,38,46,.09)

### Spacing

- **Base**: 4px
- **Scale**: [4,8,12,16,22,32,48,72]

### Surfaces

- **Treatment**: paper
- **Card Style**: Borderless near-white paper sticker with a two-layer paper-weight shadow and a single top edge tab; floats above the dot-grid page without glass blur or bevel.
- **Bg Pattern**: fixed 24px radial dot-grid on the page only

### Borders

- **Default Width**: 0
- **Divider**: 2px dashed #E6DECF
- **Style**: dashed perforation
- **Character**: Structure comes from perforation-like dashed dividers and small edge tabs, not from enclosing cards with borders. The 1.5px deckle line appears only inside form controls.

### Motion

- **Duration**: 220ms
- **Easing**: cubic-bezier(0.22,1,0.36,1)
- **Philosophy**: snappy
- **Sticker Hover**: translateY(-3px) rotate(-0.4deg)
- **Reveal**: settled state is the default and renders with no JavaScript; an inline html.js class gates a hidden start-state and an IntersectionObserver reveals on scroll; respects prefers-reduced-motion
- **Page Transitions**: none

## Rules

### Composition

Build scenes as layered stationery on a notebook page: one hero planning area, one dense reading or task block, and smaller supporting stickers around them. Cards are borderless paper stickers with top edge tabs, ink-pad stamps, and dashed perforation lines replacing generic panel chrome.

### Hierarchy

Lead with Bricolage Grotesque display text, then guide the eye with single pen underlines, mono eyebrows, and bright stamp metadata. Exactly one sky primary action per view; categories and states are surfaced through stamp color roles rather than oversized controls.

### Density

Content may be rich and list-heavy, but padding stays generous (16-22px inside cards) and the layout breathes with wide page margins. Empty space is textured by the dot grid, never filled with decorative noise.

### Signature

Sticker cards + top edge tabs + bright dark-ink ink-pad stamps + pen underlines on display text + a page-only 24px dot grid + 2px dashed perforation dividers.

## Layout

### Grid

Container max-width 1180px with 16-44px responsive padding. Desktop landing uses a full-bleed hero plus contained multi-card grids; the dashboard uses a 236px sidebar + main; mobile becomes a single-column notebook flow.

### Whitespace

Generous outer margins and 32-72px section gaps so dense content feels curated rather than cramped. Dot-grid texture occupies page whitespace while edge tabs sit flush to card tops.

### Density

Comfortable; list-heavy content allowed but always inside generous margins on a calm page.

### Responsive

Renders well from ~390px mobile to 2560px+ ultra-wide. On mobile, stack to a single column and hide non-essential nav links and table columns; never overflow horizontally. On ultra-wide, cap and center contained content; only the hero spans 100vw. Grids use minmax(0,1fr) + min-width:0 so children shrink instead of overflowing.

### Breakpoints

- **Sm**: 640px
- **Md**: 760px
- **Lg**: 900px

## Guidance

### Do

- File entries by stamp color and keep stamp text dark for every state.
- Underline display headings with a single pen stroke; leave body copy clean.
- Give each major sticker card one top edge tab and a soft paper shadow.
- Separate sections and rows with dashed perforation rules, not solid borders.
- Use Geist Mono for dates, counts, labels, and status so metadata feels filed and cataloged.
- Let the page dot-grid texture the whitespace; keep cards clean and pattern-free.
- Keep one sky primary action per view and make the rest quieter.

### Don't

- Do not use dark badges, neon accents, or gradient buttons.
- Do not introduce rounded-full cards, pill toolbars, or oversized bubble inputs.
- Do not put the dot-grid inside cards.
- Do not add glass blur, glow, floating 3D plastic, or ambient animated effects.
- Do not use pen underlines on paragraph text or small labels.
- Do not replace stamps with outline chips; labels stay filled and bright.
- Do not add accent hues beyond the five-ink role system.

### Accessibility

Bright stamps always use dark ink text for strong contrast; pen underlines are decorative rather than required for comprehension; focus states are clearly visible (2px inset sky ring); interactive controls keep touch-friendly sizing across mobile layouts.

## Imagery Direction

### Pairs With

pasteboard

### Summary

Cut-paper collage built from layered torn and scissor-cut construction-paper shapes with soft paper drop shadows, masking-tape tabs, small bright ink-pad stamps, and fine pen annotation lines, on warm cream dot-grid paper. Subjects are scrapbook and planning scenes — open notebooks, sticker cards, tabbed index pages, pressed leaves, tape, pens.

### Subjects

- open techo notebook spread
- layered paper sticker cards
- tabbed index pages
- masking tape and pen
- pressed leaf and small stamps

### Usage

One full-bleed cut-paper hero per landing, composed so a legible paper-sticker overlay card can sit over the calmer area. Generated in the Pasteboard technique.

### Generator

- **Model**: gpt-image-2
- **Provider**: openai
- **Tool**: openai-image MCP
- **Size**: 1536x1024
- **Quality**: high
- **Generated At**: 2026-06-24

### Engine Hints

- **Model**: gpt-image-2
- **Provider**: openai
- **Tool**: openai-image MCP
- **Size**: 1536x1024
- **Quality**: high
DESIGN.md
---
version: "alpha"
name: "Marginalia"
description: "Agent-curated design language exported from Katagami as DESIGN.md."
colors:
  bg: "#F4EFE7"
  surface: "#FFFEFB"
  surface_2: "#FBF7F0"
  text: "#24262E"
  muted: "#877F73"
  border: "#E6DECF"
  accent: "#6FB4F2"
  on_accent: "#1C2733"
  coral: "#F3A39A"
  honey: "#F5DE76"
  mint: "#B6E7C9"
  sky: "#9FD0FF"
  lilac: "#D9C2F0"
  success: "#6FBF8F"
  warning: "#E7B93F"
  error: "#E07A6E"
  info: "#6FB4F2"
typography:
  headline-lg:
    fontFamily: "Bricolage Grotesque"
    fontSize: "2.075rem"
    fontWeight: 700
    lineHeight: 1.1
    letterSpacing: "-0.02em"
  headline-md:
    fontFamily: "Bricolage Grotesque"
    fontSize: "1.66rem"
    fontWeight: 600
    lineHeight: 1.15
    letterSpacing: "-0.02em"
  body-md:
    fontFamily: "Nunito"
    fontSize: "17px"
    fontWeight: 400
    lineHeight: 1.5
    letterSpacing: "-0.02em"
  label-md:
    fontFamily: "Geist Mono"
    fontSize: "0.75rem"
    fontWeight: 600
    lineHeight: 1
    letterSpacing: "0.08em"
rounded:
  none: "0px"
  sm: "3px"
  md: "6px"
  lg: "6px"
  full: "9999px"
spacing:
  base: "4px"
  xs: "4px"
  sm: "8px"
  md: "12px"
  lg: "16px"
  xl: "22px"
  2xl: "32px"
  3xl: "48px"
  4xl: "72px"
components:
  color-reference-bg:
    backgroundColor: "{colors.bg}"
  color-reference-surface:
    backgroundColor: "{colors.surface}"
  color-reference-surface_2:
    backgroundColor: "{colors.surface_2}"
  color-reference-text:
    backgroundColor: "{colors.text}"
  color-reference-muted:
    backgroundColor: "{colors.muted}"
  color-reference-border:
    backgroundColor: "{colors.border}"
  color-reference-accent:
    backgroundColor: "{colors.accent}"
  color-reference-on_accent:
    backgroundColor: "{colors.on_accent}"
  color-reference-coral:
    backgroundColor: "{colors.coral}"
  color-reference-honey:
    backgroundColor: "{colors.honey}"
  color-reference-mint:
    backgroundColor: "{colors.mint}"
  color-reference-sky:
    backgroundColor: "{colors.sky}"
  color-reference-lilac:
    backgroundColor: "{colors.lilac}"
  color-reference-success:
    backgroundColor: "{colors.success}"
  color-reference-warning:
    backgroundColor: "{colors.warning}"
  color-reference-error:
    backgroundColor: "{colors.error}"
  color-reference-info:
    backgroundColor: "{colors.info}"
  button-primary:
    backgroundColor: "{colors.accent}"
    textColor: "#000000"
    typography: "{typography.label-md}"
    rounded: "{rounded.md}"
    padding: "{spacing.md}"
  card-surface:
    backgroundColor: "{colors.surface}"
    textColor: "{colors.text}"
    rounded: "{rounded.md}"
    padding: "{spacing.md}"
  input-default:
    backgroundColor: "{colors.surface}"
    textColor: "{colors.text}"
    rounded: "{rounded.md}"
    height: "44px"
---

# Marginalia

## Overview

A scrapbook planner: plan the week the way you'd paste a page. Plans live as layered paper sticker cards on a warm cream notebook page, bright ink-pad stamps file every entry by role, and a pen underline marks the one thing that matters. Faithful to its techo-inspired source, brought up to standard with one clear primary accent, a coherent paper-cutout geometry, fully styled controls, and a full-bleed cut-paper hero.

### Values

- The page, not a feed — a week is a finite notebook spread of paper stickers, not an infinite scroll to clear.
- Paper over chrome — surfaces are layered stationery with soft paper-weight shadow, never glass, gloss, or hard plastic.
- Pen before bold — emphasis comes from a single colored underline on display text, not from heavy weight or oversized controls.
- Bright always, ink stays dark — category and status read instantly from bright stamp fills with dark ink text.
- Five inks, five roles, one primary — sky leads; coral, honey, mint, and lilac are a documented category scale.
- Density with air — content can be rich and list-heavy but always sits in generous margins on a calm dot-grid page.

### Anti-Values

- No dark-fill badges or reversed white text; stamps stay bright with dark ink.
- No rounded-full cards, pill toolbars, or inflated blobs; cards stay rectangular paper cutouts.
- No glass blur, neon glow, animated gradients, or mesh backgrounds; the scene reads printed and tactile.
- No accent hue beyond the five-ink role system.
- No solid panel borders for structure; use borderless stickers, perforation rules, and edge tabs.
- No dot grid inside cards; it belongs to the page background only.
- No pen underline on body or small labels.

### Visual Character

- Sticker cards use near-white paper surfaces with no border, a two-layer paper-weight shadow, and a hover lift of translateY(-3px) rotate(-0.4deg) over 220ms cubic-bezier(0.22,1,0.36,1).
- A fixed 24px radial dot-grid lives on the warm cream page background and shows through the gaps between stickers, never inside a card.
- Display headlines get a single ~4px pen underline built with an ::after pseudo-element, slightly rotated and partially transparent, so emphasis feels hand-marked rather than boxed.
- Ink-pad stamps are bright solid-fill labels with dark ink text, 3px radius, uppercase Geist Mono metadata, and no outline, rotation, or dark fill.
- Each major card carries a single edge tab on its top edge, a 38-58px by 8-10px accent bar, giving every sticker a filed-and-categorized cue without a border.
- Sections and list rows are separated by 2px dashed perforation rules instead of solid dividers.

## 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 | `#F4EFE7` |
| surface | `#FFFEFB` |
| surface_2 | `#FBF7F0` |
| text | `#24262E` |
| muted | `#877F73` |
| border | `#E6DECF` |
| accent | `#6FB4F2` |
| on_accent | `#1C2733` |
| coral | `#F3A39A` |
| honey | `#F5DE76` |
| mint | `#B6E7C9` |
| sky | `#9FD0FF` |
| lilac | `#D9C2F0` |
| success | `#6FBF8F` |
| warning | `#E7B93F` |
| error | `#E07A6E` |
| info | `#6FB4F2` |

## Typography

- **Headline-Lg**: Bricolage Grotesque, 2.075rem, weight 700, line-height 1.1.
- **Headline-Md**: Bricolage Grotesque, 1.66rem, weight 600, line-height 1.15.
- **Body-Md**: Nunito, 17px, weight 400, line-height 1.5.
- **Label-Md**: Geist Mono, 0.75rem, weight 600, line-height 1.

## Layout

### Spacing Tokens

- **Base**: `4px`
- **Xs**: `4px`
- **Sm**: `8px`
- **Md**: `12px`
- **Lg**: `16px`
- **Xl**: `22px`
- **2xl**: `32px`
- **3xl**: `48px`
- **4xl**: `72px`

### Grid

Container max-width 1180px with 16-44px responsive padding. Desktop landing uses a full-bleed hero plus contained multi-card grids; the dashboard uses a 236px sidebar + main; mobile becomes a single-column notebook flow.

### Whitespace

Generous outer margins and 32-72px section gaps so dense content feels curated rather than cramped. Dot-grid texture occupies page whitespace while edge tabs sit flush to card tops.

### Density

Comfortable; list-heavy content allowed but always inside generous margins on a calm page.

### Responsive

Renders well from ~390px mobile to 2560px+ ultra-wide. On mobile, stack to a single column and hide non-essential nav links and table columns; never overflow horizontally. On ultra-wide, cap and center contained content; only the hero spans 100vw. Grids use minmax(0,1fr) + min-width:0 so children shrink instead of overflowing.

### Breakpoints

- **Sm**: 640px
- **Md**: 760px
- **Lg**: 900px

## Elevation & Depth

### Shadows

- **Sm**: 0 1px 2px rgba(36,38,46,.06)
- **Md**: 0 2px 3px rgba(36,38,46,.06), 0 6px 14px rgba(36,38,46,.07)
- **Lg**: 0 3px 5px rgba(36,38,46,.07), 0 12px 28px rgba(36,38,46,.09)

## Shapes

### Rounded

- **None**: `0px`
- **Sm**: `3px`
- **Md**: `6px`
- **Lg**: `6px`
- **Full**: `9999px`

### Surfaces

- **Treatment**: paper
- **Card Style**: Borderless near-white paper sticker with a two-layer paper-weight shadow and a single top edge tab; floats above the dot-grid page without glass blur or bevel.
- **Bg Pattern**: fixed 24px radial dot-grid on the page only

### Borders

- **Default Width**: 0
- **Divider**: 2px dashed #E6DECF
- **Style**: dashed perforation
- **Character**: Structure comes from perforation-like dashed dividers and small edge tabs, not from enclosing cards with borders. The 1.5px deckle line appears only inside form controls.

## Components

### Composition

Build scenes as layered stationery on a notebook page: one hero planning area, one dense reading or task block, and smaller supporting stickers around them. Cards are borderless paper stickers with top edge tabs, ink-pad stamps, and dashed perforation lines replacing generic panel chrome.

### Hierarchy

Lead with Bricolage Grotesque display text, then guide the eye with single pen underlines, mono eyebrows, and bright stamp metadata. Exactly one sky primary action per view; categories and states are surfaced through stamp color roles rather than oversized controls.

### Density

Content may be rich and list-heavy, but padding stays generous (16-22px inside cards) and the layout breathes with wide page margins. Empty space is textured by the dot grid, never filled with decorative noise.

### Signature

Sticker cards + top edge tabs + bright dark-ink ink-pad stamps + pen underlines on display text + a page-only 24px dot grid + 2px dashed perforation dividers.

## 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-019efa7d-0589-7343-a660-a8e13e3b19fa/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 File entries by stamp color and keep stamp text dark for every state.
- Do Underline display headings with a single pen stroke; leave body copy clean.
- Do Give each major sticker card one top edge tab and a soft paper shadow.
- Do Separate sections and rows with dashed perforation rules, not solid borders.
- Do Use Geist Mono for dates, counts, labels, and status so metadata feels filed and cataloged.
- Do Let the page dot-grid texture the whitespace; keep cards clean and pattern-free.
- Do Keep one sky primary action per view and make the rest quieter.
- Don't Do not use dark badges, neon accents, or gradient buttons.
- Don't Do not introduce rounded-full cards, pill toolbars, or oversized bubble inputs.
- Don't Do not put the dot-grid inside cards.
- Don't Do not add glass blur, glow, floating 3D plastic, or ambient animated effects.
- Don't Do not use pen underlines on paragraph text or small labels.
- Don't Do not replace stamps with outline chips; labels stay filled and bright.
- Don't Do not add accent hues beyond the five-ink role system.

### Accessibility

Bright stamps always use dark ink text for strong contrast; pen underlines are decorative rather than required for comprehension; focus states are clearly visible (2px inset sky ring); interactive controls keep touch-friendly sizing across mobile layouts.

## Imagery Direction

### Pairs With

pasteboard

### Summary

Cut-paper collage built from layered torn and scissor-cut construction-paper shapes with soft paper drop shadows, masking-tape tabs, small bright ink-pad stamps, and fine pen annotation lines, on warm cream dot-grid paper. Subjects are scrapbook and planning scenes — open notebooks, sticker cards, tabbed index pages, pressed leaves, tape, pens.

### Subjects

- open techo notebook spread
- layered paper sticker cards
- tabbed index pages
- masking tape and pen
- pressed leaf and small stamps

### Usage

One full-bleed cut-paper hero per landing, composed so a legible paper-sticker overlay card can sit over the calmer area. Generated in the Pasteboard technique.

### Generator

- **Model**: gpt-image-2
- **Provider**: openai
- **Tool**: openai-image MCP
- **Size**: 1536x1024
- **Quality**: high
- **Generated At**: 2026-06-24

### Engine Hints

- **Model**: gpt-image-2
- **Provider**: openai
- **Tool**: openai-image MCP
- **Size**: 1536x1024
- **Quality**: high
shadcn/ui theme
```json
{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "marginalia",
  "type": "registry:theme",
  "title": "Marginalia shadcn Theme",
  "cssVars": {
    "theme": {},
    "light": {
      "background": "#F4EFE7",
      "foreground": "#24262E",
      "card": "#FFFEFB",
      "card-foreground": "#24262E",
      "popover": "#FFFEFB",
      "popover-foreground": "#24262E",
      "primary": "#24262E",
      "primary-foreground": "#ffffff",
      "secondary": "#f4f4f5",
      "secondary-foreground": "#111111",
      "muted": "#877F73",
      "muted-foreground": "#24262E",
      "accent": "#6FB4F2",
      "accent-foreground": "#ffffff",
      "destructive": "#E07A6E",
      "border": "#E6DECF",
      "input": "#E6DECF",
      "ring": "#6FB4F2",
      "chart-1": "#24262E",
      "chart-2": "#f4f4f5",
      "chart-3": "#6FB4F2",
      "chart-4": "#6FBF8F",
      "chart-5": "#E7B93F",
      "sidebar": "#FFFEFB",
      "sidebar-foreground": "#24262E",
      "sidebar-primary": "#24262E",
      "sidebar-primary-foreground": "#ffffff",
      "sidebar-accent": "#6FB4F2",
      "sidebar-accent-foreground": "#ffffff",
      "sidebar-border": "#E6DECF",
      "sidebar-ring": "#6FB4F2",
      "radius": "6px"
    },
    "dark": {
      "background": "#0f1115",
      "foreground": "#f8fafc",
      "card": "#181b22",
      "card-foreground": "#f8fafc",
      "popover": "#181b22",
      "popover-foreground": "#f8fafc",
      "primary": "#24262E",
      "primary-foreground": "#ffffff",
      "secondary": "#252a33",
      "secondary-foreground": "#f8fafc",
      "muted": "#252a33",
      "muted-foreground": "#a1a1aa",
      "accent": "#6FB4F2",
      "accent-foreground": "#ffffff",
      "destructive": "#E07A6E",
      "border": "#303642",
      "input": "#303642",
      "ring": "#6FB4F2",
      "chart-1": "#24262E",
      "chart-2": "#f4f4f5",
      "chart-3": "#6FB4F2",
      "chart-4": "#6FBF8F",
      "chart-5": "#E7B93F",
      "sidebar": "#181b22",
      "sidebar-foreground": "#f8fafc",
      "sidebar-primary": "#24262E",
      "sidebar-primary-foreground": "#ffffff",
      "sidebar-accent": "#6FB4F2",
      "sidebar-accent-foreground": "#ffffff",
      "sidebar-border": "#303642",
      "sidebar-ring": "#6FB4F2",
      "radius": "6px"
    }
  },
  "meta": {
    "source": "katagami",
    "languageId": "en-019efa7d-0589-7343-a660-a8e13e3b19fa",
    "slug": "marginalia",
    "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",
        "coral",
        "error",
        "honey",
        "info",
        "lilac",
        "mint",
        "muted",
        "on_accent",
        "sky",
        "success",
        "surface",
        "surface_2",
        "text",
        "warning"
      ],
      "typography": [
        "base_size",
        "body_font",
        "google_fonts_url",
        "heading_features",
        "heading_font",
        "heading_transform",
        "heading_weight",
        "letter_spacing",
        "line_height",
        "mono_font",
        "mono_tracking",
        "scale"
      ],
      "radii": [
        "full",
        "lg",
        "md",
        "none",
        "sm"
      ],
      "shadows": [
        "lg",
        "md",
        "sm"
      ],
      "spacing": [
        "base",
        "scale"
      ],
      "surfaces": [
        "bg_pattern",
        "card_style",
        "treatment"
      ],
      "borders": [
        "character",
        "default_width",
        "divider",
        "style"
      ],
      "motion": [
        "duration",
        "easing",
        "page_transitions",
        "philosophy",
        "reveal",
        "sticker_hover"
      ]
    }
  }
}
```
in the wild

embodiments

bespoke marketing landingopen full page ↗
landing · marginalia
DESIGN.md

at a glance

Typography

headline-lgBricolage Grotesque · 33px · 700

The quick brown fox jumps

headline-mdBricolage Grotesque · 27px · 600

The quick brown fox jumps

body-mdNunito · 17px · 400

The quick brown fox jumps

label-mdGeist Mono · 12px · 600

The quick brown fox jumps

shadcn/ui

implementation kit

built with

Agent-generated

remix lane

try a remix

Keep Marginaliaand swap a palette and an art style onto it — the landing & dashboard recolor live. The Studio does the same with all three lanes free.

UI language · fixed
Marginalia
Palette
Art style
Landing Page
live preview · recolored + filled
lineage

Family

1 descendant
related

More like this