shade-no-dark-variants
What it does
This skill tells an AI agent how to handle dark mode in Shade-based interfaces. It is for developers who want their screens to look right in both light and dark themes.
When to use it
- ✓When you write or review dark mode classes in a Shade interface.
- ✓When a screen looks wrong only in dark mode.
- ✓When you are unsure whether a dark color class is needed.
Skill link
https://github.com/TryGhost/Ghost/blob/main/apps/shade/skills/shade-no-dark-variants/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“My Ghost app screen looks wrong only in dark mode, and I want to fix it the proper way.”
5 new skills a week. 1 minute to read.
How it works
The agent finds any dark-mode color classes and swaps them for Shade's semantic tokens, which switch between themes automatically. It keeps a dark class only for the few documented exceptions.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Shade no dark variants
Shade's semantic tokens carry both themes. The rules, the fix and the exceptions live in Tokens: Dark mode.
Docs links use https://shade.ghost.org. If the project's AGENTS.md says
where Shade's docs are (another address, or a source folder), use that
instead. Fetch web pages with curl -s.
Workflow
- Find every
dark:class in the code you're writing or reviewing. - For each one that sets a colour, follow the three fix steps in
Dark mode. Pick the replacement token
with
shade-tokens-not-hex. - Keep a
dark:class only when it matches an exception that section names. - When debugging a dark-mode-only problem, change the token rather than adding a variant.
Self-check
- Each remaining
dark:class is one of the documented exceptions. - You viewed the changed screen in both themes.
FAQ
Why avoid separate dark color classes?
Shade's semantic tokens already handle both themes, so the skill favors them over separate dark classes.
Are there any exceptions?
Yes. The docs list a few cases where a dark class is still allowed.
What should I check after a change?
The skill says to view the changed screen in both light and dark themes.
Details
Original description by the author
Make dark mode work through Shade's semantic tokens. Use when writing or reviewing `dark:` classes, or when something looks wrong only in dark mode.
repo: TryGhost/Ghost
Popularity
- GitHub stars
- 56k
- Ranking position
- #3283
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
tinybird-cli-guidelines
56kGuides your agent through Tinybird CLI commands for local development, branch work, building, deploying, and managing data.
tinybird
56kTeaches your agent Tinybird file formats, SQL rules, and performance patterns for datasources, pipes, endpoints, and materialized views.
build-ghost-app
56kHelps your agent build a Ghost app with Vite and React, connect it to Ghost Admin, and set up its manifest and install link.
build-ghost-app-ui
56kHelps your agent build the screens of a Ghost app with Shade, Ghost's design system, and points it to the right docs and skills.
Similar skills
canvas
394kLets your agent show a hosted visual widget on a connected Mac panel, then hide the panel or move it to another page.
control-ui
394kHelps your agent organize and troubleshoot the OpenClaw Control UI, including sessions, dashboards, and connected Gateways.
diagram-maker
394kHelps your agent create clear diagrams as SVG, HTML, or editable Excalidraw files for processes, system architecture, and whiteboard sketches.