From ui-craft
Introduces a single accent color at 3-5 intentional placements, or reduces an over-colored UI to 90% neutral. Uses OKLCH, respects brand colors, and checks contrast ratios for accessibility.
How this command is triggered — by the user, by Claude, or both
Slash command
/ui-craft:colorize [file or component path]The summary Claude sees in its command listing — used to decide when to auto-load this command
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:** - Primary CTA background. - One key metric tint — accent at ~8% opacity as a subtle background, accent at f...
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.
npx claudepluginhub educlopez/ui-craft/improve-aestheticsImprove visual hierarchy, spacing, color theory, and typography
/design-deslopRemoves visual tells that make a UI look AI-generated — flat hierarchy, monotone layout, timid color, generic tokens, and missing states — by squinting at the rendered output then scanning the diff.
/suggest-colorsSuggests WCAG AA-compliant color alternatives for failing contrast pairs from audits, with hex swatches, ratios, color-blind checks, CSS overrides, and before/after previews.
/ux-polishCosmetic pass on a UI surface — tightens spacing, hierarchy, removes AI-slop tells, and enforces token consistency.
/design-systemUses the design-system-auditor agent to assist with design system requests, focusing on design tokens like contrast, focus rings, spacing, and motion.
/color-paletteGenerates a full color palette with tonal scales, semantic mappings, accessibility contrast checks, dark mode variants, and data viz colors from brand inputs or mood descriptions.