shade-tokens-not-hex
What it does
This skill tells an AI agent to pick colors for an interface from Shade's named tokens rather than fixed color codes. It is for developers who want their screens to stay consistent with Ghost's design.
When to use it
- ✓When you choose colors for backgrounds, text, borders, or hover states.
- ✓When you are reviewing an interface for hard-coded color values.
- ✓When you need a color for a case that no standard token covers.
Skill link
https://github.com/TryGhost/Ghost/blob/main/apps/shade/skills/shade-tokens-not-hex/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
“I want to color the background and borders of my card in my Ghost app, using the proper design tokens.”
5 new skills a week. 1 minute to read.
How it works
The agent names the job each color does, looks up the matching semantic token, and writes it in the form the docs show. It uses a raw token only where the docs allow.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Shade tokens, not hex
Every colour on a Ghost screen comes from a Shade token. The rules live in Tokens.
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
- Name the job of each colour you're about to write: canvas, surface, floating menu, text, border, form control, hover, destructive or focus.
- Look the job up in Common semantic tokens. Choose between close candidates with Surface elevation, Interactive surfaces and Form control borders.
- Write it the way Rules of consumption shows, in classes and in stylesheets.
- When no semantic token fits, Two flavours and Source files say what to use instead.
Self-check
- Every colour, border and hover in your diff is a semantic token, or a raw token for a case the docs allow.
- The screen looks right in both light and dark mode. For any
dark:class, runshade-no-dark-variants.
FAQ
Why use tokens instead of hex codes?
Tokens keep colors consistent across the design system, and semantic tokens also adjust to the active theme.
What if no token fits?
The docs describe how to use another kind of token or source file for that case.
How does it check my work?
Its self-check asks that every color in your changes be a semantic token, or a raw token the docs allow.
Details
Original description by the author
Colour Ghost UI with Shade's semantic tokens. Use when choosing colours or styling UI, including surfaces, text, borders and hover states.
repo: TryGhost/Ghost
Popularity
- GitHub stars
- 56k
- Ranking position
- #3286
- 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.