मुख्य सामग्री पर जाएँ
Skillpedia
वेबसाइट और UI (frontend)7.2k · #13434

glass-dark-ui

यह क्या करती है

यह स्किल एजेंट को गहरी ग्लासमॉर्फ़िज़्म इंटरफ़ेस के कोड पैटर्न देती है, जिनमें धुंधले पैनल और चमकते किनारे हों। यह उन वेब बनाने वालों के लिए है जिन्हें धुंधले गहरे कार्ड चाहिए जो फिर भी पढ़ने में आसान हों।

कब इस्तेमाल करें

  • ✓जब आपको काँच वाले कार्ड या धुंधले गहरे हीरो सेक्शन चाहिए।
  • ✓जब डैशबोर्ड या मोडल पर धुंधले पैनल चाहिए, जिनका किनारा हल्का चमके।
  • ✓जब धुंध वाले प्रभावों के ऊपर भी टेक्स्ट साफ़ पढ़ा जाना चाहिए।

Skill का लिंक

https://github.com/MengTo/Skills/blob/main/agent-skills/web-design/glass-dark-ui/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

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

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

AI से क्या माँगें: उदाहरण

“मेरे प्राइसिंग सेक्शन के लिए धुंधला गहरा कार्ड बनाइए, जिसमें नरम चमकता बॉर्डर हो और टेक्स्ट साफ़ पढ़ा जाए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट कुछ कलर टोकन सेट करता है, फिर अर्ध-पारदर्शी गहरे भराव, बैकग्राउंड ब्लर और पतली हाइलाइट वाले पैनल बनाता है। मुख्य सतहों पर मास्क वाला ग्रेडिएंट बॉर्डर जोड़ा जाता है, और मोबाइल पर कंट्रास्ट की जाँच की जाती है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Glass Dark UI Skill

Workflow

  1. Confirm environment (HTML/CSS, Tailwind, or React) and target surface (hero, dashboard, modal, card).
  2. Define dark UI tokens first (background, glass fill, border glow, primary text, muted text).
  3. Build frosted panels with backdrop-filter, transparent dark fill, and subtle inner highlight.
  4. Apply the masked gradient border (.border-gradient::before) to key surfaces.
  5. Add restrained depth (shadow + glow) and clear hover/focus states.
  6. Validate contrast and mobile behavior before finalizing.

Base Tokens

Use these as defaults and tune per brand.

:root {
  --bg-0: #020617;
  --bg-1: #0b1220;
  --glass-fill: rgba(15, 23, 42, 0.45);
  --glass-fill-strong: rgba(15, 23, 42, 0.62);
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --accent: #60a5fa;
}

Glass Panel Pattern

.glass-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  background-color: var(--glass-fill);
  border-radius: 24px;
  box-shadow: 0 20px 48px rgba(2, 6, 23, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

Border Gradient Pattern

.border-gradient {
  position: relative;
}

.border-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  background: linear-gradient(
    145deg,
    rgba(148, 163, 184, 0.28) 0%,
    rgba(96, 165, 250, 0.36) 45%,
    rgba(168, 85, 247, 0.3) 70%,
    rgba(148, 163, 184, 0.18) 100%
  );
  pointer-events: none;
}

Tailwind Usage Pattern

<section class="relative rounded-3xl border-gradient bg-slate-950/45 backdrop-blur-xl p-8 shadow-[0_20px_48px_rgba(2,6,23,0.45),inset_0_1px_0_rgba(255,255,255,0.12)]">
  <h2 class="text-slate-100 text-2xl font-semibold">Frosted Panel</h2>
  <p class="text-slate-400 mt-2">Dark glass card with masked gradient border.</p>
</section>

Dark Mode Checklist

  • Keep body text at least #cbd5e1 on dark glass surfaces.
  • Avoid pure black overlays over blur; use deep navy/charcoal alpha instead.
  • Limit glow radius/intensity to preserve readability.
  • Ensure focus rings are visible (outline or bright border state).
  • Add fallback for non-blur environments: stronger solid background (--glass-fill-strong).

Common Requests This Skill Should Handle

  • "Create a dark glass hero section with glowing border cards."
  • "Convert this bright UI to dark glassmorphism without losing contrast."
  • "Add border gradient glow to a frosted navbar/card/modal."
  • "Make my dark dashboard feel premium with glass panels and subtle depth."
अक्सर पूछे जाने वाले सवाल

क्या ब्लर पढ़ने की क्षमता को नुकसान पहुँचाएगा?

स्किल कहती है कि पूरा करने से पहले कंट्रास्ट और मोबाइल व्यवहार जाँचें, ताकि टेक्स्ट पढ़ा जा सके।

क्या यह Tailwind के साथ काम करता है?

हाँ। स्किल सादे HTML और CSS, Tailwind या React को संभावित सेटअप के रूप में बताती है।

ग्रेडिएंट बॉर्डर क्या है?

एक पतली ग्रेडिएंट रूपरेखा, जो pseudo-element मास्क से बनती है, ताकि रंग सिर्फ़ किनारे पर दिखे।

जानकारी

लेखक का मूल विवरण

Build dark-mode glassmorphism interfaces with readable contrast, frosted surfaces, and gradient borders using a pseudo-element mask. Use when asked for glass cards, frosted dark hero sections, blur panels, or dark UI systems with gradient/glow borders.

repo: MengTo/Skills

लोकप्रियता

GitHub स्टार
7.2k
रैंकिंग में स्थान
#13434
लाइसेंस
MIT
अपडेट की गई
1/11/2026

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

0

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

कमेंट

  • …

इस repository की और skills

3d-cloth-material

7.2k

आपके एजेंट को Three.js में असली बुने हुए कपड़े जैसा दिखने वाला मटीरियल बनाने में मदद करती है, जिसमें धागों की बुनाई, हल्की चमक, प्राकृतिक सिलवटें, किनारे और सीवन हों।

कोडिंगवेबसाइट और UI (frontend)

3d-falling-leaves

7.2k

आपके एजेंट को 3D दृश्य में असली लगने वाली गिरती पत्तियाँ जोड़ने देती है, जो लुढ़कती हैं, हवा के साथ बहती हैं और कैमरा हिलने पर दोबारा इस्तेमाल होती हैं।

कोडिंगवेबसाइट और UI (frontend)

3d-four-seasons

7.2k

आपके एजेंट को 3D दृश्य में वसंत, गर्मी, शरद और सर्दी के रूप जोड़ने देती है, जिसमें हरियाली, रोशनी, आसमान और बर्फ़ बिना दृश्य दोबारा बनाए बदलते हैं।

कोडिंगवेबसाइट और UI (frontend)

3d-high-poly-models

7.2k

आपके एजेंट को चिकने आकार और विश्वसनीय किनारों वाले विस्तृत 3D मॉडल बनाने देती है, और फिर वेब पर अच्छे चलने वाले हल्के संस्करण तैयार करती है।

कोडिंगवेबसाइट और UI (frontend)

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