a builder's codex
codex · playbooks · Design principles for marketing assets

Design principles for marketing assets

Actionable rules for non-designers producing landing pages, emails, ads, decks, social, and collateral. Every rule has a specific value. Source synthesis: Refactoring UI, WCAG, classic Gestalt principles.

When to use

Any visual asset before publish. Pair with the messaging matrix output — copy first, then design.

1. Visual hierarchy — three levers

Size, weight, color. Design in grayscale first. Add color only after hierarchy works without it.

| Lever | Primary | Secondary | Tertiary |

|-------|---------|-----------|----------|

| Size | 24–36px | 16–20px | 12–14px |

| Weight | 600–700 | 500 | 400 |

| Color | Dark high-contrast (#1a1a1a) | Medium grey (#6b7280) | Light grey (#9ca3af) |

2. Typography

Constrained scale. Recommended: 12, 14, 16, 20, 24, 30, 36, 48px.

| Role | Size | Weight | Line-height |

|------|------|--------|-------------|

| Display/H1 | 36–48 | 700 | 1.0–1.1 |

| H2 | 30 | 600–700 | 1.1–1.2 |

| H3 | 24 | 600 | 1.2–1.25 |

| Body | 16 | 400 | 1.5–1.6 |

| Small | 14 | 400 | 1.4–1.5 |

Line length 50–75 characters; 66 is the sweet spot. Mobile 35–50 acceptable. Two font families max. Sans-serif default for B2B SaaS.

3. Color

4. Spacing

5. Tap targets and accessibility

6. CTA discipline

7. Components and consistency

Quality gates

Common failure modes

Open the interactive view →