AI UI Atlas
Mapping interface systems
给 coding agent 时可以直接复制下面这段,作为 UI 风格约束。
# Comic Book UI## UsageUse this DESIGN.md as a reusable design brief for an AI coding agent. Apply it when building a new page, restyling an existing interface, or keeping multiple screens visually consistent.## Design IntentYou are implementing an interface using the **Comic Book UI** design language. 借用漫画分镜、对白气泡、半调网点、粗描边、拟声词和夸张动作线来组织界面,重点是叙事感、趣味性和强情绪表达。Treat visual attitude, memorable composition, and controlled exaggeration as the main design material.## Aliases- 漫画风 UI- cartoon interface- manga panel UI- comic panel design## Category- 表现主义## Target Platforms- 移动端- PC 端## Summary借用漫画分镜、对白气泡、半调网点、粗描边、拟声词和夸张动作线来组织界面,重点是叙事感、趣味性和强情绪表达。## Visual DNA- 分镜卡片- 对白气泡- 半调网点- 粗黑描边- 拟声词动效感## Best Use Cases- 游戏活动页- 儿童教育- 品牌故事- 任务引导- 漫画 IP 周边## Avoid When严肃 B 端、金融医疗、长表单、长时间阅读或需要冷静可信语气的工具界面。## Anatomy用分镜承载步骤,用气泡承载提示,用粗描边强化可点击区域;半调网点和拟声词只做焦点装饰,不能干扰正文阅读。## Color SystemUse a Seed → Map → Semantic → Alias token architecture. Components must consume named tokens instead of hard-coded colors.### Reference Palette- **reference-1** `#fff7ed`- **reference-2** `#111827`- **reference-3** `#facc15`- **reference-4** `#ef4444`- **reference-5** `#38bdf8`### Seed Tokens- **colorBgBase** `#fff7ed` - 页面基础背景.- **colorBgContainer** `#f7efe6` - 卡片、面板与容器.- **colorFillSecondary** `#ece5dd` - 次级填充与弱状态.- **colorPrimary** `#38bdf8` - 品牌主操作与选中态.- **colorTextBase** `#111827` - 正文、图标与高对比轮廓.### Primary Scale- **primary-1** `#ebf1ee`- **primary-2** `#d3eaef`- **primary-3** `#b7e2f1`- **primary-4** `#98d9f3`- **primary-5** `#70cdf5`- **primary-6** `#38bdf8`- **primary-7** `#33a9df`- **primary-8** `#2f95c6`- **primary-9** `#2a82ad`- **primary-10** `#256b90`### Neutral Scale- **neutral-1** `#fff7ed`- **neutral-2** `#f5eee5`- **neutral-3** `#ece5dd`- **neutral-4** `#d9d3cd`- **neutral-5** `#bcb9b6`- **neutral-6** `#9b999a`- **neutral-7** `#75767a`- **neutral-8** `#54565e`- **neutral-9** `#323743`- **neutral-10** `#111827`### Semantic Tokens- **colorSuccess** `#16a34a` - 成功、在线、已完成.- **colorSuccessBg** `#e3edd9` - 成功状态浅背景.- **colorWarning** `#ef4444` - 警告、待确认、需关注.- **colorWarningBg** `#fde2d9` - 警告状态浅背景.- **colorError** `#ef4444` - 错误、危险、阻断.- **colorErrorBg** `#fde5dc` - 错误状态浅背景.- **colorInfo** `#38bdf8` - 信息、链接、进行中.- **colorInfoBg** `#e7f0ee` - 信息状态浅背景.### Alias Tokens- **colorBgLayout** `#faf3e9` - 应用整体画布.- **colorBgElevated** `#f8f0e7` - 弹层、浮层与菜单.- **colorBgSpotlight** `#323743` - Tooltip 与强提示.- **colorBorder** `#d9d3cd` - 控件与容器边框.- **colorBorderSecondary** `#ece5dd` - 轻分隔线.- **colorText** `#111827` - 一级文本.- **colorTextSecondary** `#5d5f66` - 二级文本.- **colorTextTertiary** `#88888a` - 辅助说明.- **colorTextDisabled** `#aeabaa` - 禁用文本.- **colorPrimaryHover** `#70cdf5` - 主操作 Hover.- **colorPrimaryActive** `#33a9df` - 主操作 Active.- **colorPrimaryBorder** `#98d9f3` - 主色边框.- **colorPrimaryBg** `#ebf1ee` - 主色浅背景.- **colorLink** `#38bdf8` - 链接与可跳转文本.- **colorFocus** `#98d9f3` - 键盘焦点环.- **colorMask** `#0c111c` - Modal 遮罩基础色.Color rules:- Use the palette as design tokens, not random decorative swatches.- Keep primary text and primary actions at accessible contrast.- Use primary-1 through primary-10 for interaction states instead of inventing new brand colors.- Use semantic tokens consistently for success, warning, error, and info; pair color with iconography or text.- Map component styles to Alias Tokens so theme changes do not require component-level color edits.## Typography- Use strong display type for primary headings, with short lines and clear hierarchy.- Pair loud headings with readable body text; do not make every label oversized or uppercase.- Use weight and contrast deliberately: one dominant voice, one supporting voice, one utility voice.## Layout And Spacing- Use deliberate blocks and strong alignment; spacing can be bold, but it must still create a clear scan path.- Keep repeated items on a consistent grid so expressive details do not break usability.- Use larger gaps around hero or feature areas, tighter spacing inside dense controls.- Recommended radius: 6-12px radius by default; increase only for expressive or highly tactile components.- Elevation and shadow: Use shadows to separate interactive or elevated surfaces only; avoid stacking many shadow styles.## Component Rules- Components should reinforce the primary information structure rather than introduce a separate decorative style.- Primary actions must be visually obvious and reachable; secondary actions should be quieter but still discoverable.- Cards need a clear title, supporting text or metric, state, and one obvious next action when action is expected.- Forms and filters should use familiar controls, stable dimensions, clear labels, and visible focus states.- Empty, loading, error, and success states must use the same visual language, not generic placeholders.## Interaction And Motion- Use snappy transitions that match the graphic attitude: quick hover lifts, hard reveals, or stepped state changes.- Do not animate every decorative element; motion should confirm action or guide attention.- Keep layout stable during interaction.## Implementation Recipe1. Start with the real user workflow and page structure; do not make a generic landing page unless explicitly requested.2. Establish layout zones first: navigation, content, controls, feedback, and primary action.3. Apply the color tokens to semantic roles: canvas, surface, text, border, accent, danger, and success.4. Build reusable components that express this style: buttons, cards, inputs, tabs, filters, modals, empty states, and status badges.5. Verify mobile and desktop breakpoints before adding decorative polish.6. Check that the final screen still communicates 分镜卡片, 对白气泡, 半调网点 without relying on a single color or effect.## Quality Checklist- The screen is immediately recognizable as **Comic Book UI**, not a generic Tailwind layout.- The design uses surface, spacing, typography, and component shape together; it does not rely only on colors.- Primary actions and navigation are clear on both mobile and desktop.- Text is readable, controls are stable, and content does not overlap or shift unexpectedly.- Empty, loading, hover, focus, selected, disabled, success, and error states are styled in the same language.- The implementation avoids the known failure mode: 严肃 B 端、金融医疗、长表单、长时间阅读或需要冷静可信语气的工具界面。## Anti-Patterns- Do not paste this palette onto an unrelated layout and call it finished.- Do not overuse decorative effects where the user needs to read, compare, or act quickly.- Do not mix this style with unrelated visual languages unless the product explicitly requires a hybrid.- Do not hide important state behind low contrast, blur, tiny text, or animation.## Keywords- comic- manga- cartoon- speech bubble- halftone- panel- pop art## Agent Prompt SnippetImplement the UI in the **Comic Book UI** design language. Prioritize 分镜卡片, 对白气泡, 半调网点. Use the color roles, typography guidance, spacing rules, component rules, and anti-patterns from this DESIGN.md as hard constraints. The result should feel purpose-built for 游戏活动页, 儿童教育, 品牌故事, while avoiding: 严肃 B 端、金融医疗、长表单、长时间阅读或需要冷静可信语气的工具界面。