AI UI Atlas
Mapping interface systems
给 coding agent 时可以直接复制下面这段,作为 UI 风格约束。
# Constructivist Web## 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 **Constructivist Web** design language. 借鉴构成主义海报的强几何、斜向构图、红黑白配色和宣传式标题,形成高能量叙事页面。Treat cultural references, period details, and restraint as the main design material.## Aliases- 构成主义- poster grid## Category- 复古与文化风格## Target Platforms- 移动端- PC 端## Summary借鉴构成主义海报的强几何、斜向构图、红黑白配色和宣传式标题,形成高能量叙事页面。## Visual DNA- 几何块- 斜向构图- 红黑白- 海报感## Best Use Cases- 展览页面- 品牌宣言- 活动专题- 文化项目## 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** `#f8f5ef`- **reference-2** `#dc2626`- **reference-3** `#111111`- **reference-4** `#facc15`- **reference-5** `#e5e7eb`### Seed Tokens- **colorBgBase** `#f8f5ef` - 页面基础背景.- **colorBgContainer** `#f0ede7` - 卡片、面板与容器.- **colorFillSecondary** `#e6e3dd` - 次级填充与弱状态.- **colorPrimary** `#facc15` - 品牌主操作与选中态.- **colorTextBase** `#111111` - 正文、图标与高对比轮廓.### Primary Scale- **primary-1** `#f8f1d9`- **primary-2** `#f8ecbf`- **primary-3** `#f9e6a1`- **primary-4** `#f9e07e`- **primary-5** `#f9d752`- **primary-6** `#facc15`- **primary-7** `#deb615`- **primary-8** `#c29f14`- **primary-9** `#a68914`- **primary-10** `#866f13`### Neutral Scale- **neutral-1** `#f8f5ef`- **neutral-2** `#efece6`- **neutral-3** `#e6e3dd`- **neutral-4** `#d3d1cb`- **neutral-5** `#b7b5b1`- **neutral-6** `#979592`- **neutral-7** `#72716e`- **neutral-8** `#52514f`- **neutral-9** `#313130`- **neutral-10** `#111111`### Semantic Tokens- **colorSuccess** `#16a34a` - 成功、在线、已完成.- **colorSuccessBg** `#ddebdb` - 成功状态浅背景.- **colorWarning** `#dc2626` - 警告、待确认、需关注.- **colorWarningBg** `#f5dcd7` - 警告状态浅背景.- **colorError** `#dc2626` - 错误、危险、阻断.- **colorErrorBg** `#f5e0db` - 错误状态浅背景.- **colorInfo** `#facc15` - 信息、链接、进行中.- **colorInfoBg** `#f8f0d5` - 信息状态浅背景.### Alias Tokens- **colorBgLayout** `#f4f1eb` - 应用整体画布.- **colorBgElevated** `#f1eee8` - 弹层、浮层与菜单.- **colorBgSpotlight** `#313130` - Tooltip 与强提示.- **colorBorder** `#d3d1cb` - 控件与容器边框.- **colorBorderSecondary** `#e6e3dd` - 轻分隔线.- **colorText** `#111111` - 一级文本.- **colorTextSecondary** `#5b5a58` - 二级文本.- **colorTextTertiary** `#858380` - 辅助说明.- **colorTextDisabled** `#a9a7a4` - 禁用文本.- **colorPrimaryHover** `#f9d752` - 主操作 Hover.- **colorPrimaryActive** `#deb615` - 主操作 Active.- **colorPrimaryBorder** `#f9e07e` - 主色边框.- **colorPrimaryBg** `#f8f1d9` - 主色浅背景.- **colorLink** `#facc15` - 链接与可跳转文本.- **colorFocus** `#f9e07e` - 键盘焦点环.- **colorMask** `#0c0c0c` - 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: 0-6px radius; favor crisp edges and deliberate geometry.- 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 subtle 120-220ms transitions for hover, focus, open, close, and selection states.- Motion should clarify state changes rather than decorate the page.- Respect reduced-motion preferences.## 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 **Constructivist Web**, 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- constructivist- poster- geometric- red black## Agent Prompt SnippetImplement the UI in the **Constructivist Web** 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: 需要柔和、可信、日常使用的产品界面。