dark-mode-implementer
Installation
SKILL.md
Dark Mode Implementer
Build robust dark/light mode theming with system preference detection and persistent storage.
Core Workflow
- Choose strategy: CSS-only, Tailwind, or React context
- Define color tokens: Create semantic color variables
- Implement toggle: Add theme switch component
- Detect system preference: Respect
prefers-color-scheme - Persist choice: Store preference in localStorage
- Prevent flash: Handle initial load correctly