Skip to content

Web UI design skill covering WCAG 2.1 AA contrast rules, glassmorphism, Tailwind styling, and dark mode patterns.

CCM score
54 of 100
skills.sh installs
359
GitHub stars
712
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers WCAG 2.1 AA compliance rules for color contrast, button visibility, focus states, and dark mode text
  • Includes Tailwind component patterns for buttons, cards, glassmorphism variants, spacing, typography, and gradients
  • Enforces minimum contrast ratios (4.5:1 normal text, 3:1 large text and UI components) and 44px touch targets
  • Designed for building or styling React and CSS components in .tsx, .jsx, .css, .scss, and tailwind.config files

Install

$ npx -y skills add alinaqi/maggy --skill ui-web -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

UI Design Skill (Web)


MANDATORY: WCAG 2.1 AA Compliance

These rules are NON-NEGOTIABLE. Every UI element must pass these checks.

1. Color Contrast (CRITICAL)

Text Contrast Requirements:
├── Normal text (<18px): 4.5:1 minimum
├── Large text (≥18px bold or ≥24px): 3:1 minimum
├── UI components (buttons, inputs): 3:1 minimum
└── Focus indicators: 3:1 minimum

FORBIDDEN COLOR COMBINATIONS:
✗ gray-400 on white (#9CA3AF on #FFFFFF = 2.6:1) - FAILS
✗ gray-500 on white (#6B7280 on #FFFFFF = 4.6:1) - BARELY PASSES
✗ white on yellow - FAILS
✗ light blue on white - USUALLY FAILS

SAFE COLOR COMBINATIONS:
✓ gray-700 on white (#374151 on #FFFFFF = 9.2:1)
✓ gray-600 on white (#4B5563 on #FFFFFF = 6.4:1)
✓ gray-900 on white (#111827 on #FFFFFF = 16:1)
✓ white on gray-900, blue-600, green-700

2. Visibility Rules (CRITICAL)

ALL BUTTONS MUST HAVE:
✓ Visible background color OR visible border (min 1px)
✓ Text color that contrasts with background
✓ Minimum height: 44px (touch target)
✓ Padding: at least px-4 py-2

Details

Repository
github.com/alinaqi/maggy
Categories
Frontend & UI Code, Design & UI/UX
First seen
Jun 3, 2026

Questions

What does the ui-web skill do?

The ui-web skill guides Claude when building or styling web UI components, covering glassmorphism, Tailwind, dark mode and accessibility. It applies WCAG 2.1 AA checks such as color contrast, visible button boundaries and focus states to files like tsx, jsx, css and tailwind config.

How do I install the ui-web skill?

Run npx -y skills add alinaqi/maggy --skill ui-web -y inside a project. After installing, the skill loads automatically when you edit React, JSX, CSS or Tailwind files.

Which other skills are in the Frontend & UI Code category?

ui-web sits in the Frontend & UI Code category alongside vercel-react-best-practices, web-design-guidelines, design-taste-frontend, vercel-composition-patterns and lark-apps. Its focus is accessibility-first web styling rather than React patterns or general design guidance.

Who is the ui-web skill for?

It suits developers building or restyling web interfaces who want accessibility and contrast rules enforced while they write components. It is part of the claude-bootstrap config pack in the maggy repository on GitHub.

More from alinaqi/maggy

All 54

Similar to Ui Web

More Frontend & UI Code