Frontend
Dark Mode
Implements accessible light, dark and system-aware themes with durable tokens and a no-flash startup.
What it does
Implements accessible light, dark and system-aware themes with durable tokens and a no-flash startup.
When to use it
Use for dark mode toggles, theme switches, or auditing an existing multi-theme interface for contrast and flicker.
Problems it prevents
Stops the flash of the wrong theme on load, and colour tokens that quietly fail contrast once inverted.
Typical workflow
- Define durable colour tokens
- Implement no-flash theme startup
- Persist user preference
- Verify contrast in both themes
Example output
A theme switch with zero flash on load and every token re-checked for contrast in the inverted palette.
What's included
- 01The complete prompt
The full manual as a ready-to-save SKILL.md file, matched exactly to what ships in the T7 library.
- 02Install walkthrough
Personal (~/.claude/skills/) and project (.claude/skills/) folder instructions, whichever fits how you work.
- 03Use notes
How Claude invokes it, what a good result looks like, and what to check before you trust the output.
Installation
Save the manual as SKILL.md in ~/.claude/skills/dark-mode/ to use it on every project, or in .claude/skills/dark-mode/ to scope it to one repository. Then invoke it directly:
/dark-modeWorks well with
Recommended bundle
Save by bundling
Get Dark Mode as part of Brand Builder: five skills that work together as one toolkit, for £1.96 less than buying all five separately.
