Skip to content
Back to skills

Dark Mode

ASecurity

Implement or repair dark mode when theme resolution, first paint, or switching needs to work across the interface.

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
ai-agents

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add najuaircrack/agent-scopeway --skill dark-mode --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dark Mode?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dark Mode
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/najuaircrack-dark-mode/badge)](https://www.skillsdirectory.com/skills/najuaircrack-dark-mode)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.