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

Design System: Apple

Hermes Agent — Implementation Notes

The original site uses proprietary fonts. For self-contained HTML output, use these CDN substitutes: - Primary: system-ui | Mono: SF Mono (system) - Font stack (CSS): font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; - Mono stack (CSS): font-family: 'SF Mono (system)', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace; html <!-- No CDN needed — uses system fonts --> 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

Apple's website is a masterclass in controlled drama — vast expanses of pure black and near-white serve as cinematic backdrops for products that are photographed as if they were sculptures in a gallery. The design philosophy is reductive to its core: every pixel exists in service of the product, and the interface itself retreats until it becomes invisible. This is not minimalism as aesthetic preference; it is minimalism as reverence for the object.

The typography anchors everything. San Francisco (SF Pro Display for large sizes, SF Pro Text for body) is Apple's proprietary typeface, engineered with optical sizing that automatically adjusts letterforms depending on point size. At display sizes (56px), weight 600 with a tight line-height of 1.07 and subtle negative letter-spacing (-0.28px) creates headlines that feel machined rather than typeset — precise, confident, and unapologetically direct. At body sizes (17px), the tracking loosens slightly (-0.374px) and line-height opens to 1.47, creating a reading rhythm that is comfortable without ever feeling slack.

The color story is starkly binary. Product sections alternate between pure black (#000000) backgrounds with white text and light gray (#f5f5f7) backgrounds with near-black text (#1d1d1f). This creates a cinematic pacing — dark sections feel immersive and premium, light sections feel open and informational. The only chromatic accent is Apple Blue (#0071e3), reserved exclusively for interactive elements: links, buttons, and focus states. This singular accent color in a sea of neutrals gives every clickable element unmistakable visibility.

Key Characteristics: - SF Pro Display/Text with optical sizing — letterforms adapt automatically to size context - Binary light/dark section rhythm: black (#000000) alternating with light gray (#f5f5f7) - Single accent color: Apple Blue (#0071e3) reserved exclusively for interactive elements - Product-as-hero photography on solid color fields — no gradients, no textures, no distractions - Extremely tight headline line-heights (1.07-1.14) creating compressed, billboard-like impact - Full-width section layout with centered content — the viewport IS the canvas - Pill-shaped CTAs (980px radius) creating soft, approachable action buttons - Generous whitespace between sections allowing each product moment to breathe

2. Color Palette & Roles

Primary

Interactive

Text

Surface & Dark Variants

Button States

Shadows

3. Typography Rules

Font Family

Hierarchy

Role Font Size Weight Line Height Letter Spacing Notes
Display Hero SF Pro Display 56px (3.50rem) 600 1.07 (tight) -0.28px Product launch headlines, maximum impact
Section Heading SF Pro Display 40px (2.50rem) 600 1.10 (tight) normal Feature section titles
Tile Heading SF Pro Display 28px (1.75rem) 400 1.14 (tight) 0.196px Product tile headlines
Card Title SF Pro Display 21px (1.31rem) 700 1.19 (tight) 0.231px Bold card headings
Sub-heading SF Pro Display 21px (1.31rem) 400 1.19 (tight) 0.231px Regular card headings
Nav Heading SF Pro Text 34px (2.13rem) 600 1.47 -0.374px Large navigation headings
Sub-nav SF Pro Text 24px (1.50rem) 300 1.50 normal Light sub-navigation text
Body SF Pro Text 17px (1.06rem) 400 1.47 -0.374px Standard reading text
Body Emphasis SF Pro Text 17px (1.06rem) 600 1.24 (tight) -0.374px Emphasized body text, labels
Button Large SF Pro Text 18px (1.13rem) 300 1.00 (tight) normal Large button text, light weight
Button SF Pro Text 17px (1.06rem) 400 2.41 (relaxed) normal Standard button text
Link SF Pro Text 14px (0.88rem) 400 1.43 -0.224px Body links, "Learn more"
Caption SF Pro Text 14px (0.88rem) 400 1.29 (tight) -0.224px Secondary text, descriptions
Caption Bold SF Pro Text 14px (0.88rem) 600 1.29 (tight) -0.224px Emphasized captions
Micro SF Pro Text 12px (0.75rem) 400 1.33 -0.12px Fine print, footnotes
Micro Bold SF Pro Text 12px (0.75rem) 600 1.33 -0.12px Bold fine print
Nano SF Pro Text 10px (0.63rem) 400 1.47 -0.08px Legal text, smallest size

Principles

4. Component Stylings

Buttons

Primary Blue (CTA) - Background: #0071e3 (Apple Blue) - Text: #ffffff - Padding: 8px 15px - Radius: 8px - Border: 1px solid transparent - Font: SF Pro Text, 17px, weight 400 - Hover: background brightens slightly - Active: #ededf2 background shift - Focus: 2px solid var(--sk-focus-color, #0071E3) outline - Use: Primary call-to-action ("Buy", "Shop iPhone")

Primary Dark - Background: #1d1d1f - Text: #ffffff - Padding: 8px 15px - Radius: 8px - Font: SF Pro Text, 17px, weight 400 - Use: Secondary CTA, dark variant

Pill Link (Learn More / Shop) - Background: transparent - Text: #0066cc (light bg) or #2997ff (dark bg) - Radius: 980px (full pill) - Border: 1px solid #0066cc - Font: SF Pro Text, 14px-17px - Hover: underline decoration - Use: "Learn more" and "Shop" links — the signature Apple inline CTA

Filter / Search Button - Background: #fafafc - Text: rgba(0, 0, 0, 0.8) - Padding: 0px 14px - Radius: 11px - Border: 3px solid rgba(0, 0, 0, 0.04) - Focus: 2px solid var(--sk-focus-color, #0071E3) outline - Use: Search bars, filter controls

Media Control - Background: rgba(210, 210, 215, 0.64) - Text: rgba(0, 0, 0, 0.48) - Radius: 50% (circular) - Active: scale(0.9), background shifts - Focus: 2px solid var(--sk-focus-color, #0071e3) outline, white bg, black text - Use: Play/pause, carousel arrows

Cards & Containers

Image Treatment

Distinctive Components

Product Hero Module - Full-viewport-width section with solid background (black or #f5f5f7) - Product name as the primary headline (SF Pro Display, 56px, weight 600) - One-line descriptor below in lighter weight - Two pill CTAs side by side: "Learn more" (outline) and "Buy" / "Shop" (filled)

Product Grid Tile - Square or near-square card on contrasting background - Product image dominating 60-70% of the tile - Product name + one-line description below - "Learn more" and "Shop" link pair at bottom

Feature Comparison Strip - Horizontal scroll of product variants - Each variant as a vertical card with image, name, and key specs - Minimal chrome — the products speak for themselves

5. Layout Principles

Spacing System

Grid & Container

Whitespace Philosophy

Border Radius Scale

6. Depth & Elevation

Level Treatment Use
Flat (Level 0) No shadow, solid background Standard content sections, text blocks
Navigation Glass backdrop-filter: saturate(180%) blur(20px) on rgba(0,0,0,0.8) Sticky navigation bar — the glass effect
Subtle Lift (Level 1) rgba(0, 0, 0, 0.22) 3px 5px 30px 0px Product cards, floating elements
Media Control rgba(210, 210, 215, 0.64) background with scale transforms Play/pause buttons, carousel controls
Focus (Accessibility) 2px solid #0071e3 outline Keyboard focus on all interactive elements

Shadow Philosophy: Apple uses shadow extremely sparingly. The primary shadow (3px 5px 30px with 0.22 opacity) is soft, wide, and offset — mimicking a diffused studio light casting a natural shadow beneath a physical object. This reinforces the "product as physical sculpture" metaphor. Most elements have NO shadow at all; elevation comes from background color contrast (dark card on darker background, or light card on slightly different gray).

Decorative Depth

7. Do's and Don'ts

Do

Don't

8. Responsive Behavior

Breakpoints

Name Width Key Changes
Small Mobile <360px Minimum supported, single column
Mobile 360-480px Standard mobile layout
Mobile Large 480-640px Wider single column, larger images
Tablet Small 640-834px 2-column product grids begin
Tablet 834-1024px Full tablet layout, expanded nav
Desktop Small 1024-1070px Standard desktop layout begins
Desktop 1070-1440px Full layout, max content width
Large Desktop >1440px Centered with generous margins

Touch Targets

Collapsing Strategy

Image Behavior

9. Agent Prompt Guide

Quick Color Reference

Example Component Prompts

Iteration Guide

  1. Every interactive element gets Apple Blue (#0071e3) — no other accent colors
  2. Section backgrounds alternate: black for immersive moments, #f5f5f7 for informational moments
  3. Typography optical sizing: SF Pro Display at 20px+, SF Pro Text below — never mix
  4. Negative letter-spacing at all sizes: -0.28px at 56px, -0.374px at 17px, -0.224px at 14px, -0.12px at 12px
  5. The navigation glass effect (translucent dark + blur) is non-negotiable — it defines the Apple web experience
  6. Products always appear on solid color fields — never on gradients, textures, or lifestyle backgrounds in hero modules
  7. Shadow is rare and always soft: 3px 5px 30px 0.22 opacity or nothing at all
  8. Pill CTAs use 980px radius — this creates the signature Apple rounded-rectangle-that-looks-like-a-capsule shape