ui-ux-pro-max
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseUI/UX Pro Max - Design Intelligence
UI/UX Pro Max - 设计智能工具
Comprehensive design guide for web and mobile applications. Contains 84 styles, 192 color palettes, 74 font pairings, 99 UX guidelines, and 25 chart types across 22 technology stacks. Searchable database with priority-based recommendations.
面向网页和移动应用的综合性设计指南。涵盖22种技术栈的84种样式、192种调色板、74种字体搭配、99条UX指南以及25种图表类型。具备基于优先级推荐的可搜索数据库。
When to Apply
适用场景
Reference these guidelines when:
- Designing new UI components or pages
- Choosing color palettes and typography
- Reviewing code for UX issues
- Building landing pages or dashboards
- Implementing accessibility requirements
在以下场景中参考本指南:
- 设计新的UI组件或页面时
- 选择调色板和排版方案时
- 评审代码中的UX问题时
- 构建着陆页或仪表盘时
- 落实无障碍需求时
Rule Categories by Priority
按优先级划分的规则类别
| Priority | Category | Impact | Domain |
|---|---|---|---|
| 1 | Accessibility | CRITICAL | |
| 2 | Touch & Interaction | CRITICAL | |
| 3 | Performance | HIGH | |
| 4 | Layout & Responsive | HIGH | |
| 5 | Typography & Color | MEDIUM | |
| 6 | Animation | MEDIUM | |
| 7 | Style Selection | MEDIUM | |
| 8 | Charts & Data | LOW | |
| 优先级 | 类别 | 影响程度 | 领域 |
|---|---|---|---|
| 1 | 无障碍设计 | 关键 | |
| 2 | 触控与交互 | 关键 | |
| 3 | 性能优化 | 高 | |
| 4 | 布局与响应式设计 | 高 | |
| 5 | 排版与色彩 | 中 | |
| 6 | 动画效果 | 中 | |
| 7 | 样式选择 | 中 | |
| 8 | 图表与数据展示 | 低 | |
Quick Reference
快速参考
1. Accessibility (CRITICAL)
1. 无障碍设计(关键)
- - Minimum 4.5:1 ratio for normal text
color-contrast - - Visible focus rings on interactive elements
focus-states - - Descriptive alt text for meaningful images
alt-text - - aria-label for icon-only buttons
aria-labels - - Tab order matches visual order
keyboard-nav - - Use label with for attribute
form-labels
- - 普通文本的对比度最低为4.5:1
color-contrast - - 交互元素需显示可见的焦点环
focus-states - - 有意义的图片需添加描述性替代文本
alt-text - - 纯图标按钮需添加aria-label
aria-labels - - 标签顺序需与视觉顺序一致
keyboard-nav - - 使用带for属性的label标签
form-labels
2. Touch & Interaction (CRITICAL)
2. 触控与交互(关键)
- - Minimum 44x44px touch targets
touch-target-size - - Use click/tap for primary interactions
hover-vs-tap - - Disable button during async operations
loading-buttons - - Clear error messages near problem
error-feedback - - Add cursor-pointer to clickable elements
cursor-pointer
- - 触控目标最小尺寸为44x44px
touch-target-size - - 主要交互使用点击/触摸操作
hover-vs-tap - - 异步操作期间禁用按钮
loading-buttons - - 在问题附近显示清晰的错误提示
error-feedback - - 为可点击元素添加cursor-pointer样式
cursor-pointer
3. Performance (HIGH)
3. 性能优化(高)
- - Use WebP, srcset, lazy loading
image-optimization - - Check prefers-reduced-motion
reduced-motion - - Reserve space for async content
content-jumping
- - 使用WebP格式、srcset属性和懒加载
image-optimization - - 检测prefers-reduced-motion设置
reduced-motion - - 为异步加载内容预留空间
content-jumping
4. Layout & Responsive (HIGH)
4. 布局与响应式设计(高)
- - width=device-width initial-scale=1
viewport-meta - - Minimum 16px body text on mobile
readable-font-size - - Ensure content fits viewport width
horizontal-scroll - - Define z-index scale (10, 20, 30, 50)
z-index-management
- - 设置width=device-width initial-scale=1
viewport-meta - - 移动端正文文本最小为16px
readable-font-size - - 确保内容适配视口宽度
horizontal-scroll - - 定义z-index层级(10, 20, 30, 50)
z-index-management
5. Typography & Color (MEDIUM)
5. 排版与色彩(中)
- - Use 1.5-1.75 for body text
line-height - - Limit to 65-75 characters per line
line-length - - Match heading/body font personalities
font-pairing
- - 正文文本行高使用1.5-1.75
line-height - - 每行限制为65-75个字符
line-length - - 匹配标题与正文的字体风格
font-pairing
6. Animation (MEDIUM)
6. 动画效果(中)
- - Use 150-300ms for micro-interactions
duration-timing - - Use transform/opacity, not width/height
transform-performance - - Skeleton screens or spinners
loading-states
- - 微交互使用150-300ms时长
duration-timing - - 使用transform/opacity属性,而非width/height
transform-performance - - 使用骨架屏或加载动画
loading-states
7. Style Selection (MEDIUM)
7. 样式选择(中)
- - Match style to product type
style-match - - Use same style across all pages
consistency - - Use SVG icons, not emojis
no-emoji-icons
- - 样式需与产品类型匹配
style-match - - 所有页面使用统一样式
consistency - - 使用SVG图标,而非表情符号
no-emoji-icons
8. Charts & Data (LOW)
8. 图表与数据展示(低)
- - Match chart type to data type
chart-type - - Use accessible color palettes
color-guidance - - Provide table alternative for accessibility
data-table
- - 根据数据类型选择合适的图表类型
chart-type - - 使用符合无障碍标准的调色板
color-guidance - - 为无障碍需求提供表格替代方案
data-table
How to Use
使用方法
Search specific domains using the CLI tool below.
使用以下CLI工具搜索特定领域的内容。
Prerequisites
前置条件
Requires (available by default in the Claude Code shell and in claude.ai's code-execution sandbox). This skill does not install anything.
python3需要(Claude Code shell和claude.ai的代码执行沙箱默认已安装)。本工具无需额外安装。
python3How to Use This Skill
本工具使用流程
When user requests UI/UX work (design, build, create, implement, review, fix, improve), follow this workflow:
First, enter this skill's directory so the and paths below resolve (the working directory persists across the subsequent commands):
scripts/data/bash
undefined当用户提出UI/UX相关需求(设计、构建、创建、实现、评审、修复、优化)时,遵循以下工作流程:
首先,进入本工具的目录,确保后续命令中的和路径可正常解析(工作目录会在后续命令中保持不变):
scripts/data/bash
undefinedReads run from the skill dir; --persist writes to the project root.
Reads run from the skill dir; --persist writes to the project root.
PROJECT_ROOT="$PWD"
PROJECT_ROOT="$PWD"
Use the base path the orchestrator already resolved, else locate this skill.
Use the base path the orchestrator already resolved, else locate this skill.
UIUX_DIR="${SKILL_BASE:+$SKILL_BASE/ui-ux-pro-max}"
[ -d "$UIUX_DIR" ] || UIUX_DIR="$(find "$HOME/.claude/plugins" /mnt/skills -type d -name ui-ux-pro-max 2>/dev/null | sort -V | tail -1)"
cd "$UIUX_DIR"
undefinedUIUX_DIR="${SKILL_BASE:+$SKILL_BASE/ui-ux-pro-max}"
[ -d "$UIUX_DIR" ] || UIUX_DIR="$(find "$HOME/.claude/plugins" /mnt/skills -type d -name ui-ux-pro-max 2>/dev/null | sort -V | tail -1)"
cd "$UIUX_DIR"
undefinedStep 1: Analyze User Requirements
步骤1:分析用户需求
Extract key information from user request:
- Product type: SaaS, e-commerce, portfolio, dashboard, landing page, etc.
- Style keywords: minimal, playful, professional, elegant, dark mode, etc.
- Industry: healthcare, fintech, gaming, education, etc.
- Stack: React, Vue, Next.js, or default to
html-tailwind
从用户请求中提取关键信息:
- 产品类型:SaaS、电商、作品集、仪表盘、着陆页等
- 风格关键词:极简、活泼、专业、优雅、深色模式等
- 行业领域:医疗、金融科技、游戏、教育等
- 技术栈:React、Vue、Next.js,默认使用
html-tailwind
Step 2: Generate Design System (REQUIRED)
步骤2:生成设计系统(必填)
Always start with to get comprehensive recommendations with reasoning:
--design-systembash
python3 scripts/search.py "<product_type> <industry> <keywords>" --design-system [-p "Project Name"]This command:
- Searches 5 domains in parallel (product, style, color, landing, typography)
- Applies reasoning rules from to select best matches
ui-reasoning.csv - Returns complete design system: pattern, style, colors, typography, effects
- Includes anti-patterns to avoid
Example:
bash
python3 scripts/search.py "beauty spa wellness service" --design-system -p "Serenity Spa"始终从命令开始,获取包含推理过程的完整推荐方案:
--design-systembash
python3 scripts/search.py "<product_type> <industry> <keywords>" --design-system [-p "Project Name"]该命令会:
- 并行搜索5个领域(产品、风格、色彩、着陆页、排版)
- 应用中的推理规则选择最佳匹配
ui-reasoning.csv - 返回完整设计系统:模式、样式、色彩、排版、效果
- 包含需避免的反模式
示例:
bash
python3 scripts/search.py "beauty spa wellness service" --design-system -p "Serenity Spa"Step 2b: Persist Design System (Master + Overrides Pattern)
步骤2b:持久化设计系统(主文件+覆盖模式)
To save the design system for hierarchical retrieval across sessions, add (point at the project root so files land there, not in the skill dir):
--persist--output-dirbash
python3 scripts/search.py "<query>" --design-system --persist -p "Project Name" --output-dir "$PROJECT_ROOT"This creates:
- — Global Source of Truth with all design rules
design-system/<project-slug>/MASTER.md - — Folder for page-specific overrides
design-system/<project-slug>/pages/
--persistMASTER.md--forceWith page-specific override:
bash
python3 scripts/search.py "<query>" --design-system --persist -p "Project Name" --page "dashboard" --output-dir "$PROJECT_ROOT"This also creates:
- — Page-specific deviations from Master
design-system/<project-slug>/pages/dashboard.md
How hierarchical retrieval works:
- When building a specific page (e.g., "Checkout"), first check
design-system/<project-slug>/pages/checkout.md - If the page file exists, its rules override the Master file
- If not, use exclusively
design-system/<project-slug>/MASTER.md
Context-aware retrieval prompt:
I am building the [Page Name] page. Please read design-system/MASTER.md.
Also check if design-system/pages/[page-name].md exists.
If the page file exists, prioritize its rules.
If not, use the Master rules exclusively.
Now, generate the code...如需保存设计系统以便跨会话层级检索,添加参数(指定为项目根目录,确保文件保存在项目根目录而非工具目录):
--persist--output-dirbash
python3 scripts/search.py "<query>" --design-system --persist -p "Project Name" --output-dir "$PROJECT_ROOT"这会创建:
- — 包含所有设计规则的全局权威文件
design-system/<project-slug>/MASTER.md - — 存放页面特定覆盖规则的文件夹
design-system/<project-slug>/pages/
若已存在,会跳过写入;添加参数可覆盖现有文件。
MASTER.md--persist--force带页面特定覆盖的命令:
bash
python3 scripts/search.py "<query>" --design-system --persist -p "Project Name" --page "dashboard" --output-dir "$PROJECT_ROOT"这还会创建:
- — 与主文件不同的页面特定规则
design-system/<project-slug>/pages/dashboard.md
层级检索工作原理:
- 构建特定页面(如"结账页")时,先检查
design-system/<project-slug>/pages/checkout.md - 若页面文件存在,其规则优先于主文件
- 若不存在,则仅使用中的规则
design-system/<project-slug>/MASTER.md
上下文感知检索提示:
我正在构建[页面名称]页面。请阅读design-system/MASTER.md文件。
同时检查design-system/pages/[page-name].md是否存在。
若页面文件存在,优先使用其规则。
若不存在,则仅使用主文件规则。
现在,请生成代码...Step 3: Supplement with Detailed Searches (as needed)
步骤3:按需补充详细搜索
After getting the design system, use domain searches to get additional details:
bash
python3 scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]When to use detailed searches:
| Need | Domain | Example |
|---|---|---|
| More style options | | |
| Chart recommendations | | |
| UX best practices | | |
| Alternative fonts | | |
| Landing structure | | |
获取设计系统后,可使用领域搜索获取更多细节:
bash
python3 scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]何时使用详细搜索:
| 需求 | 领域 | 示例 |
|---|---|---|
| 更多样式选项 | | |
| 图表推荐 | | |
| UX最佳实践 | | |
| 替代字体方案 | | |
| 着陆页结构 | | |
Step 4: Stack Guidelines (Default: html-tailwind)
步骤4:技术栈指南(默认:html-tailwind)
Get implementation-specific best practices. If user doesn't specify a stack, default to .
html-tailwindbash
python3 scripts/search.py "<keyword>" --stack html-tailwindAvailable stacks: , , , , , , , , , , , , , , , , , , , , ,
html-tailwindreactnextjsastrovuenuxtjsnuxt-uisvelteswiftuireact-nativefluttershadcnjetpack-composethreejsangularlaraveljavafxwpfwinuiavaloniaunouwp获取特定技术栈的最佳实践。若用户未指定技术栈,默认使用。
html-tailwindbash
python3 scripts/search.py "<keyword>" --stack html-tailwind可用技术栈:, , , , , , , , , , , , , , , , , , , , ,
html-tailwindreactnextjsastrovuenuxtjsnuxt-uisvelteswiftuireact-nativefluttershadcnjetpack-composethreejsangularlaraveljavafxwpfwinuiavaloniaunouwpSearch Reference
搜索参考
Available Domains
可用领域
| Domain | Use For | Example Keywords |
|---|---|---|
| Product type recommendations | SaaS, e-commerce, portfolio, healthcare, beauty, service |
| UI styles, colors, effects | glassmorphism, minimalism, dark mode, brutalism |
| Font pairings, Google Fonts | elegant, playful, professional, modern |
| Color palettes (full token sets) | saas, ecommerce, healthcare, beauty, fintech, service |
| Page structure, CTA strategies | hero, hero-centric, testimonial, pricing, social-proof |
| Chart types, library recommendations | trend, comparison, timeline, funnel, pie |
| Best practices, anti-patterns | animation, accessibility, z-index, loading |
| Icon set + import guidance | outline, solid, brand, navigation |
| React/Next.js performance | waterfall, bundle, suspense, memo, rerender, cache |
| App/web interface guidelines | aria, focus, keyboard, semantic, virtualize |
| Motion snippets (feeds the | reveal, parallax, stagger, scroll |
| Google Fonts lookup | serif, mono, display, variable |
| 领域 | 用途 | 示例关键词 |
|---|---|---|
| 产品类型推荐 | SaaS, e-commerce, portfolio, healthcare, beauty, service |
| UI样式、色彩、效果 | glassmorphism, minimalism, dark mode, brutalism |
| 字体搭配、Google Fonts | elegant, playful, professional, modern |
| 调色板(完整令牌集) | saas, ecommerce, healthcare, beauty, fintech, service |
| 页面结构、CTA策略 | hero, hero-centric, testimonial, pricing, social-proof |
| 图表类型、库推荐 | trend, comparison, timeline, funnel, pie |
| 最佳实践、反模式 | animation, accessibility, z-index, loading |
| 图标集+导入指南 | outline, solid, brand, navigation |
| React/Next.js性能优化 | waterfall, bundle, suspense, memo, rerender, cache |
| 应用/网页界面指南 | aria, focus, keyboard, semantic, virtualize |
| 动效代码片段(供 | reveal, parallax, stagger, scroll |
| Google Fonts查询 | serif, mono, display, variable |
Available Stacks
可用技术栈
| Stack | Focus |
|---|---|
| Tailwind utilities, responsive, a11y (DEFAULT) |
| State, hooks, performance, patterns |
| SSR, routing, images, API routes |
| Islands architecture, partial hydration, content-driven |
| Composition API, Pinia, Vue Router |
| Nuxt 3, composables, SSR/SSG, auto-imports |
| Nuxt UI components, theming, forms |
| Runes, stores, SvelteKit |
| Views, State, Navigation, Animation |
| Components, Navigation, Lists |
| Widgets, State, Layout, Theming |
| shadcn/ui components, theming, forms, patterns |
| Composables, Modifiers, State Hoisting, Recomposition |
| Three.js scenes, materials, R3F patterns |
| Components, signals, RxJS, standalone APIs |
| Blade, Livewire, Tailwind, form patterns |
| Scene graph, FXML, CSS, controls |
| XAML, MVVM, bindings, styles |
| WinUI 3, XAML, Fluent, bindings |
| Cross-platform XAML, MVVM, styling |
| Uno Platform, WinUI XAML cross-target |
| UWP XAML, Fluent, adaptive UI |
| 技术栈 | 关注点 |
|---|---|
| Tailwind工具类、响应式设计、无障碍(默认) |
| 状态管理、钩子、性能优化、设计模式 |
| SSR、路由、图片处理、API路由 |
| 孤岛架构、部分 hydration、内容驱动 |
| 组合式API、Pinia、Vue Router |
| Nuxt 3、组合式函数、SSR/SSG、自动导入 |
| Nuxt UI组件、主题定制、表单 |
| Runes、状态存储、SvelteKit |
| 视图、状态、导航、动画 |
| 组件、导航、列表 |
| 组件、状态、布局、主题 |
| shadcn/ui组件、主题定制、表单、设计模式 |
| 组合式函数、修饰符、状态提升、重组 |
| Three.js场景、材质、R3F模式 |
| 组件、信号、RxJS、独立API |
| Blade、Livewire、Tailwind、表单模式 |
| 场景图、FXML、CSS、控件 |
| XAML、MVVM、绑定、样式 |
| WinUI 3、XAML、Fluent设计、绑定 |
| 跨平台XAML、MVVM、样式定制 |
| Uno Platform、WinUI XAML跨平台适配 |
| UWP XAML、Fluent设计、自适应UI |
Example Workflow
示例工作流程
User request: "Build a landing page for a professional skincare service"
用户请求: "为专业护肤服务构建一个着陆页"
Step 1: Analyze Requirements
步骤1:分析需求
- Product type: Beauty/Spa service
- Style keywords: elegant, professional, soft
- Industry: Beauty/Wellness
- Stack: html-tailwind (default)
- 产品类型:美容/SPA服务
- 风格关键词:优雅、专业、柔和
- 行业领域:美容/健康
- 技术栈:html-tailwind(默认)
Step 2: Generate Design System (REQUIRED)
步骤2:生成设计系统(必填)
bash
python3 scripts/search.py "beauty spa wellness service elegant" --design-system -p "Serenity Spa"Output: Complete design system with pattern, style, colors, typography, effects, and anti-patterns.
bash
python3 scripts/search.py "beauty spa wellness service elegant" --design-system -p "Serenity Spa"输出: 包含模式、样式、色彩、排版、效果及反模式的完整设计系统。
Step 3: Supplement with Detailed Searches (as needed)
步骤3:按需补充详细搜索
bash
undefinedbash
undefinedGet UX guidelines for animation and accessibility
获取动画和无障碍设计的UX指南
python3 scripts/search.py "animation accessibility" --domain ux
python3 scripts/search.py "animation accessibility" --domain ux
Get alternative typography options if needed
如需替代排版方案
python3 scripts/search.py "elegant luxury serif" --domain typography
undefinedpython3 scripts/search.py "elegant luxury serif" --domain typography
undefinedStep 4: Stack Guidelines
步骤4:技术栈指南
bash
python3 scripts/search.py "layout responsive form" --stack html-tailwindThen: Synthesize design system + detailed searches and implement the design.
bash
python3 scripts/search.py "layout responsive form" --stack html-tailwind后续操作: 整合设计系统与详细搜索结果,完成设计实现。
Output Formats
输出格式
The flag supports two output formats:
--design-systembash
undefined--design-systembash
undefinedASCII box (default) - best for terminal display
ASCII框格式(默认)- 适用于终端显示
python3 scripts/search.py "fintech crypto" --design-system
python3 scripts/search.py "fintech crypto" --design-system
Markdown - best for documentation
Markdown格式 - 适用于文档
python3 scripts/search.py "fintech crypto" --design-system -f markdown
---python3 scripts/search.py "fintech crypto" --design-system -f markdown
---Tips for Better Results
优化结果的技巧
- Be specific with keywords - "healthcare SaaS dashboard" > "app"
- Search multiple times - Different keywords reveal different insights
- Combine domains - Style + Typography + Color = Complete design system
- Always check UX - Search "animation", "z-index", "accessibility" for common issues
- Use stack flag - Get implementation-specific best practices
- Iterate - If first search doesn't match, try different keywords
- 关键词要具体 - "healthcare SaaS dashboard" 优于 "app"
- 多次搜索 - 不同关键词会呈现不同的见解
- 组合领域搜索 - 样式+排版+色彩=完整设计系统
- 始终检查UX - 搜索"animation"、"z-index"、"accessibility"排查常见问题
- 使用技术栈参数 - 获取特定技术栈的最佳实践
- 迭代优化 - 若首次搜索结果不符,尝试不同关键词
Common Rules for Professional UI
专业UI设计常见规则
These are frequently overlooked issues that make UI look unprofessional:
以下是常被忽视但会影响UI专业性的问题:
Icons & Visual Elements
图标与视觉元素
| Rule | Do | Don't |
|---|---|---|
| No emoji icons | Use SVG icons (Heroicons, Lucide, Simple Icons) | Use emojis like 🎨 🚀 ⚙️ as UI icons |
| Stable hover states | Use color/opacity transitions on hover | Use scale transforms that shift layout |
| Correct brand logos | Research official SVG from Simple Icons | Guess or use incorrect logo paths |
| Consistent icon sizing | Use fixed viewBox (24x24) with w-6 h-6 | Mix different icon sizes randomly |
| 规则 | 正确做法 | 错误做法 |
|---|---|---|
| 禁用表情符号图标 | 使用SVG图标(Heroicons、Lucide、Simple Icons) | 使用🎨 🚀 ⚙️等表情符号作为UI图标 |
| 稳定的悬停状态 | 悬停时使用颜色/透明度过渡 | 使用会导致布局偏移的缩放变换 |
| 正确的品牌标志 | 从Simple Icons获取官方SVG | 猜测或使用错误的标志路径 |
| 统一的图标尺寸 | 使用固定viewBox(24x24)搭配w-6 h-6 | 随机混合不同图标尺寸 |
Interaction & Cursor
交互与光标
| Rule | Do | Don't |
|---|---|---|
| Cursor pointer | Add | Leave default cursor on interactive elements |
| Hover feedback | Provide visual feedback (color, shadow, border) | No indication element is interactive |
| Smooth transitions | Use | Instant state changes or too slow (>500ms) |
| 规则 | 正确做法 | 错误做法 |
|---|---|---|
| 光标指针样式 | 为所有可点击/悬停卡片添加 | 交互元素保留默认光标 |
| 悬停反馈 | 提供视觉反馈(颜色、阴影、边框) | 无任何交互提示 |
| 平滑过渡 | 使用 | 状态瞬间变化或过渡过慢(>500ms) |
Light/Dark Mode Contrast
明暗模式对比度
| Rule | Do | Don't |
|---|---|---|
| Glass card light mode | Use | Use |
| Text contrast light | Use | Use |
| Muted text light | Use | Use gray-400 or lighter |
| Border visibility | Use | Use |
| 规则 | 正确做法 | 错误做法 |
|---|---|---|
| 亮色模式玻璃卡片 | 使用 | 使用 |
| 亮色模式文本对比度 | 使用 | 使用 |
| 亮色模式弱化文本 | 最低使用 | 使用gray-400或更浅的颜色 |
| 边框可见性 | 亮色模式下使用 | 使用 |
Layout & Spacing
布局与间距
| Rule | Do | Don't |
|---|---|---|
| Floating navbar | Add | Stick navbar to |
| Content padding | Account for fixed navbar height | Let content hide behind fixed elements |
| Consistent max-width | Use same | Mix different container widths |
| 规则 | 正确做法 | 错误做法 |
|---|---|---|
| 悬浮导航栏 | 添加 | 将导航栏固定在 |
| 内容内边距 | 考虑固定导航栏的高度 | 让内容被固定元素遮挡 |
| 统一的最大宽度 | 使用统一的 | 混合不同的容器宽度 |
Pre-Delivery Checklist
交付前检查清单
Before delivering UI code, verify these items:
交付UI代码前,验证以下项目:
Visual Quality
视觉质量
- No emojis used as icons (use SVG instead)
- All icons from consistent icon set (Heroicons/Lucide)
- Brand logos are correct (verified from Simple Icons)
- Hover states don't cause layout shift
- Use theme colors directly (bg-primary) not var() wrapper
- 未使用表情符号作为图标(改用SVG)
- 所有图标来自统一图标集(Heroicons/Lucide)
- 品牌标志正确(已通过Simple Icons验证)
- 悬停状态不会导致布局偏移
- 直接使用主题颜色(bg-primary)而非var()包装器
Interaction
交互体验
- All clickable elements have
cursor-pointer - Hover states provide clear visual feedback
- Transitions are smooth (150-300ms)
- Focus states visible for keyboard navigation
- 所有可点击元素都有
cursor-pointer - 悬停状态提供清晰的视觉反馈
- 过渡效果平滑(150-300ms)
- 键盘导航的焦点状态可见
Light/Dark Mode
明暗模式
- Light mode text has sufficient contrast (4.5:1 minimum)
- Glass/transparent elements visible in light mode
- Borders visible in both modes
- Test both modes before delivery
- 亮色模式文本对比度足够(最低4.5:1)
- 亮色模式下玻璃/透明元素可见
- 两种模式下边框都可见
- 交付前测试两种模式
Layout
布局设计
- Floating elements have proper spacing from edges
- No content hidden behind fixed navbars
- Responsive at 375px, 768px, 1024px, 1440px
- No horizontal scroll on mobile
- 浮动元素与边缘有适当间距
- 无内容被固定导航栏遮挡
- 在375px、768px、1024px、1440px分辨率下响应正常
- 移动端无横向滚动
Accessibility
无障碍设计
- All images have alt text
- Form inputs have labels
- Color is not the only indicator
- respected
prefers-reduced-motion
- 所有图片都有替代文本
- 表单输入有标签
- 不单独使用颜色作为提示
- 尊重设置
prefers-reduced-motion