# StackBlitz DESIGN.md

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

A dark "developer cockpit" aesthetic — near-black blue-grey surfaces sectioned by translucent white hairlines, oversized tight-tracked Manrope headlines, airy doubled line-height Inter body copy, a bright blue CTA stack with neon cyan text accents, and per-page secondary accent themes (teal, pink) with glowing text and gradient pill buttons.

- Website: https://stackblitz.com
- Primary color: Blue `#1574EF`
- Fonts: Roboto Mono, Inter, Manrope
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/stackblitz

## Palette preview

- `error`: `#ed5e6a`
- `accent`: `#4cedff`
- `outline`: `#ffffff`
- `primary`: `#1574ef`
- `surface`: `#16181d`
- `tertiary`: `#fe4c77`
- `secondary`: `#33ffcc`
- `on-primary`: `#ffffff`

## Typography preview

- `code`: Roboto Mono
- `body-lg`: Inter
- `headline-lg`: Manrope

---

## Overview

StackBlitz markets a browser-based dev environment, and the site looks like the product: a dark, neon-lit cockpit. The canvas is a near-black blue-grey (`#16181D`) layered with slightly lighter panels, all separated by translucent white hairlines (white @ 10–16%) rather than solid borders or heavy shadows. Against that void sit oversized Manrope headlines with aggressive negative tracking, body copy in Inter at an unusually airy 2.0 line-height, and electric accents — cyan text, a bright blue CTA, and teal/pink secondary themes that rotate in per page.

The personality is confident engineering: sparse copy, huge type, screenshot-driven product storytelling, and glow effects (text-shadow luminescence, aurora gradients, light beams) that make the dark UI feel like an IDE at night. Density is low — sections breathe with 100–180px of vertical whitespace — while the UI chrome stays small (13–14px labels, 36px buttons), so the giant headlines carry the hierarchy.

## Colors

- **Primary (`#1574EF`):** The action blue — solid CTA fills ("Try Bolt.new", "Get started") and the featured pricing-tier wash. Hover lifts to `#0F8FFF`; the pricing button samples `#128BFD` (`--brand-blue-600` `#1488FC` family).
- **Accent cyan ramp (`#4CEDFF` / `#69F5FF` / `#00AEDA` / `#96F8FF`):** "Ice blue" text accents — highlighted words inside headlines ("more secure"), eyebrow labels, checkmarks, and the signature text gradient (`--public-text-gradient-blue`, diagonal `#69F5FF` → `#4CEDFF`). `#00AEDA` is the workhorse for ticks and icon fills on dark cards.
- **Secondary teal (`#33FFCC` / `#00B38E` / `#00342E`):** The `brand-teal` family powers alternate page themes (Design Systems) — glowing mint headline text, radial-gradient pill CTAs that run `teal-600` → `teal-950`.
- **Tertiary pink (`#FE4C77` / `#FF2E9F`):** Neon magenta reserved for decorative gradients and aurora washes (`--public-pink-bg-dark`), plus yellow `#FFEC3E` and orange `#FF6D63` micro-accents in illustrations. Never used for text on its own.
- **Surface ladder (`#131519` → `#16181D` → `#1C1F25`):** `--public-dark-bg-*` steps. Page sits at `#16181D`, raised cards at `#1C1F25`, the deepest sections/footer at `#131519`/`#121416`. Glassy secondary surfaces use `#313D5E3D` with an 8px backdrop blur.
- **On-surface ramp:** Headlines pure `#FFFFFF`; body copy is white @ 80% (`#FFFFFFCC`); nav/footer links use the grey-blue `#A1A5B0`; faint metadata drops to white @ 30% (`#FFFFFF4D`) and muted `#4E5E67`.
- **Outlines:** All borders are translucent white — default `#FFFFFF1A` (10%), emphasized `#FFFFFF29`, inputs slightly blue-tinted `#E0F4FF29`. Buttons get their edge from an inset `0 0 0 1px` white ring, not a border property.

## Typography

- **Headline family:** Manrope — geometric, tight, heavy. Hero headlines run 94px/600 at -0.021em tracking and 72px/800 at -0.042em; section heads 56px/600 and 40–32px/400 with -1px to -0.5px tracking. Line-heights sit near 1.0–1.2, so headlines feel like solid slabs.
- **Body family:** Inter — every UI and paragraph style. Body copy is 16–18px at a striking 2.0 line-height (32–36px leading), which gives the dark page its open, breathable feel.
- **UI labels:** Inter 13–14px at weight 500–600 for nav links, buttons, and card metadata — small and precise against the oversized headlines.
- **Eyebrow:** Inter ~13px, weight 600, uppercase with wide letter-spacing, rendered in the page's accent color ("DESIGN SYSTEMS", "POWERED BY WEBCONTAINERS").
- **Code:** Roboto Mono (`--font-family-code`) for terminal snippets and code samples; PT Mono appears in isolated spots.

## Layout

- **Container:** Max content width 1440px (`--layout-content-width`) with responsive side padding — 52px on desktop (`--layout-content-padding-large`), 24px standard, 18px compact.
- **Rhythm:** An 8px base grid with observed steps at 8/16/20/24/26/32/36/52; section separation jumps to 120–180px, so pages read as a small number of tall, calm bands.
- **Structure:** Centered hero (headline + short paragraph + single CTA), logo grids, alternating two-column feature rows, comparison tables, pricing card grids, and a fat six-column footer. Nav is a fixed 72px bar — wordmark left, centered links, "Sign in" ghost button right.
- **Signature motif:** Hero headlines are decorated like a text selection in an editor — boxed outlines and filled highlight spans around key words (e.g. "product", "engineering"), sometimes rendered as an actual selection box with handles.

## Elevation & Depth

- **Depth model:** Tonal, not cast-shadow. Hierarchy comes from the 3-step surface ladder plus hairline rings; cards "lift" by stepping to `surface-raised` and gaining a `white @ 10–16%` inset or outline ring.
- **Buttons:** Primary CTAs carry an inset `0 0 0 1px` white @ 14–16% ring for edge definition; gradient pills add a thin top border of white @ 30% to suggest a glass edge.
- **Glows:** Accent elements emit light — headline words get colored text-shadow luminescence, aurora gradients (`--public-bg-quote-logo_grid` pink→blue) bleed behind sections, and light-beam graphics streak vertically across dark panels.
- **Rare real shadows:** Only floating elements (release-note cards on light surfaces, modals) use a soft `0 4px 8–12px` black @ ~32% shadow.

## Shapes

- **Buttons:** 6–10px radii — standard 36px controls at 8px, the 48–52px pricing/hero CTAs at 6–10px, and fully rounded `9999px` pills for gradient "product" buttons and pricing toggles.
- **Cards:** 8–16px radii; pricing tier cards sit around 16px with clipped corner accents, small cards at 6–8px.
- **Toggles & badges:** Pill-shaped (`9999px`) segmented controls; tiny eyebrow badges at ~6px.
- **Overall:** Engineering-soft — never sharp-cornered, never bubbly; the pill is reserved for the most playful elements.

## Motion & Micro-interaction

Motion is quick and mechanical — hover feedback is nearly instant, and larger moves are rare and structural.

- **Hover/state changes:** `state-change` — 100ms `ease` (`--transition-fast`) on color, opacity, and background; CTAs get a touch more at 160ms (`--transition-med`, `--public-transition-hover-fast-cta`).
- **CTA emphasis:** `cta-lift` — ~250–300ms `ease` for gradient background-size zoom (background scales to 120%×150% on hover) and backdrop-blur transitions.
- **Surface entry:** `surface-enter` — ~120ms `ease`, translateY(18px) → 0 fade-in for modals and overlays (keyframes `modal-enter`, `overlay-enter`).
- **Structural reveals:** `expand` — up to 1200ms `ease` on height/width for the animated comparison/IDE mockup transitions (`--public-transition-hover-long` 800ms also observed).
- **Ambient loops:** Badge "shine" gradients sweep on a 1.5s cubic-bezier loop; kept to decorative elements only.

## Voice & Content Strategy

- **Tone of voice:** Direct, confident, engineering-first. Copy is short and declarative with a slight swagger — "Faster and more secure than local.", "Click. Code. Done." Avoid hedging and exclamation marks.
- **Capitalization:** Sentence case for headlines and buttons; ALL-CAPS reserved for small eyebrow labels and plan feature headers ("PERSONAL INCLUDES:").
- **Terminology:** Product names stay exact — "StackBlitz", "Bolt.new", "WebContainers". Speaks to "product & engineering teams"; features are named plainly ("Unlimited file uploads", "Collaborate on private collections").
- **Button labels:** Verb phrases naming the outcome — "Try Bolt.new", "Get started", "Sign in with GitHub", "Contact sales", "Get in touch", "Create with Bolt.new".
- **Proof style:** Named testimonials with title + company ("Ilya Grigorik, Principal Engineer at Shopify"), logo grids of customer wordmarks, and factual comparison tables ("Boot time: Milliseconds vs Minutes").

## Components

- **Primary button:** `#1574EF` fill, white 13px/500 label, 8px radius, 36px height, 0–20px horizontal padding, inset white ring; hover → `#0F8FFF`. Large variant: 52px tall, 16px label, 10px radius.
- **Ghost/secondary button:** translucent `#313D5E3D` fill with 8px backdrop blur and white @ 8% inset ring; hover deepens the fill to ~54% and the ring to 14%. Used for "Sign in" and secondary CTAs.
- **Gradient pill button:** `9999px` radius, 14px label, 16px×32px padding, radial-gradient `brand-blue-600 → brand-blue-950` (or teal-600 → teal-950 on solution pages) with a white @ 30% top edge; hover zooms the gradient.
- **Pricing tier card:** `surface-sunken` panel, ~16px radius, hairline outline; plan name in Manrope, price display mixing 32px numerals with small "/ month" labels, feature lists with cyan `#00AEDA` checkmarks, and a full-width 48px button. The featured tier inverts to a blue gradient fill.
- **Comparison table:** dark rows with hairline dividers; check/cross glyphs in cyan/red; the StackBlitz column subtly highlighted.
- **Nav:** 72px fixed bar over the dark canvas — lightning-bolt wordmark, centered 13px/500 links at 80% opacity (full white on hover), ghost "Sign in" at right.
- **Eyebrow badge:** tiny uppercase Inter label in the page accent color, sometimes inside a hairline pill; announces the section theme.
- **Footer:** `surface-footer` band, six-column link grid in `#A1A5B0` 13px, logo left, legal line at bottom.

## Do's and Don'ts

- Do keep the canvas dark — every surface is a blue-grey step of `--public-dark-bg-*`, never pure black or light grey.
- Do define edges with translucent white hairlines and inset rings, not solid grey borders or drop shadows.
- Do reserve `#1574EF` blue for one primary action per view; decorative neon cyan is for text accents, not button fills.
- Do pair one accent theme per page — cyan/blue default, teal for solution pages — and let it tint eyebrows, checkmarks, and glows consistently.
- Do set headlines in Manrope with negative tracking and near-1.0 line-height; set body in Inter with a generous 2.0 line-height.
- Don't introduce warm neutrals, beige surfaces, or serif type — the palette is strictly cool and technical.
- Don't use solid white cards on the dark canvas; if a light card is unavoidable (release notes), give it the `public-light-shadow-neutral` soft blue-grey shadow.
- Don't stack multiple neon accents in one component — cyan text + pink glow + teal button in one view is off-brand.
- Don't animate slowly on hover — state feedback lands in 100–160ms; reserve long durations for structural reveals.
- Note: white labels on `#1574EF`/`#128BFD` blue buttons land at ~4.4:1 and ~3.4:1 on hover — just under WCAG AA. That is the brand's real choice; if strict AA is required, deepen the fill toward `brand-blue-700` `#0D6FE8` rather than changing the label color.
