← Về thư mục
📄 / / root / .hermes / profiles / glv-director / skills / creative / popular-web-designs / templates / pinterest.md

Design System: Pinterest

Hermes Agent — Implementation Notes

The original site uses proprietary fonts. For self-contained HTML output, use these CDN substitutes: - Primary: DM Sans | Mono: system monospace stack - Font stack (CSS): font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; - Mono stack (CSS): font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace; html <link href="https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap" rel="stylesheet"> Use write_file to create HTML, serve via generative-widgets skill (cloudflared tunnel). Verify visual accuracy with browser_vision after generating.

1. Visual Theme & Atmosphere

Pinterest's website is a warm, inspiration-driven canvas that treats visual discovery like a lifestyle magazine. The design operates on a soft, slightly warm white background with Pinterest Red (#e60023) as the singular, bold brand accent. Unlike the cool blues of most tech platforms, Pinterest's neutral scale has a distinctly warm undertone — grays lean toward olive/sand (#91918c, #62625b, #e5e5e0) rather than cool steel, creating a cozy, craft-like atmosphere that invites browsing.

The typography uses Pin Sans — a custom proprietary font with a broad fallback stack including Japanese fonts, reflecting Pinterest's global reach. At display scale (70px, weight 600), Pin Sans creates large, inviting headlines. At smaller sizes, the system is compact: buttons at 12px, captions at 12–14px. The CSS variable naming system (--comp-*, --sema-*, --base-*) reveals a sophisticated three-tier design token architecture: component-level, semantic-level, and base-level tokens.

What distinguishes Pinterest is its generous border-radius system (12px–40px, plus 50% for circles) and warm-tinted button backgrounds. The secondary button (#e5e5e0) has a distinctly warm, sand-like tone rather than cold gray. The primary red button uses 16px radius — rounded but not pill-shaped. Combined with warm badge backgrounds (hsla(60,20%,98%,.5) — a subtle yellow-warm wash) and photography-dominant layouts, the result is a design that feels handcrafted and personal, not corporate and sterile.

Key Characteristics: - Warm white canvas with olive/sand-toned neutrals — cozy, not clinical - Pinterest Red (#e60023) as singular bold accent — never subtle, always confident - Pin Sans custom font with global fallback stack (including CJK) - Three-tier token architecture: --comp-* / --sema-* / --base-* - Warm secondary surfaces: sand gray (#e5e5e0), warm badge (hsla(60,20%,98%,.5)) - Generous border-radius: 16px standard, up to 40px for large containers - Photography-first content — pins/images are the primary visual element - Dark near-purple text (#211922) — warm, with a hint of plum

2. Color Palette & Roles

Primary Brand

Text

Interactive

Surface & Border

Semantic

3. Typography Rules

Font Family

Hierarchy

Role Font Size Weight Line Height Letter Spacing Notes
Display Hero Pin Sans 70px (4.38rem) 600 normal normal Maximum impact
Section Heading Pin Sans 28px (1.75rem) 700 normal -1.2px Negative tracking
Body Pin Sans 16px (1.00rem) 400 1.40 normal Standard reading
Caption Bold Pin Sans 14px (0.88rem) 700 normal normal Strong metadata
Caption Pin Sans 12px (0.75rem) 400–500 1.50 normal Small text, tags
Button Pin Sans 12px (0.75rem) 400 normal normal Button labels

Principles

4. Component Stylings

Buttons

Primary Red - Background: #e60023 (Pinterest Red) - Text: #000000 (black — unusual choice for contrast on red) - Padding: 6px 14px - Radius: 16px (generously rounded, not pill) - Border: 2px solid rgba(255, 255, 255, 0) (transparent) - Focus: semantic border + outline via CSS variables

Secondary Sand - Background: #e5e5e0 (warm sand gray) - Text: #000000 - Padding: 6px 14px - Radius: 16px - Focus: same semantic border system

Circular Action - Background: #e0e0d9 (warm light) - Text: #211922 (plum black) - Radius: 50% (circle) - Use: Pin actions, navigation controls

Ghost / Transparent - Background: transparent - Text: #000000 - No border - Use: Tertiary actions

Cards & Containers

Inputs

Image Treatment

5. Layout Principles

Spacing System

Grid & Container

Whitespace Philosophy

Border Radius Scale

6. Depth & Elevation

Level Treatment Use
Flat (Level 0) No shadow Default — pins rely on content, not shadow
Subtle (Level 1) Minimal shadow (from tokens) Elevated overlays, dropdowns
Focus (Accessibility) --sema-color-border-focus-outer-default ring Focus states

Shadow Philosophy: Pinterest uses minimal shadows. The masonry grid relies on content (photography) to create visual interest rather than elevation effects. Depth comes from the warmth of surface colors and the generous rounding of containers.

7. Do's and Don'ts

Do

Don't

8. Responsive Behavior

Breakpoints

Name Width Key Changes
Mobile <576px Single column, compact layout
Mobile Large 576–768px 2-column pin grid
Tablet 768–890px Expanded grid
Desktop Small 890–1312px Standard masonry grid
Desktop 1312–1440px Full layout
Large Desktop 1440–1680px Expanded grid columns
Ultra-wide >1680px Maximum grid density

Collapsing Strategy

9. Agent Prompt Guide

Quick Color Reference

Example Component Prompts

Iteration Guide

  1. Warm neutrals everywhere — olive/sand grays, never cool steel
  2. Pinterest Red for CTAs only — bold and singular
  3. 16px radius on buttons/inputs, 20px+ on cards — generous but not pill
  4. Pin Sans is the only font — compact at 12px for UI, 70px for display
  5. Photography carries the design — the UI stays warm and minimal
  6. Plum black (#211922) for text — warmer than pure black