Creates light and dark mode component variants with consistent color token mapping. Use when building dual-theme components, creating light/dark UI pairs, or implementing theme-aware designs.
This Claude skill streamlines the development of theme-aware UI components by implementing a systematic color token mapping approach. It enables the rapid generation of perfectly synchronized light and dark mode variants using Tailwind CSS, ensuring consistent visual hierarchy, accessibility, and professional design standards across dual-theme applications.
Use Cases
Developing a SaaS dashboard that requires seamless switching between light and dark modes with consistent brand colors.
Building a standardized UI component library where every element must adhere to a strict semantic color token system.
Refactoring existing frontend codebases to implement dark mode support using a structured and maintainable design pattern.
Ensuring WCAG accessibility compliance by automatically mapping high-contrast color pairs for different UI themes.
name
component-variants
description
Creates light and dark mode component variants with consistent color token mapping. Use when building dual-theme components, creating light/dark UI pairs, or implementing theme-aware designs.
Component Variants Pattern
Create matching light and dark variants of UI components using a systematic color token approach.
Pattern Overview
Create paired components: ComponentLight and ComponentDark
Mirror the structure exactly between variants
Map colors systematically using the token table below
Export a unified component that renders both or accepts a variant prop