/uix:color-system [brand / domain / style hint]from uix
Builds a complete UI color palette — 8-10 grey shades, 1-2 primary hues with 5-10 shades each, accent colors for success/warning/danger/info — following Refactoring UI's HSL method plus Albers's relativity and Colour and Light's luminance rules. Auto-activates on "build a color palette", "design a color system", "pick UI colors", "how many shades do I need", "should I use this color", "dark mode palette", or /uix:color-system. Outputs palette with HSL values, contrast ratios, and usage rules.
Ships in uix. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Architect UI color systems. Auto-activates on palette questions or via /uix:color-system.
"build a color palette / color system" · "pick UI colors" · "how many shades do I need" · "primary color for [product]" · "grey scale" · "dark mode palette" · "accent / semantic colors (success/warning/danger)" · "is this color accessible" · "tint my greys".
Gather constraints in one pass:
Ask the minimum clarifying questions if any of the above are missing.
Output a palette in this format:
## Color System — <project>
Built in HSL. All shades hand-tuned for perceptual steps — NOT linearly generated `[RUI]`.
### Greys (8-10 shades)
Tint: warm / cool / neutral — why.
| Token | HSL | Hex | Use |
|---|---|---|---|
| grey-50 | hsl(220 20% 98%) | #F8FAFC | App background |
| grey-100 | ... | ... | Card background |
| ... | ... | ... | ... |
| grey-900 | ... | ... | Primary text |
### Primary — <ColorName>
Base hue: H°. Matched saturation range. 10 shades.
| Token | HSL | Hex | Use |
|---|---|---|---|
| primary-50 | ... | ... | Lightest background |
| primary-500 | ... | ... | Base (brand color) |
| primary-600 | ... | ... | Hover state |
| primary-700 | ... | ... | Active/pressed state |
| primary-900 | ... | ... | On-dark text |
### Accent — <ColorName> (optional second primary)
Same structure.
### Semantic
| Role | Light | Dark | Contrast pair |
|---|---|---|---|
| Success | green-600 | green-400 | on white / on grey-900 |
| Warning | amber-600 | amber-400 | ... |
| Danger | red-600 | red-400 | ... |
| Info | blue-600 | blue-400 | ... |
### Contrast audit (WCAG 2.2 AA)
Example row: `grey-900 (#0F172A) on grey-50 (#F8FAFC) = 18.1:1 — Pass AA`.
- Body text on app-bg: [ratio] — Pass AA (≥4.5) `[WCAG SC 1.4.3]`
- Subtle text on card-bg: [ratio] — Pass AA `[WCAG SC 1.4.3]`
- Primary button label on primary-600: [ratio] — Pass AA `[WCAG SC 1.4.3]`
- Focus ring on app-bg: [ratio] — Pass (≥3:1) `[WCAG SC 1.4.11]`
- Any FAIL flagged with a fix.
### Usage rules
- Primary text: grey-900 on grey-50; never grey-400 on grey-100.
- Don't use grey text on colored backgrounds — pick contrasting colors that fit the hue `[RUI]`.
- Color never carries meaning alone — always pair with icon or label `[WCAG SC 1.4.1]`.
- Don't use pure #000 or #FFF — use grey-900 and grey-50 for natural surfaces `[C&L]`.
- Shadows take the complement of the light source, tinted subtly `[C&L]`.
### Dark mode (if requested)
Shift all colors by the same rule (color constancy) `[IOC]`. Reduce saturation for glowing elements. Desaturate primary by 10-20% in dark mode to prevent vibration.
Follow these rules when generating shades:
[C&L].[IOC].If the user provides an existing brand color, treat it as primary-500 and build the rest around it.
Always run the contrast audit and fix any failing pair before delivering.
[IOC][C&L].[WCAG SC 1.4.1].${CLAUDE_PLUGIN_ROOT}/references/UI_MASTER_GUIDE.md Part VII (Color) and Part VIII (Depth, Light, Shadows).
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub dinoquinten/claude-plugins --plugin uix9 skills in this plugin
/accessibility-auditAudits a UI against WCAG 2.2 (Perceivable/Operable/Understandable/Robust), covering every AA criterion and all nine criteria new in 2.2 — focus not obscured, focus appearance, dragging movements, target size 24×24, consistent help, redundant entry, accessible authentication. Auto-activates on "accessibility audit", "WCAG check", "a11y review", "is this accessible", "check contrast", "keyboard accessible", or /uix:accessibility-audit. Produces a per-criterion pass/fail/NA report with fixes./choose-patternRecommends the right UI pattern from Tidwell's "Designing Interfaces" catalog for a given interaction problem — navigation, layout, lists/data, forms, controls, mobile. Auto-activates on "what pattern should I use for X", "how do I let users [do Y]", "what's the best way to show [Z]", or /uix:choose-pattern. Returns primary pattern, 1-2 alternatives, and why each fits or doesn't./design-component