# Neon DESIGN.md

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

A black-on-black developer surface for Neon's serverless Postgres platform: pure-black pages ruled by dark-zinc hairlines, light-weight Inter headlines with tight -0.04em tracking, pill-shaped white and neon-green CTAs, GeistMono micro-labels, and generative green 'data bar' artwork. Docs flip to a light mint-tinted theme, keeping the same type and green accents.

- Website: https://neon.tech
- Primary color: Green `#00E599`
- Fonts: Inter, GeistMono
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/neon

## Palette preview

- `error`: `#ff4c79`
- `primary`: `#00e599`
- `tertiary`: `#648dff`
- `secondary`: `#34d59a`
- `on-primary`: `#000000`
- `on-secondary`: `#000000`
- `primary-container`: `#0d221a`

## Typography preview

- `body-lg`: Inter
- `code-md`: GeistMono

---

## Overview

Neon markets a serverless Postgres "backend for apps and agents" (now part of the Databricks platform), and the design language is appropriately infrastructural: an all-black canvas lit by a single phosphor green, like a terminal or an oscilloscope. The signature visual is a generative field of vertical "data bars" in greens and cyans that fills the hero — part equalizer, part database visualization — repeated in the announcement bar's dotted halftone edges and in duotone blog thumbnails.

The system is dark-first and density-tolerant: pages stack hairline-ruled sections numbered `01` `02` `03`, mixing product UI screenshots, big editorial stats ("100K+", "70%"), a customer-marquee, and even an inverted light-mint chapter mid-page. Type is Inter throughout — headlines deliberately set at weight 400 with aggressive negative tracking, so scale and space do the work instead of boldness. GeistMono provides the technical voice: category labels, the `$ npx neon init` command CTA, and all-caps product labels. Buttons are fully rounded pills — white for the main action, outlined for secondary, green for the copyable CLI command.

Notably, `/docs` renders a light theme (off-white `#fafafa`, ink text, mint highlights, green links) while keeping identical type and component geometry — the dark brand is the marketing surface, not the reading surface.

## Colors

- **Neon Green — primary `#00e599`:** The brand's single phosphor accent: the NEON logo glyph, category labels (`POSTGRES`, `ENGINEERING`), `LAUNCH` plan name, inline links, the green square list markers on paid tiers, and the hero's bar-art. On black it reads electric; use it for interactive/attention signals only.
- **CTA Green — secondary `#34d59a`:** A slightly softer green reserved for filled actions like the `$ npx neon init` command pill — always with black text.
- **Dark surfaces — `#000000` → `#242628`:** The page is pure black; cards and headers step up through `#111315`, `#18191b`, and `#242628`. Hairlines are `#303236` with `#494b50` for interactive outlines. This is a border-and-fill system: no glow, no shadows.
- **Dark text — `#ffffff` / `#94979e` / `#797d86`:** White for headlines and primary text, mid-zinc for body and metadata, darker zinc for disabled/hints.
- **Light theme (docs) — `#fafafa` / `#ffffff` surfaces, `#131415` / `#61646b` text, `#d7d8db` hairlines:** with mint `#e4f1eb`/`#ebf5f0` feature cards and a desaturated `#39a57d` green for links.
- **Light mint chapter — `#e4f1eb`:** Occasional inverted full-width sections on the dark marketing pages use a pale mint field with black text — a deliberate "white paper" interlude.
- **Signal accents:** Periwinkle `#648dff` appears for secondary/blog links; pink-red `#ff4c79` marks warnings and the red ▶ glyph next to `BLOG`.

## Typography

Everything is **Inter** (300–600 loaded) except code and micro-labels, which are **GeistMono**. The headline voice is unusual: *regular weight at large sizes* — the 56px h1 is Inter 400 tracked to −0.04em, giving a sleek, almost editorial thinness rather than a bold shout.

- **Display/headlines:** Inter 400, 56/44/36px at ~1.13 line-height, −0.04em — pure white on black (or black on mint).
- **Title:** 28px/400 for card-level headings.
- **Body:** 16px/400/1.5 `#94979e`; 18px lede paragraphs at 1.25; 15px dense UI text.
- **Labels/nav:** 13–15px Inter at weight 400–500, tight (−0.01em to −0.02em).
- **Mono-labels:** GeistMono ~13px/500 uppercase with +0.06em tracking, colored green on black — section eyebrows ("NEON IS PART OF THE DATABRICKS PLATFORM", "LAKEBASE POSTGRES"), plan names, and the `BLOG` marker.
- **Code:** GeistMono ~15px for terminal lines (`$ npx neon init`), connection strings, and prompts.

## Layout

A wide marketing canvas (containers up to **1600px**, prose constrained near 1184px) on pure black, split into hairline-separated horizontal chapters numbered `01`, `02`, `03`. Pricing is a classic 3-column hairline table; the homepage alternates black sections with one pale-mint chapter. Docs use a left sidebar tree + centered content column + card grid.

- **Rhythm:** 4px base unit; 12/16/24/32px component spacing; 64–128px between major sections.
- **Hairlines:** 1px `#303236` rules divide every section, card grid, and table edge — the layout's only decoration besides the artwork.
- **Density:** Compact UI chrome (64px nav, 40px announcement bar) with generous vertical section padding.

## Elevation & Depth

Strictly flat. There are no drop shadows — depth comes from (a) the zinc step-ladder of surface fills (`#111315` → `#18191b` → `#242628`), (b) 1px hairlines, and (c) the luminous green artwork floating on black. The only shadow found was a 5%-opacity 1px ring — functionally a border. Interactive lift is communicated by color change, not elevation.

## Shapes

Two families coexist: **sharp 4px rectangles** for structure (cards, tables, inputs, toggle chips like "Avoid outages", dropdown menus) and **full pills** for actions (Get started, Sign up, Read the docs, Connect →). The 0px-radius rectangular toggle chips on the homepage's cost/outage switcher are the third, hard-edge case. Icons are simple geometric line glyphs.

## Motion & Micro-interaction

Motion is continuous but quiet. The dominant transition is `colors 0.2s cubic-bezier(0.4, 0, 0.2, 1)` applied to links, buttons, and borders; transforms run `0.15s cubic-bezier(0.16, 0.68, 0.88, 0.54)` for hovers and reveals; dropdowns use `slideAndFade` keyframes in all four directions. Ambient loops exist but stay decorative: the logo marquee scrolls infinitely (`infinityScroll`), hero bars animate (`lineAnimation`/`move`), and a `text-blink` cursor pulses in terminal motifs. Nothing bounces; everything eases.

- **state-change:** ~150–200ms, `cubic-bezier(0.4, 0, 0.2, 1)` — color and opacity only.
- **surface-enter:** slide+fade ~200ms for menus/popovers.
- **ambient:** slow continuous loops for logo tickers and hero bar art.

## Voice & Content Strategy

- **Tone of voice:** Direct, technical, quietly ambitious — aimed at developers and "agents". Claims name primitives ("Storage-compute separation", "branch environments the way you work with PRs") and numbers ("$0.106 per CU-hr", "100K+ databases").
- **Capitalization:** Sentence case for headlines and buttons; ALL-CAPS only inside GeistMono labels (`LAKEBASE POSTGRES`, `WHERE AGENT PLATFORMS DEPLOY`, category tags) and plan names (FREE, LAUNCH, SCALE).
- **Terminology:** Product nouns are canonical — "Lakebase Postgres", "Object Storage", "Functions", "Realtime", "Managed Better Auth", "AI Gateway", "Branching", "Instant Restore". Compute is measured in "CU-hrs"; plans are Free/Launch/Scale.
- **Button and action labels:** Short imperative verb phrases — "Get started", "Read the docs", "Try Neon", "Connect →", "Branching →", "Copy prompt". The CLI itself is a CTA: `$ npx neon init` rendered as a green command pill.
- **Structure:** Sections get mono-numbered eyebrows (`01`), h2s ask or declare plainly ("Ready for coding agents.", "Scale from your first users to the Fortune 500."), and lists use green square markers on paid features vs gray squares on free.

## Components

- **Buttons:** 44px pills. `button-primary` is white fill, black text ("Get started", "Sign up", "Try Neon"); `button-secondary` is black fill, white text, 1px `#494b50` ring ("Log in", "Read the docs", plan CTAs); `button-command` is the `#34d59a` green pill carrying a GeistMono CLI string. Hovered fills shift within ~200ms.
- **Toggle chips:** Rectangular 44px chips ("Avoid outages"/"Save costs") — selected = `#303236` fill + `#494b50` border, unselected = `#18191b` + dimmed text.
- **Nav:** 64px black bar; left logo + 13px zinc links, right Discord/GitHub stats + outline "Log in" + white "Sign up" pill. A 40px announcement bar above carries a centered promo line with halftone dot fades at the edges.
- **Cards:** 4px-radius `#111315` panels on black with `#303236` hairlines and ~32px padding; docs variants flip to white/mint `#e4f1eb` with green mono eyebrows ("LAKEBASE POSTGRES") and pill links.
- **Pricing table:** Hairline columns; plan names in mono caps (green for LAUNCH), price in large Inter, green ■ list markers vs gray ■ for free tier, white CTA only on the recommended tier.
- **Stats:** Oversized Inter numerals ("100K+", "70%") in pale mint `#cae6dc`-family tints paired with small mono captions.
- **Links:** Green `#00e599` on dark, `#39a57d` on the light docs theme; arrow links append `→`.
- **Blog index:** Dark cards with duotone green/black thumbnails, mono category label + date row, large Inter titles.
- **Docs:** Light theme — sidebar tree, `⌘K` search input (36px, 4px radius, `#d7d8db` border), "Agent prompt" copy box with black pill button.

## Do's and Don'ts

- Do keep marketing surfaces pure `#000000`; use the zinc steps (`#111315`/`#18191b`/`#242628`) — never a blue-black or gradient — for depth.
- Do set headlines in Inter 400 with −0.04em tracking; don't reach for 600/700 to fake hierarchy.
- Do reserve `#00e599` for signals — labels, links, markers, the logo — and use `#34d59a` only for the filled command/CTA pill.
- Do make primary CTAs white pills with black text; keep hairline-outline pills for secondary actions.
- Do use GeistMono for eyebrow labels, categories, and CLI strings; keep it uppercase with positive tracking.
- Do rule sections with 1px `#303236` hairlines instead of shadows or big color blocks.
- Don't invert the contrast logic: green is for text/markers on black, black text sits on white or green fills.
- Don't use the light docs palette (`#fafafa`, mint, `#39a57d` links) on dark marketing pages, or vice versa.
- Don't round cards/tables/inputs past ~4px, and don't pill-shape them — pill is reserved for buttons.
- Don't add imagery that isn't data-flavored: artwork is duotone bar-fields, dot halftones, and product screenshots on black.
