适合场景
keynote / apple / product launch
Launch Keynote
苹果发布会式的产品揭幕美学:纯黑舞台、发光产品、超大紧字距标题、唯一电蓝强调。招牌技法是滚动逐帧序列——一个 sticky 画布随滚动播放预渲染的产品动画,一屏一产品一句话,像万亿市值的产品页。
适合场景
keynote / apple / product launch
设计重点
纯黑 #000000 舞台,无边框无纹理,产品自己发光,留白即张力
注意事项
禁止多彩渐变或第二支强调色(唯一电蓝之外全是黑白灰)
Showcase 入口
Showcase 页面的实时预览,点击查看完整体验。
配色方案
Primary
#000000
Secondary
#F5F5F7
Accent 1
#2997FF
Accent 2
#1D1D1F
AI 实现文档
默认用硬性提示词让 AI 直接生成前端;Design Spec 用来理解、改写和审核风格;Creative Brief 用来早期探索方向。
默认使用它:复制后追加具体需求,让 AI 直接生成一致、可落地的前端。
什么时候用
怎么用
STYLEKIT_STYLE_REFERENCE
style_name: 发布会主题
style_slug: launch-keynote
style_source: /styles/launch-keynote
# Hard Prompt
## 什么时候用
当你希望 AI 严格按风格规则生成代码时使用。它是生产界面最稳的默认选择。
## 怎么用
- 把完整提示词复制到 ChatGPT、Claude、Cursor 或其他编码助手。
- 在提示词后追加具体产品、页面或组件需求。
- 生成后按禁止项和交互状态检查,确认没有风格漂移。
请严格遵守以下风格规则并保持一致性,禁止风格漂移。
## 执行要求
- 优先保证风格一致性,其次再做创意延展。
- 遇到冲突时以禁止项为最高优先级。
- 输出前自检:颜色、排版、间距、交互是否仍属于该风格。
## Style Rules
# Launch Keynote (发布会主题) Design System
> 苹果发布会式的产品揭幕美学:纯黑舞台、发光产品、超大紧字距标题、唯一电蓝强调。招牌技法是滚动逐帧序列——一个 sticky 画布随滚动播放预渲染的产品动画,一屏一产品一句话,像万亿市值的产品页。
## 核心理念
发布会主题的信条:页面是一场产品揭幕,不是一份传单。整块屏幕是漆黑的舞台,光只打在产品上,观众的注意力被逐屏牵引——一屏只讲一件事,一屏只揭一次幕。
核心理念:
- 纯黑舞台 (#000000):没有卡片边框、没有装饰纹理,黑是无限深的背景,产品自己发光。留白即戏剧张力
- 一屏一产品一句话:每个视口只承载一个主张。滚动是叙事节拍,不是信息堆叠
- 逐帧揭幕 (scroll-scrub):招牌技法。一个 sticky 满屏 canvas 随滚动播放 96 帧预渲染动画——产品旋转、拆解、点亮,滚动条就是播放头
- 巨字紧字距:Hero 标题用系统 SF 级无衬线,clamp 冲到 ~7rem,字距收紧 (-0.03em),600 与 400 两档权重制造张力
- 唯一电蓝 (#2997FF):全站只有一支强调色,用在链接、CTA、关键规格数字。其余全是黑、近白 (#F5F5F7)、中灰 (#86868B)
- 规格网格:技术参数用等宽对齐的大数字网格呈现,冷静、克制、可信
设计原则:
- 性能红线:逐帧序列用 webp 帧 + IntersectionObserver 懒加载,进视口才预载 96 张 Image;poster 先画防白屏;rAF 节流、一帧只读一次滚动位置,绝不 layout thrash
- 防 CLS:所有图与 canvas 显式 aspect-ratio;devicePixelRatio 感知但封顶 2 倍防内存爆炸
- 降级:prefers-reduced-motion 下跳过滚动绑定,静态渲染最终帧、callout 全部可见
- 无障碍:装饰 canvas 给 aria-hidden;关键信息永远在文字层,不烘焙进帧里
---
## Token 字典(精确 Class 映射)
### 边框
```
宽度: border
颜色: border-white/10
圆角: rounded-2xl
```
### 阴影
```
小: shadow-[0_2px_12px_rgba(0,0,0,0.6)]
中: shadow-[0_12px_40px_rgba(0,0,0,0.7)]
大: shadow-[0_30px_80px_rgba(0,0,0,0.8)]
悬停: hover:shadow-[0_18px_50px_rgba(41,151,255,0.25)]
聚焦: focus-visible:ring-2 focus-visible:ring-[#2997FF]/60
```
### 交互效果
```
悬停位移: undefined
过渡动画: transition-all duration-300 ease-out
按下状态: active:scale-[0.98]
```
### 字体
```
标题: font-semibold text-[#F5F5F7] tracking-tight
正文: text-[#86868B] leading-relaxed
```
### 字号
```
Hero: text-6xl md:text-8xl
H1: text-5xl md:text-7xl
H2: text-3xl md:text-5xl
H3: text-xl md:text-2xl
正文: text-base md:text-lg
小字: text-sm
```
### 间距
```
Section: py-24 md:py-32
容器: px-6 md:px-8
卡片: p-8
```
---
## [FORBIDDEN] 绝对禁止
以下 class 在本风格中**绝对禁止使用**,生成时必须检查并避免:
### 禁止的 Class
- `bg-gradient-to-r`
- `from-indigo-600`
- `via-purple-600`
- `to-pink-500`
- `bg-white`
- `duration-100`
### 禁止的模式
- 匹配 `^bg-gradient-to-r$`
- 匹配 `^from-(indigo|purple|pink|fuchsia|emerald|amber)-`
- 匹配 `^text-(red|green|amber|purple)-`
### 禁止原因
- `bg-gradient-to-r`: The stage is pure black; drama comes from light on the product, not decorative gradients
- `from-indigo-600`: No AI-cliche gradients; the only accent is one electric blue on a black stage
- `bg-white`: The stage stays black; use near-white text #F5F5F7, never a white surface that breaks the depth
- `duration-100`: Keynote motion is smooth and deliberate; snappy transitions cheapen the reveal
> WARNING: 如果你的代码中包含以上任何 class,必须立即替换。
---
## [REQUIRED] 必须包含
### 按钮必须包含
```
rounded-full
transition-all duration-300
active:scale-[0.98]
```
### 卡片必须包含
```
bg-[#1D1D1F]
rounded-2xl
```
### 输入框必须包含
```
bg-[#1D1D1F]
border border-white/10
rounded-xl
text-[#F5F5F7] placeholder-[#86868B]
focus:outline-none focus:border-[#2997FF]
transition-colors duration-300
```
---
## [COMPARE] 错误 vs 正确对比
### 按钮
[WRONG] **错误示例**(使用了圆角和模糊阴影):
```html
<button class="rounded-lg shadow-lg bg-blue-500 text-white px-4 py-2 hover:bg-blue-600">
点击我
</button>
```
[CORRECT] **正确示例**(使用硬边缘、无圆角、位移效果):
```html
<button class="rounded-full transition-all duration-300 active:scale-[0.98] bg-[#ff006e] text-white px-4 py-2 md:px-6 md:py-3">
点击我
</button>
```
### 卡片
[WRONG] **错误示例**(使用了渐变和圆角):
```html
<div class="rounded-xl shadow-2xl bg-gradient-to-r from-purple-500 to-pink-500 p-6">
<h3 class="text-xl font-semibold">标题</h3>
</div>
```
[CORRECT] **正确示例**(纯色背景、硬边缘阴影):
```html
<div class="bg-[#1D1D1F] rounded-2xl p-8">
<h3 class="font-semibold text-[#F5F5F7] tracking-tight text-xl md:text-2xl">标题</h3>
</div>
```
### 输入框
[WRONG] **错误示例**(灰色边框、圆角):
```html
<input class="rounded-md border border-gray-300 px-3 py-2 focus:ring-2 focus:ring-blue-500" />
```
[CORRECT] **正确示例**(黑色粗边框、聚焦阴影):
```html
<input class="bg-[#1D1D1F] border border-white/10 rounded-xl text-[#F5F5F7] placeholder-[#86868B] focus:outline-none focus:border-[#2997FF] transition-colors duration-300 px-3 py-2 md:px-4 md:py-3" placeholder="请输入..." />
```
---
## [TEMPLATES] 页面骨架模板
使用以下模板生成页面,只需替换 `{PLACEHOLDER}` 部分:
### 导航栏骨架
```html
<nav class="bg-white border-b-2 md:border-b-4 border-black px-4 md:px-8 py-3 md:py-4">
<div class="flex items-center justify-between max-w-6xl mx-auto">
<a href="/" class="font-black text-xl md:text-2xl tracking-wider">
{LOGO_TEXT}
</a>
<div class="flex gap-4 md:gap-8 font-mono text-sm md:text-base">
{NAV_LINKS}
</div>
</div>
</nav>
```
### Hero 区块骨架
```html
<section class="min-h-[60vh] md:min-h-[80vh] flex items-center px-4 md:px-8 py-12 md:py-0 bg-{ACCENT_COLOR} border-b-2 md:border-b-4 border-black">
<div class="max-w-4xl mx-auto">
<h1 class="font-black text-4xl md:text-6xl lg:text-8xl leading-tight tracking-tight mb-4 md:mb-6">
{HEADLINE}
</h1>
<p class="font-mono text-base md:text-xl max-w-xl mb-6 md:mb-8">
{SUBHEADLINE}
</p>
<button class="bg-black text-white font-black px-6 py-3 md:px-8 md:py-4 border-2 md:border-4 border-black shadow-[4px_4px_0px_0px_rgba(255,0,110,1)] md:shadow-[8px_8px_0px_0px_rgba(255,0,110,1)] hover:shadow-none hover:translate-x-[2px] hover:translate-y-[2px] transition-all text-sm md:text-base">
{CTA_TEXT}
</button>
</div>
</section>
```
### 卡片网格骨架
```html
<section class="py-12 md:py-24 px-4 md:px-8">
<div class="max-w-6xl mx-auto">
<h2 class="font-black text-2xl md:text-4xl mb-8 md:mb-12">{SECTION_TITLE}</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 md:gap-6">
<!-- Card template - repeat for each card -->
<div class="bg-white border-2 md:border-4 border-black shadow-[4px_4px_0px_0px_rgba(0,0,0,1)] md:shadow-[8px_8px_0px_0px_rgba(0,0,0,1)] p-4 md:p-6 hover:shadow-[4px_4px_0px_0px_rgba(255,0,110,1)] md:hover:shadow-[8px_8px_0px_0px_rgba(255,0,110,1)] hover:-translate-y-1 transition-all">
<h3 class="font-black text-lg md:text-xl mb-2">{CARD_TITLE}</h3>
<p class="font-mono text-sm md:text-base text-gray-700">{CARD_DESCRIPTION}</p>
</div>
</div>
</div>
</section>
```
### 页脚骨架
```html
<footer class="bg-black text-white py-12 md:py-16 px-4 md:px-8 border-t-2 md:border-t-4 border-black">
<div class="max-w-6xl mx-auto">
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div>
<span class="font-black text-xl md:text-2xl">{LOGO_TEXT}</span>
<p class="font-mono text-sm mt-4 text-gray-400">{TAGLINE}</p>
</div>
<div>
<h4 class="font-black text-lg mb-4">{COLUMN_TITLE}</h4>
<ul class="space-y-2 font-mono text-sm text-gray-400">
{FOOTER_LINKS}
</ul>
</div>
</div>
</div>
</footer>
```
---
## [CHECKLIST] 生成后自检清单
**在输出代码前,必须逐项验证以下每一条。如有违反,立即修正后再输出:**
### 1. 圆角检查
- [ ] 搜索代码中的 `rounded-`
- [ ] 确认只有 `rounded-none` 或无圆角
- [ ] 如果发现 `rounded-lg`、`rounded-md` 等,替换为 `rounded-none`
### 2. 阴影检查
- [ ] 搜索代码中的 `shadow-`
- [ ] 确认只使用 `shadow-[Xpx_Xpx_0px_0px_rgba(...)]` 格式
- [ ] 如果发现 `shadow-lg`、`shadow-xl` 等,替换为正确格式
### 3. 边框检查
- [ ] 搜索代码中的 `border-`
- [ ] 确认边框颜色是 `border-black`
- [ ] 如果发现 `border-gray-*`、`border-slate-*`,替换为 `border-black`
### 4. 交互检查
- [ ] 所有按钮都有 `hover:shadow-none hover:translate-x-[2px] hover:translate-y-[2px]`
- [ ] 所有卡片都有 hover 效果(阴影变色或位移)
- [ ] 都包含 `transition-all`
### 5. 响应式检查
- [ ] 边框有 `border-2 md:border-4`
- [ ] 阴影有 `shadow-[4px...] md:shadow-[8px...]`
- [ ] 间距有 `p-4 md:p-6` 或类似的响应式值
- [ ] 字号有 `text-sm md:text-base` 或类似的响应式值
### 6. 字体检查
- [ ] 标题使用 `font-black`
- [ ] 正文使用 `font-mono`
> CRITICAL: **如果任何一项检查不通过,必须修正后重新生成代码。**
---
## [EXAMPLES] 示例 Prompt
### 1. 旗舰硬件发布页
滚动逐帧揭幕的产品发布页
```
Create an Apple-keynote style flagship hardware launch page with:
1. A pitch-black #000000 stage, near-white #F5F5F7 text, one electric-blue #2997FF accent for links, CTAs and key spec numbers - no second color
2. A frosted keynote nav bar (black/70 backdrop-blur) with an Overview/Specs/Buy set, Buy in blue
3. A huge tight-tracking hero headline (system SF stack, clamp up to ~7rem, -0.03em)
4. THE SIGNATURE: a section ~350vh tall with a sticky top-0 h-screen canvas that plays a 96-frame webp sequence as the scrollbar becomes the playhead; lazy-load the frames only in view via IntersectionObserver, paint a poster first, throttle the scroll with requestAnimationFrame reading position once per frame, and keep the last drawn frame if one has not loaded
5. 3-4 feature callouts that fade + translate in at progress milestones (opacity/transform only)
6. A spec grid of large numbers, dark #1D1D1F cards for chip/camera/battery
7. prefers-reduced-motion: skip the scroll wiring and statically render the final frame with all callouts visible; devicePixelRatio capped at 2; explicit aspect-ratios to prevent CLS
```
### 2. 极简 SaaS 发布
发布会式的软件产品发布页
```
Create a keynote-style SaaS product reveal with:
1. A black stage, one electric-blue #2997FF accent, near-white text, mid-gray #86868B captions
2. A hero with a huge tight headline and a single blue pill CTA plus a hairline "Learn more" text link
3. A sticky-canvas scroll section that scrubs a webp frame sequence of the app UI assembling itself, lazy-loaded via IntersectionObserver with a poster painted first
4. Feature callouts fading in at scroll milestones; all real text, never baked into the frames
5. Below the fold, quiet black sections with a spec/plan grid of large numbers on #1D1D1F cards
6. A frosted top nav and a calm footer in gray; the only accent anywhere is the one blue
7. Honor prefers-reduced-motion by rendering the final frame statically with callouts visible; cap devicePixelRatio at 2
```
## 绝对禁止(匹配即拒绝)
以下模式一旦出现,视为风格违规——不找借口,直接重写。
- 多彩渐变或第二支强调色(唯一电蓝之外全是黑白灰)
- 在滚动处理器里逐帧读 offsetTop / getBoundingClientRect(layout thrash)
- 页面一载就预载全部 96 帧(必须 IO 懒加载,否则流量灾难)
- 把关键信息烘焙进帧图里(帧可能没加载、reduced-motion 只显一帧)
- 卡片边框、圆角装饰堆砌破坏纯黑舞台的无限深
- 忽略 prefers-reduced-motion 与 devicePixelRatio 封顶
## 自检清单(交付前逐条确认)
如果任何一条不通过,说明风格漂移了——修改后再交付。
- [ ] 没有紫色到蓝色的渐变
- [ ] 没有使用 Inter / Roboto / Geist 等过度使用的字体
- [ ] 没有嵌套卡片(卡片里面套卡片)
- [ ] 没有在彩色背景上放灰色文字
- [ ] 正文对比度满足 WCAG AA(≥4.5:1)
- [ ] 没有 bounce / elastic 缓动曲线
- [ ] 动效有 prefers-reduced-motion 备选方案
- [ ] 正文行宽不超过 65-75 个字符
- [ ] 没有单侧粗边框装饰(border-left/right accent stripe)
- [ ] 没有渐变文字(background-clip: text)
- [ ] 没有把玻璃态(glassmorphism)当作默认风格
- [ ] 没有 tiny uppercase tracked eyebrow 放在每个 section 标题上面
- [ ] 禁止多彩渐变或第二支强调色(唯一电蓝之外全是黑白灰)
- [ ] 禁止在滚动处理器里逐帧读 offsetTop / getBoundingClientRect(layout thrash)
- [ ] 禁止页面一载就预载全部 96 帧(必须 IO 懒加载,否则流量灾难)
- [ ] 禁止把关键信息烘焙进帧图里(帧可能没加载、reduced-motion 只显一帧)
- [ ] 禁止卡片边框、圆角装饰堆砌破坏纯黑舞台的无限深在你的工作流里用它
一行命令,把这个风格的主题装进现有 shadcn 项目。
npx shadcn add https://www.stylekit.top/r/launch-keynote.json贡献者可在本地仓库构建尚未发布的 CLI。
pnpm --filter stylekit-cli build && node packages/cli/dist/index.js add launch-keynote贡献者可在本地仓库预览「发布会主题」的 MCP 能力。
pnpm --filter stylekit-mcp build && node packages/mcp/dist/index.js真实前端完成度
这层检查这个风格是否已经具备真实网站常见的主题、状态反馈、键盘可访问性和性能约束。
总体覆盖
51%
Fallback 规则
暗色模式
0%
缺失组件状态
79%
部分动效规则
70%
部分可访问性
70%
部分性能代价
35%
通用按钮
默认 / 悬停 / 键盘焦点 / 按下 / 禁用
输入框
默认 / 悬停 / 键盘焦点 / 禁用 / 错误
卡片
默认 / 悬停 / 键盘焦点 / 加载中 / 骨架屏
表单
默认 / 键盘焦点 / 禁用 / 加载中 / 错误
/* Launch Keynote Global Styles */
:root {
--lk-stage: #000000;
--lk-panel: #1D1D1F;
--lk-paper: #F5F5F7;
--lk-blue: #2997FF;
--lk-blue-press: #0071E3;
--lk-gray: #86868B;
}
/* Stage base */
.lk-stage {
background: var(--lk-stage);
color: var(--lk-paper);
}
/* Sticky scrub frame */
.lk-scrub {
position: relative;
min-height: 350vh;
background: var(--lk-stage);
}
.lk-scrub__sticky {
position: sticky;
top: 0;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.lk-scrub__canvas {
width: 100%;
height: 100%;
object-fit: contain;
}
/* Huge, tight keynote headline */
.lk-headline {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
font-size: clamp(2.5rem, 8vw, 7rem);
font-weight: 600;
letter-spacing: -0.03em;
line-height: 1.05;
}
@media (prefers-reduced-motion: reduce) {
/* Scrub wiring is skipped in JS; the final frame renders statically. */
.lk-scrub { min-height: 100vh; }
}IDE 集成
下载 AI 编码助手的配置文件,使其按照此风格生成代码。
风格包
获取完整的可机器读取风格资源,包括 Design Tokens、Tailwind 预设、CSS 变量和 shadcn/ui 主题。
Metadata
Style metadata including version information
Design Tokens
Figma / Style Dictionary / Tokens Studio 兼容
Tailwind Preset
Tailwind CSS 主题预设,可直接在配置中引用
Global CSS
包含 CSS 变量和基础样式
shadcn Theme
shadcn/ui 主题配置
CSS Variables
纯 CSS 变量,适用于任何项目
SKILL.md
可加载到 Cursor / Claude Code / VS Code 的技能包
发布会主题的信条:页面是一场产品揭幕,不是一份传单。整块屏幕是漆黑的舞台,光只打在产品上,观众的注意力被逐屏牵引——一屏只讲一件事,一屏只揭一次幕。
基于颜色对比度和排版可读性的 WCAG 2.1 合规分析。
综合评分
等级: C - 一般
对比度
| 场景 | 颜色 | 比率 | AA | AAA |
|---|---|---|---|---|
| Text on background | /#F5F5F7 / #000000 | 19.29:1 | ||
| Secondary text on background | /#86868B / #000000 | 5.8:1 | ||
| Text on secondary background | /#F5F5F7 / #1D1D1F | 15.46:1 | ||
| Secondary text on secondary | /#86868B / #1D1D1F | 4.65:1 | ||
| Button primary | /#ffffff / #2997FF | 3.02:1 | ||
| Text on accent 1 | /#F5F5F7 / #2997FF | 2.77:1 | ||
| Alt text on accent 1 | /#86868B / #2997FF | 1.2:1 |
可读性
分数
85/100
字号
text-base md:text-lg
字重
font-semibold text-[#F5F5F7] tracking-tight
行高
default
评分基于 WCAG 2.1 标准。AA 级要求普通文本对比度 4.5:1、大文本 3:1;AAA 级要求普通文本 7:1、大文本 4.5:1。