In the Skill's Own Terms
This skill teaches how to build cohesive, accessible visual systems using typography scales, color theory, spacing systems, and iconography fundamentals. It covers establishing design tokens with modular type scales, 8-point grid spacing, semantic color palettes with WCAG contrast requirements, and icon sizing systems.
The skill provides concrete implementation patterns for Tailwind CSS, responsive fluid typography, dark mode theming with semantic tokens, and accessibility validation. It addresses common visual design challenges like inconsistent spacing, poor contrast, and arbitrary magic numbers by defining ratio-based scales and reusable token systems.
What it produces
- Design token definitions in CSS custom properties or Tailwind config
- Icon component with size variants
How It Works
- 01Establish Modular Design Tokens
Define typography scales with ratio-based sizing (0.75rem to 3rem), 8-point grid spacing (4px to 64px), and semantic color tokens for brand, states, and neutrals.
- 02Apply Responsive Typography
Use fluid typography with clamp() for viewport-responsive sizing and maintain optimal reading width at 65 characters maximum.
- 03Implement Accessible Color Palettes
Build color systems that meet WCAG contrast ratios: 4.5:1 for body text, 3:1 for large text and UI components, with programmatic contrast checking.
- 04Create Consistent Icon Systems
Define icon sizing scales from 12px to 32px with reusable components that accept size props and maintain flex-shrink-0 behavior.
- 05Design Dark Mode with Semantic Tokens
Use semantic token naming by purpose rather than appearance, allowing theme switching via data attributes without component changes.
- 06Maintain Vertical Rhythm
Apply consistent spacing rules to adjacent elements using defined scale values to create visual harmony throughout the interface.