# Obsidian Canvas

Pure-black, near-monochrome product stage where white type, hairline-bordered panels and glowing electric-blue accents let editor UI screenshots do the talking. Confident, technical and quiet, with tight display headlines and dim-to-bright reveals.

Tags: dark, saas, minimal, black, product-ui, bento, developer, ai
Inspired by: https://www.framer.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` | #000000 | Page background and the dominant surface |
| `surface` | #111111 | Raised panels, marketplace window, inset cards |
| `surface-raised` | #1f1f1f | Secondary buttons, pills, input fills |
| `surface-high` | #242424 | Selected rows, toggles, hover surfaces |
| `hairline` | rgba(255,255,255,0.1) | 1px card borders and grid dividers |
| `hairline-soft` | rgba(255,255,255,0.06) | Subtle inset outlines and table rules |
| `primary` | #ffffff | Headlines, nav, active labels |
| `secondary` | rgba(255,255,255,0.6) | Body copy, nav links, descriptions |
| `muted` | #999999 | Captions, metadata, inactive items |
| `faint` | #666666 | Disabled and tertiary labels |
| `accent-blue` | #0099ff | Primary accent: links, sliders, focus, publish button, glows |
| `accent-blue-wash` | rgba(0,153,255,0.22) | Tinted fills for selected and highlighted elements |
| `accent-deep-blue` | #0055ff | Deeper blue for neon edge glows |
| `success` | #4cd963 | Good status badges and online indicators |
| `inverse-surface` | #ffffff | Primary CTA buttons and cookie card |
| `scrim` | rgba(0,0,0,0.8) | Overlays and edge fades |

## Typography
| Token | Stack | Usage |
| --- | --- | --- |
| `font-sans` | Inter Variable, Inter, Inter Placeholder, sans-serif | UI text, body, nav, buttons, captions |
| `font-display` | GT Walsheim Medium, Inter Variable, sans-serif | Large tight headlines and section titles |
| `font-mono` | Geist Mono, JetBrains Mono, ui-monospace, monospace | Inline code, terminal and agent snippets |

| Class | Size | Line height | Weight | Tracking |
| --- | --- | --- | --- | --- |
| `text-display` | 54px | 1.02 | 500 | -0.04em |
| `text-h1` | 44px | 1.1 | 500 | -0.035em |
| `text-h2` | 30px | 1.15 | 500 | -0.03em |
| `text-h3` | 24px | 1.2 | 500 | -0.02em |
| `text-lead` | 18px | 1.35 | 400 | -0.01em |
| `text-body` | 15px | 1.45 | 400 | 0 |
| `text-ui` | 14px | 1.4 | 500 | 0 |
| `text-caption` | 12px | 1.4 | 400 | 0 |

## Shape & depth
| Class | Value |
| --- | --- |
| `rounded-sm` | 6px |
| `rounded-md` | 8px |
| `rounded-lg` | 15px |
| `rounded-xl` | 20px |
| `rounded-full` | 50% |
| `shadow-button-lift` | 0 2px 4px rgba(0,0,0,0.1), inset 0 0.5px 0 rgba(255,255,255,0.05) |
| `shadow-inner-outline` | inset 0 0 0 1px rgba(255,255,255,0.05) |
| `shadow-ring` | 0 0 0 1px rgba(255,255,255,0.1) |
| `shadow-blue-glow` | 0 0 60px rgba(0,85,255,0.55), 0 0 0 1px rgba(0,153,255,0.6) |
| `bg-fade-to-black` | linear-gradient(rgba(84,84,84,0) 0%, #000 100%) |
| `bg-edge-fade-x` | linear-gradient(90deg, rgba(0,0,0,0) 0%, #000 96.8%) |
| `bg-neon-aura` | radial-gradient(50% 50% at 50% 50%, rgba(0,85,255,0.55) 0%, rgba(0,0,0,0) 70%) |
| `bg-white-fade` | linear-gradient(#fff 0%, rgba(255,255,255,0) 100%) |

## Motion
| Token | Kind | Duration | Easing | Notes |
| --- | --- | --- | --- | --- |
| `fade-in-load` | transition | 400ms | linear | Header actions and elements fade from near-zero opacity to 1 on load. |
| `scale-reveal` | transition | 1100ms | linear | Feature visuals fade in while scaling from 0.8 to 1 on load. |
| `surface-hover` | transition | 300ms | cubic-bezier(0.44, 0, 0.56, 1) | Background and box-shadow shift on buttons and cards when hovered. |
| `link-brighten` | transition | 100ms | linear | Nav and text links go from 60% white to full white on hover. |
| `caret-blink` | animation | 1000ms | linear | Blinking typing caret in the agent prompt demo. |
| `shimmer-sweep` | animation | 2400ms | linear | Gradient shimmer sweeping across 'thinking' text. |
| `marquee-slide` | animation | 2400ms | cubic-bezier(0.44, 0, 0.56, 1) | Horizontal story-card rail glides in on scroll. |

## Components
- **Minimal Black Header** (`components/minimal-dark-header.tsx`, header) — Transparent black bar with logo left, muted text links (Platform, Solutions, Resources, Enterprise, Pricing) with chevrons, and right-aligned 'Log in' text link plus a white rounded 'Sign up' button. Collapses to a hamburger icon on narrow widths. Props: brand, links (string array; all but the last show chevrons), loginLabel, signupLabel. Renders standalone; the hamburger toggles a simple stacked menu below lg.
- **Platform Bento Grid** (`components/platform-bento-grid.tsx`, features) — Large rounded bordered grid of mixed-span cells (2-col and 3-col rows) each housing a cropped dark product UI (Core Web Vitals bars, CMS tree, site settings, branches, uptime, locales, analytics chart) with bottom fade masks and an 'Arrow link' label at the bottom-left. Cells are divided by hairlines only. Props: title, subtitle, and labels (array of 7 strings for the first seven cell labels). Renders standalone; the grid is divided by hairlines and each preview fades at the bottom via a mask, with arrows nudging on label hover.
- **Audience Icon Grid** (`components/audience-grid.tsx`, features) — 4×2 grid inside a single hairline-bordered rounded container; each cell has a small outline icon, white role title and two-line grey blurb (Designers, Marketers, Site teams, Growth, Builders, Engineers, Agencies, Founders). Pass `heading` (use \n for a line break) and `items` (array of {icon, title, blurb}; icon is one of pen, bars, users, drop, cube, play, layout, user). Renders standalone with defaults.
- **Sticky-date Changelog Entry** (`components/changelog-entry.tsx`, changelog) — Two-column entry: left sticky column with white title and grey relative date ('Yesterday', '2 weeks ago'); right 800px column with a 16:9 rounded-20px black media frame (looping video, glowing UI or shader render) followed by grey paragraph copy with white underlined inline links and mono code chips. Props: title and date fill the sticky left column; rows customizes the three workflow cards in the 16:9 frame (set active on one for the blue glow). Renders standalone with defaults.
- **Neon Agent Prompt Hero** (`components/agent-prompt-hero.tsx`, hero) — Left-aligned two-line display headline with grey subhead, a white pill CTA plus 'Connect with' icon row, then a hairline-framed video stage of a glowing chat composer floating in black with a deep blue aura. A faint SVG grid pattern sits behind. A duration chip sits bottom-right. Pass headline, subhead, ctaLabel, connectLabel, duration, placeholder, chatTitle and modelName as props; all have defaults. The video stage is recreated in code with a pulsing blue aura behind a glowing composer mockup.
- **Hairline Triple Feature Strip** (`components/hairline-triple-feature.tsx`, features) — A single rounded 15px bordered container split into three equal columns by 1px dividers; each has an outline icon, white title and grey body text. Sits below a small editor screenshot. Pass `heading` and a `features` array of {title, body, icon: 'spark' | 'cursor' | 'rocket'}. Renders standalone with defaults; cells brighten their background on hover.
- **App-Window Marketplace Browser** (`components/marketplace-window.tsx`, media) — A macOS-style window frame with traffic-light dots, tab bar, search field, category link columns, segmented Trending/Best/Recent filter and a 4-up grid of 20px-rounded 4:3 template thumbnails with title, author and price pill (Free/$99). Includes an 'Agent Templates' promo card with a blue 'New' badge. Props: heading, count, ctaLabel, items (title, author, price, img) and promoImage; all have defaults so it renders with no props. Tabs and filter pills are interactive local state.
- **White Pill and Ghost Buttons** (`components/pill-button-set.tsx`, button) — Primary: white fill, black 14px/500 label, 8px radius. Secondary: #1a1a1a/#1f1f1f fill with white label, same radius, used as section-header actions ('Start with agents', 'See sites', 'Read stories'). Tiny inset hairline and soft drop shadow. Props: headline (use \n for line break), primaryLabel, secondaryLabel, onPrimaryClick, onSecondaryClick. Renders a header row with a white primary and a dark ghost secondary button, both with 300ms hover and press scale.
- **Headline With Side Action** (`components/section-header-row.tsx`, cta) — Two-line tight-tracked white section heading on the left, optional grey subtext below, with a small secondary button (and sometimes a resource count) aligned right on the same baseline. Props: title, subtext (optional, hidden when empty), actionLabel, actionHref, and count (optional resource count shown beside the button). Renders standalone with defaults on a canvas background.
- **Monochrome Logo Cloud** (`components/customer-logo-grid.tsx`, logo-cloud) — Two rows of four white-on-black customer wordmarks, evenly spaced and centered with generous vertical padding, no borders. Pass `logos` (array of {name, mark}) and an optional `label` caption. Renders two rows of four white wordmarks with simple geometric marks on a black canvas; fades in on scroll.
- **Agent Chat Side Panel** (`components/agent-chat-panel.tsx`, chat-input) — Dark rounded panel with a 'Desktop' blue chip, prompt bubble, shimmering 'Thinking…' status, and a bottom composer with 'Add follow-up…' field, model selector (GPT) and small icon buttons. Used alongside canvas screenshots. Props: chipLabel, prompt, status, placeholder, modelName, onSend(value). Renders standalone; type in the composer and press the send button or Enter.
- **Editor Inspector Cards** (`components/properties-inspector-bento.tsx`, card) — Bento of tiles showing real editor controls: Loop Effect panel with segmented 2D/3D, blue sliders, number fields; OpenType panel with Yes/No toggle pairs; Variable-font weight slider; form builder with dashed blue selection outline. Each tile has a bold white lead-in word followed by grey description. Renders standalone; optional props: heading and the four [lead, description] caption tuples. Sliders, segmented controls and Yes/No toggles are interactive, and each tile scales from 0.8 and fades in on load.
- **Full-bleed Story Tile Mosaic** (`components/story-tile-mosaic.tsx`, blog) — 2×2 mosaic of 16:10 rounded customer-site screenshots, edge to edge with tiny gutters, each a bold colorful full-bleed photo or poster with oversized type; they carry the color while the chrome stays black. Optional props imageA–imageD swap the photo slots (defaults are stock URLs). Tiles slide in from the sides on scroll and scale slightly on hover.
- **Floating Cookie Notice** (`components/cookie-card.tsx`, toast) — White 15px-rounded card fixed bottom-left with dark copy, blue 'Cookie Policy' link and a grey Reject / black Accept button pair. Props: message, linkLabel, linkHref, rejectLabel, acceptLabel and an onChoice callback receiving 'accept' or 'reject'. The card is fixed bottom-left and dismisses itself after either button is clicked.
- **Six-column Link Footer** (`components/mega-footer.tsx`, footer) — Black footer of six link columns (Product, Marketplace, Resources, Solutions, Compare, Company) with white column headings, muted 14px links and tiny 'NEW' pill badges, ending in a utility row: logo, language select, social icons, compliance badges, green status dot and copyright. Pass `columns` (array of column groups, each with a title and links with optional isNew), plus `copyright`, `status` and `languages`. Renders standalone with defaults; links dim to 60% white and brighten on hover.
- **Glowing Orb Media Frame** (`components/glow-orb-media.tsx`, background) — Black rounded frame containing a centered 3D or particle object (dotted blue sphere, chrome arrows) with a soft blue radial aura bleeding into black; blue neon outlined UI cards use the same glow treatment. Props: caption, linkText, captionEnd, linkHref. The orb is a canvas-drawn rotating dotted sphere with a breathing blue aura, standing in for the looping muted video; it stops animating under reduced motion.
- **Uptime Stat Tile** (`components/stat-chip-uptime.tsx`, stats) — Large white '99.99%' numeral with a dimmer reflected 'uptime' echo over a curved metallic-grey arc gradient, cropped to a bento cell. Props: value (big numeral), echo (reflected word), label (link text) and href. Fits a bento cell; the arc drifts subtly via Parallax.
