AI UI Atlas
Mapping interface systems
给 coding agent 时可以直接复制下面这段,作为 UI 风格约束。
# Marble Stone## 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 **Marble Stone** design language. 用天然石纹、低饱和底色、金属细线和厚重留白建立奢华、稳定和纪念碑式的界面气质。Treat surface, depth, light, and texture as the main carrier of brand expression.## Aliases- 大理石石材- stone surface UI## 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** `#f8f7f2`- **reference-2** `#d8d1c3`- **reference-3** `#a8a29e`- **reference-4** `#b08d57`- **reference-5** `#111827`### Seed Tokens- **colorBgBase** `#f8f7f2` - 页面基础背景.- **colorBgContainer** `#f0efeb` - 卡片、面板与容器.- **colorFillSecondary** `#e6e5e2` - 次级填充与弱状态.- **colorPrimary** `#b08d57` - 品牌主操作与选中态.- **colorTextBase** `#111827` - 正文、图标与高对比轮廓.### Primary Scale- **primary-1** `#f1ece3`- **primary-2** `#e8e0d0`- **primary-3** `#ded1ba`- **primary-4** `#d3c0a1`- **primary-5** `#c4ab82`- **primary-6** `#b08d57`- **primary-7** `#9d7f51`- **primary-8** `#8a714b`- **primary-9** `#776346`- **primary-10** `#61533f`### Neutral Scale- **neutral-1** `#f8f7f2`- **neutral-2** `#efeeea`- **neutral-3** `#e6e5e2`- **neutral-4** `#d3d3d2`- **neutral-5** `#b7b9b9`- **neutral-6** `#97999d`- **neutral-7** `#72767c`- **neutral-8** `#525660`- **neutral-9** `#313743`- **neutral-10** `#111827`### Semantic Tokens- **colorSuccess** `#16a34a` - 成功、在线、已完成.- **colorSuccessBg** `#ddedde` - 成功状态浅背景.- **colorWarning** `#d97706` - 警告、待确认、需关注.- **colorWarningBg** `#f4e8d6` - 警告状态浅背景.- **colorError** `#dc2626` - 错误、危险、阻断.- **colorErrorBg** `#f5e2de` - 错误状态浅背景.- **colorInfo** `#b08d57` - 信息、链接、进行中.- **colorInfoBg** `#efeadf` - 信息状态浅背景.### Alias Tokens- **colorBgLayout** `#f4f3ee` - 应用整体画布.- **colorBgElevated** `#f1f0ec` - 弹层、浮层与菜单.- **colorBgSpotlight** `#313743` - Tooltip 与强提示.- **colorBorder** `#d3d3d2` - 控件与容器边框.- **colorBorderSecondary** `#e6e5e2` - 轻分隔线.- **colorText** `#111827` - 一级文本.- **colorTextSecondary** `#5b5f68` - 二级文本.- **colorTextTertiary** `#85888d` - 辅助说明.- **colorTextDisabled** `#a9abad` - 禁用文本.- **colorPrimaryHover** `#c4ab82` - 主操作 Hover.- **colorPrimaryActive** `#9d7f51` - 主操作 Active.- **colorPrimaryBorder** `#d3c0a1` - 主色边框.- **colorPrimaryBg** `#f1ece3` - 主色浅背景.- **colorLink** `#b08d57` - 链接与可跳转文本.- **colorFocus** `#d3c0a1` - 键盘焦点环.- **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 **Marble Stone**, 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- marble- stone- luxury- architecture- premium## Agent Prompt SnippetImplement the UI in the **Marble Stone** 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: 需要轻快消费感、儿童产品、密集后台或强动态互动的页面。