AI UI Atlas
Mapping interface systems
给 coding agent 时可以直接复制下面这段,作为 UI 风格约束。
# Cyber Brutalism## 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 **Cyber Brutalism** design language. 把 Cyberpunk 的暗底霓虹和 Brutalism 的粗边框、硬切块、直接文字结合起来,形成黑客松、AI 安全、游戏活动常见的高冲击页面。Treat visual attitude, memorable composition, and controlled exaggeration as the main design material.## Aliases- 赛博野兽派- neon brutalism- hacker poster UI## Category- 表现主义## Target Platforms- 移动端- PC 端## Summary把 Cyberpunk 的暗底霓虹和 Brutalism 的粗边框、硬切块、直接文字结合起来,形成黑客松、AI 安全、游戏活动常见的高冲击页面。## Visual DNA- 暗底霓虹- 粗框线- 硬切面板- 警告色- 终端感排版## Best Use Cases- 黑客松页面- AI 安全演示- 开发者活动- 游戏活动页- Web3 工具## Avoid When金融、医疗、政企、教育低龄用户,或需要温和可信表达的产品。## Anatomy布局可以强硬,但信息路径要短;霓虹只用于状态和焦点,粗边框承担结构分区。## Color SystemUse a Seed → Map → Semantic → Alias token architecture. Components must consume named tokens instead of hard-coded colors.### Reference Palette- **reference-1** `#020617`- **reference-2** `#22d3ee`- **reference-3** `#f43f5e`- **reference-4** `#a3e635`- **reference-5** `#f8fafc`### Seed Tokens- **colorBgBase** `#020617` - 页面基础背景.- **colorBgContainer** `#161a29` - 卡片、面板与容器.- **colorFillSecondary** `#272b39` - 次级填充与弱状态.- **colorPrimary** `#f43f5e` - 品牌主操作与选中态.- **colorTextBase** `#f8fafc` - 正文、图标与高对比轮廓.### Primary Scale- **primary-1** `#f8e7ec`- **primary-2** `#f7d1d9`- **primary-3** `#f7b7c3`- **primary-4** `#f699aa`- **primary-5** `#f5738a`- **primary-6** `#f43f5e`- **primary-7** `#d73855`- **primary-8** `#ba314d`- **primary-9** `#9d2a44`- **primary-10** `#7b233b`### Neutral Scale- **neutral-1** `#f8fafc`- **neutral-2** `#eef0f3`- **neutral-3** `#e4e6ea`- **neutral-4** `#d1d3d7`- **neutral-5** `#b3b6bc`- **neutral-6** `#91949c`- **neutral-7** `#696c77`- **neutral-8** `#474a57`- **neutral-9** `#242837`- **neutral-10** `#020617`### Semantic Tokens- **colorSuccess** `#16a34a` - 成功、在线、已完成.- **colorSuccessBg** `#ddf0e7` - 成功状态浅背景.- **colorWarning** `#d97706` - 警告、待确认、需关注.- **colorWarningBg** `#f4eade` - 警告状态浅背景.- **colorError** `#f43f5e` - 错误、危险、阻断.- **colorErrorBg** `#f8e7ec` - 错误状态浅背景.- **colorInfo** `#22d3ee` - 信息、链接、进行中.- **colorInfoBg** `#def5fa` - 信息状态浅背景.### Alias Tokens- **colorBgLayout** `#0b0f1f` - 应用整体画布.- **colorBgElevated** `#3a3e4b` - 弹层、浮层与菜单.- **colorBgSpotlight** `#242837` - Tooltip 与强提示.- **colorBorder** `#d1d3d7` - 控件与容器边框.- **colorBorderSecondary** `#e4e6ea` - 轻分隔线.- **colorText** `#f8fafc` - 一级文本.- **colorTextSecondary** `#a9acb3` - 二级文本.- **colorTextTertiary** `#7d808a` - 辅助说明.- **colorTextDisabled** `#565965` - 禁用文本.- **colorPrimaryHover** `#f5738a` - 主操作 Hover.- **colorPrimaryActive** `#d73855` - 主操作 Active.- **colorPrimaryBorder** `#f699aa` - 主色边框.- **colorPrimaryBg** `#f8e7ec` - 主色浅背景.- **colorLink** `#f43f5e` - 链接与可跳转文本.- **colorFocus** `#f699aa` - 键盘焦点环.- **colorMask** `#010411` - 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 an 8px spacing base; reserve 4px for micro-gaps and 32px+ for major layout separation.- Keep cards, panels, controls, and lists dimensionally stable across responsive breakpoints.- On mobile, reduce column count before reducing legibility.- Recommended radius: 6-12px radius by default; increase only for expressive or highly tactile components.- Elevation and shadow: Use hard offset shadows or none; avoid soft generic card shadows.## 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 **Cyber Brutalism**, 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: 金融、医疗、政企、教育低龄用户,或需要温和可信表达的产品。## 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- cyber brutalism- neon- hacker- black border- security## Agent Prompt SnippetImplement the UI in the **Cyber Brutalism** 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 黑客松页面, AI 安全演示, 开发者活动, while avoiding: 金融、医疗、政企、教育低龄用户,或需要温和可信表达的产品。