Agent skill UI design
Dark Mode Design
Work with color, contrast or theme choices for a web interface.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add https://github.com/owl-listener/designer-skills/tree/main/ui-design/skills/dark-mode-design --skill dark-mode-design --agent claude-code --yesCheck this file in your project.claude/skills/dark-mode-design/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add https://github.com/owl-listener/designer-skills/tree/main/ui-design/skills/dark-mode-design --skill dark-mode-designSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Have an approved light palette, a running dashboard, and representative charts, tooltips and modal states.
View operation manualWhat this skill helps with
- Work with color, contrast or theme choices for a web interface.
Good for
- Palettes and themes
- Skill name
- dark-mode-design
- Scenario
- Adapt a report dashboard to dark mode
- Deliverable
- Scoped dark semantic colors verified against the actual foreground and surface pairs.
- Skill name
dark-mode-design- Repository
owl-listener/designer-skills
Give the request a concrete task
A request with an unclear outcome
Invert the light colors with one CSS filter.
Simple inversion can distort data colors, brighten artwork, and collapse the distinction between surfaces.
A workflow with observable results
- Map the existing light surface roles
- Propose a dark surface hierarchy
- Measure the dark dashboard in context
Dark Mode Design operation manual
Adapt the existing light palette for dashboard surfaces, charts and overlays, then check the rendered hierarchy.
Replace the bracketed details with your own project and target.
Map the existing light surface roles
Name the canvas, card, overlay, text, and chart roles before choosing dark values.
Prompt · Step 1Use dark-mode-design to inspect [report dashboard and light theme file]. Trace the page, card, modal and tooltip surface roles plus each foreground and chart series they render. Identify current system and manual theme behavior, and any artwork needing a dark variant. Report roles and references before proposing color changes.Propose a dark surface hierarchy
Use semantic aliases and adjust highlights against actual dark surfaces.
Prompt · Step 2Use dark-mode-design to adapt [approved light dashboard palette]. Use the current dark-theme selector and semantic tokens. Keep the canvas darkest and distinguish higher card and overlay surfaces with appropriate lighter values. Rebalance bright accents, status colors, borders, and readable text. Keep existing chart semantics and use an alternate image only where available and appropriate. Show the proposed changes by role.Measure the dark dashboard in context
Compare people’s actual reading and interaction states on dark surfaces.
- Cards and overlays are distinguishable from their underlying surfaces.
- Text contrast uses the actual dark background.
Prompt · Step 3Use dark-mode-design to verify [approved dark palette] on [local dashboard]. Inspect the selected report, tooltip and modal together, measure text against its actual rendered backgrounds, and check status labels and chart legends stay distinguishable. Test prefers-color-scheme and the explicit toggle if present, and check imagery in dark appearance. Record actual measured pairs, device and remaining unverified states.
Find the relevant rule
Point the assistant to the installed Skill and a specific issue.
Modal and card look like the same layerReference
- Command or reference
SKILL.md · Surface Hierarchy (Dark Mode)- Examples
- Trace both surface roles and compare their actual computed appearance.
Chart colors are too bright in the darkReference
- Command or reference
SKILL.md · Color Adaptation- Examples
- Adjust the affected accents while preserving the series’ meaning and labels.
Dark Mode Design troubleshooting
Do I need to build a new design token system for dark mode?
Adapt the existing light roles through the project’s semantic token mapping where supported. This skill focuses on the palette and surfaces.