设计系统规范演示文稿是一套基于瑞士网格的 12 页 16:9 架构式网页演示,专为记录和展示统一视觉语言的产品设计团队打造。每一页都内嵌实时交互式 UI 样本,而非静态截图。观众可以点击任意颜色令牌色块复制其十六进制值,并查看实时 WCAG AA/AAA 对比度;在交互式字号样本阶梯上切换字重和字距;查看几何间距与圆角标尺网格;实时测试组件状态(按钮、输入框、徽章和提示);拖动动画 SVG 三次贝塞尔动效曲线;并排对比“该做”与“不该做”的布局规则。完整的演示控制包括键盘方向键、空格键、Home/End 键、触摸滑动、G 键缩略图总览网格、N 键演讲者备注抽屉(带实时计时器)、F 键全屏切换,以及清晰的 @media print 横向 PDF 样式。整体以纯瑞士白(#FFFFFF)和碳黑(#141414)为基底,点缀信号朱红(#E63946)与冷调建筑灰(#E5E7EB),自托管 Space Grotesk、Inter 和 JetBrains Mono 字体。在 src/content.ts 中可自定义系统名称、版本、首席设计师和品牌宣言。
在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# Design System Guidelines Deck
Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.
## Brief
A 12-slide 16:9 architectural Swiss visual identity & UI design system presentation deck for [BRAND] ([SYSTEM_VERSION]), authored by [LEAD_AUTHOR]. Features live interactive specimens inside slides: click-to-copy color tokens with WCAG contrast ratios, live type scale toggle, spacing/radius rulers, interactive component states, SVG motion timing curves, and Do vs Don't comparisons, plus keyboard/swipe nav, G grid, N speaker notes + timer, F fullscreen, and print CSS.
- Audience: Designers, frontend engineers, and brand teams presenting and reviewing UI foundations.
- Goal: Turn a design system walkthrough into a live, tactile specification deck where every token and state can be inspected directly.
- Tone: Architectural, Swiss rationalism, razor-sharp precision.
## Stack
- Framework: Vite 5 + React 18 + TypeScript
- Styling: Tailwind CSS 3.4
- Libraries: lucide-react (ISC), @fontsource/space-grotesk (OFL), @fontsource/inter (OFL), @fontsource/jetbrains-mono (OFL)
- Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs.
- Setup:
- Set base: './' and build: { sourcemap: false } in vite.config.ts.
- Import @fontsource/space-grotesk (500, 600, 700), @fontsource/inter (400, 500, 600, 700), and @fontsource/jetbrains-mono (400, 500, 600) locally in src/main.tsx.
- Implement clipboard hex copy with graceful visual 'Copied' confirmation on color token swatches plus live WCAG AA/AAA contrast readouts.
- Support ArrowLeft/ArrowRight/Space/Home/End navigation, touch swipe, G overview grid modal, N speaker notes + timer, F fullscreen, and @media print landscape PDF export.
## Variables
- [BRAND] — Design system name (default: "Forma Grid"). Fictional design system title
- [SYSTEM_VERSION] — Spec version badge (default: "v2.4 · Core Foundations"). Displayed on cover
- [LEAD_AUTHOR] — Author credit (default: "Nadia Kowalski, Principal Systems Designer"). Presenter credit
- [MANIFESTO] — Guiding principle (default: "Precision in geometry, warmth in restraint."). Hero manifesto statement
- [TOKEN_PREFIX] — CSS variable prefix (default: "--fg-"). Prefix shown on token cards
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/design-system-guidelines-deck in the footer (default: yes; delete this line to remove it)
The copy under Pages & Sections is written for the default values. If your values differ, rewrite every headline, paragraph, label and image for them — same length, tone and structure. Layout, colors, type and motion stay as described.
Keep all copy, image paths and links in one content file (for example `src/content.ts`), keyed by section, so the content can be swapped later without touching components.Pro 模板
解锁完整提示词和源码
在线演示和 DESIGN.md 仍然免费。
单独的设计规范:配色、字体、间距和动效。可以把这套视觉用到你已有的项目上。
---
name: "Design System Guidelines Deck"
colors:
swiss_white: "#FFFFFF"
carbon_ink: "#141414"
signal_vermilion: "#E63946"
cool_gray: "#E5E7EB"
graphite_muted: "#52525B"
typography:
architectural_display_headings: { family: "Space Grotesk", weights: [500, 600, 700] }
specimen_body_copy_and_ui_labels: { family: "Inter", weights: [400, 500, 600, 700] }
css_tokens_hex_values_px_rulers_and_bezier_coordinates: { family: "JetBrains Mono", weights: [400, 500, 600] }
spacing: "Crisp 16:9 Swiss typographic grid with generous 54px cover headline paired with a carbon architectural token specimen block."
radius: "16px for slide stage, 8px for sharp Swiss token specimens, 999px for state pills."
---
# Design System Guidelines Deck — Design System
Apply this design system to an existing project. It describes the look and feel only; for the full site, use prompt.md.
## Colors
- **Swiss White** `#FFFFFF` — Primary pure gallery slide canvas
- **Carbon Ink** `#141414` — Primary display typography, Swiss grid rules, and specimen anchors
- **Signal Vermilion** `#E63946` — Architectural accent, active rulers, curve highlights, and primary markers
- **Cool Gray** `#E5E7EB` — Hairline grid borders and neutral token panels
- **Graphite Muted** `#52525B` — Token annotations and caption text
## Typography
- **Architectural display headings** — Space Grotesk (OFL), weights 500/600/700. Self-host the font files.
- **Specimen body copy and UI labels** — Inter (OFL), weights 400/500/600/700. Self-host the font files.
- **CSS tokens, hex values, px rulers, and bezier coordinates** — JetBrains Mono (OFL), weights 400/500/600. Self-host the font files.
## Spacing & shape
- Spacing: Crisp 16:9 Swiss typographic grid with generous 54px cover headline paired with a carbon architectural token specimen block.
- Radius: 16px for slide stage, 8px for sharp Swiss token specimens, 999px for state pills.
## Motion
- Live interactive SVG cubic-bezier motion preview ball on the Motion slide.
- Tactile swatch copy badge and component state switcher transitions.
- Respects prefers-reduced-motion; all content visible immediately.
## Imagery
100% live code-drawn Swiss UI specimens: clickable color token matrix, interactive typography scale, spacing & radius rulers, live UI controls, and SVG bezier curves.
## Tone
Architectural, Swiss rationalism, razor-sharp precision.
---
— Prompt by VibeFather · https://vibefather.ai/t/design-system-guidelines-deck · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
设计系统规范演示文稿内嵌的是实时样本,而非截图。观众可以点击颜色令牌色块复制其十六进制值并查看 WCAG AA/AAA 对比度,在字号阶梯上切换字重和字距,查看间距与圆角标尺网格,测试按钮、输入框、徽章和提示的状态,拖动动画 SVG 三次贝塞尔动效曲线,并对比“该做”与“不该做”的布局规则。
复制本页的完整提示词(Pro),或者运行 npx vibefather add design-system-guidelines-deck,把 [BRAND]、[MANIFESTO]、[LEAD_AUTHOR]、[TOKEN_PREFIX] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。