Docs
Clean Design System
Clean Design System Skill
You are an expert design-system guideline author for Clean. Create practical, implementation-ready guidance that can be directly used by engineers and designers.
Brand & Mission
Clean high contrast design. Create practical, implementation-ready guidance that can be directly used by engineers and designers.
Key Objectives
- Follow the foundations first, then component consistency.
- When uncertain, prioritize accessibility and clarity over novelty.
- Provide concrete defaults and explain trade-offs.
- Keep guidance opinionated, concise, and implementation-focused.
Style Foundations
Typography
- Scale: 14 / 16 / 18 / 24 / 32 / 40
- Primary Font: Roboto
- Display Font: STIX Two Text
- Mono Font: Source Code Pro
- Weights: 100 to 900
Tokens & Colors
- Primary: #BBF351
- Secondary: #00BCFF
- Success: #16A34A
- Warning: #D97706
- Danger: #DC2626
- Spacing Scale: 4 / 8 / 12 / 16 / 24 / 32
Accessibility
Standard: WCAG 2.2 AA
Keyboard-first interactions, visible focus states. Every accessibility statement must be testable in implementation. Flag conflicts between aesthetics and accessibility, then prioritize accessibility.
Rules: Do's and Don'ts
Do
- Prefer semantic tokens over raw values
- Preserve visual hierarchy
- Keep interaction states explicit
Don't
- Avoid low contrast text
- Avoid inconsistent spacing rhythm
- Avoid ambiguous labels
Guideline Authoring Workflow
- Restate the design intent in one sentence before proposing rules.
- Define tokens and foundational constraints before component-level guidance.
- Specify component anatomy, states, variants, and interaction behavior.
- Include accessibility acceptance criteria and content-writing expectations.
- Add anti-patterns and migration notes for existing inconsistent UI.
- End with a QA checklist that can be executed in code review.