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): - Tier B (AI-adjacent devtools / SaaS): sentry, framer, webflow, warp, arc - Tier C (productivity / consumer): cal, loom, canva, meta, duolingo All 10 declare the complete shared schema (26 A1 + 26 A2 + 4 B-slot) with no C-extensions; pnpm guard reports 36 brand pairs aligned end-to-end. Co-authored-by: chaoxiaoche <chaoxiaoche@chaoxiaochedeMacBook-Pro.local> Co-authored-by: Cursor <cursoragent@cursor.com>
411 lines
16 KiB
HTML
411 lines
16 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>Warp — reference components</title>
|
|
<meta
|
|
name="description"
|
|
content="Reference fixture for design-systems/warp. Warm dark canvas,
|
|
Matter Regular at every tier, almost-monochromatic warm grays,
|
|
ghostly mist borders instead of shadows."
|
|
/>
|
|
|
|
<style>
|
|
:root {
|
|
--bg: #161412;
|
|
--surface: #1f1d1b;
|
|
--surface-warm: var(--surface);
|
|
|
|
--fg: #faf9f6;
|
|
--fg-2: #afaeac;
|
|
--muted: #868584;
|
|
--meta: #666469;
|
|
|
|
--border: rgba(226, 226, 226, 0.35);
|
|
--border-soft: var(--border);
|
|
|
|
--accent: #353534;
|
|
--accent-on: #afaeac;
|
|
--accent-hover: #454545;
|
|
--accent-active: color-mix(in oklab, var(--accent), black 14%);
|
|
|
|
--success: #16a34a;
|
|
--warn: #eab308;
|
|
--danger: #dc2626;
|
|
|
|
--font-display: "Matter Regular", "Matter", "Inter", ui-sans-serif, system-ui, sans-serif;
|
|
--font-body: "Matter Regular", "Matter", "Inter", ui-sans-serif, system-ui, sans-serif;
|
|
--font-mono: "Geist Mono", "Matter Mono Regular", ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
|
|
|
|
--text-xs: 12px;
|
|
--text-sm: 14px;
|
|
--text-base: 18px;
|
|
--text-lg: 24px;
|
|
--text-xl: 32px;
|
|
--text-2xl: 48px;
|
|
--text-3xl: 56px;
|
|
--text-4xl: 80px;
|
|
|
|
--leading-body: 1.4;
|
|
--leading-tight: 1.0;
|
|
--tracking-display: -0.03em;
|
|
|
|
--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: 120px;
|
|
--section-y-tablet: 80px;
|
|
--section-y-phone: 56px;
|
|
|
|
--radius-sm: 6px;
|
|
--radius-md: 12px;
|
|
--radius-lg: 14px;
|
|
--radius-pill: 9999px;
|
|
|
|
--elev-flat: none;
|
|
--elev-ring: 0 0 0 1px var(--border);
|
|
--elev-raised: 0 5px 15px rgba(0, 0, 0, 0.2);
|
|
|
|
--focus-ring: 0 0 0 2px rgba(250, 249, 246, 0.5);
|
|
|
|
--motion-fast: 150ms;
|
|
--motion-base: 200ms;
|
|
--ease-standard: cubic-bezier(0.2, 0, 0, 1);
|
|
|
|
--container-max: 1500px;
|
|
--container-gutter-desktop: 32px;
|
|
--container-gutter-tablet: 24px;
|
|
--container-gutter-phone: 16px;
|
|
}
|
|
|
|
/* ─── 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);
|
|
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-soft); }
|
|
@media (max-width: 1499px) {
|
|
.container { padding-inline: var(--container-gutter-tablet); }
|
|
section { padding-block: var(--section-y-tablet); }
|
|
}
|
|
@media (max-width: 809px) {
|
|
.container { padding-inline: var(--container-gutter-phone); }
|
|
section { padding-block: var(--section-y-phone); }
|
|
}
|
|
|
|
/* ─── Typography — Matter Regular at every tier ─────────── */
|
|
h1, h2, h3 {
|
|
font-family: var(--font-display);
|
|
font-weight: 400; /* Single weight throughout — DESIGN.md §3 */
|
|
line-height: var(--leading-tight);
|
|
color: var(--fg);
|
|
margin: 0;
|
|
}
|
|
h1 {
|
|
font-size: var(--text-4xl);
|
|
letter-spacing: var(--tracking-display);
|
|
}
|
|
h2 {
|
|
font-size: var(--text-2xl);
|
|
letter-spacing: -0.02em; /* ≈ -0.96px at 48px */
|
|
line-height: 1.1;
|
|
}
|
|
h3 {
|
|
font-size: var(--text-lg);
|
|
letter-spacing: -0.015em; /* DESIGN.md Body Heading: 0 to -0.72px */
|
|
line-height: 1.2;
|
|
}
|
|
p { margin: 0; color: var(--fg-2); }
|
|
.lead {
|
|
font-size: 20px; /* DESIGN.md Body Large is 20px — between --text-base (18) and --text-lg (24) */
|
|
color: var(--fg-2);
|
|
line-height: var(--leading-body);
|
|
letter-spacing: -0.01em;
|
|
}
|
|
.body-muted { color: var(--muted); }
|
|
.body-sm { font-size: var(--text-sm); color: var(--fg-2); }
|
|
/* Editorial uppercase eyebrow — DESIGN.md §3 magazine signal */
|
|
.eyebrow {
|
|
font-size: var(--text-xs);
|
|
color: var(--muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.2em; /* ≈ 2.4px at 12px — DESIGN.md Small Label */
|
|
font-weight: 400;
|
|
}
|
|
.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 — restrained dark pills ───────────────────── */
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
padding: 14px var(--space-5);
|
|
border-radius: var(--radius-pill); /* DESIGN.md §4 dark pill — primary CTA */
|
|
font-family: var(--font-body);
|
|
font-size: 16px; /* DESIGN.md Button Text — UI tier, not body baseline */
|
|
font-weight: 500; /* Matter Medium — only emphasis allowed */
|
|
line-height: 1.2;
|
|
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); }
|
|
.btn:active { background: var(--accent-active); }
|
|
/* Primary: Earth Gray pill — the brand's restrained CTA */
|
|
.btn-primary {
|
|
background: var(--accent);
|
|
color: var(--accent-on);
|
|
}
|
|
.btn-primary:hover { background: var(--accent-hover); color: var(--fg); }
|
|
/* Ghost: text-only, underline on hover — DESIGN.md §4 */
|
|
.btn-ghost {
|
|
background: transparent;
|
|
color: var(--fg);
|
|
padding-inline: var(--space-3);
|
|
}
|
|
.btn-ghost:hover { text-decoration: underline; text-underline-offset: 4px; }
|
|
|
|
/* ─── Inputs — warm dark, brightness-shift focus ────────── */
|
|
.field { display: flex; flex-direction: column; gap: var(--space-2); }
|
|
.field label {
|
|
font-size: var(--text-sm);
|
|
font-weight: 400;
|
|
color: var(--fg-2);
|
|
}
|
|
.field input {
|
|
padding: 14px var(--space-4);
|
|
border-radius: var(--radius-sm);
|
|
border: 1px solid var(--border);
|
|
background: var(--surface);
|
|
color: var(--fg);
|
|
font-family: var(--font-body);
|
|
font-size: 16px;
|
|
outline: none;
|
|
transition: border-color var(--motion-fast) var(--ease-standard),
|
|
box-shadow var(--motion-fast) var(--ease-standard);
|
|
}
|
|
.field input:focus-visible {
|
|
/* DESIGN.md §4 inputs: "Border brightness increase, no colored rings" */
|
|
border-color: var(--fg);
|
|
box-shadow: var(--focus-ring);
|
|
}
|
|
.field input::placeholder { color: var(--meta); }
|
|
.field-help { font-size: var(--text-xs); color: var(--muted); }
|
|
|
|
/* ─── Cards — bordered, no shadow ───────────────────────── */
|
|
.card {
|
|
background: var(--surface);
|
|
border: 1px solid var(--border); /* Mist Border containment, not shadow */
|
|
border-radius: var(--radius-md);
|
|
padding: var(--space-6) var(--space-6) var(--space-8);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-4);
|
|
transition: border-color var(--motion-base) var(--ease-standard);
|
|
}
|
|
.card:hover { border-color: var(--fg-2); }
|
|
.card-eyebrow {
|
|
font-family: var(--font-mono);
|
|
font-size: var(--text-xs);
|
|
color: var(--meta);
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
/* ─── Badges ────────────────────────────────────────────── */
|
|
.badge {
|
|
display: inline-flex; align-items: center; gap: var(--space-2);
|
|
padding: 4px var(--space-3);
|
|
border-radius: var(--radius-pill);
|
|
border: 1px solid var(--border);
|
|
font-size: var(--text-xs); font-weight: 400; line-height: 1.4;
|
|
color: var(--fg-2);
|
|
background: transparent;
|
|
}
|
|
.badge-success { color: var(--success); border-color: color-mix(in oklab, var(--success), transparent 60%); }
|
|
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
|
|
|
|
/* ─── Links + kbd ───────────────────────────────────────── */
|
|
a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--meta); text-underline-offset: 4px; }
|
|
a:hover { text-decoration-color: var(--fg); }
|
|
kbd {
|
|
font-family: var(--font-mono); font-size: var(--text-xs);
|
|
padding: 3px 8px; border-radius: var(--radius-sm);
|
|
border: 1px solid var(--border); background: var(--surface); color: var(--fg-2);
|
|
}
|
|
|
|
/* ─── 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;
|
|
}
|
|
.hero-meta {
|
|
display: flex; flex-direction: column; gap: var(--space-3);
|
|
padding: var(--space-5);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
background: var(--surface);
|
|
}
|
|
.features-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: var(--space-5);
|
|
}
|
|
@media (max-width: 1023px) { .features-grid { grid-template-columns: 1fr; } }
|
|
.form-row {
|
|
display: grid;
|
|
grid-template-columns: 1.4fr 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-4); max-width: 420px; }
|
|
.form-actions { display: flex; gap: var(--space-3); margin-block-start: var(--space-2); }
|
|
.icon { width: 16px; height: 16px; flex-shrink: 0; }
|
|
.row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
|
|
|
|
/* ─── Hero scroll prompt — terminal monospace flavor ───── */
|
|
.prompt {
|
|
font-family: var(--font-mono);
|
|
font-size: var(--text-sm);
|
|
color: var(--meta);
|
|
}
|
|
.prompt b { color: var(--fg); font-weight: 400; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<main class="container">
|
|
<section data-od-id="hero">
|
|
<div class="hero-grid">
|
|
<div class="stack-5">
|
|
<p class="eyebrow">Reference fixture · warp</p>
|
|
<h1>The AI terminal,<br />made for flow.</h1>
|
|
<p class="lead" style="max-width: 48ch">
|
|
Warp turns the command line into a calm, considered space —
|
|
block-based, AI-native, and quietly productive. A terminal
|
|
you'd sit with, not just type into.
|
|
</p>
|
|
<div class="hero-actions">
|
|
<a href="./tokens.css" class="btn btn-primary">
|
|
View tokens
|
|
<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="System status">
|
|
<div class="row-between">
|
|
<span class="body-sm">Beta channel</span>
|
|
<span class="badge badge-success">
|
|
<span class="badge-dot" aria-hidden="true"></span>
|
|
Operational
|
|
</span>
|
|
</div>
|
|
<p class="prompt"><b>~ warp</b> · last reviewed <time datetime="2026-05-15">2026-05-15</time></p>
|
|
<p class="body-sm body-muted">Press <kbd>⌘</kbd> <kbd>P</kbd> to open the command palette.</p>
|
|
</aside>
|
|
</div>
|
|
</section>
|
|
|
|
<section data-od-id="features">
|
|
<div class="stack-3">
|
|
<p class="eyebrow">What this fixture exercises</p>
|
|
<h2 style="max-width: 24ch">Restraint through warmth — every tier, one weight.</h2>
|
|
</div>
|
|
<div class="features-grid" style="margin-block-start: var(--space-8)">
|
|
<article class="card">
|
|
<p class="card-eyebrow">01 / canvas</p>
|
|
<h3>Earth, not eclipse.</h3>
|
|
<p class="body-sm">
|
|
The canvas is warm near-black with reddish undertones —
|
|
charred wood, not a clinical OLED void. Pure white is
|
|
never used; text is Warm Parchment <code>(--fg)</code>.
|
|
</p>
|
|
<a href="./tokens.css" class="body-sm">Inspect tokens →</a>
|
|
</article>
|
|
<article class="card">
|
|
<p class="card-eyebrow">02 / typography</p>
|
|
<h3>One weight carries everything.</h3>
|
|
<p class="body-sm">
|
|
Matter Regular at 80px hero, 24px heading, 18px body.
|
|
Bold weight is forbidden; size and tracking carry the
|
|
hierarchy with editorial calm.
|
|
</p>
|
|
<a href="./DESIGN.md" class="body-sm">Read the rule →</a>
|
|
</article>
|
|
<article class="card">
|
|
<p class="card-eyebrow">03 / depth</p>
|
|
<h3>Borders, not shadows.</h3>
|
|
<p class="body-sm">
|
|
Mist Border at 35% opacity creates ghostly containment.
|
|
No glow, no glass, no gradients — depth comes from
|
|
opacity shifts and warm photography, never CSS shadow.
|
|
</p>
|
|
<a href="./tokens.css" class="body-sm">Inspect radius →</a>
|
|
</article>
|
|
</div>
|
|
</section>
|
|
|
|
<section data-od-id="form">
|
|
<div class="form-row">
|
|
<div class="stack-4">
|
|
<p class="eyebrow">Get the beta</p>
|
|
<h2>One terminal, all your shells.</h2>
|
|
<p class="body-muted" style="max-width: 46ch; font-size: var(--text-base)">
|
|
We'll send a download link and nothing else. Focus rings
|
|
are warm parchment, not blue — the monochromatic palette
|
|
holds, even at the input level.
|
|
</p>
|
|
</div>
|
|
<form class="form" onsubmit="event.preventDefault();">
|
|
<div class="field">
|
|
<label for="email">Work email</label>
|
|
<input id="email" type="email" placeholder="you@warp.dev" autocomplete="email" required />
|
|
<p class="field-help">No marketing — just the download link.</p>
|
|
</div>
|
|
<div class="form-actions">
|
|
<button type="submit" class="btn btn-primary">Request access</button>
|
|
<button type="button" class="btn btn-ghost">Read the docs</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
</body>
|
|
</html>
|