# Meta for Developers DESIGN.md

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

Meta's developer portal: a shadowless white system in the Optimistic type superfamily, one blue, a five-step grey ramp, a six-stop pastel hero wash, and photo legibility solved with gradient scrims instead of shadows.

- Website: https://developers.facebook.com
- Primary color: Blue `#0064E0`
- Fonts: Optimistic AI VF, Optimistic Text, Optimistic Display, Optimistic Text Bold
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/meta-for-developers

## Palette preview

- `ink`: `#1c2b33`
- `scrim`: `#000000`
- `primary`: `#0064e0`
- `surface`: `#ffffff`
- `ink-deep`: `#0a1317`
- `ink-warm`: `#232323`
- `ink-label`: `#1c1e21`
- `wash-blue`: `#daebfd`

## Typography preview

- `nav`: Optimistic AI VF
- `label`: Optimistic Text
- `display-lg`: Optimistic Display
- `label-strong`: Optimistic Text Bold

---

## Overview

Meta for Developers is the entry point for everything you can build on
Facebook, Instagram, Messenger, WhatsApp and Threads. It is a **marketing
portal built on Meta's internal design system**, and it shows in the best way:
the CSS is machine-generated with obfuscated class names and a full token layer,
so the visual language is unusually disciplined — one blue, one grey ramp, one
type superfamily, and a component set that repeats across all 6,128px of the
page.

The visual idea is **a white page with one pastel gesture at the top and
photography doing the rest.** The hero is a single wide card filled with a
six-stop gradient running mint → light blue → lavender → pink → peach, holding
one 64px line of type. Everything below it is white, grey or dark bands
separated by whitespace and 1px hairlines, with photographs — product shots,
headshots, event photography — carrying the colour.

The system's most distinctive decision is that **it has no shadows at all, and
says so explicitly.** Meta's token layer defines `--shadow-1`, `--shadow-2` and
`--shadow-inset`, and this theme sets all three to `transparent`. Where other
sites would reach for elevation, this one uses surface steps (`#ffffff` →
`#f1f4f7` → `#1c2b33`) and, over photography, **gradient scrims**.

## Colors

- **Primary / Meta blue (#0064e0):** Links (17), the filled buttons (9), and the
  active states. The button gradient is a separate, lighter pair —
  `45deg, #0065e0 → #0f8bff` — so a blue button is never flat. Note the two
  blues are **one digit apart** (`#0064e0` for links, `#0065e0` for the
  gradient's start); they are not the same token and are not interchangeable.
- **Primary-soft (#385898):** The older Facebook blue, still used for the
  product pills, the quiet buttons and the inverse button labels. It is the
  site's second blue and it does a lot of quiet work.
- **Primary-ink (#0457cb):** The pressed/link-hover blue, used once.
- **Ink (#1c2b33):** The primary text colour (27 uses) and the ground of the
  dark bands and the footer (3 uses). A blue-grey near-black, never pure black.
- **Ink-deep (#0a1317):** The darkest text, 11 uses, for the heaviest headings.
- **Grey ramp — four steps, and they are the real workhorse:**
  `#465a69` (secondary copy, 15 uses) → `#5d6c7b` (muted copy and nav links, 19
  uses) → `#67788a` (faintest, the 12px eyebrows, 3 uses). Body ink `#1c2b33`
  sits above them.
- **Surface (#ffffff):** The page ground (21 uses) and every card.
- **Subdued (#f1f4f7):** The grey band ground and the product pills (5 uses).
- **Borders:** `#cbd2d9` and `#dadde1`, used sparingly — separation comes from
  surface steps, not lines.
- **The hero wash** is the only saturated colour block on the page, and it is
  six stops of pastel:
  `295.2deg, #def9ea → #ddf7ec 10% → #daebfd 28% → #e1e6fa 67% → #f5e4f4 89% →
  #fdefe6`. Mint at the top left, peach at the bottom right, with light blue and
  lavender between. It reads as a soft light source rather than as a brand
  colour.
- **Scrim (#000000b8):** The black-to-transparent gradient laid over
  photographs — `180deg, #0000 75%, #000` and `180deg, #0000, #000000b8`. This
  is how white type stays legible over imagery in a system with no shadows.

The inner pages add four more surfaces: **`#f8f9fb`** (a faintly blue-grey band
ground, three uses on the blog and success-stories pages — one step off
`#f1f4f7` and easy to confuse with it), **`#f2f2f2`** (a neutral grey, one use),
**`#232323`** (a warm near-black used for blog body copy, seventeen uses) and, on
`/docs` only, **`#e1edf7`** (a pale blue surface) and **`#283943`** (a dark slate
band).

## Typography

**One superfamily, "Optimistic", in three roles.** It is Meta's own house
family and it ships as several separately-named cuts, which the rendered
font-family list makes visible:

| Cut | Weights loaded | Role |
|---|---|---|
| **Optimistic Display** | 500, 700 | Every heading |
| **Optimistic Text** (+ Text Normal / Text Bold) | 400, 500, 700 | Body and UI |
| **Optimistic AI VF** | variable 300–800 | Links and nav |

Fallbacks are Helvetica / Helvetica Neue / Arial, with Montserrat and Noto Sans
behind the Display and AI VF cuts. A fourth family, **Freight Sans**, is declared
with a complete twelve-face `@font-face` set (300–900, roman and italic) but is
used by a single class and never appears in the rendered families — it is
framework ballast on this page.

**The `/docs` section does not use Optimistic at all.** It renders in **Graphik
LCG Web** (79 of its 84 measured text elements) with Optimistic AI VF only for
links, plus a cut called "Optimistic 95" on six elements. Its text colour is
`#1c1e21` rather than `#1c2b33`, it carries a pale-blue `#e1edf7` surface and a
dark-slate `#283943` band that appear nowhere on the marketing pages, and its
radii drop to **4px** — the marketing site's loosest radius is 64px. So the
portal is really two systems sharing one header and footer: a rounded,
Optimistic-set marketing surface, and a tight, Graphik-set documentation
surface. If you are copying this design, pick one.

The scale is **1.1 leading for display and 1.5 for body**, with the component
token layer stating it directly: `--body-font-size: 16px;
--body-line-height: 22px; --display1-font-size: 48px; --display1-line-height:
52px`.

| Level | Face | Size / weight | Leading |
|---|---|---|---|
| Hero h1 | Optimistic Display | 64px / 500 | 70.4px |
| Section h2 | Optimistic Display | 48px / 500 | 52.8px |
| Card h3 | Optimistic Display | 36px / 500 | 39.6px |
| Sub h3 / h4 | Optimistic Display | 24px / 500–600 | 26.4px |
| Lead p | Optimistic Text | 24px / 400 | 36px |
| Body p | Optimistic Text | 18px / 500 | 27px |
| Link / button / nav | Optimistic AI VF | 15px / 400 | 20px |
| Eyebrow | Optimistic Text | 12px / 400 | 13.2px, +0.48px |

Three details define the voice of the type:

- **Headings are 500, not bold.** The 64px hero line is Optimistic Display
  *Medium*, which is why it reads as calm rather than loud at that size. Only the
  24px card headings go to 600.
- **The 12px eyebrow with +0.48px tracking** is the system's small-label style,
  used for "SUCCESS STORIES" and the section kickers, in the faintest grey
  `#67788a`. It is the only place tracking is positive.
- **One heading carries −1px tracking** — a single inverse 36px heading over a
  dark band, tightened to fit its measure.

## Layout

A **1296px container** (nine uses) with a wider 1504px variant for full-bleed
bands, and a 16px gutter. The page is 6,128px tall and is a vertical stack of
full-width bands:

1. **Header** — 80px tall, white, with the Meta wordmark left, four nav items
   with dropdown chevrons, "Login" and a search icon right. No border; the
   separation from the hero is whitespace alone.
2. **Hero** — one wide gradient card at 64px radius, centred 64px type and a
   dek, inset from the page edges rather than full-bleed.
3. **"Get started"** — four icon tiles in a row, each a dark rounded square
   beside a blue link with a trailing arrow.
4. **"What's new"** — a horizontal carousel of cards: a photo card, a dark card
   with a metallic ring render, and a light card, with prev/next chevrons.
5. **"Build with us"** — rows of **product pills** (`#f1f4f7` grounds, 100px
   radius, ~77–85px tall), one per platform: Facebook, Messenger, Instagram,
   WhatsApp, Threads.
6. **"Success stories"** — a dark `#1c2b33` band with a 36px inverse heading and
   three photo cards with names, one-line stories and "Learn more" links.
7. **"Explore all our products"** — a list of rows, each a title, a one-line
   description and an "Overview" link on the right. No cards, no borders
   between rows.
8. **"Latest news"** — three cards with a date, a headline, an excerpt and a
   source tag.
9. **Newsletter** — a blue gradient card with a "Sign up" inverse button.
10. **Footer** — dark `#1c2b33`, four link columns, a social icon row and a
    language picker.

The rhythm is 72px and 48px of vertical padding, with 32px the default inner
gap and 16px the tight one. Spacing runs on a strict 4px base: 4, 8, 10, 16, 24,
32, 48, 72, 80.

## Elevation & Depth

**None — and the token layer proves it is intentional.** There is not a single
*drop* shadow on the marketing pages, and the CSS contains
`--shadow-1: transparent; --shadow-2: transparent; --shadow-inset:
transparent`. Meta's design system ships elevation tokens and this theme turns
them off.

Depth is expressed three other ways:

- **Surface steps.** `#ffffff` for cards, `#f1f4f7` for subdued bands,
  `#1c2b33` for the dark bands and footer. A pill on a grey band and a card on
  white both read as raised with no shadow applied.
- **Gradient scrims over photography.** `180deg, #0000 75%, #000` and
  `180deg, #0000, #000000b8` darken the bottom of photos so white captions stay
  legible. This is the system's answer to "text over image" and it is the only
  place a black appears at partial opacity.
- **Inset hairlines.** `#cbd2d9` and `#dadde1` at 1px, used to separate rows in
  the product list and the footer columns.

The one quasi-elevation effect is the pill's **100px radius**, which makes a
flat `#f1f4f7` rectangle read as a physical chip without any shadow.

There is exactly **one box-shadow in the whole system**, and it is not a drop
shadow: `0 0 0 10px var(--primary-deemphasized-button-background)` — a 10px
*spread* ring in the deemphasised button colour, used on the blog and
success-stories pages to knock a card out of a busy ground. Zero blur, zero
offset, pure outline.

## Shapes

**Generous and rounded, with a full ladder available.** The measured radii are
`100px` (16 uses), `32px` (10), `30px` (9), `24px` (13), `20px` (1) and `64px`
(1), plus a `9999px` token.

- **100px / `9999px`** — every pill: the product pills, both button variants,
  and the quiet "Explore all products" control. Anything interactive is a pill.
- **32px and 30px** — the large cards and the carousel tiles.
- **24px** — the mid-size cards and the icon tiles.
- **64px** — the hero gradient card, the single largest radius on the page.
- **20px** — one component, the smallest card.

There are no square corners anywhere in the resting state. The shape rule is:
**pills for controls, 24–32px for cards, 64px for the hero, nothing sharp.**

The blog and success-stories pages then add the system's one structural trick:
**a card is rounded on the corners that meet open space and left square where
two surfaces meet.** A photo-over-text card is built as two elements —
`.border-radius: 24px 24px 0 0` on the image and `0 0 24px 24px` on the body
beneath it — so the pair reads as one 24px-rounded card while the seam between
them stays flush. The side-by-side variant rounds only the outer pair:
`24px 0 0 24px` on the image column. This is the same compensation idea as
Bootstrap's `calc(.25rem - 1px)`, applied at a much larger radius.

## Motion & Micro-interaction

**One house curve, applied to transforms.** The dominant transition by far is
`transform 0.333s cubic-bezier(0, 0, 0.1, 1)` — sixteen declarations. That
curve is Meta's signature: a very fast, very aggressive ease-out that front-loads
almost all of the movement into the first tenth of a second, so a 333ms
transition feels like a 100ms one.

The rest of the vocabulary:

- **`opacity, transform, visibility 0.3s ease`** — nine uses, the standard
  enter/exit for dropdowns and overlays.
- **`background, opacity 0.333s cubic-bezier(0.53, 0, 0.28, 1)`** — seven uses,
  a second, gentler curve for colour washes.
- **`all 0.2s linear`** — nine uses, a snap for small state changes.
- **`padding 0.2s cubic-bezier(0.08, 0.52, 0.52, 1)`** — two uses, on a control
  that grows when focused.
- **One delayed entrance:** `opacity, transform 0.333s cubic-bezier(0, 0, 0.1, 1)
  0.6s` — a single element that waits 600ms before arriving.

There are no keyframe animations, no looping motion, no parallax and no
scroll-linked effects. The carousel advances with the house transform curve, and
the dropdowns use the opacity/transform/visibility trio.

## Voice & Content Strategy

- **Tone of voice:** Plain and infrastructural. The hero is one sentence —
  "Build technologies that help people connect, find communities and grow
  businesses." — with no adjective in it. The page never sells; it routes.
- **The four doors:** "Get started" offers exactly four entrances — Explore all
  products, Browse documentation, Developer tools, Get support — each an icon
  plus a blue link with an arrow. The whole page's job is to get you through one
  of them.
- **Capitalization:** Sentence case in headings and body. The one uppercase
  string is the "SUCCESS STORIES" eyebrow, and it is the system's only
  small-caps-style label.
- **Products are named exactly as Meta names them:** Ads and Monetization,
  Artificial Intelligence, Authentication, Business Messaging, Gaming, Open
  Source, Social Integrations. Each row is a title, a one-line description and
  an "Overview" link — no marketing verb.
- **Success stories are named customers with one-line outcomes:** "Concepto
  Móvil boosts business solutions and aligns teams through Meta Certification",
  "Universal Pictures engaging fans through interactive multimedia messaging
  campaigns". Real companies, real platforms, no superlatives.
- **The scale claim is one number:** "200M+ businesses use our services every
  month to connect with customers and grow." It appears once, as the dark band's
  heading, and is not repeated.
- **News is dated and versioned:** "Introducing Graph API v25.0 and Marketing
  API v25.0", "Announcing WhatsApp Business Tools MCP: Set-up and Manage
  WhatsApp Business from your AI Agent". Version numbers are the headline.
- **Outbound links are wrapped.** Every external destination goes through
  `l.facebook.com/l.php?u=…` — Meta's link shim — including links to its own
  other properties (llama.com, developers.meta.com/horizon). Nothing leaves the
  domain unwrapped.
- **Support is multi-channel and specific:** Developer Support, Bug tool,
  Platform status (metastatus.com), Developer community forum, Report an
  incident. Five distinct destinations rather than one contact form.

## Components

- **hero** — The gradient card: 64px radius, 64px of padding, centred, inset
  from the page edges. Filled with the six-stop pastel wash and holding one
  64px Optimistic Display 500 line plus a dek.
- **hero-wash** — The wash itself, in five stepped tokens (mint, blue,
  lavender, pink, peach) so any one stop can be used alone as a tinted surface.
- **display-heading** — Optimistic Display 500 at 64px on a 70.4px line in ink.
  The largest type on the site and the only 64px.
- **display-heading-inverse** — A 36px white heading over a dark band, carrying
  the system's only negative tracking (−1px) to fit its measure.
- **section-heading** — 48px / 500, used for "Get started", "What's new", "Build
  with us", "You can help families"-scale section titles.
- **subheading / card-heading** — 24px, at 500 on light grounds and **600 with
  +0.84px tracking** in white on dark ones.
- **eyebrow** — 12px / 400 in `#67788a` with +0.48px tracking. Uppercase. Used
  for "SUCCESS STORIES" and section kickers.
- **lead** — 24px / 400 on a 36px line, the hero dek and the band
  introductions.
- **body** — 18px / 500 on 27px, the default paragraph.
- **link** — `#0064e0` at 15px, the default inline and standalone link, with a
  trailing arrow on the navigation-style variants.
- **button-primary** — A 100px-radius pill, `45deg #0065e0 → #0f8bff` gradient,
  white label, `12px 20px` padding, 46px tall.
- **button-inverse** — The newsletter card's "Sign up": a **white** pill with a
  `#385898` label, same metrics.
- **button-quiet** — "Explore all products": no fill at all, just a
  `#385898` label in a 100px-radius pill outline at `12px 20px`, 48px tall.
- **product-pill** — The "Build with us" chips: `#f1f4f7` ground, 100px radius,
  a platform icon plus a `#385898` label, 77–85px tall with `20px 35px` of
  padding. The most-repeated interactive shape on the page.
- **icon-tile** — The four "Get started" tiles: a dark `#1c2b33` rounded square
  (24px radius, 48px) holding a white glyph, beside a blue link.
- **band-dark** — `#1c2b33` full-width with 72px of padding, white inverse
  headings, and photo cards floating on it.
- **band-subdued** — `#f1f4f7` full-width with 48px of padding, for the quieter
  mid-page sections.
- **hairline** — 1px `#cbd2d9` / `#dadde1` / `#f1f4f7`, separating product rows
  and footer columns.
- **photo-scrim** — `180deg, #0000 75%, #000` laid over the bottom of a
  photograph so a white caption or headline stays legible. The system's
  substitute for a shadow.
- **product-row** — A title, a one-line description and a right-aligned
  "Overview" link, at 24px radius and 24px padding, with no border.
- **footer** — Dark `#1c2b33`, four link columns at 15px, a social icon row, a
  legal row and a language picker.
- **language-picker** — "English (US)" in the footer's last row, set in
  `#0a1317` — the darkest ink in the system — at 15px Optimistic AI VF.
- **split-card** — The blog and success-stories card, built as two stacked
  elements: the image takes `24px 24px 0 0` and the body beneath it
  `0 0 24px 24px`, with 32px of padding on the body. Read together they are one
  24px-rounded card with a flush seam; the side-by-side variant rounds only the
  outer pair (`24px 0 0 24px`) so the inner seam against the sibling column stays
  square.
- **halo-ring** — `box-shadow: 0 0 0 10px` in the deemphasised button
  background colour. No blur, no offset — a 10px outline that lifts a card off a
  busy ground. The only box-shadow in the system.
- **band-faint / band-neutral** — `#f8f9fb` and `#f2f2f2` grounds used by the
  blog and success-stories pages, one step off the marketing site's `#f1f4f7`.
- **docs-surface / docs-band** — The `/docs` subsystem's tighter treatment:
  `#e1edf7` surfaces and `#283943` bands at a 4px radius and 16px padding, in
  Graphik LCG Web rather than Optimistic.

## Do's and Don'ts

- Do keep the three Optimistic cuts in their lanes. Optimistic Display for
  headings, Optimistic Text for body, Optimistic AI VF for links and nav. Never
  set body copy in Display or a heading in Text.
- Do set headings at 500, not bold. The 64px hero line is Medium and that is
  why it reads as calm; reserve 600 for the 24px card headings.
- Do hold display leading at 1.1 and body leading at 1.5. The token layer
  states both explicitly (`--display1-line-height: 52px` for 48px type).
- Do use the 12px / +0.48px eyebrow for section kickers, in the faintest grey.
  It is the only uppercase and the only positive tracking in the system.
- Do make every interactive element a pill. 100px radius on buttons, quiet
  buttons and product pills alike.
- Do keep cards at 24–32px and the hero at 64px. Nothing is ever square.
- Do turn shadows off. The theme sets `--shadow-1`, `--shadow-2` and
  `--shadow-inset` all to `transparent`; use surface steps and gradient scrims
  instead.
- Do solve text-over-photo with a `180deg, #0000 75%, #000` scrim. It is the
  system's only partial-opacity black and it is the reason white type stays
  legible over imagery.
- Do keep the four-step grey ramp in order: `#465a69` → `#5d6c7b` → `#67788a`
  under ink `#1c2b33`. Hierarchy is carried entirely by that ramp plus size.
- Do round a card on the corners that meet open space and leave it square where
  two surfaces meet — `24px 24px 0 0` over `0 0 24px 24px` for a stacked card,
  `24px 0 0 24px` for a side-by-side one. The seam stays flush while the outer
  silhouette reads as fully rounded.
- Do wrap every outbound link. The page routes all external destinations,
  including Meta's own other properties, through `l.facebook.com/l.php`.
- Do use the six-stop pastel wash exactly once, on the hero. It is the page's
  single ornamental gesture and it works because nothing else is coloured.
- Don't confuse the two blues. `#0064e0` is the link blue; `#0065e0` is only
  the first stop of the button gradient. They are one digit apart.
- Don't reach for `#385898` as a generic blue. It is the *older* Facebook blue,
  still doing real work on pills and quiet buttons, but it is not the primary.
- Don't ship Freight Sans. Twelve `@font-face` rules are declared for it and
  nothing on this page renders it — dead weight in the critical path.
- Don't add a drop shadow to a card or a pill to make it "pop". Raise it with a
  surface step instead (`#ffffff` on `#f1f4f7`, or `#f1f4f7` on white). The one
  permitted box-shadow is the 10px zero-blur spread ring, and only to knock a
  card out of a busy ground.
- Don't assume `/docs` inherits the marketing system. It renders in Graphik LCG
  Web at a 4px radius with `#e1edf7` and `#283943` surfaces — a second,
  unrelated type and shape system sharing one header. Decide which one you are
  building before you copy a token.
- Don't confuse `#f1f4f7` with `#f8f9fb`. The blog and success-stories pages
  use the latter, one faintly bluer step off the marketing band ground.
- Don't forget the container is 1296px, not 1440. The wider 1504px value is
  reserved for full-bleed bands.
