ve-midnight-editorial
它能做什么
这个插件可以制作一种优雅、有电影感的演示文稿,采用深色和金色配色。它规定了文字和元素在屏幕上的呈现方式,幻灯片之间还有流畅的切换效果。
适用场景
- ✓制作一份专业且有冲击力的演示文稿。
- ✓清晰、直观且有吸引力地展示财务或商业数据。
- ✓制作有独特风格的营销或企业宣传材料。
技能链接
https://github.com/nexu-io/open-design/blob/main/plugins/_official/examples/ve-midnight-editorial/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“使用“midnight-editorial”主题,做一份关于上季度财务业绩的演示文稿。”
每周 5 个新技能,1 分钟读完。
工作原理
它的原理是为每个演示元素预先定义一套固定的颜色、字体和样式。幻灯片切换带有动画效果,呈现出专业的观感。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Midnight Editorial(午夜金辉)
A single-aesthetic deck plugin: the midnight-editorial preset from the
upstream MIT-licensed
nicobailon/visual-explainer
skill (templates/slide-deck.html), pinned and shipped as one self-contained
seed — example.html. The upstream mermaid diagram slide has been replaced by
a pure CSS/SVG pipeline page; the deck has zero external JS dependencies
(Google Fonts @import is the only external reference).
Signature combination (what makes this skin this skin):
- Deep navy + warm gold —
#0f1729page,#d4a73aaccent, parchment text#e8e4d8. Cinematic, magazine-grade, dramatic. - Serif display → mono label drop — Instrument Serif at up to 120px
(
clamp(48px,10vw,120px), weight 400, -2px tracking, 0.95 line-height) falling directly to 13–14px uppercase JetBrains Mono labels with 1.5px letter-spacing. No intermediate sans anywhere. - Gold radial accent glow — every content slide carries one
radial-gradient(ellipse at X% Y%, var(--accent-dim) 0%, transparent ~40%)inline background, with the ellipse anchor moving per slide. - Gold SVG corner marks + ghost numerals — 2px gold corner line marks at
opacity 0.15 on the title slide; dividers carry a ghost
clamp(100px,22vw,260px)gold numeral at opacity 0.06. - Cinematic staggered transitions — slides enter with
fade + translateY(40px) + scale(0.98)oncubic-bezier(0.16,1,0.3,1);.revealchildren stagger at 0.1s increments (max 6). - SlideEngine dual theme — explicit dark/light toggle (T key + ◐ chrome
button,
html[data-theme]), defaulting to the OS preference. The light mode is a locked cream/gold skin, not an afterthought.
Start from example.html. Replace content only — never rewrite the design
system or the runtime script, and never introduce colors or fonts outside the
token sheets below.
Locked token sheet — dark (default)
:root {
--font-body: 'Instrument Serif', Georgia, serif;
--font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
--bg: #0f1729;
--surface: #162040;
--surface2: #1d2b52;
--surface-elevated: #243362;
--border: rgba(200, 180, 140, 0.08);
--border-bright: rgba(200, 180, 140, 0.16);
--text: #e8e4d8;
--text-dim: #9a9484;
--accent: #d4a73a;
--accent-dim: rgba(212, 167, 58, 0.1);
--code-bg: #0a0f1e;
--code-text: #d4d0c4;
--green: #4ade80; --green-dim: rgba(74, 222, 128, 0.1);
--red: #f87171; --red-dim: rgba(248, 113, 113, 0.1);
--blue: #60a5fa; --blue-dim: rgba(96, 165, 250, 0.1);
}
Locked token sheet — light (html[data-theme="light"])
html[data-theme="light"] {
--bg: #faf8f2;
--surface: #ffffff;
--surface2: #f5f0e6;
--surface-elevated: #fffdf5;
--border: rgba(30, 30, 50, 0.08);
--border-bright: rgba(30, 30, 50, 0.16);
--text: #1a1814;
--text-dim: #6e685c;
--accent: #b8860b;
--accent-dim: rgba(184, 134, 11, 0.08);
--code-bg: #2a2520;
--code-text: #e8e4d8;
--green: #16a34a; --green-dim: rgba(22, 163, 74, 0.08);
--red: #dc2626; --red-dim: rgba(220, 38, 38, 0.08);
--blue: #2563eb; --blue-dim: rgba(37, 99, 235, 0.08);
}
The same light block is mirrored under
@media (prefers-color-scheme: light) { html:not([data-theme]) { … } } as a
no-JS fallback. Both themes are part of the contract — every slide you
author must read correctly in both. Semantic colors (--green/--red/--blue)
are for status only (trends, before/after labels, diagram node families) —
never decorative.
Fonts (locked — Google Fonts @import only)
| Slot | Font | Usage |
|---|---|---|
--font-body |
Instrument Serif (400 + italic), Georgia fallback | display, headings, body, KPI values, quotes |
--font-mono |
JetBrains Mono 400/500/600/700 | labels, subtitles, counters, axis/edge labels, code |
No third font. No bold serif — drama comes from size, not weight.
Typography scale (locked)
| Element | Spec |
|---|---|
.slide__display |
clamp(48px,10vw,120px), 400, -2px, lh 0.95, gold on title |
.slide__heading |
clamp(28px,5vw,48px), 400, -0.5px, lh 1.15 |
.slide__body |
clamp(16px,2.2vw,22px), lh 1.6, --text-dim |
.slide__subtitle |
mono clamp(12px,1.5vw,18px), uppercase, 1px tracking |
.slide__label |
mono clamp(10px,1.2vw,13px), 600, uppercase, 1.5px, gold |
| Divider ghost numeral | clamp(100px,22vw,260px), opacity 0.06, gold |
…
常见问题
我可以更改颜色吗?
主要颜色是固定的,以保持“midnight-editorial”的风格。你可以用语义颜色(绿色、红色、蓝色)来表示状态,但不能用来做一般性的装饰。
使用它需要会编程吗?
不需要。你只需要替换示例文件中的现有内容。设计和动画已经设置好了。
我可以使用任意字体吗?
不可以。插件只使用两种特定字体:标题和正文使用“Instrument Serif”,标签和说明文字使用“JetBrains Mono”。这样可以保证视觉风格统一。
详情
作者的原始描述
OpenDesign's financial review: runway, burn, and the sustainability plan that keeps the project independent. Built as a decision-grade data & finance deck for board, leadership.
repo: nexu-io/open-design
热度
- GitHub 星标
- 101k
- 排名
- #1046
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/15
评论
- …