Implement dark mode with prefers-color-scheme media query, CSS custom properties, user toggle with persistence, and proper image/shadow handling. [EXPLICIT] Trigger: "dark mode", "dark theme", "color scheme", "theme toggle"
From jm-adknpx claudepluginhub javimontano/jm-adk-alfaThis skill is limited to using the following tools:
agents/guardian.mdagents/lead.mdagents/specialist.mdagents/support.mdevals/evals.jsonknowledge/body-of-knowledge.mdknowledge/knowledge-graph.mdprompts/meta.mdprompts/primary.mdprompts/variations/deep.mdprompts/variations/quick.mdtemplates/output.docx.mdtemplates/output.html"In the darkness, good contrast becomes your best friend." — Unknown
Guides dark mode implementation using CSS custom properties for theming, prefers-color-scheme for system preference detection, a manual toggle with localStorage persistence, and proper handling of images, shadows, and elevation in dark contexts. Use when adding theme switching to any web application. [EXPLICIT]
:root for light theme, [data-theme="dark"] for darkprefers-color-scheme: dark media query as default when no explicit preference saveddata-theme attribute before paint<head> (blocking) to prevent dark mode flash (FODT)color-scheme: light dark meta tag for native form element theming<head>)filter: invert(1) (destroys images and branding)web-components — CSS custom properties bridge themes into Shadow DOMaccessibility-testing — contrast ratio validation in both themesExample invocations:
| Scenario | Handling |
|---|---|
| Empty or minimal input | Request clarification before proceeding |
| Conflicting requirements | Flag conflicts explicitly, propose resolution |
| Out-of-scope request | Redirect to appropriate skill or escalate |
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.