# Obsidian Serif Glow

Pure-black canvas with hairline-bordered glass panels, silvery gradient headlines and sparing neon accents (orange, green, blue) that glow from 3D icon objects. Editorial serif heroes meet precise monospace code and dashboard fragments for a confident, technical-luxury feel.

Tags: dark, developer, saas, glassmorphism, minimal, monospace, gradient-text, glow
Inspired by: https://resend.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 |
| --- | --- | --- |
| `background` | #000000 | Page canvas |
| `surface` | #141517 | Raised panels, buttons, cards (gray-1) |
| `surface-raised` | #191b1e | Inner cards, inbox rows, hover surface |
| `surface-high` | #212629 | Chips, tags, active nav item |
| `hairline` | rgba(214,235,253,0.19) | Borders and dividers on cards and inputs |
| `hairline-soft` | rgba(217,237,254,0.145) | Subtle panel outlines, gradient-border start |
| `primary` | #f0f0f0 | Headings and strong text |
| `secondary` | #a1a4a5 | Body copy, nav links, descriptions |
| `muted` | #6e7679 | Tertiary labels, line numbers, faded rows |
| `accent-orange` | #ffc799 | Gradient headline highlight and code strings (to orange-400) |
| `accent-green` | #2ca86c | Delivered states, charts, Forge brand glow |
| `accent-blue` | #0090ff | Inbox glow, primary email button, selected tags |
| `accent-cyan` | #a1fcea | Highlight text and tech glints |
| `state-warning` | #f5b82e | Complained badge, warning dots |
| `state-danger` | #ef4444 | Bounced badge, error dots |
| `paper` | #ffffff | Light email canvas and inverted Send/Compose button |

## Typography
| Token | Stack | Usage |
| --- | --- | --- |
| `font-sans` | 'Inter Website', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji' | Body copy, UI labels, buttons, tables |
| `font-display` | aBCFavorit, ui-sans-serif, system-ui, sans-serif | Section headlines with silver gradient fill, tight tracking |
| `font-serif` | domaine, ui-serif, Georgia, serif | Editorial hero and page titles (Email for developers, Pricing, Forge) |
| `font-mono` | 'Commit Mono Website', ui-monospace, SFMono-Regular, Menlo, monospace | Code blocks, data labels, uppercase technical captions |

| Class | Size | Line height | Weight | Tracking |
| --- | --- | --- | --- | --- |
| `text-display-hero` | 96px | 1 | 400 | -0.03em |
| `text-h1` | 56px | 1.05 | 400 | -0.04em |
| `text-h2` | 36px | 1.15 | 400 | -0.03em |
| `text-lead` | 18px | 1.5 | 400 | 0 |
| `text-body` | 16px | 1.7 | 400 | 0 |
| `text-ui` | 14px | 1.43 | 500 | 0 |
| `text-caption` | 12px | 1.33 | 400 | 0 |
| `text-mono-label` | 10px | 1.4 | 400 | 0.08em |

## Shape & depth
| Class | Value |
| --- | --- |
| `rounded-sm` | 6px |
| `rounded-md` | 12px |
| `rounded-lg` | 16px |
| `rounded-xl` | 24px |
| `rounded-pill` | 9999px |
| `shadow-ring-hairline` | 0 0 0 1px rgba(24,25,28,0.88) |
| `shadow-card-soft` | 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1) |
| `shadow-inset-highlight` | inset 0 1px 1px 0 #ffffff |
| `shadow-glow-blue` | 0 0 60px 30px #0090ff |
| `bg-silver-text` | linear-gradient(to right bottom, #ffffff 30%, rgba(255,255,255,0.5)) |
| `bg-panel-border` | linear-gradient(42deg, rgba(24,25,28,0.88) 45%, rgba(215,239,248,0.28)) |
| `bg-top-glow` | radial-gradient(70% 80% at 50% 0%, rgba(255,255,255,0.1) 3%, rgba(0,0,0,0) 70%) |
| `bg-rainbow-pill-edge` | linear-gradient(150deg, #02fcef 0%, #ffb52b 50%, #a02bfe 100%) |

## Motion
| Token | Kind | Duration | Easing | Notes |
| --- | --- | --- | --- | --- |
| `hero-text-slide-up-fade` | animation | 1000ms | linear | Hero eyebrow, headline and copy rise 16px and fade in on load. |
| `hover-color` | transition | 200ms | cubic-bezier(0.4, 0, 0.2, 1) | Nav links and buttons shift from #a1a4a5 to #f0f0f0. |
| `scroll-fade-stagger` | transition | 300ms | cubic-bezier(0.25, 0.1, 0.35, 1) | Grid items fade in on scroll with an 80ms stagger. |
| `scroll-x` | animation | 180000ms | linear | Testimonial marquee drifting left; pauses on hover. |
| `shine-sweep` | animation | 5000ms | linear | Shimmering gradient sweep across mono data labels. |
| `open-scale-up-fade` | animation | 200ms | cubic-bezier(0, 0, 0.2, 1) | Popovers and dropdowns pop in with slight scale and rise. |

## Components
- **Blue Glass Agent Config Card** (`components/agent-config-glass-card.tsx`, form) — Large rounded glass card with deep blue radial wash holding a title, instruction textarea and an 'All actions' select. Paired left with an icon eyebrow, gradient headline and gray copy. Props: eyebrow, headline, copy, cardTitle, cardCopy, initialInstructions, options (select items). The textarea is editable and the select opens a scale-up-fade popover; all props have defaults.
- **Hairline Use-Case Grid** (`components/hairline-use-case-grid.tsx`, features) — Three-by-two grid separated only by 1px hairline dividers, each cell with a light-weight title and gray two-line description beneath a centered eyebrow and gradient heading. Props: eyebrow, heading, subheading, and items (array of {title, description}). Renders standalone with defaults; cells fade in with an 80ms stagger on scroll.
- **Serif Hero with Dark 3D Object** (`components/serif-hero-with-3d-object.tsx`, hero) — Left-aligned serif headline with silver gradient fill over a black field, with a gradient-bordered pill eyebrow (rainbow edge, glass blur), muted subcopy and a dark-glass button plus ghost link. A moody 3D rendered cube sits right, faded by a bottom mask, with a faint diagonal light streak across the page. Props: eyebrow, titleLine1, titleLine2, description, primaryLabel, secondaryLabel. Renders standalone; text rises on load and the CSS 3D cube scales in on scroll.
- **Monochrome Logo Cloud** (`components/logo-cloud-grid.tsx`, logo-cloud) — Two rows of six white monochrome customer logos under a centered gray tagline, inside a large rounded container with top glow, ending in a gray 'Explore' arrow link. Props: tagline, logos (array of {name, mark, style}), linkLabel, href. Renders with no props; logos are generic fictional marks drawn in SVG.
- **Language Picker and Code Window** (`components/language-picker-code-window.tsx`, code) — Row of 56px rounded-square icon tiles with labels (active tile has a bright outline and orange icon) above a rounded hairline code panel. The panel has a framework tab strip, copy button, line-numbered mono code with orange strings and gray keywords, and a footer of GitHub/ZIP links. A glossy 3D app-icon sits above a gradient headline with an orange highlighted phrase. Renders standalone; optional props title, highlight and description change the headline copy. Clicking a language tile or a framework tab swaps the code, which slides in from above over about 340ms.
- **Glossy Icon Section Header** (`components/glossy-icon-section-header.tsx`, features) — Centered section intro: a 170px looping-video 3D app icon (black glass squircle with colored under-glow: orange, purple, cyan, green), a silver-gradient display headline and a two-line gray subhead. Repeated for each feature chapter. Props: title, description, and glow (any CSS colour, e.g. var(--color-accent-orange)) to change the icon's under-glow. Repeat the component per feature chapter; the header fades in on scroll.
- **Test Mode and Webhook Dual Cards** (`components/event-timeline-dual-card.tsx`, features) — Two large rounded hairline cards with top radial glow: left shows a status pill, recipient dropdown and Send button above a faded stream of mono 'HTTP 200' lines; right shows a vertical timeline of Complained/Bounced events with colored badges and inline chips. Titles with icon, short copy and a 'Learn more' link sit below each card, and the bottom fades to black. Props: heading, intro, leftTitle, leftText, rightTitle, rightText. Renders standalone; log lines and timeline animate in once when scrolled into view.
- **Email Composer Window** (`components/email-composer-mockup.tsx`, media) — Wide dark app window with toolbar (Styles button, centered title, timestamp, outline Test and white Send buttons) holding a From/To/Subject header with divider lines, a dark rendered banner image and a white paper writing area with 'Press / for commands' placeholder. A violet glow lines the top edge and the bottom fades out. Props: title, description, docTitle, from, recipients, subject, placeholder, saved. Renders standalone with defaults; the window's bottom edge fades to black via a mask.
- **Code and Email Preview IDE** (`components/ide-preview-split-window.tsx`, code) — macOS-style window with traffic-light dots, device and theme toggle segmented controls, a file list sidebar (active file in blue), a numbered mono code pane and a right-hand light email preview with cyan glow orb, bold greeting and a bright blue CTA button. Pass `files` (name, code lines, title, body, cta) to customize; no props needed. Click files to swap code and email, and use the segmented toggles for mobile width and light paper preview.
- **Feature Chip Row with Dashboard Shot** (`components/feature-tab-cards-dashboard.tsx`, features) — Three outlined pill-radius cards with small icon squares (active one lit in green) above a large framed analytics dashboard: sidebar nav, metric cards with uppercase mono labels, status dots and a green area chart that fades at the bottom. Props: title, subtitle, and chips (array of {label, icon: 'chart'|'mail'|'globe'}). Clicking a chip swaps the dashboard view and lights the chip with a green border beam.
- **Testimonial Marquee Cards** (`components/testimonial-marquee.tsx`, testimonial) — Horizontally drifting row of dark gradient cards with a quote, overlapping company-logo and portrait avatars, name and role. Cards have a hairline border and a top-lit gradient that fades into black at the bottom. Pass `items` (quote, name, role, logo shape, tint) and `speed` in px/s; renders with defaults and pauses on hover.
- **Closing CTA with Brand Mark** (`components/closing-cta-with-mark.tsx`, cta) — Centered rounded black icon tile with a silver glyph, gradient display headline, two-line gray subtext and a single dark glass button. Props: headline, description, buttonLabel, href — all optional with defaults. Drop it in as a full-width closing section on a black page.
- **Serif Page Title with Plan Slider** (`components/pricing-page-header.tsx`, pricing) — Centered serif page title with silver gradient and a single gray subline, followed by a plan volume selector (3,000, 50,000, 100,000 … tier chips) that fades in. Prices live on dark hairline plan cards. Props: title, subtitle, tiers (number array for volume chips) and plans (name, blurb, base, perTier, features, featured). Selecting a chip recalculates each plan price as base + perTier × tier index; the selector fades in over 240ms on load.
- **Circuit Dot-Matrix Product Hero** (`components/circuit-glow-product-hero.tsx`, hero) — Centered serif headline with a glass CTA above a green radial glow stage: a photoreal metallic hardware tile in the center, flanked by a green equalizer bar waveform, dotted arrow rows and pixel corner marks over a faint dot grid. Props: title, description, ctaLabel, tileLabel, tileText. Renders standalone with defaults; the arrow rows pulse automatically and the stage fades in on scroll.
- **Mono Data Heatmap Panel** (`components/mono-data-heatmap-panel.tsx`, stats) — Bordered dotted-grid panel with arrow-row dividers and a shimmering mono label. Left: large percentage readouts per provider with tiny uppercase mono captions; right: green heatmap grid by hour and weekday with a color legend and dashed empty cells. Props: hint, title, and providers (array of {name, value}). Click a provider to highlight it and dim the others; the top-right mono label shimmers on a 5s loop.
- **Long-Form Editorial Section** (`components/long-form-article-section.tsx`, blog) — Narrow 600px centered reading column under a silver-gradient display heading; body in gray 16px with key phrases highlighted in near-white medium weight. Large embedded SVG diagrams interleave the prose, and a fixed pill nav lists section anchors. Props: heading, paragraphs (array of {before, highlight, after}) and sections (anchor ids and labels for the pill nav). The nav fades in after scrolling and highlights the section currently in view; paragraph ids follow the sections order.
- **Blue-Glow Inbox Mockup** (`components/agent-inbox-mockup.tsx`, media) — Hero of a grid-lined black page with a vertical blue beam. Below, a hairline inbox window with icon rail, breadcrumb selector, white Compose button and message rows with colored label chips and avatar initials, bottom fade-out, and an overlay of mono 'AGENT READ' tags with corner brackets and a JSON snippet. Props: title and breadcrumb. Renders standalone; the agent tag steps across rows every ~2.8s while the active row fades to full opacity with a springy ease.
- **API Step Accordion with Code Pane** (`components/api-step-list-with-code.tsx`, features) — Dot-grid backdrop with eyebrow label and gradient heading; left a stack of rounded step cards with icon squares and a blue POST badge (active one expands with a description and blue edge), right a hairline code window with traffic-light circles, language dropdown and copy button. Props: eyebrow, titleTop, titleBottom, subtitle, and steps (title, badge, icon, description, code lines). Click a card to expand it and swap the code; the badge fades in after 300ms.
- **Kanban Shared Inbox with Live Cursors** (`components/kanban-shared-inbox.tsx`, card) — Inbox window with columns (Review, Scheduled, Next steps, Offer) of dark rounded cards with title, sender, category chip and time. Colored multiplayer cursor flags (blue Erin, gray Agent) float over cards; the right and bottom fade into black. Props: eyebrow, title, subtitle, and columns (array of {name, cards:[{title, from, tag, time, dim}]}). Renders standalone; the Erin and Agent cursors drift between positions automatically.
- **Dark Glass Button Pair** (`components/dark-glass-button-pair.tsx`, button) — Primary button: #141517 fill, 12px radius, gradient hairline border and semibold text with optional chevron; secondary is a transparent ghost button in gray text. Inverted white variant used for Compose and Send. Props: primaryLabel, secondaryLabel, invertedLabel, click handlers for each, and showInverted to toggle the white Compose/Send variant. Renders standalone with no props.
