This is a reference sheet for validating design tokens against WCAG contrast requirements before they ship. It walks through the actual luminance math, gives you copy-paste JavaScript for checking ratios, and lists the exact config paths where tokens live in Tailwind, shadcn, MUI, and Chakra. The framework sections call out common failures like MUI's warning.main at 2.94:1 and Chakra's gray.400 at 2.85:1. It also covers focus ring requirements from WCAG 2.4.13, which need 3:1 contrast and at least 2px width. Use this when you're auditing a design system at the token level, not when you're fixing individual UI bugs. The HSL-to-hex converter is there because shadcn stores everything as HSL triplets without the wrapper function.

skills.sh installs
259
GitHub stars
442
last updated
Aug 21, 2026

Install

$ npx -y skills add community-access/accessibility-agents --skill design-system --agent claude-code

Installs into .claude/skills of the current project.

Files

This is a reference sheet for validating design tokens against WCAG contrast requirements before they ship. It walks through the actual luminance math, gives you copy-paste JavaScript for checking ratios, and lists the exact config paths where tokens live in Tailwind, shadcn, MUI, and Chakra. The framework sections call out common failures like MUI's warning.main at 2.94:1 and Chakra's gray.400 at 2.85:1. It also covers focus ring requirements from WCAG 2.4.13, which need 3:1 contrast and at least 2px width. Use this when you're auditing a design system at the token level, not when you're fixing individual UI bugs. The HSL-to-hex converter is there because shadcn stores everything as HSL triplets without the wrapper function.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/community-access/accessibility-agents
Category
Design & UI/UX
First seen
Jun 3, 2026

More from community-access/accessibility-agents

All 25
1openai avatarfigma-create-design-system-rulesopenai/skillsGenerates custom design system rules for the user's codebase. Use when user says "create design system rules", "generate rules for my project", "set up design r3.1Kskills.sh installs
2nexu-io avatarfigma-create-design-system-rulesnexu-io/open-designGenerate project-specific design system rules for Figma-to-code workflows. Useful for capturing tokens, naming, and lint rules in one source.2.9Kskills.sh installs
3figma avatarfigma-create-design-system-rulesfigma/mcp-server-guideGenerates custom design system rules for the user's codebase. Use when user says "create design system rules", "generate rules for my project", "set up design r1.6Kskills.sh installs
4nextlevelbuilder avatardesign-systemnextlevelbuilder/ui-ux-pro-max-skillToken architecture, component specifications, and slide generation. Three-layer tokens (primitive→semantic→component), CSS variables, spacing/typography scales,50.5Kskills.sh installs
5plugin87 avatarmigrate-design-systemplugin87/ux-ui-agent-skillsMap this token system to or from any external design system (Material Design 3, Apple HIG, Fluent, Carbon, Ant, shadcn/ui, Radix, Chakra, Mantine, Bootstrap…) —531skills.sh installs
6leonxlnx avatarstitch-design-tasteleonxlnx/taste-skillSemantic Design System Skill for Google Stitch. Generates agent-friendly DESIGN.md files that enforce premium, anti-generic UI standards — strict typography, ca394.9Kskills.sh installs