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
Use the source’s example type, spacing and semantic-color tokens as a starting point, then adapt the scale to the project. The spacing example includes 4px increments; it is not limited to multiples of 8px.
- 02Apply Responsive Typography
Use clamp() for fluid typography and review line lengths. The source’s 65ch body-width example is a CSS measure, not an exact count of 65 characters in every font.
- 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.