मुख्य सामग्री पर जाएँ
Skillpedia
इंटरफ़ेस (UI/UX)56k · #3283

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 पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/TryGhost/Ghost/blob/main/apps/shade/skills/shade-no-dark-variants/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

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

  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.
अक्सर पूछे जाने वाले सवाल

अलग 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

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills