--- name: email-design-system description: Apply sophisticated design system principles to HTML emails including typography hierarchy, color palettes, spacing systems, and layout patterns. Use when creating email templates that need cohesive, intentional design within email HTML constraints. Covers section composition, visual rhythm, and brand application. --- # Email Design System Transform emails from functional to beautiful while respecting technical constraints. This skill provides the design thinking layer. ## Typography System ### Hierarchy (Required) Every email needs clear typographic hierarchy: | Element | Size | Weight | Use | |---------|------|--------|-----| | Hero Headline | 32-42px | 700 | One per email, the main message | | Section Header | 24-28px | 700 | Section introductions | | Subheader | 18-20px | 600 | Supporting headlines | | Body | 15-16px | 400 | Main content | | Small/Caption | 12-13px | 400 | Footer, legal, metadata | **Key Rule:** Minimum 2x ratio between headline and body. If body is 16px, headline should be 32px+. ### Font Pairing Strategies Within email-safe constraints, create character: **Elegant Business:** ``` Headlines: Georgia, 'Times New Roman', serif (32px, normal weight) Body: Arial, Helvetica, sans-serif (15px) ``` **Modern Friendly:** ``` Headlines: 'Trebuchet MS', 'Lucida Sans', sans-serif (36px, bold) Body: Verdana, Geneva, sans-serif (14px) ``` **Tech/Minimal:** ``` Headlines: Arial Black, Arial, sans-serif (28px, bold) Body: Arial, Helvetica, sans-serif (15px) Accents: 'Courier New', monospace (for codes) ``` ### Typography Tricks **Letterspacing for elegance:** ```css letter-spacing: 2px; text-transform: uppercase; font-size: 12px; /* Great for category labels */ ``` **Mixed weight headlines:** ```html Your order is confirmed ``` ## Color System ### Palette Structure Every email needs exactly: - 1 Background color - 1 Surface/card color (if different) - 1 Primary text color - 1 Muted/secondary text color - 1 Accent/CTA color - Optional: 1 section divider color ### Palette Recipes by Aesthetic **Dark Elegant (Tech/SaaS):** ``` Background: #0f172a Surface: #1e293b Primary text: #f8fafc Muted text: #94a3b8 Accent: #3b82f6 ``` **Warm Minimal (Wellness/Lifestyle):** ``` Background: #fef7ed Surface: #ffffff Primary text: #1c1917 Muted text: #78716c Accent: #ea580c ``` **Bold Editorial (Media/Fashion):** ``` Background: #ffffff Surface: #f5f5f4 Primary text: #0a0a0a Muted text: #525252 Accent: #dc2626 ``` **Professional Clean (Finance/B2B):** ``` Background: #f8fafc Surface: #ffffff Primary text: #0f172a Muted text: #64748b Accent: #0d9488 ``` **Playful Bright (Consumer/Entertainment):** ``` Background: #fef08a Surface: #ffffff Primary text: #1e1e1e Muted text: #525252 Accent: #7c3aed ``` ## Spacing System ### Vertical Rhythm Use consistent spacing scale (in px): | Token | Value | Use | |-------|-------|-----| | xs | 8px | Inline spacing, tight elements | | sm | 16px | Paragraph spacing | | md | 24px | Between related elements | | lg | 40px | Section internal padding | | xl | 60px | Between major sections | **Key Rule:** Either generous (lg/xl) OR tight (xs/sm)—never medium-everything. ### Section Padding Pattern ```html
|
TitleDescription |