Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Dark Mode?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/najuaircrack-dark-mode)
---
name: dark-mode
description: "Implement or repair dark mode when theme resolution, first paint, or switching needs to work across the interface."
license: MIT
---
# Dark mode
- Preserve the project's theme choices, precedence, and persistence. When system mode exists, respond to OS changes while that mode is selected.
- Use the existing theme resolver so first paint, hydration where applicable, and later updates agree.
- Set semantic colors at the theme boundary. Ensure portaled content inherits the resolved theme and set `color-scheme` at the appropriate scope for native controls.
- Inspect charts, icons, and assets with baked backgrounds. Use existing theme-aware assets or role values where a simple foreground change cannot preserve meaning.
- Verify first paint, switching, and reload, including an explicit override of the OS where supported. Exercise live OS changes in system mode and inspect a portaled overlay where applicable.