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

  1. Define durable colour tokens
  2. Implement no-flash theme startup
  3. Persist user preference
  4. 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

  1. 01
    The complete prompt

    The full manual as a ready-to-save SKILL.md file, matched exactly to what ships in the T7 library.

  2. 02
    Install walkthrough

    Personal (~/.claude/skills/) and project (.claude/skills/) folder instructions, whichever fits how you work.

  3. 03
    Use 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-mode

Read the official Claude Code skills guide

Works well with

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.

View Brand Builder (£9.49)