# Warm Paper Editorial

A calm, warm-gray paper canvas with near-black ink text and a single burnt-orange link accent. Product UI mockups float in muted painterly or flat-tinted frames, giving an editorial, studio-quiet feel for developer tooling.

Tags: light, warm-neutral, developer-tools, editorial, minimal, product-mockup, saas, flat
Inspired by: https://www.cursor.com/

## How to use (for coding agents)

Use `tailwind.config.js` (theme.extend) and `tokens.css` from this folder. Build UI with the
token classes below rather than default Tailwind colors. Components in `components/` are
self-contained React + Tailwind files and can be copied in as-is.

## Colors
| Token | Value | Role |
| --- | --- | --- |
| `canvas` | #f7f7f4 | Page background |
| `surface` | #f2f1ed | Cards, panels, section containers, app window chrome |
| `surface-sunken` | #ebeae5 | Inset tiles, media wells, view-more bar |
| `surface-deep` | #e6e5e0 | Secondary button fill, deeper wells |
| `media-stone` | #d9d5cf | Placeholder/illustration backdrop behind mockups |
| `media-sage` | #cfcebc | Olive-tinted mockup backdrop |
| `media-slate` | #b6b9be | Cool gray-blue mockup backdrop |
| `ink` | #26251e | Primary text, primary button fill, icons |
| `ink-muted` | rgba(38,37,30,0.6) | Secondary text, subheads, meta |
| `ink-faint` | rgba(38,37,30,0.4) | Tertiary text, placeholders, timestamps |
| `hairline` | rgba(38,37,30,0.1) | 1px borders and dividers |
| `accent` | #f54e00 | Arrow links and CTA text accents |
| `positive` | #1f8a65 | Diff additions, success states |
| `negative` | #cf2d56 | Diff deletions, errors |
| `info` | #3a6a9f | Inline context chips, mentions |
| `amber` | #c9a227 | Build/Continue action buttons in product UI |

## Typography
| Token | Stack | Usage |
| --- | --- | --- |
| `font-sans` | CursorGothic, CursorGothic Fallback, system-ui, Helvetica Neue, Helvetica, Arial, sans-serif | All UI, headings, body copy |
| `font-serif` | EB Garamond, Iowan Old Style, Palatino Linotype, Georgia, serif | Editorial text rendered inside product mockups |
| `font-mono` | berkeleyMono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace | Terminal, code, install commands, CLI mockups |

| Class | Size | Line height | Weight | Tracking |
| --- | --- | --- | --- | --- |
| `text-display` | 72px | 1.1 | 400 | -0.03em |
| `text-h1` | 36px | 1.2 | 400 | -0.02em |
| `text-h2` | 26px | 1.25 | 400 | -0.0125em |
| `text-lead` | 22px | 1.3 | 400 | -0.005em |
| `text-body` | 16px | 1.5 | 400 | 0.005em |
| `text-ui` | 14px | 1.4 | 400 | 0.01em |
| `text-caption` | 12px | 1.33 | 400 | 0.0044em |
| `text-product-micro` | 11px | 1.27 | 400 | 0.0044em |

## Shape & depth
| Class | Value |
| --- | --- |
| `rounded-xs` | 4px |
| `rounded-md` | 8px |
| `rounded-lg` | 12px |
| `rounded-pill` | 9999px |
| `shadow-hairline-ring` | 0 0 0 1px rgba(38,37,30,0.1) |
| `shadow-flyout` | 0 0 1rem rgba(0,0,0,0.02), 0 0 .5rem rgba(0,0,0,0.01) |
| `shadow-window` | 0 28px 70px rgba(0,0,0,0.14), 0 14px 32px rgba(0,0,0,0.1), 0 0 0 1px rgba(38,37,30,0.1) |
| `shadow-popover` | 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1) |
| `bg-tint-wash` | linear-gradient(rgba(38,37,30,0.05), rgba(38,37,30,0.05)), linear-gradient(#f2f1ed, #f2f1ed) |
| `bg-fade-to-surface` | linear-gradient(to top in oklab, #f2f1ed 0%, rgba(0,0,0,0) 100%) |
| `bg-mask-bottom-fade` | linear-gradient(#000 calc(100% - 36px), rgba(0,0,0,0)) |
| `bg-shimmer-sweep` | linear-gradient(90deg, rgba(38,37,30,0.4) 30%, rgba(38,37,30,1) 55%, rgba(38,37,30,0.4) 70%) |

## Motion
| Token | Kind | Duration | Easing | Notes |
| --- | --- | --- | --- | --- |
| `hover-color` | transition | 150ms | cubic-bezier(0.4, 0, 0.2, 1) | Text colour fades to 75% ink, ghost/secondary button background fills to surface on hover. |
| `spring-pop` | transition | 140ms | cubic-bezier(0.25, 1, 0.5, 1) | Opacity and transform for small UI elements like tab close buttons and menus. |
| `rise-in` | animation | 380ms | cubic-bezier(0.25, 1, 0.5, 1) | Staggered entrance of rows and messages inside product mockups (~140ms stagger). |
| `shimmer` | animation | 2500ms | linear | Gradient text sweep on in-progress agent status labels like 'Working' and 'Reading'. |
| `fade-in` | animation | 200ms | ease-out | Simple opacity entrance for chat bubbles and popovers. |
| `nav-item-slide` | animation | 200ms | cubic-bezier(0.4, 0, 0.2, 1) | Navigation dropdown items slide down 4px while fading in. |

## Components
- **Ink and Ghost Pill Buttons** (`components/pill-button-pair.tsx`, button) — Fully rounded pill buttons: primary is solid #26251e with off-white text and trailing download icon; secondary is #e6e5e0 with ink text and arrow. Used in hero, CTA and cookie banner. Props: heading, primaryLabel, secondaryLabel, primaryHref, secondaryHref. Renders standalone with defaults; the secondary pill fills toward the surface color on hover with a 150ms transition.
- **Quote Card Grid** (`components/quote-card-grid.tsx`, testimonial) — 3x2 grid of surface cards with 16px quoted text at top and a round 40px portrait avatar with name in ink and title in muted gray at bottom. Pass `heading` and a `quotes` array of {quote, name, title}; renders a 3-column grid (2 on tablet, 1 on mobile) of static cards with initials avatars. Renders standalone with defaults.
- **Terminal Install Chip** (`components/install-command-chip.tsx`, code) — Mono-font command on a sunken rounded bar with a dark circular copy button at the right edge; text truncates under the button. Props: command (text shown and copied), label (aria-label for the button), className. Clicking the dark round button copies the command and briefly shows a check mark.
- **Dated Blog Index Table** (`components/blog-index-table.tsx`, list) — Surface-tinted panel containing hairline-separated rows in columns: muted date · category, ink title, muted author, right-aligned reading time. Ends with a full-width sunken 'View more ↓' bar. Above: text filter tabs with active in ink and a pill search field. Props: posts (date, category, title, author, time), tabs (first is the 'all' tab), moreLabel. Tabs filter by category and the search pill filters by title; renders standalone with defaults.
- **Customer Story Logo Cards** (`components/customer-story-cards.tsx`, card) — Four-up surface cards with title text, muted date, and a 16:9 sunken well holding a large dark customer wordmark centered. Pass `heading` and a `stories` array of {title, date, brand, mark} (mark: ring | square | bars | dot). Renders standalone with defaults; cards tint on hover.
- **Hairline Chevron Accordion** (`components/faq-hairline-accordion.tsx`, faq) — Two-column FAQ: large 36px heading on the left, right column of question rows separated by 1px hairlines, each with a down chevron at the far right. Props: heading (string) and items (array of {q, a}). Click a row to expand it in place; the chevron rotates and the hairline stays. Only one row is open at a time.
- **Centered Pull Quote** (`components/pull-quote-statement.tsx`, text-effect) — Large 36–40px centered statement in quotes, with a muted 'From …' attribution and an orange Read more arrow link. Props: quote, source, linkLabel, href. Renders standalone with defaults; place it on a canvas-colored page section.
- **Painterly Backdrop App-Window Hero** (`components/app-window-hero.tsx`, hero) — Left-aligned 22px headline over pill buttons (solid ink and soft gray), then a wide 16:9 framed panel with a muted impressionist landscape painting as full-bleed backdrop. Overlapping macOS-style app windows (three-pane desktop agent, terminal CLI window) with traffic-light dots and heavy soft shadows sit on top; a cookie banner floats in the corner. Props: headline, primaryLabel, secondaryLabel, imageSrc (backdrop painting, defaults to a stock landscape). Renders standalone with no props.
- **Split Feature Panel with Tinted Media Well** (`components/split-feature-panel.tsx`, features) — Wide #f2f1ed container with hairline ring, text column vertically centered (ink title with muted-gray sentence directly beneath, orange arrow link) beside a large tinted media well holding a mockup or photo. Alternates sides down the page; wells use stone, slate or painterly backdrops. Props: title, description, linkLabel, linkHref, imageSrc (stock default) and reverse to flip sides. Mockup rows fade in with a 5px rise once scrolled into view.
- **Burnt Orange Arrow Link** (`components/arrow-link.tsx`, link) — Small inline text link in #f54e00 with trailing → or ↗ glyph, placed under card or panel descriptions. Props: label, href, glyph (→ or ↗), title, description, className. Renders a small burnt-orange link under a description; hover fades opacity to 75% over 150ms and nudges the glyph.
- **Three-Up Feature Card with Mockup Well** (`components/three-up-feature-card.tsx`, card) — Stacked card on surface fill: ink title, muted description, orange 'Learn more →' link, then a square tinted well (stone, sage, slate, or pale) with a cropped floating UI vignette such as subagent lists, rules file, command palette or checkpoint timeline. Bottom edges often fade via mask. Props: heading, subheading, and features (title, description, href, linkLabel) for the three cards. The mockup wells (task list, rules file, search trace) are built in and animate in on load.
- **Four-Up Surface Cards** (`components/surface-quad-grid.tsx`, features) — Four equal columns of surface-tint cards with title, muted description, orange link and a cropped illustrated screenshot (desktop, CLI, Slack, mobile) in a stone well that bleeds off the right edge. Props: heading, subheading, and cards (array of {title, text, cta, external}). Renders four cards with built-in miniature UI mockups that are cropped on the right edge; works with no props.
- **Monochrome Logo Tile Row** (`components/logo-cloud-tiles.tsx`, logo-cloud) — Eight equal square-cornered tiles on a slightly darker surface with hairline border, each holding a single-color dark wordmark centered. Small centered caption above. Pass `caption` for the small centered heading and `logos` (array of {name, mark, style}) to change the eight wordmark tiles. Renders standalone with generic fictional brands and geometric marks.
- **Dated Changelog Cards** (`components/changelog-date-cards.tsx`, changelog) — Row of four compact surface cards: muted date line above an ink release title, followed by a single orange 'See what's new' arrow link below the row. Pass heading, an entries array of {date, title, href}, and linkLabel/linkHref for the footer link. Renders standalone with defaults; cards stack responsively from 1 to 4 columns.
- **Oversized Centered Closing CTA** (`components/closing-cta-center.tsx`, cta) — Huge centered ~72px tight-tracked headline on bare canvas with the ink pill and ghost pill side by side below. Props: headline, primaryLabel, secondaryLabel, primaryHref, secondaryHref. Renders standalone on the canvas background with an ink pill (with download icon) and a ghost pill below the oversized headline.
- **Featured and Stacked Blog Cards** (`components/editorial-post-grid.tsx`, blog) — Asymmetric layout: one large card with 1.9:1 dark cover image plus meta line (date · category), 22px title, muted excerpt and small round author avatar; right column stacks smaller cards with similar structure including a looping muted video cover. Pass `featured` and `stacked` (arrays of {meta,title,excerpt,author,read,initials}) plus `coverSrc` for the photo cover; renders standalone with defaults. Cards tint on hover.
- **Agent Chat Window Mockup** (`components/agent-chat-mockup.tsx`, media) — Code-drawn macOS window with traffic lights, three panes (task list with green/red diff counts, chat transcript with file chips and composer, preview), tiny 11–13px type, soft layered shadow, optionally with amber Continue/Build buttons and numbered option chips. Renders standalone; override windowTitle, heading, prompt, question, options, docTitle, docBody, running and tasks (title, meta, time, add, del, active) via props to change the mockup content.
- **Floating Cookie Banner** (`components/cookie-banner.tsx`, toast) — Small white-ish floating card at bottom-right with 12px text, underlined policy links, close X, outlined pill 'Cookies Settings' and two ink pills for Reject/Accept. Renders a fixed bottom-right cookie card; override `message` and the `onAcceptAll`, `onRejectAll`, `onSettings`, `onDismiss` callbacks. The X and the Decline/Allow buttons hide the banner.
