Install any skill in seconds. Free to start, no credit card required.
Get Started Free →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.
.claude/skills/mengto-glass-dark-ui/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-02 | ✗→✓ | ▲ Improved | 24% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 19% | 0% |
| case-19 | ✗→✓ | ▲ Improved | 55% | 0% |
| case-01 | ✓→✓ | = Same ✓ | 28% | 0% |
| case-04 | ✓→✓ | = Same ✓ | 43% | 0% |
HTML/CSS, Tailwind, or React) and target surface (hero, dashboard, modal, card).backdrop-filter, transparent dark fill, and subtle inner highlight..border-gradient::before) to key surfaces.Use these as defaults and tune per brand.
css: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; }
css.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%); }
css.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; }
html<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>
#cbd5e1 on dark glass surfaces.outline or bright border state).--glass-fill-strong).| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | pass→pass | 18,646 | 18,067 | -3% | 1 | 1 | 0% | 4,529 | 5,810 | +28% | 0 | 0 | — |
case-02 | fail→pass | 17,400 | 16,701 | -4% | 1 | 1 | 0% | 3,899 | 4,829 | +24% | 0 | 0 | — |
case-03 | fail→pass | 14,804 | 12,706 | -14% | 1 | 1 | 0% | 3,308 | 3,928 | +19% | 0 | 0 | — |
case-04 | pass→pass | 10,921 | 10,352 | -5% | 1 | 1 | 0% | 2,072 | 2,961 | +43% | 0 | 0 | — |
case-05 | pass→pass | 12,707 | 8,787 | -31% | 1 | 1 | 0% | 2,501 | 2,739 | +10% | 0 | 0 | — |
case-06 | pass→pass | 9,266 | 10,489 | +13% | 1 | 1 | 0% | 1,737 | 3,066 | +77% | 0 | 0 | — |
case-07 | pass→pass | 12,149 | 10,222 | -16% | 1 | 1 | 0% | 2,320 | 2,990 | +29% | 0 | 0 | — |
case-08 | pass→pass | 10,023 | 8,805 | -12% | 1 | 1 | 0% | 2,176 | 2,784 | +28% | 0 | 0 | — |
case-09 | pass→pass | 11,658 | 8,915 | -24% | 1 | 1 | 0% | 2,337 | 2,834 | +21% | 0 | 0 | — |
case-10 | pass→pass | 13,690 | 9,533 | -30% | 1 | 1 | 0% | 2,599 | 2,947 | +13% | 0 | 0 | — |
case-11 | pass→pass | 14,550 | 10,031 | -31% | 1 | 1 | 0% | 2,583 | 2,770 | +7% | 0 | 0 | — |
case-12 | pass→pass | 9,494 | 7,134 | -25% | 1 | 1 | 0% | 1,768 | 2,327 | +32% | 0 | 0 | — |
case-13 | pass→pass | 9,712 | 8,200 | -16% | 1 | 1 | 0% | 2,060 | 2,576 | +25% | 0 | 0 | — |
case-14 | pass→pass | 11,780 | 9,249 | -21% | 1 | 1 | 0% | 2,372 | 2,840 | +20% | 0 | 0 | — |
case-15 | pass→pass | 10,924 | 9,885 | -10% | 1 | 1 | 0% | 2,032 | 3,048 | +50% | 0 | 0 | — |
case-16 | pass→pass | 12,137 | 9,656 | -20% | 1 | 1 | 0% | 2,389 | 2,998 | +25% | 0 | 0 | — |
case-17 | pass→pass | 12,696 | 12,117 | -5% | 1 | 1 | 0% | 2,028 | 3,163 | +56% | 0 | 0 | — |
case-18 | pass→pass | 9,061 | 7,861 | -13% | 1 | 1 | 0% | 1,634 | 2,528 | +55% | 0 | 0 | — |
case-19 | fail→pass | 6,259 | 1,841 | -71% | 1 | 1 | 0% | 886 | 1,371 | +55% | 0 | 0 | — |
case-20 | pass→pass | 11,182 | 10,431 | -7% | 1 | 1 | 0% | 2,203 | 3,136 | +42% | 0 | 0 | — |
case-21 | pass→pass | 14,238 | 13,048 | -8% | 1 | 1 | 0% | 3,044 | 3,956 | +30% | 0 | 0 | — |
case-22 | pass→pass | 14,382 | 15,497 | +8% | 1 | 1 | 0% | 3,064 | 4,620 | +51% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +14 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.