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

shade-no-dark-variants

하는 일

이 스킬은 Shade 기반 인터페이스에서 다크 모드를 다루는 방법을 AI 에이전트에게 알려 줍니다. 밝은 테마와 어두운 테마 모두에서 화면이 올바르게 보이기를 원하는 개발자에게 맞습니다.

사용하는 경우

  • ✓Shade 인터페이스에 다크 모드 클래스를 작성하거나 검토할 때.
  • ✓화면이 다크 모드에서만 잘못 보일 때.
  • ✓어두운 색상 클래스가 필요한지 확신이 없을 때.

스킬 링크

https://github.com/TryGhost/Ghost/blob/main/apps/shade/skills/shade-no-dark-variants/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-no-dark-variants/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분.

작동 방식

에이전트는 모든 다크 모드 색상 클래스를 찾아, 테마에 따라 자동으로 바뀌는 Shade의 시맨틱 토큰으로 바꿉니다. 문서에 나온 몇 가지 예외에서만 다크 클래스를 유지합니다.

기술 내용 (원본 SKILL.md)

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

  1. Find every dark: class in the code you're writing or reviewing.
  2. For each one that sets a colour, follow the three fix steps in Dark mode. Pick the replacement token with shade-tokens-not-hex.
  3. Keep a dark: class only when it matches an exception that section names.
  4. 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.
자주 묻는 질문

별도의 어두운 색상 클래스를 피해야 하는 이유는 무엇인가요?

Shade의 시맨틱 토큰이 이미 두 테마를 모두 처리하므로, 스킬은 별도의 다크 클래스보다 토큰을 선호합니다.

예외가 있나요?

네. 문서에는 다크 클래스를 여전히 허용하는 몇 가지 경우가 나와 있습니다.

변경 후 무엇을 확인해야 하나요?

스킬은 바뀐 화면을 밝은 테마와 어두운 테마 모두에서 보라고 합니다.

상세 정보

작성자의 원본 설명

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

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬