AI UI Atlas
Mapping interface systems
给 coding agent 时可以直接复制下面这段,作为 UI 风格约束。
# Neumorphism## 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 **Neumorphism** design language. 用同色系背景、内外双阴影制造软塑料浮雕感,视觉温和,但可访问性和状态表达是最大挑战。Treat surface, depth, light, and texture as the main carrier of brand expression.## Aliases- 新拟态- soft UI## Category- 材质与表面## Target Platforms- 移动端- PC 端## Summary用同色系背景、内外双阴影制造软塑料浮雕感,视觉温和,但可访问性和状态表达是最大挑战。## Visual DNA- 低对比- 内外阴影- 软塑料质感- 同色背景## Best Use Cases- 音乐旋钮- 智能家居控制- 实验性小组件- 概念稿## Avoid When生产级表单、弱视用户、阳光户外场景或严肃后台。## Anatomy凸起靠亮暗双阴影,凹陷靠 inset;交互状态必须补充颜色或文字。## Color SystemUse a Seed → Map → Semantic → Alias token architecture. Components must consume named tokens instead of hard-coded colors.### Reference Palette- **reference-1** `#e8eef4`- **reference-2** `#ffffff`- **reference-3** `#cbd5e1`- **reference-4** `#38bdf8`- **reference-5** `#334155`### Seed Tokens- **colorBgBase** `#e8eef4` - 页面基础背景.- **colorBgContainer** `#e2e8ee` - 卡片、面板与容器.- **colorFillSecondary** `#dae0e7` - 次级填充与弱状态.- **colorPrimary** `#38bdf8` - 品牌主操作与选中态.- **colorTextBase** `#334155` - 正文、图标与高对比轮廓.### Primary Scale- **primary-1** `#ebf8fe`- **primary-2** `#d3f0fd`- **primary-3** `#b7e7fc`- **primary-4** `#98ddfb`- **primary-5** `#70cffa`- **primary-6** `#38bdf8`- **primary-7** `#37aee4`- **primary-8** `#379fd1`- **primary-9** `#3690bd`- **primary-10** `#367fa7`### Neutral Scale- **neutral-1** `#ffffff`- **neutral-2** `#f7f7f8`- **neutral-3** `#eff0f1`- **neutral-4** `#dee1e4`- **neutral-5** `#c6cacf`- **neutral-6** `#a9afb8`- **neutral-7** `#89919c`- **neutral-8** `#6c7685`- **neutral-9** `#505c6d`- **neutral-10** `#334155`### Semantic Tokens- **colorSuccess** `#16a34a` - 成功、在线、已完成.- **colorSuccessBg** `#e3f4e9` - 成功状态浅背景.- **colorWarning** `#d97706` - 警告、待确认、需关注.- **colorWarningBg** `#faefe1` - 警告状态浅背景.- **colorError** `#dc2626` - 错误、危险、阻断.- **colorErrorBg** `#fce9e9` - 错误状态浅背景.- **colorInfo** `#38bdf8` - 信息、链接、进行中.- **colorInfoBg** `#e7f7fe` - 信息状态浅背景.### Alias Tokens- **colorBgLayout** `#e5ebf1` - 应用整体画布.- **colorBgElevated** `#e7ecf1` - 弹层、浮层与菜单.- **colorBgSpotlight** `#505c6d` - Tooltip 与强提示.- **colorBorder** `#dee1e4` - 控件与容器边框.- **colorBorderSecondary** `#eff0f1` - 轻分隔线.- **colorText** `#334155` - 一级文本.- **colorTextSecondary** `#6d7888` - 二级文本.- **colorTextTertiary** `#8e98a5` - 辅助说明.- **colorTextDisabled** `#aab3be` - 禁用文本.- **colorPrimaryHover** `#70cffa` - 主操作 Hover.- **colorPrimaryActive** `#37aee4` - 主操作 Active.- **colorPrimaryBorder** `#98ddfb` - 主色边框.- **colorPrimaryBg** `#ebf8fe` - 主色浅背景.- **colorLink** `#38bdf8` - 链接与可跳转文本.- **colorFocus** `#98ddfb` - 键盘焦点环.- **colorMask** `#252f3d` - 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: 6-12px radius by default; increase only for expressive or highly tactile components.- Elevation and shadow: Use soft directional shadows consistently; pair them with color/state cues so affordance remains clear.## Component Rules- Components should make the surface logic visible: panels, buttons, inputs, and overlays need consistent material treatment.- 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 **Neumorphism**, 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- neumorphism- soft ui- emboss- shadow## Agent Prompt SnippetImplement the UI in the **Neumorphism** 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: 生产级表单、弱视用户、阳光户外场景或严肃后台。