# Obsidian Precision

A near-black, hairline-bordered interface canvas where product UI mockups float as dimmed, edge-faded glass panels. Tight Inter typography, quiet grey text hierarchy and a single indigo accent, with occasional saturated pastel and lime testimonial cards for punctuation.

Tags: dark, saas, minimal, product-ui, hairline, developer-tools, monochrome, glass
Inspired by: https://linear.app/

## 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` | #08090a | Page background |
| `surface` | #0f1011 | Panels, cards, mockup windows |
| `surface-raised` | #1c1c1f | Raised chips, active rows, secondary buttons |
| `surface-hover` | #191a1b | Hover background for dark pill buttons |
| `hairline` | rgba(255,255,255,0.08) | 1px borders and dividers |
| `hairline-subtle` | rgba(255,255,255,0.05) | Faint dividers, tinted fills |
| `primary` | #f7f8f8 | Headings and emphasised text |
| `secondary` | #d0d6e0 | Body copy and lead paragraphs |
| `tertiary` | #8a8f98 | Nav links, captions, meta |
| `quaternary` | #62666d | Disabled, faded labels, mono eyebrow text |
| `accent-indigo` | #5e6ad2 | Primary accent: toggles, send button, focus ring, mentions |
| `button-light` | #e5e5e6 | Primary pill button fill |
| `success` | #27a644 | On-track, checks, diff additions |
| `warning` | #f0bf00 | In progress / at risk status |
| `danger` | #eb5757 | Off track, bug labels, diff deletions |
| `highlight-lime` | #e4f222 | Testimonial card accent fill |
| `info-blue` | #4ea7fc | Design labels and links |

## Typography
| Token | Stack | Usage |
| --- | --- | --- |
| `font-sans` | Inter Variable, SF Pro Display, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, sans-serif | All UI and headline text; weights 400, 510, 590 |
| `font-mono` | Berkeley Mono, ui-monospace, SF Mono, Menlo, monospace | Code diffs, issue IDs, uppercase feature eyebrows |
| `font-serif-display` | Tiempos Headline, ui-serif, Georgia, Cambria, Times New Roman, serif | Rare editorial display accent |

| Class | Size | Line height | Weight | Tracking |
| --- | --- | --- | --- | --- |
| `text-display` | 72px | 1.0 | 510 | -0.04em |
| `text-h1` | 48px | 1.0 | 510 | -0.03em |
| `text-h2` | 32px | 1.125 | 510 | -0.02em |
| `text-lead` | 24px | 1.33 | 400 | -0.012em |
| `text-title` | 17px | 1.4 | 590 | -0.012em |
| `text-body` | 15px | 1.6 | 400 | -0.011em |
| `text-ui` | 13px | 1.5 | 510 | 0 |
| `text-mono-eyebrow` | 12px | 1.65 | 400 | 0.04em |
| `text-micro` | 11px | 1.4 | 510 | 0 |

## Shape & depth
| Class | Value |
| --- | --- |
| `rounded-xs` | 4px |
| `rounded-md` | 8px |
| `rounded-lg` | 12px |
| `rounded-xl` | 24px |
| `rounded-pill` | 9999px |
| `shadow-ring` | 0 0 0 1px #3e3e44 |
| `shadow-low` | 0 2px 4px rgba(0,0,0,0.1) |
| `shadow-medium` | 0 4px 24px rgba(0,0,0,0.2) |
| `shadow-high` | 0 7px 32px rgba(0,0,0,0.35) |
| `bg-panel-sheen` | linear-gradient(to right bottom, rgba(255,255,255,0.12), rgba(255,255,255,0.04)) |
| `bg-corner-glow` | radial-gradient(circle, rgba(255,255,255,0.04) 0%, rgba(0,0,0,0) 50%) |
| `bg-header-fade` | linear-gradient(rgba(11,11,11,0.8) 0%, rgba(11,11,11,0) 100%) |
| `bg-scanline-hatch` | repeating-linear-gradient(rgba(255,255,255,0.08) 0px, rgba(255,255,255,0.08) 3px, rgba(0,0,0,0) 3px, rgba(0,0,0,0) 6px) |

## Motion
| Token | Kind | Duration | Easing | Notes |
| --- | --- | --- | --- | --- |
| `blur-word-reveal` | animation | 1000ms | cubic-bezier(0.25, 0.1, 0.25, 1) | Headline words fade up and de-blur on load, staggered 30ms per word with 400ms delay. |
| `hover-fill` | transition | 160ms | cubic-bezier(0.25, 0.46, 0.45, 0.94) | Button background, color, border and filter changes on hover. |
| `link-color` | transition | 100ms | ease | Quick color shift on nav and text links. |
| `dot-pop` | animation | 420ms | linear | Chart scatter dots scale in on scroll, staggered 20–30ms. |
| `conversation-in` | animation | 350ms | cubic-bezier(0.16, 1, 0.3, 1) | Agent chat bubbles fade in. |
| `shimmer-working` | animation | 2000ms | linear | Text shimmer sweeping across 'Working…' status labels. |
| `mockup-fade-in` | animation | 1500ms | cubic-bezier(0.455, 0.03, 0.515, 0.955) | Hero product window background layers fade in after the headline, delay 1300ms. |

## Components
- **Bold Colour Testimonial Cards** (`components/pastel-quote-cards.tsx`, testimonial) — Two large 24px-quoted cards side by side: one soft blue-lavender gradient with a giant translucent logo watermark, one flat acid-lime. Each has a hanging quote, a vertical divider, a logo and a name/role footer in dark text. Pass `cards` (tuple of two {quote, name, role}), `footnote` and `linkLabel` to override the defaults. Renders standalone with no props.
- **Mono Uppercase Feature Tab List with Document Preview** (`components/mono-feature-tabs.tsx`, tabs) — Left vertical list of tab items with white mono uppercase titles and dim mono descriptions; the active item sits on a raised rounded surface. Right shows a bordered document editor with breadcrumbs and cursor flags. Props: heading, lead, linkLabel, tabs (title/description array), docTitle, project. Clicking a tab moves the raised fill; the collaborator cursor flags pop in on load (250ms, 200ms delay).
- **Nested Initiatives Table** (`components/initiatives-table.tsx`, table) — Dark data table in a floating window with pill tabs (Active, Planned, All), muted column headers, tree-indented rows with coloured icons, health status text (green, yellow, red), progress counts and dot stats. Lower rows fade out. Props: heading, lead, caption, captionBody, tabs (string[]) and rows (array with name, sub, depth, color, target, health, done, total, dots, trend). Renders standalone with defaults; tabs are clickable pills.
- **Quarterly Roadmap Board** (`components/quarter-roadmap-board.tsx`, card) — Four columns (Q1–Q4) of compact bordered cards with icon, title, two-line description, tiny status icons and an initiative tag. Heavy dimming and edge fades emphasise the center, and a four-item caption row with hairline dividers sits beneath. Props: heading, lead, linkLabel and captions (array of {title, text}). Hover or click a caption to brighten it; the board is dimmed and edge-faded by a CSS mask.
- **Blur-In Word Hero with Floating App Window** (`components/blurred-word-hero.tsx`, hero) — Left-aligned large tight-tracked headline on near-black, followed by a muted subhead and a wide product window mockup (sidebar, issue detail, agent side panel) with hairline border and a soft gradient halo/edge-fade beneath. A grey logo row with a mono eyebrow follows. Props: headline, subhead, eyebrow, logos (string[]). Headline words blur-in on load with 30ms stagger; the app window and halo fade in after 1.3s. Renders standalone with no props.
- **Frosted Hairline Header** (`components/frosted-pill-header.tsx`, header) — 72px sticky bar with translucent near-black fill, 20px backdrop blur and a 1px white/8% bottom border. Logo left, muted grey nav links, a vertical divider, a Log in text link and a light pill Sign up button. Props: brand, links ({label, href}[]), loginLabel, signupLabel. Renders a sticky 72px frosted header with a collapsible mobile menu; works with no props.
- **Split Headline and Lead Section Intro** (`components/split-section-header.tsx`, features) — Two-column section opener: 48px two-line headline on the left, 24px secondary-grey lead paragraph and a quiet 'Learn more →' link on the right, above a large dimmed product mockup. Props: titleTop, titleBottom, lead, linkLabel, href. Renders standalone; the send button group fades in on scroll and the mockup board fades out at its edges via CSS mask.
- **Chat Thread Over Kanban Board Mockup** (`components/chat-to-board-mockup.tsx`, media) — A raised dark chat card with avatars, timestamps and a composer overlaps a dimmed kanban board of issue cards with mono IDs and coloured label pills. Edge-fade masks, noise overlay and faint radial glows make it feel like layered glass. Props: title, lead, channel, messages (name, time, text, avatar gradient classes) and composerText. The send button fades from 0.2 to 1 opacity when scrolled into view and the composer caret blinks.
- **Plus-Suffixed Feature Link Index** (`components/feature-link-index.tsx`, list) — A 'Features' label on the left and two columns of small grey link labels with '+' suffixes, separated by a vertical hairline. Used under each feature section. Props: `heading` (left label) and `columns` (array of two arrays of {label, detail}). Clicking a link toggles its plus to an x and shows its detail below; hover brightens the label.
- **Dotted Analytics Chart Panel** (`components/scatter-chart-panel.tsx`, animated-graphic) — Glassy raised panel with a title, dashed gridlines, stepped red and grey lines and clusters of tiny teal scatter dots, paired with a Gantt timeline of date headers and milestone bars on the left. Props: title, description, chartTitle, linkLabel, features (string list). Scatter dots scale 0.4→1 and fade in with a 25ms stagger once the panel scrolls into view.
- **Agent Window Strip** (`components/agent-window-carousel.tsx`, carousel) — A horizontal row of tall dark agent chat windows with title bars (icon, name, model badge, minimize/expand/close icons), prompt bubbles and 'added to context' meta rows, masked to fade at left and right edges. Props: title, description, linkLabel, and windows (array of {name, badge, prompt, context, tag}). The window row auto-scrolls horizontally via Marquee, pauses on hover, and fades at its edges.
- **Split Diff Code Viewer** (`components/diff-code-window.tsx`, code) — Mono code panel with file path header, line numbers, syntax-coloured tokens and red/green tinted changed lines with left rule, in side-by-side diff. Overlaps a grouped issue list (In Review, In Progress, Todo) with status icons that fades out at the bottom. Props: heading, body, linkLabel, filePath, branchLabel – all have defaults so it renders standalone. Code lines and issue groups are static data arrays at the top of the file; edit them to change content.
- **Centered Closing CTA with Pill Pair** (`components/closing-cta-pair.tsx`, cta) — Huge centered two-line headline on black with a light filled pill 'Get started' and a dark raised pill 'Contact sales' side by side. Pass headlineTop, headlineBottom, primaryLabel/primaryHref and secondaryLabel/secondaryHref to customize copy and links. Renders standalone with defaults.
- **Five-Column Minimal Footer** (`components/five-column-footer.tsx`, footer) — Logo mark at left and five link columns with white column headings and dim grey links, plus a bottom row of legal links, all on the canvas with a top hairline. Pass `columns` (array of {title, links}) and `legal` (array of strings) to customise; defaults render standalone. Logo mark is hidden on large screens in this version and shown above the columns on small screens.
- **Hairline Four-Column Pricing Grid** (`components/four-tier-pricing-columns.tsx`, pricing) — Four borderless plan columns separated by vertical hairlines. Each shows plan name, price, an indigo yearly-billing toggle, a check-icon feature list and pill CTAs; Business has a light filled primary plus a dark secondary. Pass `plans` (name, price, unit, note, toggle, features, ctas) plus optional `title` and `footnote`. Renders standalone with defaults; the yearly toggle is interactive per column.
- **Indigo Pill Toggle** (`components/indigo-billing-toggle.tsx`, toggle) — Small 32px pill switch with indigo fill and white knob, paired with a grey 'Billed yearly' label. Props: label (text beside the switch), defaultChecked (initial state, default true), onChange(checked) callback, className. The switch is uncontrolled and toggles on click or keyboard.
- **Spotlit Product Window Frame** (`components/spotlight-product-frame.tsx`, media) — Large 1344px rounded card with hairline border and a grey radial spotlight photo at the top. Inside floats a dark app window (tabbed project overview with properties, chips and body text) that fades to black at the bottom, with a bold caption and grey paragraph below. Props: heading, caption, description, projectName, projectSummary — all optional with defaults. Drop it in a dark page; the frame fades in on scroll via Reveal.
- **Issue Label and Status Chips** (`components/status-label-chips.tsx`, badge) — Small rounded pill chips with a coloured dot and 12–13px label (Bug, Design, AI), tinted hairline outlines and mono issue IDs, used in board cards and issue lists. Pass `issues` (id, title, chips with label and tone: danger|info|accent|success|neutral) to render board cards; `LabelChip` is also exported for standalone use. Chips brighten subtly on hover and cards highlight when selected.
