npx design-auditor https://yoursite.com CODE_BLOCK: npx design-auditor https://yoursite.com CODE_BLOCK: npx design-auditor https://yoursite.com CODE_BLOCK: ──────────────────────────────────────────────────────────── TYPOGRAPHY ──────────────────────────────────────────────────────────── ✅ Font families: 2 — OK ⚠️ Font sizes: 11 unique — recommended ≤ 8 ❌ Line-heights: 22 unique — no vertical rhythm detected COLORS ──────────────────────────────────────────────────────────── ❌ 54 unique colors found — recommended < 20 ❌ 40 similar color pairs — palette can be consolidated ██ #f0f6fc ≈ ██ #f6f8fa (ΔE=2.6) ██ #24292f ≈ ██ #1f2328 (ΔE=2.9) COMPONENTS ──────────────────────────────────────────────────────────── ❌ 28/50 buttons smaller than 44px touch target (56%) ⚠️ Buttons: 11 padding variations — recommended ≤ 3 ✅ Interactive states: :hover and :focus present ──────────────────────────────────────────────────────────── SUMMARY: 6 ❌ 5 ⚠️ 7 ✅ ──────────────────────────────────────────────────────────── CODE_BLOCK: ──────────────────────────────────────────────────────────── TYPOGRAPHY ──────────────────────────────────────────────────────────── ✅ Font families: 2 — OK ⚠️ Font sizes: 11 unique — recommended ≤ 8 ❌ Line-heights: 22 unique — no vertical rhythm detected COLORS ──────────────────────────────────────────────────────────── ❌ 54 unique colors found — recommended < 20 ❌ 40 similar color pairs — palette can be consolidated ██ #f0f6fc ≈ ██ #f6f8fa (ΔE=2.6) ██ #24292f ≈ ██ #1f2328 (ΔE=2.9) COMPONENTS ──────────────────────────────────────────────────────────── ❌ 28/50 buttons smaller than 44px touch target (56%) ⚠️ Buttons: 11 padding variations — recommended ≤ 3 ✅ Interactive states: :hover and :focus present ──────────────────────────────────────────────────────────── SUMMARY: 6 ❌ 5 ⚠️ 7 ✅ ──────────────────────────────────────────────────────────── CODE_BLOCK: ──────────────────────────────────────────────────────────── TYPOGRAPHY ──────────────────────────────────────────────────────────── ✅ Font families: 2 — OK ⚠️ Font sizes: 11 unique — recommended ≤ 8 ❌ Line-heights: 22 unique — no vertical rhythm detected COLORS ──────────────────────────────────────────────────────────── ❌ 54 unique colors found — recommended < 20 ❌ 40 similar color pairs — palette can be consolidated ██ #f0f6fc ≈ ██ #f6f8fa (ΔE=2.6) ██ #24292f ≈ ██ #1f2328 (ΔE=2.9) COMPONENTS ──────────────────────────────────────────────────────────── ❌ 28/50 buttons smaller than 44px touch target (56%) ⚠️ Buttons: 11 padding variations — recommended ≤ 3 ✅ Interactive states: :hover and :focus present ──────────────────────────────────────────────────────────── SUMMARY: 6 ❌ 5 ⚠️ 7 ✅ ──────────────────────────────────────────────────────────── COMMAND_BLOCK: npx design-auditor https://yoursite.com --save-report # → design-audit-yoursite-com-2026-02-28.json COMMAND_BLOCK: npx design-auditor https://yoursite.com --save-report # → design-audit-yoursite-com-2026-02-28.json COMMAND_BLOCK: npx design-auditor https://yoursite.com --save-report # → design-audit-yoursite-com-2026-02-28.json COMMAND_BLOCK: # No install needed npx design-auditor https://yoursite.com # Specific modules only npx design-auditor https://yoursite.com --only colors,typography # Local dev server npx design-auditor http://localhost:3000 --local COMMAND_BLOCK: # No install needed npx design-auditor https://yoursite.com # Specific modules only npx design-auditor https://yoursite.com --only colors,typography # Local dev server npx design-auditor http://localhost:3000 --local COMMAND_BLOCK: # No install needed npx design-auditor https://yoursite.com # Specific modules only npx design-auditor https://yoursite.com --only colors,typography # Local dev server npx design-auditor http://localhost:3000 --local
- How many font families are actually in use (recommended: ≤ 3)
- Whether font sizes follow a modular scale
- Line-height consistency — does your site have a baseline grid, or chaos?
- Total unique colors across the page
- Perceptual color clustering using delta-E (CIE76) — catches #f0f6fc and #f6f8fa as “basically the same color”
- WCAG AA contrast validation for every text/background pair
- Whether colors are tokenized in CSS variables or hardcoded everywhere
- Detects your rhythm unit (font-size × line-height)
- Checks if spacing follows a 4px or 8px grid
- Flags outliers like 13px, 17px, 22px — the “magic numbers” that creep in
- Touch target sizes (WCAG 2.5.5 minimum: 44×44px)
- Button padding variations — are you using sm/md/lg or 11 random sizes?
- Border-radius consistency
- Z-index organization
- Styles injected by JavaScript at runtime
- CSS custom properties resolved to their actual values
- Styles from third-party scripts and embeds
- A freelancer or agency doing QA before handing off a site to a client
- A frontend dev on a team where design system adoption is inconsistent
- Anyone who’s inherited a codebase and wants to understand the “shape” of its CSS before touching it