/skills-design:color-systemfrom Design Skills
Turn a chosen direction into a real palette: tints, WCAG contrast, dark mode mapping, elevation and tokens. Use when building semantic color tokens, dark mode palettes, or contrast scales.
Ships in Design Skills. 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.
Read when SKILL.md points to them.
A production color system is not a static Figma swatch board of 5 favorite hex codes. A true color system is a mathematically coherent, tokenized software architecture. It governs contrast ratios, elevation surface ramps, perceptual lightness distribution, semantic state bindings, and flawless bidirectional light/dark mode transitions without manual per-screen overrides.
blue-500: #3B82F6, slate-900: #0F172A. Never consume primitives directly in components.surface-canvas: var(--slate-900), action-primary: var(--blue-500).button-primary-bg: var(--action-primary).oklch(L C H)):
box-shadow).surface-base (0dp): oklch(14% 0.02 260) (Canvas background)surface-raised (1dp): oklch(18% 0.02 260) (Card background)surface-overlay (4dp): oklch(22% 0.02 260) (Dropdown menu)surface-modal (8dp): oklch(26% 0.02 260) (Floating dialog)#000000) for Dark Mode:
tokens.css)/* ==========================================================================
PRODUCTION COLOR SYSTEM TOKENS (OKLCH)
========================================================================== */
:root {
/* 1. Global Primitives (Indigo Scale) */
--indigo-50: oklch(96% 0.02 270);
--indigo-500: oklch(58% 0.22 270);
--indigo-600: oklch(50% 0.22 270);
--indigo-900: oklch(24% 0.12 270);
/* Slate Scale */
--slate-50: oklch(98% 0.005 250);
--slate-100: oklch(94% 0.010 250);
--slate-800: oklch(22% 0.020 250);
--slate-900: oklch(14% 0.020 250);
/* 2. Semantic Mappings (Light Mode Default) */
--surface-canvas: var(--slate-50);
--surface-card: #ffffff;
--text-primary: var(--slate-900);
--text-muted: var(--slate-800);
--border-subtle: var(--slate-100);
--action-primary-bg: var(--indigo-500);
--action-primary-hover: var(--indigo-600);
--action-primary-text: #ffffff;
}
/* 3. Dark Mode Overrides (Automatic Surface Inversion) */
[data-theme="dark"] {
--surface-canvas: var(--slate-900);
--surface-card: var(--slate-800);
--text-primary: var(--slate-50);
--text-muted: var(--slate-100);
--border-subtle: var(--slate-800);
--action-primary-bg: var(--indigo-500);
--action-primary-hover: var(--indigo-600);
--action-primary-text: #ffffff;
}
stylelint-color-contrast into frontend test suite.#888888 on #FFFFFF (contrast 3.5:1; fails WCAG AA).#6B7280 (4.6:1), maintaining full accessibility compliance.color: #4F46E5 directly inside a React component stylesheet.#000000 as the global background, causing severe text smearing on mobile scrolling.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
48 skills in this plugin
/a-b-test-designerMoved to modernized catalog in skillary. Removed in v4.1./accessibility-reviewCheck a design for contrast, target size, focus order and motion safety before anything gets built. Use when auditing color contrast, focus states, tap targets, or ARIA UX./animation-plannerMoved to modernized catalog in skillary. Removed in v4.1./brand-guardianMoved to modernized catalog in skillary. Removed in v4.1.skills-design@skillary is listed by poorvith-mp/skillary — review the source before installing
npx claudepluginhub poorvith-mp/skillary --plugin skills-design