AI UI Atlas
Mapping interface systems
给 coding agent 时可以直接复制下面这段,作为 UI 风格约束。
# E-ink 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 **E-ink UI** design language. 围绕电子墨水屏的低刷新、单色/少色、强阅读和低功耗特性设计,强调静态、清晰和克制反馈。Treat surface, depth, light, and texture as the main carrier of brand expression.## Aliases- 电子墨水屏- e-paper interface## Category- 材质与表面## Target Platforms- 移动端## Summary围绕电子墨水屏的低刷新、单色/少色、强阅读和低功耗特性设计,强调静态、清晰和克制反馈。## Visual DNA- 单色高对比- 低刷新友好- 纸面阅读- 少动效## Best Use Cases- 阅读器- 待办设备- 低功耗仪表- 日历挂屏## Avoid When需要高频动画、复杂图像编辑、视频预览或高饱和品牌表现。## Anatomy层级靠黑白灰、线框、字号和留白;避免依赖 hover、渐变和动画,状态变化要适合慢刷新。## Color SystemUse a Seed → Map → Semantic → Alias token architecture. Components must consume named tokens instead of hard-coded colors.### Reference Palette- **reference-1** `#fbfbf7`- **reference-2** `#e5e7eb`- **reference-3** `#9ca3af`- **reference-4** `#374151`- **reference-5** `#111827`### Seed Tokens- **colorBgBase** `#fbfbf7` - 页面基础背景.- **colorBgContainer** `#f3f3f0` - 卡片、面板与容器.- **colorFillSecondary** `#e8e9e6` - 次级填充与弱状态.- **colorPrimary** `#374151` - 品牌主操作与选中态.- **colorTextBase** `#111827` - 正文、图标与高对比轮廓.### Primary Scale- **primary-1** `#e7e8e6`- **primary-2** `#d0d2d2`- **primary-3** `#b4b8bb`- **primary-4** `#959aa1`- **primary-5** `#6e757f`- **primary-6** `#374151`- **primary-7** `#323c4c`- **primary-8** `#2e3747`- **primary-9** `#293242`- **primary-10** `#242d3c`### Neutral Scale- **neutral-1** `#fbfbf7`- **neutral-2** `#f2f2ef`- **neutral-3** `#e8e9e6`- **neutral-4** `#d6d7d6`- **neutral-5** `#b9bbbd`- **neutral-6** `#999ca0`- **neutral-7** `#73777e`- **neutral-8** `#535861`- **neutral-9** `#323844`- **neutral-10** `#111827`### Semantic Tokens- **colorSuccess** `#16a34a` - 成功、在线、已完成.- **colorSuccessBg** `#e0f0e2` - 成功状态浅背景.- **colorWarning** `#d97706` - 警告、待确认、需关注.- **colorWarningBg** `#f7ebda` - 警告状态浅背景.- **colorError** `#dc2626` - 错误、危险、阻断.- **colorErrorBg** `#f8e6e2` - 错误状态浅背景.- **colorInfo** `#374151` - 信息、链接、进行中.- **colorInfoBg** `#e3e5e3` - 信息状态浅背景.### Alias Tokens- **colorBgLayout** `#f6f7f3` - 应用整体画布.- **colorBgElevated** `#f4f4f1` - 弹层、浮层与菜单.- **colorBgSpotlight** `#323844` - Tooltip 与强提示.- **colorBorder** `#d6d7d6` - 控件与容器边框.- **colorBorderSecondary** `#e8e9e6` - 轻分隔线.- **colorText** `#111827` - 一级文本.- **colorTextSecondary** `#5c616a` - 二级文本.- **colorTextTertiary** `#868a8f` - 辅助说明.- **colorTextDisabled** `#abaeb0` - 禁用文本.- **colorPrimaryHover** `#6e757f` - 主操作 Hover.- **colorPrimaryActive** `#323c4c` - 主操作 Active.- **colorPrimaryBorder** `#959aa1` - 主色边框.- **colorPrimaryBg** `#e7e8e6` - 主色浅背景.- **colorLink** `#374151` - 链接与可跳转文本.- **colorFocus** `#959aa1` - 键盘焦点环.- **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 a restrained system sans or editorial serif/sans pairing only when the product explicitly benefits from publication-like rhythm.- Headlines can be large, but body copy must stay calm: 16-18px on desktop, 15-17px on mobile, line-height around 1.55-1.75.- Use weight changes sparingly; rely on size, spacing, and alignment before adding decoration.## Layout And Spacing- Use generous whitespace: 24-32px section gaps on mobile, 48-96px on desktop depending on content density.- Keep reading widths controlled; avoid full-width paragraphs.- Let spacing create hierarchy before adding borders, shadows, or accent blocks.- Recommended radius: 6-12px radius by default; increase only for expressive or highly tactile components.- Elevation and shadow: Use shadows sparingly; prefer whitespace, borders, and typography for hierarchy.## 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 **E-ink 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: 需要高频动画、复杂图像编辑、视频预览或高饱和品牌表现。## 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- e-ink- e-paper- reader- monochrome- low power## Agent Prompt SnippetImplement the UI in the **E-ink 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: 需要高频动画、复杂图像编辑、视频预览或高饱和品牌表现。