AI UI Atlas
Mapping interface systems
给 coding agent 时可以直接复制下面这段,作为 UI 风格约束。
# Claymorphism## 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 **Claymorphism** design language. 用柔软 3D 块、厚圆角、轻阴影和糖果色制造可爱、亲和、玩具般的界面气质。Treat visual attitude, memorable composition, and controlled exaggeration as the main design material.## Aliases- 黏土风- 3D clay UI## Category- 表现主义## Target Platforms- 移动端- PC 端## Summary用柔软 3D 块、厚圆角、轻阴影和糖果色制造可爱、亲和、玩具般的界面气质。## Visual DNA- 厚圆角- 软 3D- 糖果色- 亲和感## Best Use Cases- 儿童教育- 创意工具- 游戏化 App- 轻松消费品## 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** `#fdba74`- **reference-3** `#86efac`- **reference-4** `#93c5fd`- **reference-5** `#7c2d12`### Seed Tokens- **colorBgBase** `#fff7ed` - 页面基础背景.- **colorBgContainer** `#faf0e5` - 卡片、面板与容器.- **colorFillSecondary** `#f5e7db` - 次级填充与弱状态.- **colorPrimary** `#93c5fd` - 品牌主操作与选中态.- **colorTextBase** `#7c2d12` - 正文、图标与高对比轮廓.### Primary Scale- **primary-1** `#f4f2ef`- **primary-2** `#e7ecf1`- **primary-3** `#d8e5f3`- **primary-4** `#c7ddf5`- **primary-5** `#b1d3f9`- **primary-6** `#93c5fd`- **primary-7** `#90b3e1`- **primary-8** `#8da1c5`- **primary-9** `#8b8ea8`- **primary-10** `#887988`### Neutral Scale- **neutral-1** `#fff7ed`- **neutral-2** `#faefe4`- **neutral-3** `#f5e7db`- **neutral-4** `#ead7ca`- **neutral-5** `#dabeb0`- **neutral-6** `#c8a291`- **neutral-7** `#b3826e`- **neutral-8** `#a1664f`- **neutral-9** `#8e4931`- **neutral-10** `#7c2d12`### Semantic Tokens- **colorSuccess** `#16a34a` - 成功、在线、已完成.- **colorSuccessBg** `#e3edd9` - 成功状态浅背景.- **colorWarning** `#d97706` - 警告、待确认、需关注.- **colorWarningBg** `#fae8d1` - 警告状态浅背景.- **colorError** `#dc2626` - 错误、危险、阻断.- **colorErrorBg** `#fce2d9` - 错误状态浅背景.- **colorInfo** `#93c5fd` - 信息、链接、进行中.- **colorInfoBg** `#f2f1ef` - 信息状态浅背景.### Alias Tokens- **colorBgLayout** `#fdf3e9` - 应用整体画布.- **colorBgElevated** `#fbf1e6` - 弹层、浮层与菜单.- **colorBgSpotlight** `#8e4931` - Tooltip 与强提示.- **colorBorder** `#ead7ca` - 控件与容器边框.- **colorBorderSecondary** `#f5e7db` - 轻分隔线.- **colorText** `#7c2d12` - 一级文本.- **colorTextSecondary** `#a66e58` - 二级文本.- **colorTextTertiary** `#be9280` - 辅助说明.- **colorTextDisabled** `#d2b2a3` - 禁用文本.- **colorPrimaryHover** `#b1d3f9` - 主操作 Hover.- **colorPrimaryActive** `#90b3e1` - 主操作 Active.- **colorPrimaryBorder** `#c7ddf5` - 主色边框.- **colorPrimaryBg** `#f4f2ef` - 主色浅背景.- **colorLink** `#93c5fd` - 链接与可跳转文本.- **colorFocus** `#c7ddf5` - 键盘焦点环.- **colorMask** `#59200d` - 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 a modern system sans-serif stack by default; only introduce a custom font when the brand direction requires it.- Headings should be confident but not ornamental; body text must remain readable across mobile and desktop.- Keep labels short, high-contrast, and aligned to the component structure.## 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: 16-32px radius for major surfaces; use pill shapes only where they improve touch targets or softness.- Elevation and shadow: Use soft directional shadows consistently; pair them with color/state cues so affordance remains clear.## 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 厚圆角, 软 3D, 糖果色 without relying on a single color or effect.## Quality Checklist- The screen is immediately recognizable as **Claymorphism**, 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- clay- 3d- soft- playful## Agent Prompt SnippetImplement the UI in the **Claymorphism** design language. Prioritize 厚圆角, 软 3D, 糖果色. 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 儿童教育, 创意工具, 游戏化 App, while avoiding: 严肃 B 端、重数据分析、法律医疗等信任优先场景。