# ngrok DESIGN.md

> Public preview. The complete DESIGN.md source (all 73 design tokens, spacing, components and frontmatter) requires DesignMD Pro: https://www.designmdpro.app/pricing

A midnight-terminal aesthetic for developer infrastructure — near-black surfaces, a white serif display face ("Family") for headlines, JetBrains Mono for every label and command, rainbow aurora glows behind key moments, and per-product pastel accents on hairline cards.

- Website: https://ngrok.com
- Primary color: White `#FFFFFF`
- Fonts: Roobert, JetBrains Mono, Family
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/ngrok

## Palette preview

- `neutral`: `#ffffff`
- `outline`: `#525252`
- `primary`: `#ffffff`
- `surface`: `#1f1f1f`
- `secondary`: `#1f1f1f`
- `on-primary`: `#1f1f1f`
- `on-surface`: `#ffffff`
- `on-secondary`: `#ffffff`

## Typography preview

- `nav-md`: Roobert
- `code-sm`: JetBrains Mono
- `headline-lg`: Family

---

## Overview

ngrok's site is a love letter to the terminal generation — near-black canvas, monospace chrome, and an unexpected serif voice. The personality is confident, internet-native, and slightly theatrical: a soft rainbow **aurora glow** blooms behind the hero headline, one word of it streaked in a rainbow gradient ("Connect anything, *anywhere*."), and a giant `ngrok` wordmark anchors the footer.

Structure is minimal: a `~1080px` centered column of hairline cards, schematic node diagrams (a central `n` hub linking out to provider icons), and mono-caps labels everywhere. Depth is glow and hairlines — pastel neon accents (`#3FD9A8`-family teal for Gateway, gold for AI Gateway, lavender-pink for Share Localhost) mark each product, while the UI itself stays monochrome.

## Colors

A neutral dark system plus a pastel neon accent set — accents are used as *text, icons, and glows*, almost never as fills.

- **Void (#1F1F1F):** The page ground (oklch 0.182 neutral) — pure dark, no hue.
- **Charcoal (#262626):** Raised cards, code panels, nav pills (oklch 0.205).
- **Hairline (#525252):** The single border gray (oklch 0.371) — always 1px.
- **White tiers:** `#FFFFFF` headlines, `…B3` (70%) body text, `…80` (50%) muted labels and footer links. The primary CTA is literally a white pill with dark text.
- **Signal Teal — oklch(0.765 0.177 163):** The closest thing to a brand accent — the "GATEWAY" marker, icon tiles, and link highlights.
- **Pastel accent set (per-product / syntax):** **Gold** oklch(0.879 0.169 91.6) — AI Gateway; **Pink** oklch(0.827 0.119 306.4) — Share Localhost; **Mint** oklch(0.845 0.143 165); **Coral** oklch(0.81 0.117 11.6) and **Blue** oklch(0.746 0.16 232.7) — code syntax highlighting.
- **Aurora:** a multicolor radial gradient (yellow→green→blue→pink) used only as *ambient* glow behind hero/CTA headlines and as a gradient fill on a single emphasized word — never on UI chrome.

## Typography

Three faces with strict roles: **Family** (a custom serif, regular 400, italic for emphasis) for display headlines; **Roobert** for body and sub-heads; **JetBrains Mono** for all caps labels, nav caps, buttons, code, and meta text.

- **Display:** Family Regular 72px at line-height 1.0 — weight stays 400, drama comes from scale, italic accents, and the aurora glow ("Connect anything, *anywhere*." — italic + gradient on the key word). Section headlines drop to 48px and 36px.
- **Sub-heads:** Roobert SemiBold 30px for card/feature titles; Roobert Regular 16–20px for body in 70% white.
- **Mono voice:** JetBrains Mono — 12px SemiBold UPPERCASE +0.05em for eyebrows, product markers, and nav caps; 13px for links and code. The CTA button label is mono caps ("GET STARTED (FOR FREE)").

## Layout

A narrow `1080px` centered column on `24px` margins; 16px/24px dominate internal spacing, ~80px separates bands.

- **Hero:** centered serif headline + Roobert lede over the aurora glow → white pill CTA → gray logo strip. 
- **Product cards:** two-up hairline cards — mono-cap accent marker + Roobert title + body + a schematic diagram + mono "LEARN MORE".
- **Checklist bands:** two-column mono-cap checklists ("Every security checkbox, checked") with green tick glyphs.
- **Code moment:** a centered config-file viewer with syntax highlighting under "You're using ngrok right now."
- **Footer:** link columns in 13px mono, then a giant clipped `ngrok` wordmark.

## Elevation & Depth

Depth is rendered as **glow, not shadow**: the aurora gradient behind headlines, soft neon halos on icon tiles, and the white CTA's faint luminous edge. Card separation comes from `#525252` hairlines on `#262626` — shadows are essentially absent. Keep it that way: light is the only elevation tool.

## Shapes

Two opposing radii: **2px** micro-corners on the majority of elements (buttons in nav, chips, inputs — the terminal-sharp default) and **12px** on product/content cards, with `9999px` reserved for the big pill CTAs ("SIGN UP", "GET STARTED"). The 2px near-sharp corner is the signature — when in doubt, use it.

## Motion & Micro-interaction

Snappy and invisible: `transform 0.12s ease` micro-moves on hover, `0.15–0.2s` color/opacity transitions on controls and links, occasional `0.3–0.5s` for dropdown height. Nothing bounces; the aurora glow is static. Keep durations ≤300ms and stick to transform/opacity/color.

## Voice & Content Strategy

Direct, dry, and developer-proud — copy that knows its audience runs commands, not meetings. Serif headlines are short and a little poetic ("Way more than a tunnel to localhost.", "Your turn. Go put something on the internet.", "Developers go on and on about us."), while mono caps handle the functional voice ("OUR PRODUCTS", "GET STARTED (FOR FREE)", "LEARN MORE", "SEE PRICING"). Italic serif is used for punchline words ("Right now."). Feature claims stay concrete: "Every security checkbox, checked." is followed by an actual SOC 2 / GDPR / RBAC checklist.

## Components

- **Primary button:** white pill, `#1F1F1F` mono-caps label, subtle glow — the only bright fill in the system.
- **Secondary/ghost button:** `#1F1F1F` pill with hairline border ("LOG IN"), or mono text links ("SEE PRICING").
- **Nav:** Roobert white links with mono-cap dropdown triggers; utility links in mono at 50% white.
- **Product marker:** accent-colored JetBrains Mono caps label + matching icon tile — one accent per product (gold AI Gateway, teal Gateway, pink Share Localhost).
- **Product card:** `#262626`, 1px `#525252`, 12px radius, generous `24px` padding, containing marker + title + body + diagram.
- **Code surfaces:** `#262626` panels, JetBrains Mono 13px, pastel syntax palette (coral keywords, blue functions, pink strings), 6px radius.
- **Command chip:** inline `brew install ngrok` — hairline-bordered mono chip with a copy affordance.
- **Footer links:** JetBrains Mono 13px at 50% white, organized in PRODUCT / PROBLEMS / RESOURCES / COMPANY / SOCIAL columns.

## Do's and Don'ts

- Do keep the ground neutral and dark — no hue tint in the grays (`#1F1F1F`/`#262626`/`#525252` ladder only).
- Do set every display headline in Family serif at weight 400; never sans-serif headlines, never bold serif.
- Do use JetBrains Mono for all labels, buttons, nav caps, and meta text — it is the system's voice.
- Do limit accent colors to markers, icons, syntax, and glows — UI chrome stays black/white/gray.
- Do use the rainbow aurora only behind hero/CTA headline moments, and the rainbow gradient on at most one word per headline.
- Do prefer 2px corners on functional elements; reserve 12px for cards and full radius for the hero pill CTAs.
- Don't use box-shadows for depth — elevation is hairline + glow.
- Don't write title-case copy or formal marketing voice; the tone is terminal-casual.
- Don't animate beyond ~300ms or animate layout properties.
- Don't let the serif touch small text — below ~30px, switch to Roobert or mono.
