/ui-craft:colorize [file or component path]from ui-craft
Applies a color strategy to a UI file: introduces a single accent at 3-5 intentional placements or reduces an over-colored UI back to 90% neutral. Edits code directly and outputs a review table with contrast checks.
Ships in ui-craft. Installing the plugin adds it to Claude Code.
Add color to the UI at $ARGUMENTS. Load the ui-craft skill.
The rule (from SKILL.md): 90%+ neutral, one accent, 3-5 placements per viewport. Reinforce this before adding anything. More color is not more design.
Before you touch anything — ask about brand. If a brand color exists, use it. If not, offer 2-3 options in OKLCH — include one warm (e.g., oklch(0.67 0.19 45)) and one cool (e.g., oklch(0.60 0.18 250)). Never default to blue.
Where color EARNS its place:
:focus-visible).Where color does NOT go (anti-slop territory):
↑/↓ + tabular-nums would read cleaner.Knob gating (VISUAL_DENSITY):
≤ 4 → single accent only, max 3 placements.5-7 → single accent, 3-5 placements, status dots allowed.8+ → semantic palette (success/warning/danger) allowed beyond the single accent — dashboards and data UIs earn this.If the UI is already shouting with color, this command also removes color.
References to read: references/color.md (OKLCH, tokens, dark mode, contrast), references/accessibility.md (contrast ratios for AA/AAA).
Output: edit code directly. Lift any literal hex into CSS variables (--color-accent, --color-accent-tint) — respect existing token naming if present. Print the Review Format table. One row per placement, with the ratio check (AA/AAA) on text uses.
Next step: /tokens — promote the color decisions into the durable token spine so they survive the session (rung 2).
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub educlopez/ui-craft --plugin ui-craft25 commands in this plugin
/adaptResponsive layout pass covering breakpoints, touch targets, safe areas, and fluid type. Use when the UI has layout or touch issues on mobile/tablet, when adding a new screen that hasn't been tested across viewports, or when the user says "make it responsive" / "fix mobile layout"./animateMotion design pass — adds purposeful animations or removes excessive ones, respecting MOTION_INTENSITY and the project's animation stack. Use when the user asks to add animation, "make it feel smoother", fix janky transitions, or trim motion that's distracting./auditStep 0: Visual capture (mandatory)Technical UI audit — a11y, performance, responsive. Produces a prioritized findings table./bolderAmplify personality — raises layout variance and motion, strengthens typography and one signature detail, without slop. Use when the UI works but feels safe, flat, or "template-y", or when the user says "bolder", "more personality", "more creative", or "make it pop" (still professional)./briefStep 1: Detect existing briefWrite or update the project's durable design brief at .ui-craft/brief.md./clarifyUX copy review across buttons, errors, empty states, and form hints — critiques by default, applies only on request. Use when copy feels vague, generic, or AI-sounding, or when the user says "fix the labels", "improve error messages", or "review the copy".Other plugins' commands for the same job