Files
slide/decks/gen2D/pages/style-system.md
T
wonder d479504f12
Deploy Slides / build-and-deploy (push) Successful in 1m32s
feat: restructure gen2D deck with enriched content and frankfurt theme components
- Restructure from 12 slides to 21 slides with proper section navigation
- Split into pages/ for modular maintenance (15 page files)
- Use frankfurt theme: cover layout, Item component, section frontmatter
- Remove all two-cols layouts to avoid rendering issues
- Add rich content from tmp/ docs: Eino pipeline, prompt agent, async tasks, data model, deployment
- Use Item component for structured content blocks
- Add mermaid ER diagram for data model
- Add Go code block for pipeline type definitions
2026-05-30 14:22:50 +08:00

36 lines
952 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 风格系统 — 两层架构
保证一致性与灵活性的风格管理方案
<Item title="🏗️ 工程风格(Project Style)">
- 工程级别的全局风格配置,存储在 `project_style` 表中
- 以 Key-Value 对(kvPairs)形式存储,如 `artStyle=pixel`, `palette=warm`
- 同一工程下所有素材自动继承,保证风格统一
</Item>
<Item title="🔀 任务风格覆盖(Task Override))">
- 单次生成任务可覆盖部分风格键,仅指定需要变化的项
- 未指定的键自动继承工程风格
- 适合在同一工程下生成不同变体(如:同一角色的不同表情)
</Item>
<div class="mt-6">
<Item title="⚙️ 合并逻辑">
```
finalStyle = merge(projectStyle, taskStyle)
```
- 工程风格作为基底,任务风格逐键覆盖
- 自定义标签(`custom:` 前缀)自动提取到 Prompt 中
- 合并后的风格键注入三段式提示词的风格约束段
</Item>
</div>