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

Design System: Figma

Hermes Agent — Implementation Notes

The original site uses proprietary fonts. For self-contained HTML output, use these CDN substitutes: - Primary: Inter | Mono: JetBrains Mono - Font stack (CSS): font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; - Mono stack (CSS): font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace; html <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&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

Figma's interface is the design tool that designed itself — a masterclass in typographic sophistication where a custom variable font (figmaSans) modulates between razor-thin (weight 320) and bold (weight 700) with stops at unusual intermediates (330, 340, 450, 480, 540) that most type systems never explore. This granular weight control gives every text element a precisely calibrated visual weight, creating hierarchy through micro-differences rather than the blunt instrument of "regular vs bold."

The page presents a fascinating duality: the interface chrome is strictly black-and-white (literally only #000000 and #ffffff detected as colors), while the hero section and product showcases explode with vibrant multi-color gradients — electric greens, bright yellows, deep purples, hot pinks. This separation means the design system itself is colorless, treating the product's colorful output as the hero content. Figma's marketing page is essentially a white gallery wall displaying colorful art.

What makes Figma distinctive beyond the variable font is its circle-and-pill geometry. Buttons use 50px radius (pill) or 50% (perfect circle for icon buttons), creating an organic, tool-palette-like feel. The dashed-outline focus indicator (dashed 2px) is a deliberate design choice that echoes selection handles in the Figma editor itself — the website's UI language references the product's UI language.

Key Characteristics: - Custom variable font (figmaSans) with unusual weight stops: 320, 330, 340, 450, 480, 540, 700 - Strictly black-and-white interface chrome — color exists only in product content - figmaMono for uppercase technical labels with wide letter-spacing - Pill (50px) and circular (50%) button geometry - Dashed focus outlines echoing Figma's editor selection handles - Vibrant multi-color hero gradients (green, yellow, purple, pink) - OpenType "kern" feature enabled globally - Negative letter-spacing throughout — even body text at -0.14px to -0.26px

2. Color Palette & Roles

Primary

Note: Figma's marketing site uses ONLY these two colors for its interface layer. All vibrant colors appear exclusively in product screenshots, hero gradients, and embedded content.

Surface & Background

Gradient System

3. Typography Rules

Font Family

Hierarchy

Role Font Size Weight Line Height Letter Spacing Notes
Display / Hero figmaSans 86px (5.38rem) 400 1.00 (tight) -1.72px Maximum impact, extreme tracking
Section Heading figmaSans 64px (4rem) 400 1.10 (tight) -0.96px Feature section titles
Sub-heading figmaSans 26px (1.63rem) 540 1.35 -0.26px Emphasized section text
Sub-heading Light figmaSans 26px (1.63rem) 340 1.35 -0.26px Light-weight section text
Feature Title figmaSans 24px (1.5rem) 700 1.45 normal Bold card headings
Body Large figmaSans 20px (1.25rem) 330–450 1.30–1.40 -0.1px to -0.14px Descriptions, intros
Body / Button figmaSans 16px (1rem) 330–400 1.40–1.45 -0.14px to normal Standard body, nav, buttons
Body Light figmaSans 18px (1.13rem) 320 1.45 -0.26px to normal Light-weight body text
Mono Label figmaMono 18px (1.13rem) 400 1.30 (tight) 0.54px Uppercase section labels
Mono Small figmaMono 12px (0.75rem) 400 1.00 (tight) 0.6px Uppercase tiny tags

Principles

4. Component Stylings

Buttons

Black Solid (Pill) - Background: Pure Black (#000000) - Text: Pure White (#ffffff) - Radius: circle (50%) for icon buttons - Focus: dashed 2px outline - Maximum emphasis

White Pill - Background: Pure White (#ffffff) - Text: Pure Black (#000000) - Padding: 8px 18px 10px (asymmetric vertical) - Radius: pill (50px) - Focus: dashed 2px outline - Standard CTA on dark/colored surfaces

Glass Dark - Background: rgba(0, 0, 0, 0.08) (subtle dark overlay) - Text: Pure Black - Radius: circle (50%) - Focus: dashed 2px outline - Secondary action on light surfaces

Glass Light - Background: rgba(255, 255, 255, 0.16) (frosted glass) - Text: Pure White - Radius: circle (50%) - Focus: dashed 2px outline - Secondary action on dark/colored surfaces

Cards & Containers

Distinctive Components

Product Tab Bar - Horizontal pill-shaped tabs (50px radius) - Each tab represents a Figma product area (Design, Dev Mode, Prototyping, etc.) - Active tab highlighted

Hero Gradient Section - Full-width vibrant multi-color gradient background - White text overlay with 86px display heading - Product screenshots floating within the gradient

Dashed Focus Indicators - All interactive elements use dashed 2px outline on focus - References the selection handles in the Figma editor - A meta-design choice connecting website and product

5. Layout Principles

Spacing System

Grid & Container

Whitespace Philosophy

Border Radius Scale

6. Depth & Elevation

Level Treatment Use
Flat (Level 0) No shadow Page background, most text
Surface (Level 1) White card on gradient/dark section Cards, product showcases
Elevated (Level 2) Subtle shadow Floating cards, hover states

Shadow Philosophy: Figma uses shadows sparingly. The primary depth mechanisms are background contrast (white content on colorful/dark sections) and the inherent dimensionality of the product screenshots themselves.

7. Do's and Don'ts

Do

Don't

8. Responsive Behavior

Breakpoints

Name Width Key Changes
Small Mobile <560px Compact layout, stacked
Tablet 560–768px Minor adjustments
Small Desktop 768–960px 2-column layouts
Desktop 960–1280px Standard layout
Large Desktop 1280–1440px Expanded
Ultra-wide 1440–1920px Maximum width

Collapsing Strategy

9. Agent Prompt Guide

Quick Color Reference

Example Component Prompts

Iteration Guide

  1. Use variable font weight stops precisely: 320, 330, 340, 450, 480, 540, 700
  2. Interface is always black + white — never add colors to chrome
  3. Dashed focus outlines, not solid
  4. Letter-spacing is always negative on body, always positive on mono labels
  5. Pill (50px) for buttons/tabs, circle (50%) for icon buttons