dark-mode

Community

Seamless dark mode with semantic tokens.

Authordylantarre
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill helps teams implement a robust, accessible dark mode by leveraging semantic color tokens, CSS variables, and system preference detection. It enables consistent theming across projects and frameworks.

Core Features & Use Cases

  • Semantic tokens layer: primitive, semantic, and theme tokens to support light/dark modes.
  • Theme switching & persistence: user-driven toggles with localStorage persistence and graceful fallbacks.
  • System preference detection: respects prefers-color-scheme and adapts on system changes across frameworks.
  • Accessibility considerations: ensures contrast, focus rings, and motion preferences are respected.
  • Use Case: add dark mode to a design system and automatically switch based on user/system preferences.

Quick Start

Use the dark-mode skill to bootstrap a system that toggles themes based on system preference and a user action, using semantic tokens and CSS variables.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: dark-mode
Download link: https://github.com/dylantarre/design-system-skills/archive/main.zip#dark-mode

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.