gradient — Claude Code skill: a gradient-heavy design system
The skill turns your agent into a design-system author: tokens, type scale, component states and accessibility criteria for gradient-rich UI.
npx skills add bergside/awesome-design-skills --skill gradient -a claude-codeWhat gradient does
gradient is a guideline-authoring skill for the Gradient design style. It hands the agent a fixed foundation: a type scale of 12/14/16/18/24/30/36, Montserrat for body, Space Grotesk for display, JetBrains Mono for code, and a token palette with primary=#990FFA, secondary=#E60076, surface=#FFFFFF and text=#111827 on an 8pt spacing grid.
The workflow is sequential. The agent restates the design intent in one sentence, defines tokens and constraints, then specifies component anatomy with default, hover, focus-visible, active, disabled, loading and error states. It closes with anti-patterns, migration notes for inconsistent UI and a QA checklist you can run in code review. Rules must anchor to a token or a threshold, so vague adjectives do not survive.
Accessibility is a hard constraint rather than a section: WCAG 2.2 AA, keyboard-first interaction, visible focus, 44px+ touch targets. Where aesthetics and accessibility conflict, the skill says to pick accessibility. Worth knowing before you install: it insists on semantic tokens over raw values, so any hardcoded colors already in your codebase need converting first.
What it helps with
- write a gradient design system your team can implement directly
- replace scattered hex values with semantic tokens
- define hover, focus-visible, disabled, loading and error states for components
- check a UI against WCAG 2.2 AA before shipping
- produce a QA checklist for UI code review
Example prompts for the agent
- write the Gradient design system guideline for our project
- spec the button component with states and tokens following gradient rules
- audit this screen for accessibility and anti-patterns from the gradient skill
How to install gradient
1Skills CLI (Vercel)
npx skills add bergside/awesome-design-skills --skill gradient -a claude-code2Manually: put the files in place
~/.claude/skills/gradient/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/gradient/
1Skills CLI (Vercel)
npx skills add bergside/awesome-design-skills --skill gradient -a codex2Manually: put the files in place
.agents/skills/gradient/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add bergside/awesome-design-skills --skill gradient -a cursor2Manually: put the files in place
.cursor/skills/gradient/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install bergside/awesome-design-skills gradient2Manually: put the files in place
.github/skills/gradient/SKILL.md1Skills CLI (Vercel)
npx skills add bergside/awesome-design-skills --skill gradient -a gemini-cli2Platform CLI
gemini skills install https://github.com/bergside/awesome-design-skills --path skills/gradientManually: put the files in place
.devin/skills/gradient/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add bergside/awesome-design-skills --skill gradient -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about gradient
How do I install gradient in Claude?
Run npx skills add bergside/awesome-design-skills --skill gradient -a claude-code. The skill lands in ~/.claude/skills/gradient/SKILL.md.
What does the gradient skill do?
It makes the agent author design-system guidance: tokens, typography, component states, accessibility criteria and a review checklist.
What accessibility rules does gradient enforce?
WCAG 2.2 AA, keyboard-first interaction, visible focus states, semantic HTML before ARIA and 44px+ touch targets.
Source text
SKILL.md · MIT
--- name: gradient description: Smooth color transitions and gradient-rich surfaces for modern, playful interfaces with visual depth. license: MIT metadata: author: typeui.sh --- <!-- TYPEUI_SH_MANAGED_START --> # Gradient Design System Skill (Universal) ## Mission You are an expert design-system guideline author for Gradient. Create practical, implementation-ready guidance that can be directly used by engineers and designers. ## Brand Gradient design style ## Style Foundations - Visual style: modern, playful - Typography scale: 12/14/16/18/24/30/36 | Fonts: primary=Montserrat, display=Space Grotesk, mono=JetBrains Mono | weights=100, 200, 300, 400, 500, 600, 700, 800, 900 - Color palette: primary, secondary, neutral, success, warning, danger | Tokens: primary=#990FFA, secondary=#E60076, success=#16A34A, warning=#D97706, danger=#DC2626, surface=#FFFFFF, text=#111827 - Spacing scale: 8pt baseline grid ## Accessibility WCAG 2.2 AA, keyboard-first interactions, visible focus states, semantic HTML before ARIA, screen-reader tested labels, 44px+ touch targets ## Writing Tone concise, confident, helpful ## Rules: Do - prefer semantic tokens over raw values - preserve visual hierarchy - keep interaction states explicit ## Rules: Don't - avoid low contrast text - avoid inconsistent spacing rhythm - avoid ambiguous labels ## Expected Behavior - Follow the foundations first, then component consistency. - When uncertain, prioritize accessibility and clarity over novelty. - Provide concrete defaults and explain trade-offs when alternatives are possible. - Keep guidance opinionated, concise, and implementation-focused. ## Guideline Authoring Workflow 1. Restate the design intent in one sentence before proposing rules. 2. Define tokens and foundational constraints before component-level guidance. 3. Specify component anatomy, states, variants, and interaction behavior. 4. Include accessibility acceptance criteria and content-writing expectations. 5. Add anti-patterns and migration notes for existing inconsistent UI. 6. End with a QA checklist that can be executed in code review. ## Required Output Structure When generating design-system guidance, use this structure: - Context and goals - Design tokens and foundations - Component-level rules (anatomy, variants, states, responsive behavior) - Accessibility requirements and testable acceptance criteria - Content and tone standards with examples - Anti-patterns and prohibited implementations - QA checklist ## Component Rule Expectations - Define required states: default, hover, focus-visible, active, disabled, loading, error (as relevant). - Describe interaction behavior for keyboard, pointer, and touch. - State spacing, typography, and color-token usage explicitly. - Include responsive behavior and edge cases (long labels, empty states, overflow). ## Quality Gates - No rule should depend on ambiguous adjectives alone; anchor each rule to a token, threshold, or example. - Every accessibility statement must be testable in implementation. - Prefer system consistency over one-off local optimizations. - Flag conflicts between aesthetics and accessibility, then prioritize accessibility. ## Example Constraint Language - Use "must" for non-negotiable rules and "should" for recommendations. - Pair every do-rule with at least one concrete don't-example. - If introducing a new pattern, include migration guidance for existing components. <!-- TYPEUI_SH_MANAGED_END -->
© typeui.sh · MIT · bergside/awesome-design-skills