deck-graphify-dark
Midnight gradient + floating orbs + SVG force-directed graph + JetBrains Mono
1How It Works & Mechanism
The cover consists of three superimposed layers: a 160° midnight gradient background (#08080f → #0e1020 → #08080f) + three blurred glowing orbs + an SVG connected graph layer, all implemented in CSS/SVG without requiring external image assets.
.tpl-graphify-dark-graph .slide{background:linear-gradient(160deg,#08080f,#0e1020 50%,#08080f);color:var(--gd-text);padding:64px 88px;overflow:hidden}
The 'floating orbs' are implemented with radial-gradient circles + filter:blur(110px) + 22s ease-in-out alternating animations (staggered delays across three orbs): pure CSS animations with no canvas and no WebGL.
.tpl-graphify-dark-graph .gd-orb{position:absolute;border-radius:50%;filter:blur(110px);opacity:.35;animation:gdDrift 22s ease-in-out infinite alternate}
The 'SVG force-directed graph' is actually a static SVG with manually positioned coordinates (lines and circles with fixed x/y, though comments claim 'live force-directed'), with no layout calculations in the file: the force-directed layout is purely a visual aesthetic.
<!-- live force-directed graph bg -->
The 'rainbow gradient title' is achieved via an 8-stop linear-gradient + background-clip:text + a 4s linear animation rotating the 200% background, keeping the text itself transparent to showcase only the gradient.
.tpl-graphify-dark-graph .gd-rainbow{background:linear-gradient(90deg,#ff0080,#ff4d00,#ff9900,#ffe600,#00c853,#0091ea,#6200ea,#ff0080);background-size:200% auto;-webkit-background-clip:text;-webkit-text-fill-color:transparent;animation:gdRainbow 4s linear infinite}
'Glassmorphism card slide' = 3% semi-transparent white background + 10% 1px white border + backdrop-filter:blur(20px) saturate(160%) + top 50% gradient highlight + inner stroke shadow.
.tpl-graphify-dark-graph .gd-glass{position:relative;overflow:hidden;border-radius:20px;padding:22px 26px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.1);backdrop-filter:blur(20px) saturate(160%);box-shadow:0 8px 32px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.08)}
CLI command presentation = JetBrains Mono 32px green text + dual-layer text-shadow (30px / 60px) creating a neon glow, serving as the core visual prop for the 'dev tool launch' aesthetic.
.tpl-graphify-dark-graph .gd-cmd{font-family:'JetBrains Mono',monospace;font-size:32px;font-weight:700;color:var(--gd-green);text-shadow:0 0 30px rgba(126,211,164,.45),0 0 60px rgba(126,211,164,.15);letter-spacing:-.01em}
8 slide templates in the example: COVER / SECTION DIVIDER / CONTENT (plugin grid) / CODE / CHART (race diagram) / PIPELINE / CTA / THANKS; desktop grids use gd-grid-3 and gd-grid-4 for three-column and four-column layouts.
<!-- 5. CHART — race diagram -->
Runtime is handled entirely by the host: the template directory contains zero executable files, and the prompt is assembled by assemblePrompt before being passed to the local agent CLI for execution.
import { spawn, type ChildProcessWithoutNullStreams } from "node:child_process";
2Core Capabilities
3External Dependencies
| Kind | Dependency / Endpoint |
|---|---|
| network | Google Fonts(JetBrains Mono / Inter / Noto Sans SC / Space Grotesk) |
| network | 宿主共享指令声明的 Tailwind CDN(宿主侧要求,非本模板要求) |
4Recommended Governance & Evidence
- SKILL.md: Pure prompt instructions and rule text; no script execution or external impact.
5Second-Pass Verification
- [discrepancy] 「SVG 力导向图谱」是否真为力导向布局 — 否。示例是手摆固定坐标的 <line>/<circle>(如 <line x1="300" y1="200" x2="520" y2="340"/>),文件内没有 d3-force / requestAnimationFrame / 任何布局计算,注释 <!-- live force-directed graph bg --> 属描述性夸张(视觉上是「无序连线 + 节点」的图谱造型)。对产出无实际影响,但描述与实现不符。
- [ok] 「漂浮 orbs」是否真是动画 — gd-orb 带 filter:blur(110px) 与 animation:gdDrift 22s ease-in-out infinite alternate,三球错开 delay(gd-orb-2 / gd-orb-3 各有 animation-delay)。
- [ok] 「彩虹渐变标题」是否存在 — gd-rainbow 的 8 段色标 + background-clip:text + gdRainbow 4s 动画。
- [ok] 「Glassmorphism 卡片」是否有真实现 — gd-glass 使用 backdrop-filter:blur(20px) saturate(160%) 与半透明描边、内高光。
- [ok] 目录内是否有脚本 / 网络调用 / 凭证读取 — 目录仅 SKILL.md + example.html;<script> 计数 0;无 fetch/XHR/env/写盘代码;无凭证读取。
- [ok] SKILL.md 是否要求运行时外链 — SKILL.md 只列色值与页型(无 URL);字体 @import 属 example.html(产物示例)。
- [ok] pin commit 与路径 — HEAD = 553ed98c283f9c0f489902d035416a972d6a9699;skill.path = next/src/lib/templates/skills/deck-graphify-dark,含 SKILL.md。
- [ok] README 收录一致性 — README deck 表列出 deck-graphify-dark(Dark, data-graphic-heavy deck),与目录内容相符。
6Verdict & Scenarios
a286c3d514e66d5b…