mirror of
https://github.com/nexu-io/open-design.git
synced 2026-06-01 03:14:35 +07:00
Brands added (each with full 56-token :root + self-contained fixture): - Devtools / data infra: clickhouse, hashicorp, mongodb, mintlify, sentry-adjacent (lovable, superhuman) - AI-app builder / messaging: intercom, lovable, superhuman - Fintech / crypto: coinbase, binance, wise All 10 declare the complete shared schema (26 A1 + 26 A2 + 4 B-slot) with no C-extensions; pnpm guard reports all 6 contract checks passing. Co-authored-by: chaoxiaoche <chaoxiaoche@chaoxiaochedeMacBook-Pro.local> Co-authored-by: Cursor <cursoragent@cursor.com>
537 lines
19 KiB
HTML
537 lines
19 KiB
HTML
<!doctype html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="utf-8" />
|
||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||
<title>Superhuman — reference components</title>
|
||
<meta
|
||
name="description"
|
||
content="Reference fixture for design-systems/superhuman. The fastest email
|
||
experience ever made — keyboard-first velocity, warm cream CTAs, lavender
|
||
as the sole accent, charcoal ink at weight 460."
|
||
/>
|
||
|
||
<style>
|
||
:root {
|
||
--bg: #ffffff;
|
||
--surface: #ffffff;
|
||
--surface-warm: #e9e5dd;
|
||
|
||
--fg: #292827;
|
||
--fg-2: var(--fg);
|
||
--muted: #6f6c69;
|
||
--meta: var(--muted);
|
||
|
||
--border: #dcd7d3;
|
||
--border-soft: var(--border);
|
||
|
||
--accent: #cbb7fb;
|
||
--accent-on: #292827;
|
||
--accent-hover: color-mix(in oklab, var(--accent), black 6%);
|
||
--accent-active: color-mix(in oklab, var(--accent), black 12%);
|
||
|
||
--success: #16a34a;
|
||
--warn: #eab308;
|
||
--danger: #dc2626;
|
||
|
||
--font-display: "Super Sans VF", system-ui, -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||
--font-body: "Super Sans VF", system-ui, -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||
--font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Monaco, Consolas, monospace;
|
||
|
||
--text-xs: 12px;
|
||
--text-sm: 14px;
|
||
--text-base: 16px;
|
||
--text-lg: 20px;
|
||
--text-xl: 22px;
|
||
--text-2xl: 28px;
|
||
--text-3xl: 48px;
|
||
--text-4xl: 64px;
|
||
|
||
--leading-body: 1.5;
|
||
--leading-tight: 0.96;
|
||
--tracking-display: -0.0275em;
|
||
|
||
--space-1: 4px;
|
||
--space-2: 8px;
|
||
--space-3: 12px;
|
||
--space-4: 16px;
|
||
--space-5: 20px;
|
||
--space-6: 24px;
|
||
--space-8: 32px;
|
||
--space-12: 48px;
|
||
|
||
--section-y-desktop: 80px;
|
||
--section-y-tablet: 56px;
|
||
--section-y-phone: 40px;
|
||
|
||
--radius-sm: 8px;
|
||
--radius-md: 8px;
|
||
--radius-lg: 16px;
|
||
--radius-pill: 9999px;
|
||
|
||
--elev-flat: none;
|
||
--elev-ring: 0 0 0 1px var(--border);
|
||
--elev-raised: 0 2px 12px rgba(41, 40, 39, 0.06);
|
||
|
||
--focus-ring: 0 0 0 3px color-mix(in oklab, var(--accent), transparent 55%);
|
||
|
||
--motion-fast: 150ms;
|
||
--motion-base: 200ms;
|
||
--ease-standard: cubic-bezier(0.2, 0, 0, 1);
|
||
|
||
--container-max: 1200px;
|
||
--container-gutter-desktop: 24px;
|
||
--container-gutter-tablet: 16px;
|
||
--container-gutter-phone: 12px;
|
||
}
|
||
|
||
/* ─── Reset ──────────────────────────────────────────────── */
|
||
*, *::before, *::after { box-sizing: border-box; }
|
||
html, body { margin: 0; padding: 0; }
|
||
body {
|
||
background: var(--bg);
|
||
color: var(--fg);
|
||
font-family: var(--font-body);
|
||
font-size: var(--text-base);
|
||
font-weight: 460;
|
||
line-height: var(--leading-body);
|
||
-webkit-font-smoothing: antialiased;
|
||
}
|
||
|
||
/* ─── Layout ─────────────────────────────────────────────── */
|
||
.container {
|
||
max-width: var(--container-max);
|
||
margin-inline: auto;
|
||
padding-inline: var(--container-gutter-desktop);
|
||
}
|
||
section { padding-block: var(--section-y-desktop); }
|
||
section + section { border-top: 1px solid var(--border); }
|
||
@media (max-width: 1023px) {
|
||
.container { padding-inline: var(--container-gutter-tablet); }
|
||
section { padding-block: var(--section-y-tablet); }
|
||
}
|
||
@media (max-width: 639px) {
|
||
.container { padding-inline: var(--container-gutter-phone); }
|
||
section { padding-block: var(--section-y-phone); }
|
||
}
|
||
|
||
/* ─── Typography — non-standard weight axis (460/540/600/700) ─ */
|
||
h1, h2, h3 {
|
||
font-family: var(--font-display);
|
||
line-height: var(--leading-tight);
|
||
margin: 0;
|
||
}
|
||
h1 {
|
||
font-size: var(--text-4xl);
|
||
font-weight: 540; /* Display weight */
|
||
letter-spacing: var(--tracking-display);
|
||
}
|
||
h2 {
|
||
font-size: var(--text-3xl);
|
||
font-weight: 460; /* Section heading */
|
||
letter-spacing: var(--tracking-display);
|
||
}
|
||
h3 {
|
||
font-size: var(--text-2xl);
|
||
font-weight: 540; /* Feature title */
|
||
letter-spacing: -0.0225em; /* -0.63px / 28px */
|
||
}
|
||
p { margin: 0; }
|
||
.lead {
|
||
font-size: var(--text-lg);
|
||
color: var(--fg);
|
||
line-height: var(--leading-body);
|
||
font-weight: 460;
|
||
}
|
||
.body-muted { color: var(--muted); }
|
||
.body-sm { font-size: var(--text-sm); line-height: var(--leading-body); }
|
||
.body-xs { font-size: var(--text-xs); line-height: 1.5; }
|
||
|
||
/* Eyebrow — micro label, the only place we go bold (700) per DESIGN.md §3 */
|
||
.eyebrow {
|
||
font-size: var(--text-xs);
|
||
color: var(--muted);
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.08em;
|
||
font-weight: 700;
|
||
}
|
||
|
||
.stack-3 > * + * { margin-block-start: var(--space-3); }
|
||
.stack-4 > * + * { margin-block-start: var(--space-4); }
|
||
.stack-5 > * + * { margin-block-start: var(--space-5); }
|
||
.stack-6 > * + * { margin-block-start: var(--space-6); }
|
||
|
||
/* ─── Buttons — 8px radius, never pill, warm cream signature ─ */
|
||
.btn {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: var(--space-2);
|
||
padding: 12px var(--space-5);
|
||
border-radius: var(--radius-sm);
|
||
font-family: var(--font-body);
|
||
font-size: var(--text-base);
|
||
font-weight: 600; /* Button / UI Semi */
|
||
line-height: 1;
|
||
cursor: pointer;
|
||
border: none;
|
||
transition: background-color var(--motion-fast) var(--ease-standard),
|
||
color var(--motion-fast) var(--ease-standard);
|
||
text-decoration: none;
|
||
}
|
||
.btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
|
||
|
||
/* Warm Cream primary — the signature CTA. Charcoal text on cream. */
|
||
.btn-primary {
|
||
background: var(--surface-warm);
|
||
color: var(--fg);
|
||
}
|
||
.btn-primary:hover {
|
||
background: color-mix(in oklab, var(--surface-warm), black 5%);
|
||
}
|
||
.btn-primary:active {
|
||
background: color-mix(in oklab, var(--surface-warm), black 10%);
|
||
}
|
||
|
||
/* Dark Primary — charcoal bg on white sections (DESIGN.md §4). */
|
||
.btn-dark {
|
||
background: var(--fg);
|
||
color: var(--bg);
|
||
}
|
||
.btn-dark:hover {
|
||
background: color-mix(in oklab, var(--fg), white 8%);
|
||
}
|
||
|
||
/* Ghost / Text Link — underline only, no fill. */
|
||
.btn-ghost {
|
||
background: transparent;
|
||
color: var(--fg);
|
||
padding-inline: var(--space-3);
|
||
text-decoration: underline;
|
||
text-underline-offset: 4px;
|
||
text-decoration-thickness: 1px;
|
||
}
|
||
.btn-ghost:hover {
|
||
background: color-mix(in oklab, var(--fg), transparent 95%);
|
||
}
|
||
|
||
/* ─── Inputs — borders define them, focus deepens to charcoal ─ */
|
||
.field { display: flex; flex-direction: column; gap: var(--space-2); }
|
||
.field label {
|
||
font-size: var(--text-sm);
|
||
font-weight: 540;
|
||
color: var(--fg);
|
||
}
|
||
.field input {
|
||
padding: 12px var(--space-4);
|
||
border-radius: var(--radius-sm);
|
||
border: 1px solid var(--border);
|
||
background: var(--bg);
|
||
color: var(--fg);
|
||
font-family: var(--font-body);
|
||
font-size: var(--text-base);
|
||
font-weight: 460;
|
||
outline: none;
|
||
transition: border-color var(--motion-fast) var(--ease-standard),
|
||
box-shadow var(--motion-fast) var(--ease-standard);
|
||
}
|
||
.field input::placeholder { color: var(--muted); }
|
||
.field input:hover { border-color: color-mix(in oklab, var(--border), var(--fg) 25%); }
|
||
.field input:focus-visible {
|
||
border-color: var(--fg);
|
||
box-shadow: var(--focus-ring);
|
||
}
|
||
.field-help {
|
||
font-size: var(--text-xs);
|
||
color: var(--muted);
|
||
line-height: 1.5;
|
||
}
|
||
|
||
/* ─── Cards — 16px radius, parchment border, no shadow by default ─ */
|
||
.card {
|
||
background: var(--surface);
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius-lg);
|
||
padding: var(--space-8);
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: var(--space-3);
|
||
transition: box-shadow var(--motion-base) var(--ease-standard),
|
||
border-color var(--motion-base) var(--ease-standard);
|
||
}
|
||
.card:hover {
|
||
box-shadow: var(--elev-raised);
|
||
border-color: color-mix(in oklab, var(--border), var(--fg) 15%);
|
||
}
|
||
.card .card-eyebrow {
|
||
font-size: var(--text-xs);
|
||
color: var(--muted);
|
||
font-weight: 700;
|
||
letter-spacing: 0.08em;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
/* ─── Badges ─────────────────────────────────────────────── */
|
||
.badge {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: var(--space-2);
|
||
padding: 4px var(--space-3);
|
||
border-radius: var(--radius-sm); /* 8px — not pill */
|
||
font-size: var(--text-xs);
|
||
font-weight: 700; /* Micro Label weight */
|
||
line-height: 1.5;
|
||
letter-spacing: 0.02em;
|
||
}
|
||
.badge-accent {
|
||
background: var(--accent);
|
||
color: var(--accent-on);
|
||
}
|
||
.badge-success {
|
||
background: color-mix(in oklab, var(--success), transparent 88%);
|
||
color: var(--success);
|
||
}
|
||
.badge-muted {
|
||
background: color-mix(in oklab, var(--muted), transparent 88%);
|
||
color: var(--muted);
|
||
}
|
||
.badge-dot {
|
||
width: 6px;
|
||
height: 6px;
|
||
border-radius: var(--radius-pill); /* Only place pill is used */
|
||
background: currentColor;
|
||
}
|
||
|
||
/* ─── Keyboard chips — Superhuman is keyboard-first ─────── */
|
||
kbd {
|
||
font-family: var(--font-mono);
|
||
font-size: var(--text-xs);
|
||
font-weight: 600;
|
||
padding: 3px 8px;
|
||
border-radius: var(--radius-sm);
|
||
border: 1px solid var(--border);
|
||
background: var(--surface);
|
||
color: var(--fg);
|
||
line-height: 1;
|
||
box-shadow: 0 1px 0 0 var(--border);
|
||
}
|
||
|
||
/* ─── Links — Amethyst-style underline (DESIGN.md §4) ────── */
|
||
a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
|
||
a:hover { text-decoration-thickness: 2px; }
|
||
|
||
/* ─── Layout helpers ─────────────────────────────────────── */
|
||
.hero-grid {
|
||
display: grid;
|
||
grid-template-columns: 1.4fr 1fr;
|
||
gap: var(--space-12);
|
||
align-items: end;
|
||
}
|
||
@media (max-width: 1023px) {
|
||
.hero-grid { grid-template-columns: 1fr; gap: var(--space-8); }
|
||
}
|
||
.hero-actions {
|
||
display: flex;
|
||
gap: var(--space-3);
|
||
margin-block-start: var(--space-6);
|
||
flex-wrap: wrap;
|
||
align-items: center;
|
||
}
|
||
.hero-meta {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: var(--space-4);
|
||
padding: var(--space-6);
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius-lg);
|
||
background: var(--surface);
|
||
}
|
||
.kbd-row {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: var(--space-2);
|
||
flex-wrap: wrap;
|
||
}
|
||
.features-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(3, 1fr);
|
||
gap: var(--space-5);
|
||
}
|
||
@media (max-width: 1023px) {
|
||
.features-grid { grid-template-columns: 1fr 1fr; }
|
||
}
|
||
@media (max-width: 639px) {
|
||
.features-grid { grid-template-columns: 1fr; }
|
||
}
|
||
.form-row {
|
||
display: grid;
|
||
grid-template-columns: 1.2fr 1fr;
|
||
gap: var(--space-12);
|
||
align-items: start;
|
||
}
|
||
@media (max-width: 1023px) {
|
||
.form-row { grid-template-columns: 1fr; }
|
||
}
|
||
.form {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: var(--space-5);
|
||
max-width: 460px;
|
||
}
|
||
.form-actions {
|
||
display: flex;
|
||
gap: var(--space-3);
|
||
margin-block-start: var(--space-2);
|
||
flex-wrap: wrap;
|
||
}
|
||
.icon { width: 16px; height: 16px; flex-shrink: 0; }
|
||
.row-between {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: var(--space-3);
|
||
}
|
||
.meta-divider {
|
||
height: 1px;
|
||
background: var(--border-soft);
|
||
border: 0;
|
||
margin: 0;
|
||
}
|
||
</style>
|
||
</head>
|
||
<body>
|
||
<main class="container">
|
||
<section data-od-id="hero">
|
||
<div class="hero-grid">
|
||
<div class="stack-5">
|
||
<p class="eyebrow">Reference fixture · superhuman</p>
|
||
<h1>The fastest email<br />experience ever made.</h1>
|
||
<p class="lead" style="max-width: 52ch">
|
||
Fly through your inbox with keyboard shortcuts, instant
|
||
search, and AI that drafts replies in your voice. Built
|
||
for high performers who answer hundreds of messages a day.
|
||
</p>
|
||
<div class="hero-actions">
|
||
<a href="./tokens.css" class="btn btn-primary">
|
||
Get Superhuman
|
||
<svg class="icon" viewBox="0 0 24 24" fill="none"
|
||
stroke="currentColor" stroke-width="1.75"
|
||
stroke-linecap="round" stroke-linejoin="round"
|
||
aria-hidden="true"><path d="M5 12h14M13 6l6 6-6 6"/></svg>
|
||
</a>
|
||
<a href="./DESIGN.md" class="btn btn-ghost">Read the spec</a>
|
||
</div>
|
||
</div>
|
||
<aside class="hero-meta" aria-label="Keyboard shortcuts">
|
||
<div class="row-between">
|
||
<span class="badge badge-accent">Most loved by execs</span>
|
||
<span class="badge badge-success">
|
||
<span class="badge-dot" aria-hidden="true"></span>
|
||
4× faster
|
||
</span>
|
||
</div>
|
||
<hr class="meta-divider" />
|
||
<p class="body-sm body-muted" style="line-height: 1.55">
|
||
Press <kbd>K</kbd> to compose. Press <kbd>⌘</kbd> <kbd>K</kbd>
|
||
to jump anywhere. <kbd>E</kbd> archives. <kbd>⇧</kbd> <kbd>R</kbd>
|
||
replies all.
|
||
</p>
|
||
<p class="body-xs" style="color: var(--muted)">
|
||
Last reviewed <time datetime="2026-05-18">2026-05-18</time> · v1.0
|
||
</p>
|
||
</aside>
|
||
</div>
|
||
</section>
|
||
|
||
<section data-od-id="features">
|
||
<div class="stack-3" style="max-width: 30ch">
|
||
<p class="eyebrow">Your Superhuman suite</p>
|
||
<h2>Velocity, by design.</h2>
|
||
</div>
|
||
<div class="features-grid" style="margin-block-start: var(--space-12)">
|
||
<article class="card">
|
||
<p class="card-eyebrow">Accent · 01</p>
|
||
<h3>One color, total restraint.</h3>
|
||
<p class="body-muted body-sm">
|
||
Lavender Glow (#cbb7fb) is the only chromatic departure from
|
||
the warm-neutral palette. Every saturated CTA you've seen on
|
||
other sites — Superhuman quietly omits it.
|
||
</p>
|
||
<p class="body-sm">
|
||
<a href="./tokens.css">Inspect <code style="font-family: var(--font-mono); font-size: var(--text-xs);">--accent</code></a>
|
||
</p>
|
||
</article>
|
||
<article class="card">
|
||
<p class="card-eyebrow">Type · 02</p>
|
||
<h3>Weights between weights.</h3>
|
||
<p class="body-muted body-sm">
|
||
Super Sans VF runs at 460 / 540 / 600 / 700 — non-standard
|
||
stops that sit between Regular and Medium, between Medium
|
||
and Semibold. Body is 460. Display is 540. Bold is rare.
|
||
</p>
|
||
<p class="body-sm">
|
||
<a href="./DESIGN.md">Read the rule</a>
|
||
</p>
|
||
</article>
|
||
<article class="card">
|
||
<p class="card-eyebrow">Geometry · 03</p>
|
||
<h3>Two radii, total clarity.</h3>
|
||
<p class="body-muted body-sm">
|
||
<code style="font-family: var(--font-mono); font-size: var(--text-xs);">--radius-sm: 8px</code> for buttons and inputs.
|
||
<code style="font-family: var(--font-mono); font-size: var(--text-xs);">--radius-lg: 16px</code> for cards.
|
||
No micro-rounding. No pill buttons. The binary system is the system.
|
||
</p>
|
||
<p class="body-sm">
|
||
<a href="./tokens.css">Inspect radii</a>
|
||
</p>
|
||
</article>
|
||
</div>
|
||
</section>
|
||
|
||
<section data-od-id="form">
|
||
<div class="form-row">
|
||
<div class="stack-4">
|
||
<p class="eyebrow">Get on the list</p>
|
||
<h2>Built for the highest performers.</h2>
|
||
<p class="body-muted lead" style="max-width: 44ch">
|
||
Superhuman is invitation-only. Tell us your work email and
|
||
we'll let you know when a seat opens up. No marketing, no
|
||
follow-ups, no noise — that's the whole point.
|
||
</p>
|
||
<div class="kbd-row">
|
||
<span class="body-xs body-muted">Tip:</span>
|
||
<kbd>Tab</kbd>
|
||
<span class="body-xs body-muted">to focus,</span>
|
||
<kbd>Enter</kbd>
|
||
<span class="body-xs body-muted">to submit.</span>
|
||
</div>
|
||
</div>
|
||
<form class="form" onsubmit="event.preventDefault();">
|
||
<div class="field">
|
||
<label for="email">Work email</label>
|
||
<input
|
||
id="email"
|
||
type="email"
|
||
placeholder="you@company.com"
|
||
autocomplete="email"
|
||
required
|
||
/>
|
||
<p class="field-help">
|
||
We'll only email you when a seat opens. Promise.
|
||
</p>
|
||
</div>
|
||
<div class="form-actions">
|
||
<button type="submit" class="btn btn-primary">
|
||
Request access
|
||
<svg class="icon" viewBox="0 0 24 24" fill="none"
|
||
stroke="currentColor" stroke-width="1.75"
|
||
stroke-linecap="round" stroke-linejoin="round"
|
||
aria-hidden="true"><path d="M5 12h14M13 6l6 6-6 6"/></svg>
|
||
</button>
|
||
<button type="button" class="btn btn-ghost">See a demo</button>
|
||
</div>
|
||
</form>
|
||
</div>
|
||
</section>
|
||
</main>
|
||
</body>
|
||
</html>
|