Loading...
Loading...
Compare original and translation side by side
Neutrals: slate-50, slate-100, slate-300, slate-700, slate-900
Accents: teal-500 (primary), amber-500 (warning), red-500 (error)Neutrals: slate-50, slate-100, slate-300, slate-700, slate-900
Accents: teal-500 (primary), amber-500 (warning), red-500 (error)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)// 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);
}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)// Tailwind示例
<h1 className="text-3xl md:text-4xl lg:text-5xl">
响应式标题
</h1>
// 或者用CSS clamp(流体适配)
h1 {
font-size: clamp(2rem, 5vw, 4rem);
}gapgap@/components/uiimport { Button } from "@/components/ui/button";<Button><button>index.css@themetailwind.config.js@phosphor-icons/reactimport { Plus } from "@phosphor-icons/react"; <Plus />sizeweightsonnerimport { toast } from 'sonner'@/components/uiimport { Button } from "@/components/ui/button";<Button><button>index.css@themetailwind.config.js@phosphor-icons/reactimport { Plus } from "@phosphor-icons/react"; <Plus />sizeweightsonnerimport { toast } from 'sonner'gapclassName={clsx('base-class', { 'active-class': isActive })}gapclassName={clsx('base-class', { 'active-class': isActive })}tabindex="0"aria-labelroletabindex="0"aria-labelroleBefore 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)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、专业)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>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?<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>针对这个内容层级,我的思路是:
- 标题:大号、粗体、抓眼球
- 副标题:中号、常规字重
- 正文:更小、为阅读优化
我们应该走大胆现代风,还是细腻精致风?<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>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)
- 适配:平静、亲和的质感
哪个方向更符合你的品牌定位?