본문으로 건너뛰기
Skillpedia
인터페이스 (UI/UX)56k · #3286

shade-tokens-not-hex

하는 일

이 스킬은 AI 에이전트가 인터페이스의 색을 고정된 색 코드 대신 Shade의 이름 있는 토큰에서 고르도록 합니다. Ghost의 디자인과 화면의 일관성을 유지하려는 개발자에게 맞습니다.

사용하는 경우

  • ✓배경, 텍스트, 테두리, 호버 상태의 색을 고를 때.
  • ✓인터페이스에서 하드코딩된 색상 값이 있는지 검토할 때.
  • ✓표준 토큰으로 다루지 않는 경우에 쓸 색이 필요할 때.

스킬 링크

https://github.com/TryGhost/Ghost/blob/main/apps/shade/skills/shade-tokens-not-hex/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/TryGhost/Ghost/blob/main/apps/shade/skills/shade-tokens-not-hex/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 Ghost 앱 카드의 배경과 테두리 색을 올바른 디자인 토큰으로 지정해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 각 색이 맡은 역할을 정하고, 맞는 시맨틱 토큰을 찾아 문서에 나온 형식으로 씁니다. 문서가 허용하는 경우에만 원시 토큰을 씁니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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

  1. Name the job of each colour you're about to write: canvas, surface, floating menu, text, border, form control, hover, destructive or focus.
  2. Look the job up in Common semantic tokens. Choose between close candidates with Surface elevation, Interactive surfaces and Form control borders.
  3. Write it the way Rules of consumption shows, in classes and in stylesheets.
  4. 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, run shade-no-dark-variants.
자주 묻는 질문

왜 hex 코드 대신 토큰을 쓰나요?

토큰은 디자인 시스템 전체에서 색을 일관되게 유지하며, 시맨틱 토큰은 활성 테마에 따라 자동으로 조정됩니다.

맞는 토큰이 없으면 어떻게 하나요?

문서에는 그런 경우를 위해 다른 종류의 토큰이나 소스 파일을 쓰는 방법이 나와 있습니다.

작업을 어떻게 점검하나요?

자체 점검은 변경 사항의 모든 색이 시맨틱 토큰이거나, 문서가 허용한 원시 토큰인지 묻습니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
56k
순위
#3286
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬