PDF AI Chat - Design System
基于 UI/UX Pro Max Skill 生成的专业设计系统
项目名称 : PDF AI Chat
类型 : Micro SaaS / Document Analysis
生成日期 : 2026-03-07
设计风格 : Glassmorphism + Vibrant Block-based
Glassmorphism : 毛玻璃效果,现代感强
Vibrant & Block-based : 活力色彩,块状布局
Professional : 专业、清晰、易用
大间距设计 (48px+ gaps)
平滑过渡动画 (200-300ms)
高对比度文本 (4.5:1 minimum)
响应式设计 (375px, 768px, 1024px, 1440px)
可访问性优先 (WCAG AA+)
用途
颜色
Hex
Tailwind
Primary
Indigo
#6366F1
indigo-500
Secondary
Light Indigo
#818CF8
indigo-400
CTA/Accent
Emerald
#10B981
emerald-500
Background
Light Purple
#F5F3FF
Custom
Text
Deep Indigo
#1E1B4B
Custom
Success : Emerald (#10B981)
Error : Red (#EF4444)
Warning : Amber (#F59E0B)
Info : Blue (#3B82F6)
Primary : Plus Jakarta Sans
Weights : 300, 400, 500, 600, 700, 800
Google Fonts : Plus Jakarta Sans
用途
Size
Line Height
H1
1.875rem (30px)
2.25rem
H2
1.5rem (24px)
2rem
H3
1.25rem (20px)
1.75rem
Body
0.875rem (14px)
1.5rem
Small
0.75rem (12px)
1.25rem
Tiny
0.625rem (10px)
1rem
Token
Value
Usage
xs
4px
Tight gaps
sm
8px
Icon gaps
md
16px
Standard padding
lg
24px
Section padding
xl
32px
Large gaps
2xl
48px
Section margins
3xl
64px
Hero padding
.glass-card {
background : rgba (255 , 255 , 255 , 0.7 );
backdrop-filter : blur (12px );
border : 1px solid rgba (255 , 255 , 255 , 0.3 );
box-shadow : 0 8px 32px rgba (99 , 102 , 241 , 0.1 );
}
.glass-card-strong {
background : rgba (255 , 255 , 255 , 0.85 );
backdrop-filter : blur (16px );
border : 1px solid rgba (255 , 255 , 255 , 0.4 );
box-shadow : 0 8px 32px rgba (99 , 102 , 241 , 0.15 );
}
Background: Emerald gradient
Text: White
Padding: 12px 24px
Border Radius: 12px
Hover: Shadow + Lift (-2px)
Transition: 200ms ease-out
Background: Transparent
Border: 2px Indigo
Text: Indigo
Hover: Light background
Padding: 12px 16px
Border: 2px Indigo-200
Border Radius: 16px
Focus: Border Indigo-400 + Shadow
Transition: 200ms
Level
Value
Usage
sm
0 1px 2px rgba(0,0,0,0.05)
Subtle lift
md
0 4px 6px rgba(0,0,0,0.1)
Cards
lg
0 10px 15px rgba(0,0,0,0.1)
Modals
xl
0 20px 25px rgba(0,0,0,0.15)
Hero
Fast : 150ms (hover states)
Normal : 200-300ms (standard transitions)
Slow : 500ms (complex animations)
Enter : ease-out
Exit : ease-in
Both : ease-in-out
@media (prefers-reduced-motion : reduce) {
* {
animation-duration : 0.01ms !important ;
transition-duration : 0.01ms !important ;
}
}
Primary : Lucide React
Size : 16px (h-4 w-4), 20px (h-5 w-5), 24px (h-6 w-6)
✅ 使用 SVG 图标 (Lucide, Heroicons)
❌ 不使用 Emoji 作为图标
✅ 保持图标大小一致
✅ 使用语义化的图标
所有可点击元素必须有 cursor-pointer
提供视觉反馈 (颜色、阴影、位移)
过渡时间: 150-300ms
避免布局偏移
可见的焦点指示器
使用 ring 样式
颜色: Indigo-500
宽度: 2-4px
使用 Spinner 或 Skeleton
提供进度反馈
禁用交互元素
Breakpoint
Width
Usage
Mobile
375px
Small phones
Tablet
768px
Tablets
Desktop
1024px
Small desktops
Large
1440px
Large screens
移动优先设计
流式布局
灵活的网格系统
避免水平滚动
❌ Emoji 作为 UI 图标
❌ 低对比度文本 (<4.5:1)
❌ 布局偏移的 hover 效果
❌ 混乱的布局
❌ 缺少 cursor-pointer
❌ 无视觉反馈的交互
❌ 即时状态变化 (无过渡)
❌ 不可见的 focus 状态
Framework : Next.js 14
Styling : Tailwind CSS
Icons : Lucide React
Fonts : Google Fonts (Plus Jakarta Sans)
Components : Custom + shadcn/ui patterns