shade-no-dark-variants
यह क्या करती है
यह स्किल AI एजेंट को बताती है कि Shade आधारित इंटरफ़ेस में dark mode कैसे संभालें। यह उन डेवलपर्स के लिए है जो चाहते हैं कि उनकी स्क्रीन light और dark दोनों थीम में सही दिखें।
कब इस्तेमाल करें
- ✓जब आप Shade इंटरफ़ेस में dark mode की classes लिखते या जाँचते हैं।
- ✓जब कोई स्क्रीन सिर्फ़ dark mode में गलत दिखती है।
- ✓जब आप पक्का नहीं कि कोई dark रंग class चाहिए या नहीं।
Skill का लिंक
https://github.com/TryGhost/Ghost/blob/main/apps/shade/skills/shade-no-dark-variants/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे Ghost ऐप की एक स्क्रीन सिर्फ़ dark mode में गलत दिखती है, और मैं इसे सही तरीके से ठीक करना चाहता हूँ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट dark-mode वाली रंग classes ढूँढता है और उन्हें Shade के semantic tokens से बदलता है, जो अपने-आप थीम के बीच बदलते हैं। सिर्फ़ दस्तावेज़ में बताए गए कुछ अपवादों के लिए वह dark class रखता है।
तकनीकी सामग्री (मूल 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
- 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.
अक्सर पूछे जाने वाले सवाल
अलग dark रंग classes से क्यों बचें?
Shade के semantic tokens दोनों थीम संभाल लेते हैं, इसलिए स्किल उन्हें अलग dark classes से बेहतर मानती है।
क्या कोई अपवाद हैं?
हाँ। दस्तावेज़ कुछ मामलों की सूची देते हैं, जहाँ dark class अब भी अनुमत है।
बदलाव के बाद मुझे क्या जाँचना चाहिए?
स्किल कहती है कि बदली हुई स्क्रीन को light और dark दोनों थीम में देखें।
जानकारी
लेखक का मूल विवरण
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
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
tinybird-cli-guidelines
56kस्थानीय विकास, branch काम, build, deploy और डेटा संभालने के लिए आपके एजेंट को Tinybird CLI कमांड में मार्गदर्शन देती है।
tinybird
56kआपके एजेंट को datasources, pipes, endpoints और materialized views के लिए Tinybird फ़ाइल फ़ॉर्मेट, SQL नियम और प्रदर्शन के तरीके सिखाती है।
build-ghost-app
56kआपके एजेंट को Vite और React से Ghost ऐप बनाने, उसे Ghost Admin से जोड़ने, और उसका manifest और install लिंक सेट करने में मदद करती है।
build-ghost-app-ui
56kआपके एजेंट को Ghost के डिज़ाइन सिस्टम Shade से Ghost ऐप की स्क्रीन बनाने में मदद करती है, और उसे सही दस्तावेज़ और स्किल की ओर भेजती है।
मिलती-जुलती skills
canvas
394kयह आपके एजेंट को जुड़े Mac पैनल पर होस्टेड विज़ुअल विजेट दिखाने, पैनल छिपाने या उसे दूसरे पेज पर ले जाने देती है।
control-ui
394kयह आपके एजेंट को OpenClaw Control UI को व्यवस्थित करने और उसमें आने वाली दिक्कतें सुलझाने में मदद करती है, जिसमें सेशन, डैशबोर्ड और जुड़े Gateway शामिल हैं।
diagram-maker
394kयह आपके एजेंट को प्रक्रियाओं, सिस्टम आर्किटेक्चर और व्हाइटबोर्ड स्केच के लिए SVG, HTML या संपादन योग्य Excalidraw फ़ाइलों में साफ़ डायग्राम बनाने में मदद करती है।