# Pinterest Developer Platform DESIGN.md

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

Pinterest's developer portal built on the Gestalt design system — Pin Sans type, Pinterest-red CTAs, navy and teal marketing panels with cream display type, and a white docs app of soft-shadowed cards on a 4px spacing grid.

- Website: https://developers.pinterest.com
- Primary color: Red `#E60023`
- Fonts: Pin Sans
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/pinterest-developer-platform

## Palette preview

- `outline`: `#c8c8c1`
- `primary`: `#e60023`
- `surface`: `#ffffff`
- `hero-navy`: `#002966`
- `secondary`: `#2b48d4`
- `hero-cream`: `#fffd92`
- `on-primary`: `#ffffff`
- `on-surface`: `#000000`

## Typography preview

- `body-md`: Pin Sans
- `link-md`: Pin Sans

---

## Overview

The Pinterest Developer Platform is two products sharing one system: a **marketing surface** and a **docs application**, both built on Pinterest's Gestalt design system. The marketing side is bold and friendly — full-bleed navy and teal panels, oversized light-weight display type in pale cream, and pill buttons with generous 24px corners. The docs side is calm and utilitarian — white surfaces, a persistent sidebar, soft-shadowed cards, and blue text links.

The personality is approachable precision: rounded corners everywhere (8–24px, never sharp), one soft shadow level instead of borders, and Pinterest red reserved strictly for the most important action on a screen. Density is moderate; the 4px spacing grid keeps the docs app scannable while the marketing pages breathe with 48px section padding. Imagery is minimal — icons in the sidebar and cards, a floating chat bubble, and brand thumbnails in the repo listings.

## Colors

The palette is Pinterest's Gestalt scale: a grayscale ramp, one brand red, one link blue, and two marketing panel colors.

- **Primary — Pinterest Red (#e60023):** the single action color. "Log in", the promo "Learn More" button, and the floating "Chat" bubble. Hover darkens to #cc001f; always paired with white text.
- **On-primary (#ffffff):** text and icons on red.
- **Secondary — Link Blue (#2b48d4):** all inline docs links and card labels at 16px/500.
- **Surface (#ffffff):** the docs canvas, header, and cards. **Surface-dim (#f6f6f3)** tints quiet page areas; **surface-sunken (#e5e5e0)** is the demoted "Sign up" fill.
- **On-surface (#000000)** carries all primary text; **on-surface-variant (#62625b)** carries secondary text and search placeholders.
- **Outline (#c8c8c1):** the 1px border on search inputs — the only place the system uses a border instead of a shadow.
- **Neutral-inverse (#33332e):** the fill of the active docs sidebar item.
- **Hero Navy (#002966):** the primary marketing panel — the homepage hero and closing CTA bands.
- **Hero Cream (#fffd92):** display headlines on navy and the pale-yellow hero pill buttons.
- **Section Teal (#005c62):** the "Success stories" panel, with peach #ffe4c1 titles and body copy.
- **Info Surface (#ebeeff):** the pale-indigo "Share feedback" banner in the docs.

Red is never used as a large background on the marketing panels — those belong to navy and teal.

## Typography

One family throughout: **Pin Sans**, Pinterest's brand face, with a long system fallback stack. The system deliberately contrasts two regimes: marketing display type is **light (400) and huge**, while docs headings are **bold (700) and compact**.

- **Display (58px/400, -0.5px tracking, 1.2):** homepage hero headline only.
- **Display small (42px/400) and Title large (36px/400):** marketing section titles and panel headings.
- **Heading large (36px/700, 1.1, -0.5px):** docs page titles.
- **Heading medium (28px/700, 1.1, -0.5px):** docs section headings.
- **Title medium (20px/400):** card and story titles inside colored panels.
- **Body (16px/400, 1.4):** all running copy, sidebar items, and table text.
- **Labels (16px and 14px/400):** header buttons at 16px, marketing buttons at 14px.
- **Links (16px/500):** blue, underlined on hover in the docs body.
- **Caption (12px/400):** the "/" keyboard hint inside search fields.

Letter tracking is slightly negative on every large size (-0.5px at 36–58px) and normal below 28px.

## Layout

A **4px spacing grid** governs everything: 4, 8, 12, 16, 24, 48, 64. The docs app is a fixed white header (64px, soft shadow) over a two-column shell — a filterable sidebar with a 36px search input and a content column capped near 960px, plus a right-hand "on this page" rail. The marketing pages stack full-width color panels with 48px internal padding; section content aligns to the same grid with 24px card padding.

Depth comes from **one soft shadow level**, not borders: the header carries `rgba(0,0,0,0.2) 0 1.5px 6px`, cards carry `rgba(0,0,0,0.2) 0 3px 12px`. Inputs are the exception — they get a 1px #c8c8c1 border and 8px radius.

## Elevation & Depth

Elevation is deliberately shallow: two shadow strengths of the same soft black recipe, and nothing else. The floating header sits at the lower strength; content cards ("Connect your app", "API reference", "Change log", "Get help") sit at the higher one and lift on hover. Colored marketing panels create depth by full-bleed contrast against white sections rather than by shadow. There are no glows, no layered shadows, and no blurred backdrops.

## Shapes

The shape language is **softly rounded** — Gestalt's rounding scale, applied by component role: **8px** for inputs and small controls, **12px** for header buttons and banners, **16px** for content cards, **24px** for hero pill buttons, and **999px** for the floating chat bubble. Nothing in the system is square; the largest marketing buttons are the roundest things on the page.

## Motion & Micro-interaction

Motion is minimal and functional. Interactive elements respond with an **85ms ease-out transform** (the Gestalt press/hover nudge), and dropdown surfaces — the docs nav menus and the endpoint filter — animate in over **250ms ease** with a short opacity fade. Nothing scrolls, nothing loops, and no marketing panel animates on entry. Honor `prefers-reduced-motion`.

## Voice & Content Strategy

- **Tone of voice:** plain, capable, and encouraging — a platform team welcoming developers. Short declarative sentences, no exclamation marks.
- **Capitalization:** sentence case for headings and body ("One API to seamlessly integrate with Pinterest"); Title Case only for named feature cards ("Track Conversions", "Build & Manage ads").
- **Terminology:** "app" (never "application" in UI labels), "endpoint", "Pinterest API", "developer account". The product is the "Pinterest Developer Platform", introduced as such.
- **Button and action labels:** verb phrases naming the outcome — "Get started", "Connect your app", "Log in", "Sign up", "Read more", "Learn More". Search is labeled by scope: "Search docs & API", "Filter docs", "Filter endpoints".
- **Empty, loading, and error states:** not observed on public pages; the docs instead close each article with a feedback prompt — "Was this page helpful?" with thumbs up/down, and an info banner reading "Share feedback".
- **Numbers, dates, and units:** onboarding is numbered as discrete steps ("1. Connect app", "2. Set up authentication and authorization", "3. Make an API call"); API versions appear as plain decimals ("Pinterest REST API 5.32.0").

## Components

- **Primary button:** Pinterest red fill, white 16px label, 12px radius, 36px tall, 6px vertical / 12px horizontal padding; hover deepens to #cc001f. Used once per view for the main action.
- **Secondary button:** #e5e5e0 fill, black label, same 12px radius and metrics — the demoted "Sign up".
- **Hero button:** pale-cream #fffd92 pill with black label at 24px radius, sitting on navy panels.
- **Hero panel:** full-bleed #002966 block with 48px padding, cream 58px display headline, and gray-blue body copy; closing CTA bands reuse the same panel.
- **Teal story panel:** #005c62 block with peach #ffe4c1 20px titles and a blue "Read more" link.
- **Docs card:** white surface, 16px radius, 24px padding, soft `0 3px 12px` shadow, leading icon plus a blue 16px/500 label; a 2×2 grid of these opens the docs overview.
- **Search input:** white field, 1px #c8c8c1 border, 8px radius, 36px tall, with a gray #62625b placeholder and a "/" keyboard hint.
- **Active nav item:** #33332e fill with white label and 8px radius — the only dark element in the docs sidebar.
- **Info banner:** pale-indigo #ebeeff strip with black text and an info icon, used for feedback prompts.
- **Chat FAB:** red 999px pill fixed to the bottom-right corner with a speech-bubble icon.

## Do's and Don'ts

- Do reserve Pinterest red for the single most important action per screen, always with white text.
- Do keep marketing display type light (400) and large; keep docs headings bold (700).
- Do set headlines on navy panels in cream #fffd92 — never black, never white.
- Do follow the rounding scale by role: 8px inputs, 12px buttons, 16px cards, 24px hero pills.
- Do build elevation from the two soft shadow strengths; don't introduce borders where a shadow already separates a surface.
- Do space everything on the 4px grid (4/8/12/16/24/48/64) and pad marketing panels a full 48px.
- Don't use red, teal, or cream as page backgrounds outside their marketing panels.
- Don't mix the light marketing type regime with the bold docs regime on the same surface.
- Don't add a third shadow strength or sharpen corners below 8px — the system has no square or subtly-rounded elements.
