Shade tokens not hex

From TryGhost/Ghost · View interactive version

Shade tokens not hex is an AI agent skill from the GitHub repository TryGhost/Ghost. Colour Ghost UI with Shade's semantic tokens. Use when choosing colours or styling UI, including surfaces, text, borders and hover states.

How to use this skill

Skill file

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

  1. Name the job of each colour you're about to write: canvas, surface,

floating menu, text, border, form control, hover, destructive or focus.

  1. Look the job up in

Common semantic tokens.

Choose between close candidates with

Surface elevation,

Interactive surfaces and

Form control borders.

  1. Write it the way

Rules of consumption shows,

in classes and in stylesheets.

  1. When no semantic token fits, Two flavours

and Source files say what to use

instead.

Self-check

token for a case the docs allow.

run CODE0.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.