/kodo design
Premium frontend design skill for creating distinctive, accessible, production-grade interfaces.
Philosophy
The Jony Ive Approach
"Reduce to the essential, then refine the essential."
Every design decision must pass through this filter:
- Is this element essential? If not, remove it.
- Is this the simplest form? If not, simplify it.
- Does this serve the user? If not, reconsider it.
Core Tenets
| Principle |
Description |
| Simplicity |
Remove until it breaks, then add back one thing |
| Intentionality |
Every pixel has a purpose |
| Consistency |
Same problem = same solution |
| Hierarchy |
Guide the eye, don't compete for attention |
| Restraint |
Elegance comes from what you leave out |
Both/And, Not Either/Or
- Best practices AND creative distinction
- WCAG AAA accessibility AND visual delight
- Consistency AND memorable uniqueness
- Premium feel AND usability
This skill rejects the false choice between "generic but accessible" and "creative but inaccessible."
Every design should be both bulletproof AND beautiful.
Challenge Mode
CRITICAL: This skill actively challenges user design choices against Design Bible principles.
How Challenge Mode Works
When users propose or implement design choices, the plugin:
- Analyzes the choice against Bible principles
- Identifies any violations or concerns
- Challenges the user with specific feedback
- Offers Bible-recommended alternatives
- Requires explicit confirmation to override
Challenge Triggers
The plugin challenges when detecting:
| Violation |
What's Detected |
Bible Standard |
| Pure colors |
#000000 or #FFFFFF used |
Use #F7F6F4 / #1A1A1A |
| Wrong ratio |
Not 80/10/10 color distribution |
80% neutral, 10% brand, 10% feedback |
| High saturation |
Colors at 100% saturation |
Max 70-85% saturation |
| Low contrast |
Below 7:1 for text |
WCAG AAA (7:1) target |
| Bad sizing |
Components off-scale |
Bible component specs |
| Typography issues |
Wrong hierarchy or line length |
45-75 char lines, defined scale |
| Animation problems |
Decorative or long animations |
Purposeful, 150-400ms max |
| Dark mode inversion |
Colors inverted not parallel |
Parallel design approach |
Challenge Prompt Format
+======================================================================+
| DESIGN BIBLE CHALLENGE |
+======================================================================+
| Issue: [Specific violation detected] |
| |
| Your choice: [What user selected] |
| Bible recommendation: [What the Bible suggests] |
| Reason: [Why this matters for UX/accessibility] |
| |
| Options: |
| 1. Apply Bible recommendation |
| 2. Modify my choice |
| 3. Override - I'm certain (requires confirmation) |
+======================================================================+
User Override Protocol
To override a Bible recommendation, user must explicitly state:
"I am definitive and sure I want to ignore plugin recommendations"
Without this exact confirmation, proceed with Bible recommendation.
Overrides are captured using kodo reflect for future reference.
Commands
| Command |
Purpose |
/kodo design [component/page] |
Design a specific component or page |
/kodo design-system |
Create or update project design foundation |
/kodo design-audit |
Audit existing UI for consistency, accessibility, UX |
/kodo design-theme [palette] |
Audit provided color theme for accessibility issues |
/kodo design-inspire [query] |
Research design inspiration before implementation |
Workflow Overview
- Check context -> Load existing design system from
.kodo/context/
- Check/establish theme -> Use existing theme or help user choose/create one
- Research (optional) -> Find inspiration on Dribbble, Behance, 21st.dev
- Establish foundation -> Define or verify design tokens, typography, colors
- Design with intention -> Create distinctive yet accessible UI
- Capture learnings ->
kodo reflect to persist successful patterns
Color Theme Workflow
ALWAYS check for existing theme first:
- Look for theme in
.kodo/context/ for existing color definitions
- Check
./docs/rules/design-system.md if exists
- If no theme exists, ASK the user:
- "Do you have an existing color theme/palette you'd like to use?"
- "Or should I use one of the predefined accessible palettes?"
If user provides a theme:
- Run
/kodo design-theme automatically
- Analyze all colors for WCAG contrast compliance
- Check color blindness safety
- Report issues and recommend corrections
- Only proceed after user confirms corrected palette
/kodo design-theme Workflow
When auditing a user-provided color theme:
1. Extract Colors
Parse all provided colors (hex, rgb, hsl, oklch)
2. Contrast Analysis
Test every text/background combination:
| Combination |
Required Ratio |
Status |
| Primary on Background |
4.5:1 |
PASS/FAIL |
| Text on Primary |
4.5:1 |
PASS/FAIL |
| Secondary on Background |
4.5:1 |
PASS/FAIL |
| Muted text on Background |
4.5:1 |
PASS/FAIL |
3. Color Blindness Simulation
Test palette visibility for:
- Protanopia (red-green, ~1% of men)
- Deuteranopia (red-green, ~6% of men)
- Tritanopia (blue-yellow, rare)
4. Report Format
## Theme Audit Report
### PASS Passing
- Primary/background: 5.2:1 (AA compliant)
- Text/background: 12.1:1 (AAA compliant)
### FAIL Failing
- Muted text/background: 2.8:1 (needs 4.5:1)
**Recommendation**: Darken muted from oklch(65% ...) to oklch(55% ...)
- Warning/background: 2.1:1 (needs 3:1 for UI elements)
**Recommendation**: Use oklch(60% 0.18 75) instead
### Warning: Color Blindness Concerns
- Primary and Error appear similar in deuteranopia
**Recommendation**: Shift error hue from 25 to 15, or add icon indicators
### Corrected Palette
[Provide corrected values]
/kodo design Workflow
1. Context Gathering
Before coding, understand:
- Existing patterns: Use
kodo query "ui components" or kodo query "design system"
- Feature context: Check documentation for state requirements
- Tech stack: Identify frameworks and libraries in use
2. Aesthetic Direction
Commit to a BOLD direction. Choose from:
| Direction |
Character |
Best For |
| Refined Minimal |
Clean, spacious, precise |
SaaS, productivity, B2B |
| Warm Organic |
Soft edges, natural colors, flowing |
Wellness, lifestyle, community |
| Bold Editorial |
Strong typography, magazine-feel |
Content, media, portfolios |
| Luxury Premium |
Rich colors, elegant typography, subtle animations |
High-end products, finance |
| Playful Delightful |
Micro-animations, surprises, personality |
Consumer apps, games, creative |
| Technical Precision |
Data-dense, functional, efficient |
Dashboards, dev tools, analytics |
Key insight: Elegance comes from executing the vision well, not from intensity.
3. Implementation Standards
Typography:
- Use distinctive fonts from project config
- Pair display font with body font intentionally
- Line height: 1.5x for body, tighter for headings
- 45-75 characters per line for optimal readability
- Minimum 14-16px body text
Color (80/10/10 Rule - Non-negotiable):
- 80% Neutrals: Backgrounds, cards, containers, body text
- 10% Brand Accent: Primary buttons, links, highlights
- 10% Feedback: Success, warning, error, info states
- Use OKLCH color space for perceptually uniform colors
- Never pure black/white: Use
#F7F6F4 (light) / #1A1A1A (dark)
- Saturation cap: 70-85% max, never 100%
- WCAG AAA target (7:1 text contrast)
- Never rely on color alone - add icons, patterns, text
Motion (Bible Timing Standards):
- Micro interactions: 150-200ms (hovers, toggles, focus)
- State changes: 250-300ms (accordions, tabs, modals)
- Page transitions: 300-400ms (route changes)
- Every animation must serve UX, not decoration
- Use only
transform and opacity (GPU-accelerated)
- Always respect
prefers-reduced-motion
Spacing:
- Use consistent spacing scale (4px, 8px, 12px, 16px, 24px, 32px, 48px, 64px)
- Generous whitespace > cramped layouts
- Visual grouping through proximity
Accessibility (Non-negotiable - AAA Target):
- Contrast: WCAG AAA (7:1) for text, 4.5:1 for large text, 3:1 for UI
- Focus states visible and styled (3:1 contrast minimum)
- Touch targets minimum 44x44px
- Keyboard navigation works completely
- Screen reader friendly (semantic HTML, ARIA when needed)
- Responsive at 200% zoom
- Always honor
prefers-reduced-motion
4. Output Format
Generate code using modern tech stack:
- React 19+ components with TypeScript 5.7+
- Tailwind CSS 4+ with design tokens
- Framer Motion for animations
- shadcn/ui components when appropriate
/kodo design-system Workflow
Create or update the design foundation in ./docs/rules/design-system.md.
See references/design-system-template.md for the complete template.
/kodo design-inspire Workflow
Research design inspiration before implementing:
Use 21st.dev MCP (if available):
- Search for component inspiration
- Find high-quality implementations
- Get code snippets
Web search for:
- Dribbble:
site:dribbble.com {query} ui design
- Behance:
site:behance.net {query} web design
- Awwwards:
site:awwwards.com {query}
Analyze and adapt:
- Note color palettes, typography choices
- Identify layout patterns
- Extract micro-interaction ideas
- Document findings using
kodo curate
Never copy directly - use as inspiration to create original work.
/kodo design-audit Workflow
Audit existing UI for:
Consistency Check
- Typography usage matches design system
- Colors within defined palette
- Spacing follows scale
- Components match patterns
Accessibility Check
- Color contrast ratios
- Focus states present and visible
- Touch targets adequate (44x44px min)
- Semantic HTML structure
- Alt text on images
UX Check
- Loading states defined
- Error states clear and helpful
- Empty states guide user action
- Form validation inline and clear
- Responsive behavior appropriate
Responsive Breakpoints (Extended for 4K)
All designs MUST support these breakpoints:
| Breakpoint |
Width |
Target Devices |
sm |
640px |
Large phones |
md |
768px |
Tablets |
lg |
1024px |
Small laptops |
xl |
1280px |
Laptops |
2xl |
1536px |
Desktop monitors |
3xl |
1920px |
Full HD monitors |
4xl |
2560px |
QHD / 2K monitors |
5xl |
3000px |
4K monitors |
Tailwind Config Extension
// tailwind.config.ts
export default {
theme: {
screens: {
'sm': '640px',
'md': '768px',
'lg': '1024px',
'xl': '1280px',
'2xl': '1536px',
'3xl': '1920px',
'4xl': '2560px',
'5xl': '3000px',
},
},
}
Color Psychology Quick Reference
| Color |
Evokes |
Best For |
| Blue |
Trust, calm, professional |
Finance, healthcare, B2B |
| Green |
Growth, nature, success |
Wellness, sustainability, confirmation |
| Purple |
Luxury, creativity, wisdom |
Premium, creative, spiritual |
| Orange |
Energy, warmth, action |
CTAs, alerts, playful brands |
| Red |
Urgency, passion, importance |
Sales, errors, bold statements |
| Yellow |
Optimism, attention, caution |
Highlights, warnings |
| Neutral |
Sophistication, balance |
Backgrounds, body text |
| Black |
Luxury, power, elegance |
Premium products, fashion |
kodo Integration
Before designing, check existing patterns:
kodo query "ui components"
kodo query "color palette"
kodo query "typography"
After successful implementation:
kodo reflect # Capture successful patterns as learnings
Add design decisions to context:
kodo curate "design-system" -c architecture
Reference Files
references/design-bible-principles.md - Core Design Bible principles and Challenge Mode reference
references/design-system-template.md - Full design system documentation template
references/component-patterns.md - Common UI patterns with accessibility
references/color-palettes.md - Pre-built accessible color palettes (80/10/10 compliant)
references/accessibility-checklist.md - WCAG AAA compliance checklist
Quick Reference Card
COLOR: 80% neutral / 10% brand / 10% feedback
NEUTRALS: #F7F6F4 (light) / #1A1A1A (dark)
SATURATION: 70-85% (never 100%)
CONTRAST: 7:1 AAA target
TYPOGRAPHY: H1=44-56 / H2=28-32 / H3=20-24 / Body=16 / Small=14
LINE LENGTH: 45-75 characters
BUTTONS: 40-48px height / 8px radius / 16-24px padding
INPUTS: 40-48px height / 8px radius / 16px font
CARDS: 12-16px radius / 20-24px padding
ANIMATION: Micro=150-200ms / State=250-300ms / Page=300-400ms
MOTION: Always respect prefers-reduced-motion
DARK MODE: Parallel design, not inversion
Reduce saturation 10-20%
Remove/reduce shadows
BREAKPOINTS: sm=640 / md=768 / lg=1024 / xl=1280 / 2xl=1536
3xl=1920 / 4xl=2560 / 5xl=3000
1---2name: design-103description: Premium frontend design skill that creates distinctive, accessible, production-grade interfaces with exceptional UX. Use when building UI components, pages, applications, or when styling/beautifying any web or mobile UI. Generates creative, polished code that balances best practices with distinctive aesthetics that surprise and delight. Supports design research via Dribbble, Behance, 21st.dev for inspiration. Enforces WCAG AAA accessibility, color psychology, and premium design feel. Includes Challenge Mode to validate user design choices against Design Bible principles.4---5
6# /kodo design
7
8Premium frontend design skill for creating distinctive, accessible, production-grade interfaces.
9
10## Philosophy
11
12### The Jony Ive Approach
13
14> "Reduce to the essential, then refine the essential."
15
16Every design decision must pass through this filter:
171. **Is this element essential?** If not, remove it.
182. **Is this the simplest form?** If not, simplify it.
193. **Does this serve the user?** If not, reconsider it.
20
21### Core Tenets
22
23| Principle | Description |
24|-----------|-------------|
25| **Simplicity** | Remove until it breaks, then add back one thing |
26| **Intentionality** | Every pixel has a purpose |
27| **Consistency** | Same problem = same solution |
28| **Hierarchy** | Guide the eye, don't compete for attention |
29| **Restraint** | Elegance comes from what you leave out |
30
31### Both/And, Not Either/Or
32
33- Best practices AND creative distinction
34- WCAG AAA accessibility AND visual delight
35- Consistency AND memorable uniqueness
36- Premium feel AND usability
37
38This skill rejects the false choice between "generic but accessible" and "creative but inaccessible."
39Every design should be both bulletproof AND beautiful.
40
41---
42
43## Challenge Mode
44
45**CRITICAL**: This skill actively challenges user design choices against Design Bible principles.
46
47### How Challenge Mode Works
48
49When users propose or implement design choices, the plugin:
50
511. **Analyzes** the choice against Bible principles
522. **Identifies** any violations or concerns
533. **Challenges** the user with specific feedback
544. **Offers** Bible-recommended alternatives
555. **Requires explicit confirmation** to override
56
57### Challenge Triggers
58
59The plugin challenges when detecting:
60
61| Violation | What's Detected | Bible Standard |
62|-----------|-----------------|----------------|
63| Pure colors | `#000000` or `#FFFFFF` used | Use `#F7F6F4` / `#1A1A1A` |
64| Wrong ratio | Not 80/10/10 color distribution | 80% neutral, 10% brand, 10% feedback |
65| High saturation | Colors at 100% saturation | Max 70-85% saturation |
66| Low contrast | Below 7:1 for text | WCAG AAA (7:1) target |
67| Bad sizing | Components off-scale | Bible component specs |
68| Typography issues | Wrong hierarchy or line length | 45-75 char lines, defined scale |
69| Animation problems | Decorative or long animations | Purposeful, 150-400ms max |
70| Dark mode inversion | Colors inverted not parallel | Parallel design approach |
71
72### Challenge Prompt Format
73
74```
75+======================================================================+
76| DESIGN BIBLE CHALLENGE |
77+======================================================================+
78| Issue: [Specific violation detected] |
79| |
80| Your choice: [What user selected] |
81| Bible recommendation: [What the Bible suggests] |
82| Reason: [Why this matters for UX/accessibility] |
83| |
84| Options: |
85| 1. Apply Bible recommendation |
86| 2. Modify my choice |
87| 3. Override - I'm certain (requires confirmation) |
88+======================================================================+
89```
90
91### User Override Protocol
92
93To override a Bible recommendation, user must explicitly state:
94
95> "I am definitive and sure I want to ignore plugin recommendations"
96
97**Without this exact confirmation, proceed with Bible recommendation.**
98
99Overrides are captured using `kodo reflect` for future reference.
100
101---
102
103## Commands
104
105| Command | Purpose |
106|---------|---------|
107| `/kodo design [component/page]` | Design a specific component or page |
108| `/kodo design-system` | Create or update project design foundation |
109| `/kodo design-audit` | Audit existing UI for consistency, accessibility, UX |
110| `/kodo design-theme [palette]` | Audit provided color theme for accessibility issues |
111| `/kodo design-inspire [query]` | Research design inspiration before implementation |
112
113---
114
115## Workflow Overview
116
1171. **Check context** -> Load existing design system from `.kodo/context/`
1182. **Check/establish theme** -> Use existing theme or help user choose/create one
1193. **Research (optional)** -> Find inspiration on Dribbble, Behance, 21st.dev
1204. **Establish foundation** -> Define or verify design tokens, typography, colors
1215. **Design with intention** -> Create distinctive yet accessible UI
1226. **Capture learnings** -> `kodo reflect` to persist successful patterns
123
124---
125
126## Color Theme Workflow
127
128**ALWAYS check for existing theme first:**
129
1301. Look for theme in `.kodo/context/` for existing color definitions
1312. Check `./docs/rules/design-system.md` if exists
1323. If no theme exists, ASK the user:
133 - "Do you have an existing color theme/palette you'd like to use?"
134 - "Or should I use one of the predefined accessible palettes?"
135
136**If user provides a theme:**
137- Run `/kodo design-theme` automatically
138- Analyze all colors for WCAG contrast compliance
139- Check color blindness safety
140- Report issues and recommend corrections
141- Only proceed after user confirms corrected palette
142
143---
144
145## /kodo design-theme Workflow
146
147When auditing a user-provided color theme:
148
149### 1. Extract Colors
150Parse all provided colors (hex, rgb, hsl, oklch)
151
152### 2. Contrast Analysis
153Test every text/background combination:
154
155| Combination | Required Ratio | Status |
156|-------------|----------------|--------|
157| Primary on Background | 4.5:1 | PASS/FAIL |
158| Text on Primary | 4.5:1 | PASS/FAIL |
159| Secondary on Background | 4.5:1 | PASS/FAIL |
160| Muted text on Background | 4.5:1 | PASS/FAIL |
161
162### 3. Color Blindness Simulation
163Test palette visibility for:
164- Protanopia (red-green, ~1% of men)
165- Deuteranopia (red-green, ~6% of men)
166- Tritanopia (blue-yellow, rare)
167
168### 4. Report Format
169
170```markdown
171## Theme Audit Report
172
173### PASS Passing
174- Primary/background: 5.2:1 (AA compliant)
175- Text/background: 12.1:1 (AAA compliant)
176
177### FAIL Failing
178- Muted text/background: 2.8:1 (needs 4.5:1)
179 **Recommendation**: Darken muted from oklch(65% ...) to oklch(55% ...)
180
181- Warning/background: 2.1:1 (needs 3:1 for UI elements)
182 **Recommendation**: Use oklch(60% 0.18 75) instead
183
184### Warning: Color Blindness Concerns
185- Primary and Error appear similar in deuteranopia
186 **Recommendation**: Shift error hue from 25 to 15, or add icon indicators
187
188### Corrected Palette
189[Provide corrected values]
190```
191
192---
193
194## /kodo design Workflow
195
196### 1. Context Gathering
197
198Before coding, understand:
199- **Existing patterns**: Use `kodo query "ui components"` or `kodo query "design system"`
200- **Feature context**: Check documentation for state requirements
201- **Tech stack**: Identify frameworks and libraries in use
202
203### 2. Aesthetic Direction
204
205Commit to a BOLD direction. Choose from:
206
207| Direction | Character | Best For |
208|-----------|-----------|----------|
209| **Refined Minimal** | Clean, spacious, precise | SaaS, productivity, B2B |
210| **Warm Organic** | Soft edges, natural colors, flowing | Wellness, lifestyle, community |
211| **Bold Editorial** | Strong typography, magazine-feel | Content, media, portfolios |
212| **Luxury Premium** | Rich colors, elegant typography, subtle animations | High-end products, finance |
213| **Playful Delightful** | Micro-animations, surprises, personality | Consumer apps, games, creative |
214| **Technical Precision** | Data-dense, functional, efficient | Dashboards, dev tools, analytics |
215
216**Key insight**: Elegance comes from executing the vision well, not from intensity.
217
218### 3. Implementation Standards
219
220**Typography:**
221- Use distinctive fonts from project config
222- Pair display font with body font intentionally
223- Line height: 1.5x for body, tighter for headings
224- 45-75 characters per line for optimal readability
225- Minimum 14-16px body text
226
227**Color (80/10/10 Rule - Non-negotiable):**
228- **80% Neutrals**: Backgrounds, cards, containers, body text
229- **10% Brand Accent**: Primary buttons, links, highlights
230- **10% Feedback**: Success, warning, error, info states
231- Use OKLCH color space for perceptually uniform colors
232- **Never pure black/white**: Use `#F7F6F4` (light) / `#1A1A1A` (dark)
233- **Saturation cap**: 70-85% max, never 100%
234- WCAG AAA target (7:1 text contrast)
235- Never rely on color alone - add icons, patterns, text
236
237**Motion (Bible Timing Standards):**
238- **Micro interactions**: 150-200ms (hovers, toggles, focus)
239- **State changes**: 250-300ms (accordions, tabs, modals)
240- **Page transitions**: 300-400ms (route changes)
241- Every animation must serve UX, not decoration
242- Use only `transform` and `opacity` (GPU-accelerated)
243- **Always** respect `prefers-reduced-motion`
244
245**Spacing:**
246- Use consistent spacing scale (4px, 8px, 12px, 16px, 24px, 32px, 48px, 64px)
247- Generous whitespace > cramped layouts
248- Visual grouping through proximity
249
250**Accessibility (Non-negotiable - AAA Target):**
251- **Contrast**: WCAG AAA (7:1) for text, 4.5:1 for large text, 3:1 for UI
252- Focus states visible and styled (3:1 contrast minimum)
253- Touch targets minimum 44x44px
254- Keyboard navigation works completely
255- Screen reader friendly (semantic HTML, ARIA when needed)
256- Responsive at 200% zoom
257- Always honor `prefers-reduced-motion`
258
259### 4. Output Format
260
261Generate code using modern tech stack:
262- React 19+ components with TypeScript 5.7+
263- Tailwind CSS 4+ with design tokens
264- Framer Motion for animations
265- shadcn/ui components when appropriate
266
267---
268
269## /kodo design-system Workflow
270
271Create or update the design foundation in `./docs/rules/design-system.md`.
272
273See `references/design-system-template.md` for the complete template.
274
275---
276
277## /kodo design-inspire Workflow
278
279Research design inspiration before implementing:
280
2811. **Use 21st.dev MCP** (if available):
282 - Search for component inspiration
283 - Find high-quality implementations
284 - Get code snippets
285
2862. **Web search** for:
287 - Dribbble: `site:dribbble.com {query} ui design`
288 - Behance: `site:behance.net {query} web design`
289 - Awwwards: `site:awwwards.com {query}`
290
2913. **Analyze and adapt**:
292 - Note color palettes, typography choices
293 - Identify layout patterns
294 - Extract micro-interaction ideas
295 - Document findings using `kodo curate`
296
297**Never copy directly** - use as inspiration to create original work.
298
299---
300
301## /kodo design-audit Workflow
302
303Audit existing UI for:
304
305### Consistency Check
306- Typography usage matches design system
307- Colors within defined palette
308- Spacing follows scale
309- Components match patterns
310
311### Accessibility Check
312- Color contrast ratios
313- Focus states present and visible
314- Touch targets adequate (44x44px min)
315- Semantic HTML structure
316- Alt text on images
317
318### UX Check
319- Loading states defined
320- Error states clear and helpful
321- Empty states guide user action
322- Form validation inline and clear
323- Responsive behavior appropriate
324
325---
326
327## Responsive Breakpoints (Extended for 4K)
328
329All designs MUST support these breakpoints:
330
331| Breakpoint | Width | Target Devices |
332|------------|-------|----------------|
333| `sm` | 640px | Large phones |
334| `md` | 768px | Tablets |
335| `lg` | 1024px | Small laptops |
336| `xl` | 1280px | Laptops |
337| `2xl` | 1536px | Desktop monitors |
338| `3xl` | 1920px | Full HD monitors |
339| `4xl` | 2560px | QHD / 2K monitors |
340| `5xl` | 3000px | 4K monitors |
341
342### Tailwind Config Extension
343
344```typescript
345// tailwind.config.ts
346export default {
347 theme: {
348 screens: {
349 'sm': '640px',
350 'md': '768px',
351 'lg': '1024px',
352 'xl': '1280px',
353 '2xl': '1536px',
354 '3xl': '1920px',
355 '4xl': '2560px',
356 '5xl': '3000px',
357 },
358 },
359}
360```
361
362---
363
364## Color Psychology Quick Reference
365
366| Color | Evokes | Best For |
367|-------|--------|----------|
368| Blue | Trust, calm, professional | Finance, healthcare, B2B |
369| Green | Growth, nature, success | Wellness, sustainability, confirmation |
370| Purple | Luxury, creativity, wisdom | Premium, creative, spiritual |
371| Orange | Energy, warmth, action | CTAs, alerts, playful brands |
372| Red | Urgency, passion, importance | Sales, errors, bold statements |
373| Yellow | Optimism, attention, caution | Highlights, warnings |
374| Neutral | Sophistication, balance | Backgrounds, body text |
375| Black | Luxury, power, elegance | Premium products, fashion |
376
377---
378
379## kodo Integration
380
381Before designing, check existing patterns:
382```bash
383kodo query "ui components"
384kodo query "color palette"
385kodo query "typography"
386```
387
388After successful implementation:
389```bash
390kodo reflect # Capture successful patterns as learnings
391```
392
393Add design decisions to context:
394```bash
395kodo curate "design-system" -c architecture
396```
397
398---
399
400## Reference Files
401
402- `references/design-bible-principles.md` - **Core Design Bible principles and Challenge Mode reference**
403- `references/design-system-template.md` - Full design system documentation template
404- `references/component-patterns.md` - Common UI patterns with accessibility
405- `references/color-palettes.md` - Pre-built accessible color palettes (80/10/10 compliant)
406- `references/accessibility-checklist.md` - WCAG AAA compliance checklist
407
408---
409
410## Quick Reference Card
411
412```
413COLOR: 80% neutral / 10% brand / 10% feedback
414NEUTRALS: #F7F6F4 (light) / #1A1A1A (dark)
415SATURATION: 70-85% (never 100%)
416CONTRAST: 7:1 AAA target
417
418TYPOGRAPHY: H1=44-56 / H2=28-32 / H3=20-24 / Body=16 / Small=14
419LINE LENGTH: 45-75 characters
420
421BUTTONS: 40-48px height / 8px radius / 16-24px padding
422INPUTS: 40-48px height / 8px radius / 16px font
423CARDS: 12-16px radius / 20-24px padding
424
425ANIMATION: Micro=150-200ms / State=250-300ms / Page=300-400ms
426MOTION: Always respect prefers-reduced-motion
427
428DARK MODE: Parallel design, not inversion
429 Reduce saturation 10-20%
430 Remove/reduce shadows
431
432BREAKPOINTS: sm=640 / md=768 / lg=1024 / xl=1280 / 2xl=1536
433 3xl=1920 / 4xl=2560 / 5xl=3000
434```