DESIGNMOA.md — Mother of All Design Reference
Purpose: Ingest this file into any LLM to give it complete design system knowledge. Say: “Read designmoa.md, then audit/redesign this project.”
Sources: Google design.md spec, impeccable.style, styles.refero.design, designmd.supply, getdesign.md, tasteskill.dev, neuform.ai, designmd.me
Last updated: 2026-05-12
Part 1: The DESIGN.md Format (Google Spec)
File Structure
Two-layer format: YAML frontmatter (machine-readable tokens) + Markdown body (human-readable rationale).
---
version: alpha
name: <Project Name>
description: <optional description>
colors:
primary: "#1A1C1E"
secondary: "#6C7278"
tertiary: "#B8422E"
neutral: "#F7F5F2"
surface: "#F7F5F2"
on-surface: "#1A1C1E"
error: "#BA1A1A"
typography:
h1:
fontFamily: Public Sans
fontSize: 48px
fontWeight: 600
lineHeight: 1.1
letterSpacing: -0.02em
body-md:
fontFamily: Public Sans
fontSize: 16px
fontWeight: 400
lineHeight: 1.6
label-sm:
fontFamily: Space Grotesk
fontSize: 12px
fontWeight: 500
lineHeight: 1
letterSpacing: 0.1em
rounded:
sm: 4px
md: 8px
lg: 12px
xl: 1.5rem
full: 9999px
spacing:
base: 8px
xs: 4px
sm: 8px
md: 16px
lg: 32px
xl: 64px
gutter: 24px
components:
button-primary:
backgroundColor: "{colors.tertiary}"
textColor: "{colors.neutral}"
typography: "{typography.label-sm}"
rounded: "{rounded.md}"
padding: 12px
height: 48px
---8 Canonical Sections (Fixed Order)
- Overview — brand voice, design philosophy, one-sentence identity
- Colors — primary, secondary, tertiary, neutral, surface, error with hex values
- Typography — font families, sizes, weights, line-heights, letter-spacing per role
- Layout — spacing scale, grid system, max-width, section gaps
- Elevation & Depth — shadows, glassmorphism, surface stacking
- Shapes — border-radius tokens, corner styles
- Components — named components with backgroundColor, textColor, typography, rounded, padding, height
- Do’s and Don’ts — explicit behavioral rules
Token Types
| Type | Format | Example |
|---|---|---|
| Color | #hex sRGB | "#1A1C1E" |
| Dimension | px, em, rem | 16px, 1.5rem |
| Typography | Composite object | {fontFamily, fontSize, fontWeight, lineHeight, letterSpacing} |
| Reference | {path.to.token} | "{colors.tertiary}" |
CLI Tools
lint— 7 rules: broken-ref, missing-primary, contrast-ratio, orphaned-tokens, token-summary, missing-sections, section-orderdiff— compare two DESIGN.md filesexport— to Tailwind v3/v4 or DTCG JSONspec— print the specification
PRODUCT.md vs DESIGN.md Split
- PRODUCT.md = strategy only (who, what, why, voice, references, anti-references)
- DESIGN.md = visual system (colors, typography, elevation, components, do’s/don’ts)
- Strategy stays stable while visual system evolves
Part 2: Color Systems
Rules (from impeccable.style + taste-skill)
- Use OKLCH (not HSL) for perceptually uniform lightness
- Primary action = strongest brand hue expression
- Secondary accents = muted/tinted variants, NOT a second full-saturation color
- Neutrals tinted toward brand at low chroma (0.005–0.01)
- As lightness approaches extremes (0% or 100%), chroma drops automatically
- Max 1 accent color, saturation <80%
- BANNED: “AI Purple/Blue” neon palettes, gradient backgrounds as default
- Use Zinc/Slate neutrals with singular accents (Emerald, Electric Blue, Deep Rose)
- Chart series: 3 distinct hues at matched lightness
Token Pattern
:root {
--color-accent: oklch(62% 0.18 240);
--color-primary: #1A1C1E;
--color-secondary: #6C7278;
--color-neutral: #F7F5F2;
--color-surface: #F7F5F2;
--color-on-surface: #1A1C1E;
--color-error: #BA1A1A;
}Real-World Palettes
Apple: Single accent #0066cc (Action Blue). Near-blacks #272729, #2a2a2c, #252527. Whites #ffffff, #f5f5f7 (parchment). Ink #1d1d1f. Zero gradients.
Linear: Deepest dark canvas #010102. Single accent #5e6ad2 (lavender-blue). 4-step surface ladder: #0f1011 → #141516 → #18191a → #191a1b. Ink #f7f8f8.
Claude: Warm cream canvas #faf9f5. Coral primary #cc785c. Dark navy #181715. Accent teal #5db8a6, amber #e8a55a.
Raycast: Canvas #040506. Surface stack: #07080a → #111214 → #1b1c1e. Brand: ember #ff6363, mint #59d499, sky #56c2ff.
Stripe: Indigo #533afd. Light weight 300. 4px rounded.
GitHub: Green #08872b. Dark #0d1117. Mona Sans. Weight 440.
Part 3: Typography
Rules (from impeccable.style)
- Body text minimum: 16px
- Type scale:
3rem / 2rem / 1.25rem / 1rem / 0.875rem(ratio 1.333 — Perfect Fourth) - Line length: 45–75 characters (68ch ideal for articles)
- Line-height: 1.6 for body, 1.1 for display
- Size contrast: at least 1.25x between hierarchy steps
- Fixed
remfor app UIs, fluidclamp()for marketing pages - Negative letter-spacing at display sizes (-0.02em to -0.05em)
- BANNED fonts: Inter, Roboto, Arial, Open Sans (overused “AI defaults”)
- BANNED for dashboards: Serif fonts
- Recommended: Geist, Outfit, Cabinet Grotesk, Satoshi, Public Sans, Space Grotesk
Type Scales
Minor Third (1.2) — Used by Raycast, ORYZO, Inngest:
Caption: 11px / 1.45
Body: 14-16px / 1.33-1.5
Subhead: 18px / 1.2-1.4
Heading: 23-32px / 1.09-1.2
Display: 49-64px / 0.9-1.0
Perfect Fourth (1.333) — Used by impeccable.style:
0.875rem → 1rem → 1.25rem → 2rem → 3rem
Real-World Typography
Apple: SF Pro Display/Text. Body 17px (not 16!). Weight ladder: 300/400/600/700 (500 deliberately absent). Negative tracking at display sizes.
Linear: Linear Display/Text/Mono. Display-xl 80px with -3.0px tracking. Body 16px/400/-0.05px.
Claude: Copernicus/Tiempos Headline serif for display (weight 400, negative tracking). StyreneB/Inter sans for body. JetBrains Mono for code.
GitHub: Mona Sans. Weight 440.
Stripe: sohne-var. Light weight 300.
Part 4: Spacing
Rules (from impeccable.style)
- Spacing scale: 8 / 16 / 24 / 48 / 96px
- Section breaks: 48px
- Row gaps: 16px
- Form field groups: 8px
- Primary actions: 32px buffer from form flow
- Replace decorative borders with spacing-driven grouping
- Sidebar/main proportions: 280px / flex
Real-World Spacing Scales
Apple (8px base): 4/8/12/17/24/32/48/80px
Linear (4px base): Section 96px. Standard 4/8/12/16/24/32/48/64/80/96px.
Raycast (8px base): 8/16/24/32/40/48/56/64/80/96/120/224px
Inngest (8px base): 8/16/24/32/40/48/64/80/96/128/144/160/192px
ORYZO: 6/9/11/12/14/15/16/18/20/23/24/34/36/45/77/86px (irregular, cork-textured aesthetic)
Part 5: Elevation & Depth
Rules (from impeccable.style)
- Flat by default; shadows appear only as response to state
- No neon/outer glows
- No pure black
#000000— tint shadows to background hue - Glassmorphism stack:
- Level 1: base gradient
- Level 2: 20px blur, 10% opacity
- Level 3: 40px blur, 20% opacity
- Edge definition: 1px solid border at
rgba(255,255,255,0.2) - Soft shadow:
box-shadow: 0 8px 32px 0 rgba(0,0,0,0.1)
Shadow Patterns
Raycast (tactile keyboard-key):
--shadow-subtle: rgba(0,0,0,0.4) 0px 1.5px 0.5px 2.5px, rgb(0,0,0) 0px 0px 0.5px 1px, rgba(0,0,0,0.25) 0px 2px 1px 1px inset, rgba(255,255,255,0.2) 0px 1px 1px 1px inset;
--shadow-xl: rgba(0,0,0,0.4) 0px 4px 40px 8px, rgba(0,0,0,0.8) 0px 0px 0px 0.5px, rgba(255,255,255,0.3) 0px 0.5px 0px 0px inset;Apple: Exactly ONE shadow in entire system: rgba(0,0,0,0.22) 3px 5px 30px — product renders only.
Linear: No drop shadows. Surface ladder + hairline borders.
Claude: 0 1px 3px rgba(20,20,19,0.08). Color-block first, shadow rare.
Bento 2.0 (taste-skill): Diffusion shadow: 0 20px 40px -15px rgba(0,0,0,0.05)
Part 6: Border Radius
Real-World Tokens
| System | sm | md | lg | xl | pill |
|---|---|---|---|---|---|
| Apple | 5px | 8px | 11px | 18px | 9999px |
| Linear | 4px | 6-8px | 12px | 16-24px | 9999px |
| Raycast | 6px | 8-11px | 16px | 20px | 86-99999px |
| Claude | 4px | 6-8px | 12px | 16px | 9999px |
| Stripe | 4px | — | — | — | — |
| Inngest | 0px | 4px | — | — | 9999px |
| ORYZO | — | 12px | — | — | 36px |
Pattern: Cards typically 11-12px, buttons 8px, pills 86-9999px, inputs 8px.
Part 7: Animation & Motion
Rules (from impeccable.style + taste-skill)
- ONLY animate
transformandopacity— NEVERtop,left,width,height - Use
grid-template-rowsfor height transitions (notheight) - Entrances/exits: 200–300ms fades + subtle Y or scale
- Easing: always exponential (ease-out-quart, quint, expo)
- No bounce, no elastic, no linear (except progress indicators)
- Every animation needs
@media (prefers-reduced-motion: reduce)fallback - Grain filters only on
pointer-events-nonefixed elements
Easing Functions
--ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
--ease-out-quint: cubic-bezier(0.23, 1, 0.32, 1); /* Raycast default */
--ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);Motion Tokens
--duration-fast: 150ms;
--duration-normal: 200ms; /* Micro-interactions */
--duration-slow: 300ms; /* Entrances */
--duration-transform: 400ms; /* Layout transforms */
--spring: type: "spring", stiffness: 100, damping: 20; /* Framer Motion */Reduced Motion
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
transition-duration: 0.01ms !important;
}
}Animation Skills (from neuform.ai)
- Masked Reveal — staggered word reveal on scroll with GSAP ScrollTrigger
- GSAP Motion — timelines, stagger, scroll-triggered motion
- Marquee — seamless infinite marquee loops
- Corner Lasers — corner-anchored laser beams with bloom/fog
- Gooey Blob — SVG filter-driven merging shapes
- Magnetic Buttons — cursor-proximity pull effect
- Sticky Scroll Stacks — pinned sections that animate through
- Text Mask Reveals — text clipping with background animation
- Parallax Tilt Cards — 3D perspective on hover
Part 8: Layout & Grid
Rules (from impeccable.style)
- 5 dimensions: Spacing, Visual hierarchy, Grid/structure, Rhythm, Density
- Sidebar/main: 280px / flex
- Max content width: 1200-1440px
- Centered heroes BANNED when design variance >4 — use split-screen, left-aligned, asymmetric whitespace
- 3-column equal cards BANNED — vary card sizes, span ratios
Breakpoints
Apple: 419/640/735/833/1023/1068/1440px (content locks at 1440px)
Linear: 480/768/1024/1280/1440px
Claude: 768/1024/1440px (max 1200px)
Layout Skills (from neuform.ai)
- Container Lines — vertical container lines with corner squares
- Corner Diagonals — chamfered silhouettes, clipped edges
- Nested Container — outer editorial shell, inset dark blocks
- Split Layout — dual panels, fine frame lines, mono metadata
- Image First Grid — full-bleed photography, structural guide lines
- Framed Grid — thin boundary lines, L-shaped corner brackets, diagonal texture
Part 9: Responsive Design
Rules (from impeccable.style)
- Touch targets: minimum 44px hit areas
- Adapt, don’t amputate — critical functionality must not disappear on mobile
- Collapse multi-column to single, adjust clamp ranges
- Desktop sidebars → mobile bottom nav or slide-outs
- BANNED: Desktop-only thinking
Part 10: Components
Button Variants (from impeccable.style extract + real-world)
Primary (filled accent):
button-primary:
backgroundColor: "{colors.tertiary}"
textColor: "{colors.neutral}"
typography: "{typography.label-sm}"
rounded: "{rounded.md}"
padding: 12px
height: 48pxSecondary (bordered):
button-secondary:
backgroundColor: transparent
border: 1px solid "{colors.outline}"
textColor: "{colors.on-surface}"
height: 48pxGhost (text-only):
button-ghost:
backgroundColor: transparent
textColor: "{colors.on-surface}"
height: 40pxDestructive (filled red):
button-destructive:
backgroundColor: "{colors.error}"
textColor: "#ffffff"
height: 48pxReal-World Component Patterns
Apple: button-primary (pill, Action Blue), product-tile-light/dark (full-bleed alternating), store-utility-card (18px radius), global-nav (44px, true black), floating-sticky-bar (backdrop-blur)
Linear: button-primary (lavender, 8px radius), pricing-card, feature-card, product-screenshot-card, top-nav (56px)
Claude: button-primary (coral, 8px radius, 40px height), feature-card (cream #efe9de), product-mockup-card-dark (navy), code-window-card, pricing-tier-card, callout-card-coral
Bento 2.0 Card Archetypes (from taste-skill)
- Intelligent List — data-driven, scrollable
- Command Input — action-oriented, keyboard-first
- Live Status — real-time updates, pulse animations
- Wide Data Stream — full-width, horizontal scroll
- Contextual UI — adapts to content type
Part 11: Anti-Patterns (AI Slop Catalog)
37 BANNED Patterns (from impeccable.style)
Visual Details:
- Gradient text
- Massive icons
- Overused shadows everywhere
- Decorative borders instead of spacing
Typography:
- Single font for everything
- Inter/Roboto everywhere
- No hierarchy (all same size)
- Serif for dashboards
Color & Contrast:
- AI purple-pink-cyan neon palettes
- Gradient backgrounds as default
- Low contrast text
- Hard-coded colors instead of tokens
Layout & Space:
- Side-tab cards
- Nested cards in cards
- Copy-paste identical layouts
- Centered hero with CTA when variance >4
- 3-column equal cards
Motion:
- Motion without purpose
- Auto-playing animations
Interaction:
- Hover-dependent information display
- Missing loading/error/empty states
Content (from taste-skill):
- “John Doe” names
- Fake numbers like 99.99%
- “Elevate/Seamless/Unleash/Revolutionize” copy
- Unsplash placeholder images
- Lorem ipsum
Part 12: Design Variance Dials (taste-skill)
Baseline Configuration
DESIGN_VARIANCE: 8 # 1=Symmetry, 10=Artsy Chaos
MOTION_INTENSITY: 6 # 1=Static, 10=Cinematic
VISUAL_DENSITY: 4 # 1=Airy, 10=PackedSkill Variants
| Variant | Use Case |
|---|---|
taste-skill | Default frontend all-rounder |
redesign-skill | Visual audit for existing projects |
soft-skill | Calm, expensive-looking interfaces |
minimalist-skill | Editorial, restrained color |
brutalist-skill | Swiss typography, raw structure |
output-skill | Prevents placeholders/half-finished work |
image-to-code-skill | Image-first design → implement |
Part 13: CSS Custom Properties Template
Copy-paste starter for any project:
:root {
/* Colors — replace with your brand */
--color-primary: #1A1C1E;
--color-secondary: #6C7278;
--color-accent: oklch(62% 0.18 240);
--color-neutral: #F7F5F2;
--color-surface: #F7F5F2;
--color-on-surface: #1A1C1E;
--color-error: #BA1A1A;
/* Typography */
--font-sans: 'Geist', 'Public Sans', system-ui, sans-serif;
--font-mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, monospace;
--font-display: 'Geist', system-ui, sans-serif;
/* Type Scale — Perfect Fourth (1.333) */
--text-xs: 0.75rem; /* 12px */
--text-sm: 0.875rem; /* 14px */
--text-base: 1rem; /* 16px */
--text-lg: 1.25rem; /* 20px */
--text-xl: 1.5rem; /* 24px */
--text-2xl: 2rem; /* 32px */
--text-3xl: 3rem; /* 48px */
/* Line Heights */
--leading-tight: 1.1;
--leading-snug: 1.25;
--leading-normal: 1.5;
--leading-relaxed: 1.6;
/* Letter Spacing */
--tracking-tight: -0.02em;
--tracking-normal: 0;
--tracking-wide: 0.05em;
--tracking-wider: 0.1em;
/* Spacing — 8px base */
--space-1: 4px;
--space-2: 8px;
--space-3: 12px;
--space-4: 16px;
--space-6: 24px;
--space-8: 32px;
--space-12: 48px;
--space-16: 64px;
--space-24: 96px;
/* Border Radius */
--radius-sm: 4px;
--radius-md: 8px;
--radius-lg: 12px;
--radius-xl: 16px;
--radius-2xl: 24px;
--radius-full: 9999px;
/* Shadows */
--shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
--shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
--shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
--shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.06);
--shadow-diffusion: 0 20px 40px -15px rgba(0,0,0,0.05);
/* Motion */
--duration-fast: 150ms;
--duration-normal: 200ms;
--duration-slow: 300ms;
--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
--ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
/* Layout */
--max-width: 1200px;
--sidebar-width: 280px;
--nav-height: 56px;
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
transition-duration: 0.01ms !important;
}
}Part 14: Tailwind v4 @theme Block
@theme {
--color-primary: #1A1C1E;
--color-secondary: #6C7278;
--color-accent: oklch(62% 0.18 240);
--color-neutral: #F7F5F2;
--color-surface: #F7F5F2;
--font-sans: 'Geist', system-ui, sans-serif;
--font-mono: 'Geist Mono', ui-monospace, monospace;
--font-display: 'Geist', system-ui, sans-serif;
--radius-sm: 4px;
--radius-md: 8px;
--radius-lg: 12px;
--radius-full: 9999px;
--shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
--shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07);
--shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08);
--shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
}Part 15: Audit Checklist (from impeccable.style)
Score Each 0–4
Accessibility:
- WCAG AA contrast ratios (4.5:1 body, 3:1 large)
- ARIA labels on interactive elements
- Full keyboard navigation
- Semantic HTML (not div soup)
- Form labels associated with inputs
Performance:
- No layout thrashing animations
- Lazy loading below-fold images
- Code-split bundles
- LCP < 2.5s, INP < 200ms, CLS < 0.1
Theming:
- No hard-coded colors (all tokens)
- Dark mode support
- Token consistency across components
Responsive:
- Works at all breakpoints
- Touch targets ≥44px
- No horizontal overflow
Anti-patterns: 25 deterministic checks. Severity: P0 (blocks release) → P3 (polish).
Part 16: Design Systems Reference Library
Available in designmd.supply (42 companies)
Apple, Microsoft, Google, Meta, Tesla, Broadcom, TSMC, Berkshire Hathaway, Eli Lilly, JPMorgan Chase, Walmart, Visa, UnitedHealth, ExxonMobil, Costco, Netflix, Adobe, Salesforce, PepsiCo, Nike, McDonald’s, Toyota, Sony, IBM, Intel, AMD, Qualcomm, Airbnb, Uber, Shopify, Stripe, Block, PayPal, Coinbase, Dropbox, Atlassian, GitHub, Linear, Notion, Figma, OpenAI, Anthropic
Available in getdesign.md (71 systems)
Apple (13K installs), Linear (12K), Claude (9.8K), Stripe, GitHub, Notion, Vercel, Figma, and 63 more.
Each system includes
- YAML frontmatter with full tokens
- Markdown body with rationale
- Tailwind v4 @theme export
- CSS :root variables export
Part 17: How to Use This File
For Design Audit
Read designmoa.md. Now audit [PROJECT] against the rules in Part 11 (Anti-Patterns),
Part 12 (Design Variance), and Part 15 (Audit Checklist). Score each category 0-4.
List all violations with severity P0-P3. Suggest specific fixes using tokens from Parts 2-6.
For Full Redesign
Read designmoa.md. Generate a complete DESIGN.md for [PROJECT] following the Google spec
(Part 1). Use the CSS template (Part 13) as your starting point. Replace all values with
project-appropriate tokens. Follow the rules in Parts 2-10. Output the complete YAML
frontmatter + markdown body.
For Component Generation
Read designmoa.md. Generate [COMPONENT TYPE] for [PROJECT] following the component
patterns in Part 10. Use tokens from Parts 2-6. Include all states (default, hover,
active, focus, disabled). Output as React/HTML + CSS/Tailwind.
For Style Transfer
Read designmoa.md. Redesign [PROJECT] to match the [Apple/Linear/Claude/Raycast/Stripe]
design system. Use their exact tokens from Parts 2-6. Maintain their component patterns
from Part 10. Output a complete DESIGN.md + CSS variables.
Compiled from 8 sources, 71+ design systems, 69 neuform skills, 23 impeccable commands, and the Google design.md specification.