Predefined design system references for UI reviews...
This skill provides predefined design system references that the ui agent can use when reviewing designs. Each reference includes design principles, color guidelines, typography rules, spacing patterns, and component patterns.
Reference ID: material-3
Official URL: https://m3.material.io/
Key Metrics:
Type Scale (Default):
| Role | Size | Weight | Line Height |
|---|---|---|---|
| Display Large | 57sp | 400 | 64sp |
| Display Medium | 45sp | 400 | 52sp |
| Display Small | 36sp | 400 | 44sp |
| Headline Large | 32sp | 400 | 40sp |
| Headline Medium | 28sp | 400 | 36sp |
| Headline Small | 24sp | 400 | 32sp |
| Title Large | 22sp | 400 | 28sp |
| Title Medium | 16sp | 500 | 24sp |
| Title Small | 14sp | 500 | 20sp |
| Body Large | 16sp | 400 | 24sp |
| Body Medium | 14sp | 400 | 20sp |
| Body Small | 12sp | 400 | 16sp |
| Label Large | 14sp | 500 | 20sp |
| Label Medium | 12sp | 500 | 16sp |
| Label Small | 11sp | 500 | 16sp |
Font: Roboto (sans-serif)
Baseline Grid: 4dp Common Values: 4, 8, 12, 16, 24, 32, 48, 64, 96, 128
Reference ID: apple-hig
Official URL: https://developer.apple.com/design/human-interface-guidelines/
System Colors:
| Color | Light Mode | Dark Mode | Usage |
|---|---|---|---|
| Blue | #007AFF | #0A84FF | Links, interactive elements |
| Green | #34C759 | #30D158 | Success, positive actions |
| Indigo | #5856D6 | #5E5CE6 | Accent |
| Orange | #FF9500 | #FF9F0A | Warnings, attention |
| Pink | #FF2D55 | #FF375F | Accent |
| Purple | #AF52DE | #BF5AF2 | Accent |
| Red | #FF3B30 | #FF453A | Destructive, errors |
| Teal | #5AC8FA | #64D2FF | Accent |
| Yellow | #FFCC00 | #FFD60A | Warnings |
Semantic Colors:
SF Pro (San Francisco):
| Style | Size | Weight | Leading |
|---|---|---|---|
| Large Title | 34pt | Bold | 41pt |
| Title 1 | 28pt | Regular | 34pt |
| Title 2 | 22pt | Regular | 28pt |
| Title 3 | 20pt | Regular | 25pt |
| Headline | 17pt | Semi-Bold | 22pt |
| Body | 17pt | Regular | 22pt |
| Callout | 16pt | Regular | 21pt |
| Subheadline | 15pt | Regular | 20pt |
| Footnote | 13pt | Regular | 18pt |
| Caption 1 | 12pt | Regular | 16pt |
| Caption 2 | 11pt | Regular | 13pt |
iOS Standard Margins: 16pt (compact), 20pt (regular) macOS Standard Margins: 20pt
Reference ID: tailwind-ui
Official URL: https://tailwindui.com/
Tailwind Colors (50-950 shades):
Usage Patterns:
blue-600 (buttons, links)gray-600 (secondary text)green-600amber-600red-600white / gray-50gray-100 / gray-800Font Scale:
| Class | Size | Line Height |
|---|---|---|
| text-xs | 12px | 16px |
| text-sm | 14px | 20px |
| text-base | 16px | 24px |
| text-lg | 18px | 28px |
| text-xl | 20px | 28px |
| text-2xl | 24px | 32px |
| text-3xl | 30px | 36px |
| text-4xl | 36px | 40px |
| text-5xl | 48px | 48px |
| text-6xl | 60px | 60px |
| text-7xl | 72px | 72px |
| text-8xl | 96px | 96px |
| text-9xl | 128px | 128px |
Font Weights: thin(100) to black(900)
| Class | Value |
|---|---|
| 0 | 0px |
| px | 1px |
| 0.5 | 2px |
| 1 | 4px |
| 2 | 8px |
| 3 | 12px |
| 4 | 16px |
| 5 | 20px |
| 6 | 24px |
| 8 | 32px |
| 10 | 40px |
| 12 | 48px |
| 16 | 64px |
| 20 | 80px |
| 24 | 96px |
dark: variantsReference ID: ant-design
Official URL: https://ant.design/
Functional Colors:
| Role | Hex | Usage |
|---|---|---|
| Primary | #1677ff | Brand, primary actions |
| Success | #52c41a | Positive feedback |
| Warning | #faad14 | Warnings, attention |
| Error | #ff4d4f | Errors, destructive |
| Info | #1677ff | Informational |
Neutral Colors: 13 shades of gray (#fff to #000)
Font Family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue
| Role | Size | Weight |
|---|---|---|
| h1 | 38px | 600 |
| h2 | 30px | 600 |
| h3 | 24px | 600 |
| h4 | 20px | 600 |
| h5 | 16px | 600 |
| Base | 14px | 400 |
| Small | 12px | 400 |
Base Unit: 4px Scale: 4, 8, 12, 16, 20, 24, 32, 40, 48
Reference ID: shadcn-ui
Official URL: https://ui.shadcn.com/
CSS Variables Based:
--background: 0 0% 100%;
--foreground: 240 10% 3.9%;
--card: 0 0% 100%;
--card-foreground: 240 10% 3.9%;
--popover: 0 0% 100%;
--popover-foreground: 240 10% 3.9%;
--primary: 240 5.9% 10%;
--primary-foreground: 0 0% 98%;
--secondary: 240 4.8% 95.9%;
--secondary-foreground: 240 5.9% 10%;
--muted: 240 4.8% 95.9%;
--muted-foreground: 240 3.8% 46.1%;
--accent: 240 4.8% 95.9%;
--accent-foreground: 240 5.9% 10%;
--destructive: 0 84.2% 60.2%;
--destructive-foreground: 0 0% 98%;
--border: 240 5.9% 90%;
--input: 240 5.9% 90%;
--ring: 240 5.9% 10%;
--radius: 0.5rem;
Inter (default) or system font stack
| Variant | Size | Weight | Leading |
|---|---|---|---|
| h1 | 36px | 800 | 40px |
| h2 | 30px | 600 | 36px |
| h3 | 24px | 600 | 32px |
| h4 | 20px | 600 | 28px |
| p | 16px | 400 | 28px |
| lead | 20px | 400 | 28px |
| large | 18px | 600 | 28px |
| small | 14px | 500 | 20px |
| muted | 14px | 400 | 20px |
Tailwind-based: 4px base (matches Tailwind scale)
The ui agent will check for style in this order:
.claude/design-style.md) - Highest priorityDesign Reference: directive or user selection)Task: ui
Review this dashboard screenshot against Material Design 3 guidelines.
Design Reference: material-3
Image: screenshots/dashboard.png
Write review to: ${SESSION_PATH}/reviews/design-review/gemini.md
Task: ui
Review using:
- Project Style: .claude/design-style.md (brand colors, custom tokens)
- Base Reference: shadcn-ui (component patterns, accessibility)
Image: screenshots/form.png