darkmode

Community

Apply dark mode to your website.

AuthorBoristoka
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides methods to easily implement dark mode for a website, enhancing user experience and accessibility, especially in low-light conditions.

Core Features & Use Cases

  • Manual Dark Mode: Apply a dark class to the <html> element for a permanent dark theme.
  • Auto Dark Mode: Use dark-auto to follow the user's system preference.
  • Toggle Component: Implement a user-facing button to switch between light and dark modes dynamically.
  • Use Case: A SaaS application can use this skill to offer users a choice in theme, reducing eye strain during late-night usage and personalizing the interface.

Quick Start

Add the 'dark' class to the <html> element in app/layout.tsx.

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: darkmode
Download link: https://github.com/Boristoka/claude-craft/archive/main.zip#darkmode

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 223,000+ vetted skills library on demand.