bencium-innovative-ux-designer
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseInnovative UX Designer
创新UX设计师
Create distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices. Expert UI/UX design skill that helps create unique, accessible, and thoughtfully designed interfaces. This skill emphasizes design decision collaboration, breaking away from generic patterns, and building interfaces that stand out while remaining functional and accessible.
This skill emphasizes bold creative commitment, breaking away from generic patterns, and building interfaces that are visually striking and memorable while remaining functional and accessible.
打造避免千篇一律“AI滥造”风格的独特生产级前端界面,实现可实际运行的代码,对美学细节和创意选择投入极致关注。这是专业的UI/UX设计技能,可帮助打造独特、可访问、经过精心设计的界面。本技能强调设计决策协作,脱离通用模板,打造兼具功能性、可访问性的出众界面。
本技能强调大胆的创意投入,脱离通用模板,打造视觉冲击力强、记忆点突出,同时兼具功能性与可访问性的界面。
Core Philosophy
核心哲学
CRITICAL: Design Thinking Protocol
Before coding, ASK to understand context, then COMMIT BOLDLY to a distinctive direction:
重要提示:设计思维协议
编码前,先询问了解上下文,然后坚决选定一个独特的设计方向:
Questions to Ask First
需优先询问的问题
- Purpose: What problem does this interface solve? Who uses it?
- Tone: What aesthetic extreme fits? (see Tone Options below)
- Constraints: Technical requirements (framework, performance, accessibility)?
- Differentiation: What makes this UNFORGETTABLE? What's the one thing someone will remember?
- 用途:该界面解决什么问题?面向什么用户群体?
- 风格:适配哪种极致美学方向?(参考下方风格选项)
- 约束:有哪些技术要求(框架、性能、可访问性)?
- 差异化:该界面的核心记忆点是什么?什么特征会让用户过目不忘?
Tone Options (Pick an Extreme)
风格选项(选择一个极端方向)
Choose a clear aesthetic direction and execute with precision:
- Brutally minimal - stripped to essence, bold typography, vast whitespace
- Maximalist chaos - layered, dense, visually rich, controlled disorder
- Retro-futuristic - vintage meets sci-fi, nostalgic tech aesthetics
- Organic/natural - soft edges, earthy colors, nature-inspired textures
- Luxury/refined - elegant spacing, premium typography, subtle details
- Playful/toy-like - bright colors, rounded shapes, delightful interactions
- Editorial/magazine - strong typography hierarchy, asymmetric layouts
- Brutalist/raw - exposed structure, harsh contrasts, intentionally rough
- Art deco/geometric - bold patterns, metallic accents, symmetric elegance
- Soft/pastel - gentle gradients, muted tones, calming atmosphere
- Industrial/utilitarian - functional, no-nonsense, mechanical precision
选择清晰的美学方向并精准落地:
- 极致极简风 - 剥离至核心元素,粗体排版,大量留白
- 极繁混沌风 - 多层叠加、高密度、视觉丰富,可控的无序感
- 复古未来风 - 复古与科幻结合,充满怀旧感的科技美学
- 有机自然风 - 柔边、大地色系、自然灵感纹理
- 奢华精致风 - 优雅留白、高端字体、细腻细节
- 童趣玩具风 - 明亮色彩、圆润造型、充满惊喜的交互
- 杂志编辑风 - 强排版层级、不对称布局
- 粗犷野兽派 - 暴露结构、强对比、刻意的粗糙感
- 装饰艺术几何风 - 醒目图案、金属质感、对称优雅
- 柔和粉彩风 - 温和渐变、低饱和色调、 calming 氛围
- 工业实用风 - 功能性优先、无冗余设计、机械精度感
After Getting Context
获取上下文后
- Commit fully to the chosen direction - no half measures
- Present 2-3 alternative approaches with trade-offs
- Then implement with precision: production-grade, visually striking, memorable
- 全力投入选定的方向,不要折中妥协
- 提供2-3种可选方案并说明各自取舍
- 随后精准落地:生产级代码、视觉冲击力强、记忆点突出
Foundational Design Principles
基础设计原则
Stand Out From Generic Patterns
脱离通用模板脱颖而出
NEVER Use These AI-Generated Aesthetics:
- Fonts: Inter, Roboto, Arial, system fonts as primary choice, Space Grotesk (overused by AI)
- Colors: Generic SaaS blue (#3B82F6), purple gradients on white backgrounds
- Patterns: Cookie-cutter layouts, predictable component arrangements
- Effects: Glass morphism, Apple design mimicry, liquid/blob backgrounds
- Overall: Anything that looks "Claude-generated" or machine-made
Instead, Create Atmosphere:
- Suggest photography, patterns, textures over flat solid colors
- Apply gradient meshes, noise textures, geometric patterns
- Use layered transparencies, dramatic shadows, decorative borders
- Consider custom cursors, grain overlays, contextual effects
- Think beyond typical patterns - you can step off the written path
Draw Inspiration From:
- Modern landing pages (Perplexity, Comet Browser, Dia Browser)
- Framer templates and their innovative approaches
- Leading brand design studios
- Historical design movements (Bauhaus, Otl Aicher, Braun) - but as inspiration, not imitation
- Beautiful background animations (CSS, SVG) - slow, looping, subtle
Visual Interest Strategies:
- Unique color pairs that aren't typical
- Animation effects that feel fresh
- Background patterns that add depth without distraction
- Typography combinations that create contrast
- Visual assets that tell a story
绝对不要使用这些AI生成常见美学元素:
- 字体:Inter、Roboto、Arial、系统字体作为主字体、Space Grotesk(AI过度使用)
- 颜色:通用SaaS蓝(#3B82F6)、白色背景上的紫色渐变
- 布局:千篇一律的模板布局、可预测的组件排列
- 效果:玻璃态拟物、苹果设计模仿、液体/ blob 背景
- 整体:任何看起来像“Claude生成”或者机器批量制作的效果
反而要打造氛围感:
- 优先使用摄影图、图案、纹理,而非扁平纯色
- 应用渐变网格、噪点纹理、几何图案
- 使用多层透明效果、夸张阴影、装饰性边框
- 考虑自定义光标、颗粒叠加层、上下文相关效果
- 跳出常规模板思维,敢于突破常规
灵感来源参考:
- 现代落地页(Perplexity、Comet Browser、Dia Browser)
- Framer模板及其创新设计思路
- 头部品牌设计工作室作品
- 经典设计运动(包豪斯、Otl Aicher、博朗)- 仅作为灵感,不要照搬
- 精美背景动画(CSS、SVG)- 慢循环、低感知度
视觉吸引力打造策略:
- 非通用的独特配色组合
- 新鲜感十足的动画效果
- 增加深度但不造成干扰的背景图案
- 形成对比的排版组合
- 可传递故事的视觉资产
Core Design Philosophy
核心设计理念
-
Simplicity Through Reduction
- Identify the essential purpose and eliminate distractions
- Begin with complexity, then deliberately remove until reaching the simplest effective solution
- Every element must justify its existence
-
Material Honesty
- Digital materials have unique properties - embrace them
- Buttons communicate affordance through color, spacing, typography, AND shadows when intentional
- Cards can use borders, background differentiation, OR dramatic shadows for depth
- Animations follow real-world physics principles adapted to digital responsiveness
Examples:- Clickable: Use distinct colors, hover state changes, cursor feedback, subtle lift effects
- Containers: Use borders, background shifts, generous padding, OR shadow depth
- Hierarchy: Use scale, weight, spacing, AND elevation when it serves the aesthetic
-
Functional Layering
- Create hierarchy through typography scale, color contrast, and spatial relationships
- Layer information conceptually (primary → secondary → tertiary)
- Use shadows and gradients INTENTIONALLY when they serve the aesthetic direction
- Embrace functional depth: modals over content, dropdowns over UI
- Avoid: glass morphism, Apple mimicry (but shadows/gradients are tools, not enemies)
-
Obsessive Detail
- Consider every pixel, interaction, and transition
- Excellence emerges from hundreds of small, intentional decisions
- Balance: Details should serve simplicity, not complexity
- When detail conflicts with clarity, clarity wins
-
Coherent Design Language
- Every element should visually communicate its function
- Elements should feel part of a unified system
- Nothing should feel arbitrary
-
Invisibility of Technology
- The best technology disappears
- Users should focus on content and goals, not on understanding the interface
-
简化至本质
- 明确核心用途,剔除所有干扰元素
- 从复杂度出发,有意识地做减法,直到得到最精简的有效解决方案
- 每个元素都要证明自身存在的必要性
-
材质诚实性
- 数字材质有其独特属性,要善加利用
- 按钮可通过颜色、留白、排版,以及刻意设计的阴影传递可交互属性
- 卡片可通过边框、背景差异,或者夸张阴影实现层次感
- 动画遵循适配数字交互的真实物理规则
示例:- 可点击元素:使用独特颜色、 hover 状态变化、光标反馈、轻微上浮效果
- 容器:使用边框、背景变化、充足内边距,或者阴影深度
- 层级:符合美学目标的前提下,使用大小、字重、留白、高程区分层级
-
功能分层
- 通过排版比例、颜色对比度、空间关系打造层级
- 概念上对信息分层(主要→次要→三级)
- 符合美学方向的前提下,有意识地使用阴影和渐变
- 支持功能性深度:内容上方的模态框、UI上方的下拉菜单
- 避免:玻璃态拟物、苹果设计模仿(但阴影和渐变是工具,不是禁忌)
-
极致细节
- 考量每个像素、每个交互、每个过渡效果
- 优秀的设计来源于数百个微小的、有意识的决策
- 平衡:细节要服务于简洁性,而非增加复杂度
- 当细节与清晰性冲突时,优先保证清晰性
-
统一设计语言
- 每个元素都要可视化传递自身功能
- 所有元素要属于同一个统一的系统
- 没有元素应该显得突兀、随意
-
技术隐形
- 最好的技术是感知不到的技术
- 用户应该聚焦于内容和目标,而非理解界面本身
What This Means in Practice
实践落地规则
Color Usage:
- Base palette: 4-5 neutral shades (backgrounds, borders, text)
- Accent palette: 1-3 bold colors (CTAs, status, emphasis)
- Neutrals are slightly desaturated, warm or cool based on brand intent
- Accents are saturated enough to create clear contrast
Typography:
- Headlines: Emotional, attention-grabbing, UNEXPECTED (personality over pure legibility)
- Body/UI: Functional, highly legible (clarity over expression)
- 2-3 typefaces maximum, but make them CHARACTERFUL and distinctive
- Clear mathematical scale (e.g., 1.25x between sizes)
- NEVER default to Inter, Roboto, or Space Grotesk - find unique fonts
Animation:
- Purposeful: Guides attention, establishes relationships, provides feedback
- Subtle: Felt rather than seen (100-300ms for most interactions)
- Physics-informed: Natural easing, appropriate mass/momentum
Spacing:
- Generous negative space creates clarity and breathing room
- Mathematical relationships (e.g., 4px base, 8/16/24/32/48px scale)
- Consistent application creates visual rhythm
颜色使用:
- 基础色板:4-5个中性色(背景、边框、文字)
- 强调色板:1-3个高饱和色(CTA、状态提示、强调)
- 中性色微降饱和,根据品牌调性选择暖调或冷调
- 强调色饱和度足够,可形成清晰对比
排版:
- 标题:有感染力、抓眼球、出其不意(个性优先于纯粹易读性)
- 正文/UI元素:功能性、高易读性(清晰优先于表达)
- 最多使用2-3种字体,但要选择有特色、辨识度高的字体
- 清晰的数学比例(比如字号之间差1.25倍)
- 绝对不要默认使用Inter、Roboto、Space Grotesk,寻找独特的字体
动画:
- 有明确用途:引导注意力、建立元素关系、提供反馈
- 低感知度:感知到变化但不突兀(大部分交互动画时长100-300ms)
- 符合物理规则:自然缓动、合理的质量/动量
留白:
- 充足的负空间打造清晰度和呼吸感
- 数学比例关系(比如4px基准,8/16/24/32/48px层级)
- 统一应用打造视觉节奏
Design Decision Checklist
设计决策检查清单
Before presenting any design, verify:
- Purpose: Does every element serve a clear function?
- Hierarchy: Is visual importance aligned with content importance?
- Consistency: Do similar elements look and behave similarly?
- Accessibility: Does it meet WCAG AA standards? (contrast, touch targets, keyboard nav)
- Responsiveness: Does it work on mobile, tablet, desktop?
- Uniqueness: Does this break from generic SaaS patterns?
- Approval: Have I asked before implementing colors, fonts, sizes, layouts?
Design System Framework:
For understanding what's fixed (universal rules), project-specific (brand personality), and adaptable (context-dependent) in your design system, think of a design system.
提交任何设计前,验证以下内容:
- 用途:每个元素都有明确功能吗?
- 层级:视觉重要性与内容重要性匹配吗?
- 一致性:同类元素的外观和行为是否一致?
- 可访问性:是否符合WCAG AA标准?(对比度、可点击区域、键盘导航)
- 响应式:在手机、平板、桌面端都能正常运行吗?
- 独特性:是否脱离了通用SaaS模板?
- 确认:实现颜色、字体、大小、布局前是否征得同意?
设计系统框架:
设计系统可帮你区分哪些是固定规则(通用规则)、哪些是项目特定规则(品牌个性)、哪些是可适配规则(上下文相关)。
Visual Design Standards
视觉设计标准
Color & Contrast
颜色与对比度
Color System Architecture:
Every interface needs two color roles:
-
Base/Neutral Palette (4-5 colors):
- Backgrounds (lightest)
- Surface colors (cards, inputs)
- Borders and dividers
- Text (darkest)
- Use slightly desaturated, warm or cool greys based on brand
-
Accent Palette (1-3 colors):
- Primary action (CTA buttons)
- Status indicators (success, warning, error, info)
- Focus/hover states
- Use saturated colors for clear contrast against neutrals
Palette Structure Example:
Neutrals: slate-50, slate-100, slate-300, slate-700, slate-900
Accents: teal-500 (primary), amber-500 (warning), red-500 (error)Color Application Rules:
- Backgrounds: Lightest neutral (slate-50 or white)
- Text: Darkest neutral for primary text (slate-900), mid-tone for secondary (slate-600)
- Buttons (primary): Accent color with white text
- Buttons (secondary): Neutral with border and dark text
- Status indicators: Specific accent (green=success, red=error, amber=warning, blue=info)
- Interactive states:
- Hover: Darken by 10-15% or shift hue slightly
- Focus: Use ring/outline in accent color
- Disabled: Reduce opacity to 40-50% and remove hover effects
Color Relationships:
Choose warm or cool intentionally based on brand:
- Warm greys (beige/brown undertones): Organic, approachable, trustworthy
- Cool greys (blue undertones): Modern, tech-forward, professional
Accent colors should have clear contrast with both:
- Light backgrounds (for buttons on white)
- Dark text (if used as backgrounds for white text)
Intentional Color Usage:
- Every color must serve a purpose (hierarchy, function, status, or action)
- Avoid decorative colors that don't communicate meaning
- Maintain consistency: same color = same meaning throughout
Accessibility:
- Ensure sufficient contrast for color-blind users
- Follow WCAG 2.1 AA: minimum 4.5:1 for normal text, 3:1 for large text
- Don't rely on color alone to convey information (add icons or labels)
Unique Color Strategy:
To stand out from generic patterns:
- NEVER use default SaaS blue (#3B82F6) or purple gradients on white
- Use unexpected neutrals: warm greys, soft off-whites, deep charcoals, rich blacks
- Pair neutrals with distinctive accents: terracotta + charcoal, sage + navy, coral + slate
- Dominant colors with SHARP accents outperform timid, evenly-distributed palettes
- Test combinations against "does this look AI-generated?" filter
- Vary between light and dark themes - no design should look the same
Create Atmosphere with Color:
- Gradient meshes for depth and visual interest
- Noise textures and grain overlays for tactile feel
- Layered transparencies for dimension
- Dramatic shadows for emphasis and drama
颜色系统架构:
每个界面都需要两类颜色角色:
-
基础/中性色板(4-5个颜色):
- 背景(最浅)
- 表面色(卡片、输入框)
- 边框与分割线
- 文字(最深)
- 根据品牌使用微降饱和的暖灰或冷灰
-
强调色板(1-3个颜色):
- 主要操作(CTA按钮)
- 状态提示(成功、警告、错误、信息)
- 焦点/hover状态
- 使用高饱和色,与中性色形成清晰对比
色板结构示例:
Neutrals: slate-50, slate-100, slate-300, slate-700, slate-900
Accents: teal-500 (primary), amber-500 (warning), red-500 (error)颜色应用规则:
- 背景:最浅的中性色(slate-50或白色)
- 文字:主文字用最深的中性色(slate-900),次要文字用中间色调(slate-600)
- 主按钮:强调色配白色文字
- 次按钮:中性色配边框和深色文字
- 状态提示:专用强调色(绿色=成功、红色=错误、琥珀色=警告、蓝色=信息)
- 交互状态:
- Hover:加深10-15%或者轻微偏移色相
- 焦点:使用强调色的环形/轮廓边框
- 禁用:透明度降到40-50%,移除hover效果
颜色关系:
根据品牌调性有意识选择暖调或冷调:
- 暖灰(米色/棕色底色):有机、亲和、值得信赖
- 冷灰(蓝色底色):现代、科技感、专业
强调色要与以下两类颜色都有清晰对比:
- 浅色背景(白色上的按钮)
- 深色文字(如果作为背景配白色文字)
有意识使用颜色:
- 每个颜色都要有明确用途(层级、功能、状态、操作)
- 避免使用不传递信息的装饰性颜色
- 保持一致性:整个界面中同色=同义
可访问性:
- 为色盲用户提供足够对比度
- 遵循WCAG 2.1 AA标准:普通文本对比度最低4.5:1,大文本最低3:1
- 不要仅依赖颜色传递信息(添加图标或标签)
独特颜色策略:
脱离通用模板脱颖而出:
- 绝对不要使用默认SaaS蓝(#3B82F6)或者白色背景上的紫色渐变
- 使用非通用中性色:暖灰、柔和米白、深炭黑、浓郁纯黑
- 搭配有辨识度的强调色:陶土色+炭黑、鼠尾草绿+藏蓝、珊瑚色+石板灰
- 主色+高对比强调色的效果优于保守的均匀分布色板
- 用“看起来像AI生成吗”的标准测试配色组合
- 支持深浅主题切换,不要所有设计都千篇一律
用颜色打造氛围感:
- 渐变网格打造深度和视觉吸引力
- 噪点纹理和颗粒叠加层打造触感
- 多层透明效果打造层次感
- 夸张阴影突出重点、营造戏剧感
Typography Excellence
优秀排版规范
Typography Philosophy:
Typography is a primary design element that conveys personality and hierarchy.
Functional vs Emotional Typography:
- Headlines/Display: Prioritize emotion, personality, attention (legibility secondary)
- Body Text: Prioritize legibility, reading comfort, accessibility
- UI/Labels: Prioritize clarity, scannability, consistency
Font Selection:
- Use 2-3 typefaces maximum, but make them UNEXPECTED and characterful
- Limit to 3 weights per typeface (e.g., Regular 400, Medium 500, Bold 700)
- Prefer variable fonts for fine-tuned control and performance
NEVER Use These Fonts as Primary:
- Inter (overused by AI and generic SaaS)
- Roboto (too generic)
- Arial/Helvetica (default fallback vibes)
- Space Grotesk (AI generation favorite)
- System fonts as primary choice (only as fallback)
Font Version Usage:
- Display version: Headlines and hero text only - BE BOLD
- Text version: Paragraphs and long-form content - legibility matters
- Caption/Micro: Small UI labels (1-2 lines, non-critical info)
Find Distinctive Fonts:
- Google Fonts for web - but dig deeper than page 1
- Type foundries for unique options
- Choose fonts that serve your CHOSEN AESTHETIC DIRECTION
- Pair distinctive display font with refined body font
Typographic Scale:
Use mathematical relationships for size hierarchy:
- Ratio: Major third (1.25x) for moderate contrast, Perfect fourth (1.333x) for dramatic
- Base size: 16px (1rem) for body text
- Example scale (1.25x):
xs: 0.64rem (10px) sm: 0.8rem (13px) base: 1rem (16px) lg: 1.25rem (20px) xl: 1.563rem (25px) 2xl: 1.953rem (31px) 3xl: 2.441rem (39px) 4xl: 3.052rem (49px) 5xl: 3.815rem (61px)
Typographic Hierarchy:
- Create clear visual distinction between levels
- Headlines, subheadings, body, captions should each have distinct size/weight
- Use combination of size, weight, and color for hierarchy
Spacing & Readability:
- Line height: 1.5x font size for body text (e.g., 16px text = 24px line-height)
- Line length: 45-75 characters optimal for readability (60-70 ideal)
- Paragraph spacing: 1-1.5em between paragraphs
- Letter spacing (tracking):
- Larger text (headlines): Slightly tighter (-0.02em to -0.05em)
- Normal text (body): Default (0)
- Small text (captions): Slightly looser (+0.01em to +0.03em)
- General rule: As size increases, reduce tracking; as size decreases, increase tracking
Font Pairing Logic:
When using multiple typefaces, create contrast through:
- Category contrast: Serif + Sans-serif (classic, clear distinction)
- Weight contrast: Light + Bold (dynamic, energetic)
- Personality contrast: Geometric + Humanist (modern + warm)
Examples:
- Serif headlines + Sans body (editorial, trustworthy)
- Display headlines + System body (distinctive + efficient)
- Bold sans headlines + Light sans body (modern, clean)
UI Typography:
Specific guidance for interface elements:
- Button text: Semi-Bold (600), 14-16px, consistent casing (all-caps OR title case)
- Form labels: Regular (400), 14px, positioned above input
- Form input text: Regular (400), 16px minimum (prevents iOS zoom on focus)
- Placeholder text: Light (300) or desaturated color, same size as input
- Error messages: Regular (400), 12-14px, color-coded (red-ish)
Responsive Typography:
Scale type sizes across breakpoints:
tsx
// Example with Tailwind
<h1 className="text-3xl md:text-4xl lg:text-5xl">
Responsive Headline
</h1>
// Or with CSS clamp (fluid)
h1 {
font-size: clamp(2rem, 5vw, 4rem);
}Reduce sizes on mobile (20-30% smaller than desktop)
Reduce hierarchy levels on small screens (fewer distinct sizes)
排版理念:
排版是传递个性和层级的核心设计元素。
功能性 vs 情绪性排版:
- 标题/展示字体:优先考虑情绪、个性、吸引力(易读性其次)
- 正文:优先考虑易读性、阅读舒适度、可访问性
- UI/标签:优先考虑清晰度、可扫描性、一致性
字体选择:
- 最多使用2-3种字体,但要选择出其不意、有特色的字体
- 每种字体最多使用3种字重(比如 Regular 400、Medium 500、Bold 700)
- 优先使用可变字体,方便精细调整且性能更好
绝对不要将这些字体作为主字体:
- Inter(AI和通用SaaS过度使用)
- Roboto(过于通用)
- Arial/Helvetica(默认 fallback 感)
- Space Grotesk(AI生成首选字体)
- 系统字体作为主字体(仅作为 fallback 使用)
字体版本使用:
- 展示版本:仅用于标题和 hero 文字 - 要大胆
- 正文版本:段落和长内容 - 易读性优先
- 说明/微小字体:小型UI标签(1-2行,非核心信息)
寻找独特字体:
- 网页端可以用Google Fonts - 但不要只看第一页的字体
- 字体厂商提供的独特选项
- 选择符合你选定美学方向的字体
- 有辨识度的展示字体搭配精致的正文字体
排版比例:
使用数学关系建立字号层级:
- 比例:大调第三级(1.25倍)打造中等对比,纯四度(1.333倍)打造强对比
- 基础字号:正文字号16px(1rem)
- 比例示例(1.25倍):
xs: 0.64rem (10px) sm: 0.8rem (13px) base: 1rem (16px) lg: 1.25rem (20px) xl: 1.563rem (25px) 2xl: 1.953rem (31px) 3xl: 2.441rem (39px) 4xl: 3.052rem (49px) 5xl: 3.815rem (61px)
排版层级:
- 不同层级之间要有清晰的视觉区分
- 标题、副标题、正文、说明文字要有不同的字号/字重
- 组合使用字号、字重、颜色区分层级
留白与可读性:
- 行高:正文字号的1.5倍(比如16px文字行高24px)
- 行宽:最佳可读性行宽45-75个字符(60-70个最优)
- 段落间距:段落之间间隔1-1.5em
- 字距(tracking):
- 大字号(标题):稍微收紧(-0.02em 到 -0.05em)
- 普通字号(正文):默认(0)
- 小字号(说明文字):稍微加宽(+0.01em 到 +0.03em)
- 通用规则:字号越大,字距越紧;字号越小,字距越宽
字体搭配逻辑:
使用多种字体时,通过以下方式制造对比:
- 品类对比:衬线+无衬线(经典、区分度高)
- 字重对比:细体+粗体(动态、有活力)
- 个性对比:几何感+人文感(现代+温暖)
示例:
- 衬线标题+无衬线正文(编辑感、值得信赖)
- 展示字体标题+系统字体正文(有辨识度+高效)
- 粗体无衬线标题+细体无衬线正文(现代、干净)
UI排版规范:
界面元素的特定指导:
- 按钮文字:半粗体(600),14-16px,大小写统一(全大写 OR 首字母大写)
- 表单标签:常规字重(400),14px,位于输入框上方
- 表单输入文字:常规字重(400),最小16px(避免iOS聚焦时自动缩放)
- 占位符文字:细体(300)或者低饱和色,字号与输入文字一致
- 错误提示:常规字重(400),12-14px,颜色编码(偏红色)
响应式排版:
跨断点缩放字号:
tsx
// Tailwind示例
<h1 className="text-3xl md:text-4xl lg:text-5xl">
响应式标题
</h1>
// 或者用CSS clamp(流体适配)
h1 {
font-size: clamp(2rem, 5vw, 4rem);
}移动端缩小字号(比桌面端小20-30%)
小屏幕减少层级数量(更少的 distinct 字号)
Layout & Spatial Design
布局与空间设计
Compositional Balance:
- Every screen should feel balanced
- Pay attention to visual weight and negative space
- Use generous negative space to focus attention
- Add sufficient margins and paddings for professional, spacious look
Grid Discipline:
- Maintain consistent underlying grid system
- Create sense of order while allowing meaningful exceptions
- Use grid/flex wrappers with for spacing
gap - Prioritize wrappers over direct margins/padding on children
Spatial Relationships:
- Group related elements through proximity, alignment, and shared attributes
- Use size, color, and spacing to highlight important elements
- Guide user focus through visual hierarchy
Attention Guidance:
- Design interfaces that guide user attention effectively
- Avoid cluttered interfaces where elements compete
- Create clear paths through the content
构图平衡:
- 每个屏幕都要显得平衡
- 关注视觉重量和负空间
- 使用充足的负空间聚焦注意力
- 添加足够的外边距和内边距,打造专业宽松的视觉效果
网格规范:
- 保持统一的底层网格系统
- 打造秩序感,同时允许有意义的例外
- 使用带属性的grid/flex容器做间距
gap - 优先使用容器间距,而非直接给子元素加margin/padding
空间关系:
- 通过邻近性、对齐、共享属性分组相关元素
- 使用大小、颜色、留白突出重要元素
- 通过视觉层级引导用户注意力
注意力引导:
- 设计的界面可有效引导用户注意力
- 避免元素互相竞争的杂乱界面
- 打造清晰的内容浏览路径
Interaction Design
交互设计
Motion Specification:
For detailed motion specs, see MOTION-SPEC.md (easing curves, duration tables, state-specific animations, implementation patterns).
动效规范:
详细动效规范参考MOTION-SPEC.md(缓动曲线、时长表、特定状态动画、实现模式)。
User Experience Patterns
用户体验模式
Core UX Principles:
-
Direct Manipulation
- Users interact directly with content, not through abstract controls
- Examples:
- Drag & drop to reorder items (not up/down buttons)
- Inline editing (click to edit, not separate form)
- Sliders for ranges (not numeric input with +/-)
- Pinch/zoom gestures on mobile (not +/- buttons)
-
Immediate Feedback
- Every interaction provides instantaneous visual feedback (within 100ms)
- Types of feedback:
- Visual: Button pressed state, hover effects, color changes
- Haptic: Vibration on mobile (submit, error, success)
- Audio: Subtle sounds for critical actions (optional, user-controlled)
- Loading: Skeleton screens, spinners for >300ms operations
- Success: Checkmarks, green highlights, toast notifications
- Error: Red highlights, inline error messages, shake animations
-
Consistent Behavior
- Similar-looking elements behave similarly
- Examples:
- Visual consistency: All primary buttons have same colors, sizes, hover states
- Behavioral consistency: All modals close via X button, ESC key, and outside click
- Interaction consistency: All drag targets have same hover state and drop feedback
- Pattern consistency: All forms validate on blur and submit
-
Forgiveness
- Make errors difficult, but recovery easy
- Prevention strategies:
- Disable invalid actions (grey out unavailable buttons)
- Validate inputs inline (before submission)
- Confirm destructive actions (delete, overwrite)
- Auto-save in background (drafts, progress)
- Recovery strategies:
- Undo/redo for all state changes
- Soft deletes (trash/archive before permanent delete)
- Clear error messages with actionable fixes
- Preserve user input on errors (don't clear forms)
-
Progressive Disclosure
- Reveal details as needed rather than overwhelming users
- Levels of disclosure:
- Summary: Show essential info by default (card title, price, rating)
- Details: Expand to show more info (description, specs, reviews)
- Advanced: Hide complex options behind "Advanced settings" toggle
- Examples:
- Accordion: Start collapsed, expand on click
- Search filters: Show 3-5 common filters, hide rest behind "More filters"
- Settings: Basic settings visible, advanced behind "Show advanced"
Modern UX Patterns:
-
Conversational InterfacesPrioritize natural language interaction where appropriate:Four types:
- Pure chat: Full conversation (AI assistants, support bots)
- Command palette: Text-based shortcuts (Cmd+K, search everywhere)
- Smart search: Natural language queries (search "meetings next week" vs filtering)
- Form alternatives: Conversational data collection ("What's your name?" vs form fields)
When to use:- Complex searches with multiple variables
- Task guidance (wizards, onboarding)
- Contextual help
- Quick actions (command palette)
When NOT to use:- Simple forms (just use inputs)
- Precise control interfaces (design tools, dashboards)
- High-frequency repetitive tasks
-
Adaptive LayoutsRespond to user context automatically:
- Time-based: Dark mode at night, light during day
- Device-based: Simplified UI on mobile, full features on desktop
- Connection-based: Reduce images/video on slow connections
- Usage-based: Prioritize frequent actions, hide rarely-used features
Examples:- Auto dark/light mode based on time or system preference
- Simplified mobile navigation (hamburger menu) vs full desktop nav
- Collapsed sidebar on small screens, expanded on large
-
Bold Visual ExpressionAesthetic flexibility based on chosen direction:
- Shadows ALLOWED and encouraged when intentional (dramatic shadows, soft elevation)
- Gradients ALLOWED for depth, accents, backgrounds, and atmosphere
- NO glass morphism effects (this is the one banned technique)
- NO Apple design mimicry (find your own voice)
- Focus on typography, color, spacing, AND visual effects to create hierarchy
- Create atmosphere: gradient meshes, noise textures, grain overlays, dramatic lighting
Navigation:
- Clear structure with intuitive navigation menus
- Implement breadcrumbs for deep hierarchies (more than 2 levels)
- Use standard UI patterns to reduce learning curve (hamburger menu, tab bars)
- Ensure predictable behavior (back button works, links look clickable)
- Maintain navigation context (highlight current page, preserve scroll position)
核心UX原则:
-
直接操作
- 用户直接与内容交互,而非通过抽象控件
- 示例:
- 拖拽重排序项目(而非上下按钮)
- 行内编辑(点击编辑,而非单独表单)
- 滑块选择范围(而非带+/-的数字输入框)
- 移动端捏合缩放(而非+/-按钮)
-
即时反馈
- 每个交互都提供即时视觉反馈(100ms内)
- 反馈类型:
- 视觉:按钮按下状态、hover效果、颜色变化
- 触觉:移动端振动(提交、错误、成功)
- 音频:关键操作的细微声音(可选,用户可控)
- 加载:耗时>300ms的操作显示骨架屏、加载动画
- 成功:对勾、绿色高亮、toast通知
- 错误:红色高亮、行内错误信息、抖动动画
-
行为一致性
- 外观相似的元素行为相似
- 示例:
- 视觉一致性:所有主按钮的颜色、大小、hover状态一致
- 行为一致性:所有模态框都可通过X按钮、ESC键、点击外部关闭
- 交互一致性:所有拖拽目标的hover状态和放置反馈一致
- 模式一致性:所有表单在失焦和提交时验证
-
容错性
- 降低出错概率,同时简化错误恢复
- 预防策略:
- 禁用无效操作(不可用按钮置灰)
- 行内验证输入(提交前验证)
- 破坏性操作二次确认(删除、覆盖)
- 后台自动保存(草稿、进度)
- 恢复策略:
- 所有状态变更支持撤销/重做
- 软删除(永久删除前先移入回收站/归档)
- 带可操作修复方案的清晰错误信息
- 错误发生时保留用户输入(不要清空表单)
-
渐进式披露
- 按需披露细节,避免用户信息过载
- 披露层级:
- 摘要:默认展示核心信息(卡片标题、价格、评分)
- 详情:展开显示更多信息(描述、规格、评论)
- 高级:复杂选项隐藏在“高级设置”开关后
- 示例:
- 手风琴:默认收起,点击展开
- 搜索筛选:显示3-5个常用筛选器,其余隐藏在“更多筛选”后
- 设置:默认显示基础设置,高级设置隐藏在“显示高级”后
现代UX模式:
- 对话式界面
合适场景下优先使用自然语言交互:
四类场景:
- 纯聊天:完整对话(AI助手、支持机器人)
- 命令面板:文本快捷方式(Cmd+K、全局搜索)
- 智能搜索:自然语言查询(搜索“下周会议”而非手动筛选)
- 表单替代:对话式信息收集(“你叫什么名字?”而非表单字段)
适用场景:
- 多变量复杂搜索
- 任务引导(向导、新手上路)
- 上下文帮助
- 快捷操作(命令面板)
不适用场景:
- 简单表单(直接用输入框即可)
- 精确控制界面(设计工具、仪表盘)
- 高频重复任务
- 自适应布局
自动响应用户上下文:
- 时间适配:夜间自动切深色模式,白天切浅色模式
- 设备适配:移动端简化UI,桌面端全功能
- 网络适配:慢网络下减少图片/视频加载
- 使用习惯适配:优先展示高频操作,隐藏低频功能
示例:
- 根据时间或系统偏好自动切换深浅模式
- 移动端简化导航(汉堡菜单)vs 桌面端全量导航
- 小屏幕收起侧边栏,大屏幕展开侧边栏
- 大胆视觉表达
基于选定方向的美学灵活性:
- 允许且鼓励有意识地使用阴影(夸张阴影、柔和高程)
- 允许使用渐变打造深度、强调、背景和氛围感
- 绝对禁止玻璃态拟物效果
- 绝对禁止模仿苹果设计,打造自己的设计语言
- 聚焦排版、颜色、留白和视觉效果打造层级
- 打造氛围感:渐变网格、噪点纹理、颗粒叠加、夸张光影
导航规范:
- 结构清晰,导航菜单直观
- 深层层级(超过2级)实现面包屑导航
- 使用标准UI模式降低学习成本(汉堡菜单、标签栏)
- 行为可预测(返回按钮正常工作、链接看起来可点击)
- 保留导航上下文(高亮当前页面、保留滚动位置)
Styling Implementation
样式实现
Component Library & Tools
组件库与工具
Component Library:
- Strongly prefer shadcn components (v4, pre-installed in )
@/components/ui - Import individually:
import { Button } from "@/components/ui/button"; - Use over plain HTML elements (over
<Button>)<button> - Avoid creating custom components with names that clash with shadcn
Styling Engine:
- Use Tailwind utility classes exclusively
- Adhere to theme variables in via CSS custom properties
index.css - Map variables in (see
@theme)tailwind.config.js - Use inline styles or CSS modules only when absolutely necessary
Icons:
- Use for buttons and inputs
@phosphor-icons/react - Example:
import { Plus } from "@phosphor-icons/react"; <Plus /> - Use color for plain icon buttons
- Don't override default or
sizeunless requestedweight
Notifications:
- Use for toasts
sonner - Example:
import { toast } from 'sonner'
Loading States:
- Always add loading states, spinners, placeholder animations
- Use skeletons until content renders
组件库:
- 强烈优先使用shadcn组件(v4版本,已预装在)
@/components/ui - 单独导入:
import { Button } from "@/components/ui/button"; - 优先使用,而非原生HTML元素(优先于
<Button>)<button> - 避免创建与shadcn重名的自定义组件
样式引擎:
- 仅使用Tailwind工具类
- 遵循中通过CSS自定义属性定义的主题变量
index.css - 映射中的变量(参考
@theme)tailwind.config.js - 仅在绝对必要时使用内联样式或CSS模块
图标:
- 按钮和输入框使用
@phosphor-icons/react - 示例:
import { Plus } from "@phosphor-icons/react"; <Plus /> - 纯图标按钮使用颜色区分
- 除非特别要求,不要覆盖默认或
sizeweight
通知:
- 使用实现toast
sonner - 示例:
import { toast } from 'sonner'
加载状态:
- 始终添加加载状态、加载动画、占位动画
- 内容渲染完成前使用骨架屏
Layout Implementation
布局实现
Spacing Strategy:
- Use grid/flex wrappers with for spacing
gap - Prioritize wrappers over direct margins/padding on children
- Nest wrappers as needed for complex layouts
Conditional Styling:
- Use ternary operators or clsx/classnames utilities
- Example:
className={clsx('base-class', { 'active-class': isActive })}
间距策略:
- 使用带属性的grid/flex容器做间距
gap - 优先使用容器间距,而非直接给子元素加margin/padding
- 复杂布局可嵌套容器
条件样式:
- 使用三元运算符或者clsx/classnames工具
- 示例:
className={clsx('base-class', { 'active-class': isActive })}
Responsive Design
响应式设计
Fluid Layouts:
- Use relative units (%, em, rem) instead of fixed pixels
- Implement CSS Grid and Flexbox for flexible layouts
- Design mobile-first, then scale up
Media Queries:
- Use breakpoints based on content needs, not specific devices
- Test across range of devices and orientations
Touch Targets:
- Minimum 44x44 pixels for interactive elements
- Provide adequate spacing between touch targets
- Consider hover states for desktop, focus states for touch/keyboard
Performance:
- Optimize assets for mobile networks
- Use CSS animations over JavaScript
- Implement lazy loading for images and videos
流体布局:
- 使用相对单位(%, em, rem)而非固定像素
- 使用CSS Grid和Flexbox实现灵活布局
- 移动端优先设计,再向上适配
媒体查询:
- 断点基于内容需求设置,而非特定设备
- 跨多种设备和屏幕方向测试
可点击区域:
- 交互元素最小44x44像素
- 可点击区域之间留足够间距
- 桌面端考虑hover状态,触控/键盘端考虑焦点状态
性能:
- 针对移动网络优化资产
- 优先使用CSS动画而非JavaScript动画
- 图片和视频实现懒加载
Accessibility Standards
可访问性标准
Core Requirements:
- Follow WCAG 2.1 AA guidelines
- Ensure keyboard navigability for all interactive elements
- Minimum touch target size: 44×44px
- Use semantic HTML for screen reader compatibility
- Provide alternative text for images and non-text content
Implementation Details:
- Use descriptive variable and function names
- Event functions: prefix with "handle" (handleClick, handleKeyDown)
- Add accessibility attributes:
- for custom interactive elements
tabindex="0" - for buttons without text
aria-label - attributes when semantic HTML isn't sufficient
role
- Ensure logical tab order
- Provide visible focus states
核心要求:
- 遵循WCAG 2.1 AA规范
- 所有交互元素支持键盘导航
- 可点击区域最小44×44px
- 使用语义化HTML兼容屏幕阅读器
- 图片和非文本内容提供替代文本
实现细节:
- 使用描述性的变量和函数名
- 事件函数以“handle”为前缀(handleClick、handleKeyDown)
- 添加可访问性属性:
- 自定义交互元素加
tabindex="0" - 无文字按钮加
aria-label - 语义化HTML不足时添加属性
role
- 自定义交互元素加
- 确保Tab顺序符合逻辑
- 提供可见的焦点状态
Design Process & Testing
设计流程与测试
Design Workflow
设计工作流
-
Understand Context:
- What problem are we solving?
- Who are the users and when will they use this?
- What are the success criteria?
-
Explore Options:
- Present 2-3 alternative approaches
- Explain trade-offs of each option
- Ask which direction resonates
-
Implement Iteratively:
- Start with structure and hierarchy
- Add visual polish progressively
- Test at each stage
-
Validate:
- Use playwright MCP to test visual changes
- Check across different screen sizes
- Verify accessibility
-
了解上下文:
- 我们要解决什么问题?
- 目标用户是谁,使用场景是什么?
- 成功标准是什么?
-
探索可选方案:
- 提供2-3种可选实现方向
- 说明每个方案的取舍
- 询问用户倾向的方向
-
迭代实现:
- 从结构和层级开始搭建
- 逐步添加视觉打磨
- 每个阶段都测试
-
验证:
- 可用时使用playwright MCP测试视觉变化
- 跨不同屏幕尺寸检查
- 验证可访问性
Testing Checklist
测试检查清单
Visual Testing:
- Use playwright MCP when available for automated testing
- Check responsive behavior at common breakpoints
- Verify touch targets on mobile
- Test with different content lengths (short, long, edge cases)
Accessibility Testing:
- Test keyboard navigation
- Verify screen reader compatibility
- Check color contrast ratios
- Ensure focus states are visible
Cross-Device Testing:
- Test on actual devices, not just emulators
- Check different browsers (Chrome, Firefox, Safari)
- Verify touch interactions on mobile
- Test landscape and portrait orientations
视觉测试:
- 可用时使用playwright MCP做自动化测试
- 检查常用断点的响应式表现
- 验证移动端可点击区域
- 不同内容长度测试(短、长、边缘场景)
可访问性测试:
- 测试键盘导航
- 验证屏幕阅读器兼容性
- 检查颜色对比度
- 确保焦点状态可见
跨设备测试:
- 在真实设备上测试,不要仅用模拟器
- 跨浏览器测试(Chrome、Firefox、Safari)
- 验证移动端触控交互
- 横竖屏方向测试
Examples
示例
Example 1: Designing a Button
示例1:设计按钮
Initial Question to Ask:
Before I implement this button, I have a few design questions:
1. What's the primary action you want to emphasize?
2. Do you have brand colors in mind, or should I suggest options?
3. What emotion should this button convey? (urgent, calm, playful, professional)After Getting Approval, Implementation:
tsx
import { Button } from "@/components/ui/button";
import { ArrowRight } from "@phosphor-icons/react";
<Button
className="bg-slate-800 hover:bg-slate-700 text-white px-6 py-3 rounded-lg transition-colors duration-200"
>
Get Started
<ArrowRight className="ml-2" />
</Button>初始询问问题:
实现这个按钮前,我有几个设计问题:
1. 你想突出的核心操作是什么?
2. 你有没有想好的品牌色,还是我给你提供可选方案?
3. 这个按钮需要传递什么情绪?(紧急、平静、 playful、专业)获得批准后实现:
tsx
import { Button } from "@/components/ui/button";
import { ArrowRight } from "@phosphor-icons/react";
<Button
className="bg-slate-800 hover:bg-slate-700 text-white px-6 py-3 rounded-lg transition-colors duration-200"
>
开始使用
<ArrowRight className="ml-2" />
</Button>Example 2: Typography Hierarchy
示例2:排版层级
Question First:
For this content hierarchy, I'm thinking:
- Headline: Large, bold, attention-grabbing
- Subheading: Medium, regular weight
- Body: Smaller, optimized for reading
Should we go bold and contemporary, or subtle and refined?Implementation After Approval:
tsx
<div className="space-y-4">
<h1 className="text-5xl font-bold tracking-tight text-slate-900">
Headline Here
</h1>
<h2 className="text-2xl text-slate-600">
Supporting subheading
</h2>
<p className="text-base leading-relaxed text-slate-700">
Body text optimized for readability with proper line height.
</p>
</div>先行询问:
针对这个内容层级,我的思路是:
- 标题:大号、粗体、抓眼球
- 副标题:中号、常规字重
- 正文:更小、为阅读优化
我们应该走大胆现代风,还是细腻精致风?获得批准后实现:
tsx
<div className="space-y-4">
<h1 className="text-5xl font-bold tracking-tight text-slate-900">
标题在此
</h1>
<h2 className="text-2xl text-slate-600">
辅助副标题
</h2>
<p className="text-base leading-relaxed text-slate-700">
为可读性优化的正文,搭配合适的行高。
</p>
</div>Example 3: Unique Color Palette Suggestion
示例3:独特配色方案建议
Presenting Options:
I'd like to suggest three color directions that break from typical SaaS patterns:
1. **Warm Earth Tones**
- Base: Warm grey (#E8E2DC)
- Accent: Terracotta (#C86E4B)
- For: Organic, trustworthy feel
2. **Cool Midnight**
- Base: Deep navy (#1A2332)
- Accent: Cyan (#4ECDC4)
- For: Modern, tech-forward feel
3. **Soft Pastels**
- Base: Soft pink (#FFE5E5)
- Accent: Sage green (#9DB5A4)
- For: Calm, approachable feel
Which direction feels right for your brand?提供可选方案:
我想推荐三个脱离通用SaaS模板的配色方向:
1. **暖调大地色系**
- 基础色:暖灰(#E8E2DC)
- 强调色:陶土色(#C86E4B)
- 适配:有机、值得信赖的质感
2. **冷调午夜色系**
- 基础色:深海军蓝(#1A2332)
- 强调色:青色(#4ECDC4)
- 适配:现代、科技感的质感
3. **柔和粉彩系**
- 基础色:柔粉(#FFE5E5)
- 强调色:鼠尾草绿(#9DB5A4)
- 适配:平静、亲和的质感
哪个方向更符合你的品牌定位?Common Patterns to Avoid
需要避免的常见模式
❌ NEVER:
- Use Inter, Roboto, Arial, Space Grotesk as primary fonts
- Use generic SaaS blue (#3B82F6) or purple gradients on white
- Copy Apple's design language or use glass morphism
- Create cookie-cutter layouts that look AI-generated
- Skip asking about context before designing
- Converge on common choices across generations (vary everything!)
- Use animations that delay user actions
- Create cluttered interfaces where elements compete
✅ ALWAYS:
- Ask about purpose, tone, constraints, differentiation FIRST
- Then commit BOLDLY to a distinctive aesthetic direction
- Use unexpected, characterful typography choices
- Create atmosphere: shadows, gradients, textures, grain (when intentional)
- Dominant colors with sharp accents (not timid, evenly-distributed palettes)
- Provide immediate feedback for interactions
- Test with real devices
- Validate accessibility (it enables creativity, not limits it)
- Remember: Claude is capable of extraordinary creative work - don't hold back!
❌ 绝对不要:
- 将Inter、Roboto、Arial、Space Grotesk作为主字体
- 使用通用SaaS蓝(#3B82F6)或者白色背景上的紫色渐变
- 照搬苹果设计语言或者使用玻璃态拟物
- 制作看起来像AI生成的千篇一律的布局
- 设计前跳过上下文询问环节
- 不同生成版本都趋同于通用选择(所有元素都要变化!)
- 使用拖慢用户操作的动画
- 制作元素互相竞争的杂乱界面
✅ 始终要:
- 首先询问用途、风格、约束、差异化需求
- 然后坚决投入到独特的美学方向
- 使用出其不意、有特色的排版选择
- 打造氛围感:有意识地使用阴影、渐变、纹理、颗粒感
- 使用主色+高对比度强调色(而非保守的均匀分布色板)
- 为交互提供即时反馈
- 使用真实设备测试
- 验证可访问性(它是创意的助力,而非限制)
- 记住:Claude可以完成非常出色的创意工作,不要自我限制!
Version History
版本历史
- v2.0.0 (2025-11-22): Creative liberation update - bold aesthetics, shadows/gradients allowed, Design Thinking protocol
- v1.0.0 (2025-10-18): Initial release with comprehensive UI/UX design guidance
- v2.0.0(2025-11-22):创意解放更新 - 大胆美学、允许阴影/渐变、设计思维协议
- v1.0.0(2025-10-18):首次发布,包含完整UI/UX设计指导
References
参考资料
For additional context, see:
- Anthropic Frontend Aesthetics Cookbook: https://github.com/anthropics/claude-cookbooks/blob/main/coding/prompting_for_frontend_aesthetics.ipynb
- WCAG 2.1 Guidelines: https://www.w3.org/WAI/WCAG21/quickref/
- Google Fonts: https://fonts.google.com/
- Tailwind CSS Docs: https://tailwindcss.com/docs
- Shadcn UI Components: https://ui.shadcn.com/
Progressive Disclosure Files:
- ACCESSIBILITY.md - Accessibility essentials (WCAG AA baseline)
- MOTION-SPEC.md - Animation timing and easing
- RESPONSIVE-DESIGN.md - Mobile-first breakpoints and patterns
更多上下文参考:
- Anthropic前端美学手册: https://github.com/anthropics/claude-cookbooks/blob/main/coding/prompting_for_frontend_aesthetics.ipynb
- WCAG 2.1 Guidelines: https://www.w3.org/WAI/WCAG21/quickref/
- Google Fonts: https://fonts.google.com/
- Tailwind CSS Docs: https://tailwindcss.com/docs
- Shadcn UI Components: https://ui.shadcn.com/
渐进式披露文件:
- ACCESSIBILITY.md - 可访问性核心要求(WCAG AA基准)
- MOTION-SPEC.md - 动画时长与缓动
- RESPONSIVE-DESIGN.md - 移动端优先断点与模式