Pinterest Developer Platform DESIGN.md 设计系统与风格规范
Developer ToolsPro 专属v1.0.0 (最新)Pinterest's API developer platform — Gestalt-styled docs with navy hero panels, cream display type, and Pinterest-red CTAs.
当前可免费阅读 Pinterest Developer Platform 的完整设计叙述与最多 8 色主色板。升级 Pro 即可获取全部 81 个设计 Token、完整 DESIGN.md 源码下载及 1 个历史版本。
升级 DesignMD Pro,复制全部颜色的 :root CSS 变量、查看组件配色引用并下载完整源文件。
设计规范
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 12pxshadow, 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.
如何在 AI agent 里使用 Pinterest Developer Platform 的 DESIGN.md
获取 Pinterest Developer Platform 的 DESIGN.md
请求 https://www.designmdpro.app/websites/pinterest-developer-platform.md,或通过 DesignMD Pro MCP 服务器调用 get_design_md 工具(slug 为 "pinterest-developer-platform"),即可获取公开版本;完整 tokens 需要 Pro。
保存为项目根目录下的 DESIGN.md
把文件放在 AGENTS.md 或 CLAUDE.md 旁边,Claude Code、Cursor、Codex 等编码 agent 就能读到它。
让 agent 按它来写
例如:“按照 DESIGN.md 里的 Pinterest Developer Platform 设计系统实现设置页,使用其中的颜色、字体和间距 tokens。”
Pinterest Developer Platform 风格 AI Prompt
参照 Pinterest Developer Platform(developers.pinterest.com)的 DESIGN.md 设计系统,用它的视觉风格构建一个响应式落地页。
## 配色
- outline: #C8C8C1
- primary: #E60023
- surface: #FFFFFF
- hero-navy: #002966
- secondary: #2B48D4
- hero-cream: #FFFD92
- on-primary: #FFFFFF
- on-surface: #000000
## 字体
- body-md: "Pin Sans", 16px, weight 400, line-height 1.4
- link-md: "Pin Sans", 16px, weight 500
## 圆角
- lg: 16px
- md: 12px
- sm: 8px
## 规则
- 背景、文字、边框和强调色只使用上面列出的颜色,不要自创新颜色。
- 所有文字都使用上面的字体样式,并保持它们的字号与字重层级。
- 圆角和间距取自上面的尺度,让各组件保持一致。
完整 DESIGN.md:https://www.designmdpro.app/websites/pinterest-developer-platform.md在 V0 Prompt 生成器中自定义 →常见问题
Pinterest Developer Platform 的主色是什么?
Pinterest Developer Platform 的品牌主色是红色(#E60023),其 DESIGN.md 共定义了 16 个颜色 token。
Pinterest Developer Platform 用的是什么字体?
Pinterest Developer Platform 的主要字体是 Pin Sans。
如何在 Tailwind CSS 或 shadcn/ui 中使用 Pinterest Developer Platform 的设计 token?
本页公开了 Pinterest Developer Platform 的主色 #E60023。生成完整的 Tailwind 或 shadcn 主题需要完整的 DESIGN.md,可通过 DesignMD Pro 获取。
这份 Pinterest Developer Platform DESIGN.md 是官方的吗?
不是。这份文件由 DesignMD Pro 从 developers.pinterest.com 的公开页面提取,与 Pinterest Developer Platform 无关联,也未获其认可。
Pinterest Developer Platform 的 DESIGN.md 最近一次更新是什么时候?
当前版本 1.0.0 提取于 2026年11月30日。
Pinterest Developer Platform 及其商标归各自所有者所有。DesignMD Pro 是独立项目,与 Pinterest Developer Platform 无任何关联,亦未获其认可;本 DESIGN.md 提取自其公开网站,仅供参考。