按钮
单色极简按钮,黑底白字,无圆角装饰
<button className="
px-8 py-4
bg-[#111111] text-[#fafafa]
text-xs font-medium tracking-[0.2em] uppercase
rounded-sm
hover:bg-[#2a2a2a]
transition-colors duration-700 ease-in-out
">
Discover
</button>#111111#fafafa#666666#999999#cccccc#666666You are designing in Monochrome style.
- Use ONLY grayscale colors: #111111, #333333, #666666, #999999, #cccccc, #e5e5e5, #f5f5f5, #fafafa, #ffffff
- NEVER use any color with hue (no blue, red, green, pink, orange, etc.)
- Build hierarchy with font-weight contrast: font-light for body, font-bold for headings
- Use generous negative space (py-24, px-8) for breathing room
- Borders must be subtle: grayscale borders in the #e5e5e5 to #cccccc range
- No rounded-full, no heavy shadows, no gradients
- Keep corners sharp: rounded-sm or rounded-none
- Uppercase tracking-wider for labels and small text
- Grid-based alignment for all layouts
## Animation & Interaction Rules
- Deliberate Slowness: 交互应使用 duration-500 到 700 的缓慢节奏,避免快速跳变。
- Grayscale Breathing: 仅允许相邻灰阶过渡(如 #111111 到 #2a2a2a),保持克制。
- Line Growth: 优先使用细线延展作为交互提示,减少大面积反差切换。
- Static Elevation: 避免 translate 和重阴影,维持安静二维平面感。font-sans font-medium tracking-wide rounded-none transition-all duration-200 bg-[#111111] text-[#fafafa] border border-[#111111] hover:bg-[#333333] active:scale-[0.98]单色极简按钮,黑底白字,无圆角装饰
<button className="
px-8 py-4
bg-[#111111] text-[#fafafa]
text-xs font-medium tracking-[0.2em] uppercase
rounded-sm
hover:bg-[#2a2a2a]
transition-colors duration-700 ease-in-out
">
Discover
</button>单色极简卡片,细边框,灰色背景
<div className="
group p-10
bg-[#f5f5f5]
rounded-sm
border border-[#e5e5e5]
hover:bg-[#ebebeb]
hover:border-[#cccccc]
transition-colors duration-700 ease-in-out
">
<h3 className="text-2xl font-light text-[#111111] mb-6 tracking-wide">The Silent Void</h3>
<p className="text-sm font-light text-[#666666] leading-relaxed group-hover:text-[#444444] transition-colors duration-700">
In the absence of color, form and space reveal their true essence.
</p>
<div className="mt-8 flex items-center">
<span className="text-xs uppercase tracking-widest text-[#111111]">Read More</span>
<div className="ml-4 h-px w-0 bg-[#111111] transition-all duration-700 ease-in-out group-hover:w-12" />
</div>
</div>单色极简输入框,仅底部边框
<input
type="text"
placeholder="Your name"
className="
w-full px-4 py-2.5
bg-transparent
border border-[#cccccc]
text-[#111111]
placeholder-[#cccccc]
focus:outline-none focus:border-[#111111]
transition-colors duration-200
"
/>单色极简(Monochrome)是对色彩的彻底放弃,仅凭黑、白、灰三者的精确调度构建完整的视觉层次。
核心理念:
- 零色相依赖:不使用任何带有色相(hue)的颜色,所有视觉信息由灰阶传达
- 灰阶层次:通过 #111111 到 #fafafa 之间的精确灰度梯度建立信息优先级
- 字重对比:以 font-light 与 font-bold 的差异替代色彩区分
- 负空间构图:大量留白不是空白,是设计的一部分
- 网格秩序:严格的网格系统确保每一个元素都有精确的位置
设计原则:
- 视觉一致性:所有组件必须遵循统一的视觉语言,从色彩到字体到间距保持谐调
- 层次分明:通过颜色深浅、字号大小、留白空间建立清晰的信息层级
- 交互反馈:每个可交互元素都必须有明确的 hover、active、focus 状态反馈
- 响应式适配:设计必须在移动端、平板、桌面端上保持一致的体验
- 无障碍性:确保色彩对比度符合 WCAG 2.1 AA 标准,所有交互元素可键盘访问
/* Monochrome */
:root {
--monochrome-bg: #fafafa;
--monochrome-text: #111111;
--monochrome-muted: #666666;
--monochrome-subtle: #999999;
--monochrome-border: #e5e5e5;
--monochrome-surface: #f5f5f5;
}
@keyframes monochrome-fade-in {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes monochrome-pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}
.monochrome-card {
position: relative;
overflow: hidden;
}
.monochrome-card::before {
content: "";
position: absolute;
inset: 0;
opacity: 0;
transition: opacity 0.3s ease;
background: linear-gradient(135deg, rgba(17, 17, 17, 0.05), transparent);
pointer-events: none;
}
.monochrome-card:hover::before {
opacity: 1;
}
.monochrome-gradient {
background: linear-gradient(135deg, #111111, #666666);
}
.monochrome-gradient-text {
background: linear-gradient(135deg, #111111, #666666);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.monochrome-frosted {
backdrop-filter: blur(12px) saturate(180%);
-webkit-backdrop-filter: blur(12px) saturate(180%);
background: rgba(17, 17, 17, 0.08);
}
.monochrome-accent-corner {
clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}
.monochrome-animate-in {
animation: monochrome-fade-in 0.5s ease-out both;
}#111111#fafafa#666666#999999#cccccc#666666{
"border": {
"width": "border",
"color": "border-[#e5e5e5]",
"radius": "rounded-sm",
"style": "border-solid"
},
"shadow": {
"sm": "shadow-sm",
"md": "shadow-sm",
"lg": "shadow-md",
"none": "shadow-none",
"hover": "shadow-sm",
"focus": "ring-1 ring-[#cccccc]",
"colored": {}
},
"interaction": {
"transition": "transition-colors duration-200",
"active": "active:opacity-70",
"hoverOpacity": "hover:opacity-80"
},
"typography": {
"heading": "font-bold tracking-tight",
"body": "font-light",
"mono": "font-mono",
"sizes": {
"hero": "text-4xl md:text-6xl lg:text-8xl",
"h1": "text-3xl md:text-5xl",
"h2": "text-2xl md:text-4xl",
"h3": "text-lg md:text-xl",
"body": "text-sm md:text-base",
"small": "text-xs"
}
},
"spacing": {
"section": "py-16 md:py-24",
"container": "px-6 md:px-8",
"card": "p-6",
"gap": {
"sm": "gap-4",
"md": "gap-6",
"lg": "gap-8"
}
},
"colors": {
"background": {
"primary": "bg-[#fafafa]",
"secondary": "bg-[#f5f5f5]",
"accent": [
"bg-[#e5e5e5]",
"bg-[#cccccc]",
"bg-[#111111]"
]
},
"text": {
"primary": "text-[#111111]",
"secondary": "text-[#666666]",
"muted": "text-[#999999]"
},
"button": {
"primary": "bg-[#111111] text-[#fafafa]",
"secondary": "bg-[#f5f5f5] border border-[#e5e5e5] text-[#111111]"
}
},
"forbidden": {
"classes": [
"bg-blue-500",
"bg-red-500",
"bg-green-500",
"bg-pink-500",
"bg-purple-500",
"bg-yellow-500",
"bg-orange-500",
"bg-cyan-500",
"bg-indigo-500",
"bg-teal-500",
"bg-emerald-500",
"bg-rose-500",
"text-blue-500",
"text-red-500",
"text-green-500",
"text-pink-500",
"rounded-full",
"shadow-lg",
"shadow-xl",
"shadow-2xl",
"bg-gradient-to-r",
"bg-gradient-to-l",
"bg-gradient-to-t",
"bg-gradient-to-b"
],
"patterns": [
"^bg-(?:blue|red|green|pink|purple|yellow|orange|cyan|indigo|teal|emerald|rose|violet|amber|lime|sky|fuchsia)-",
"^text-(?:blue|red|green|pink|purple|yellow|orange|cyan|indigo|teal|emerald|rose|violet|amber|lime|sky|fuchsia)-",
"^border-(?:blue|red|green|pink|purple|yellow|orange|cyan|indigo|teal|emerald|rose|violet|amber|lime|sky|fuchsia)-",
"^rounded-full$",
"^shadow-(?:xl|2xl)$",
"^bg-gradient-"
],
"reasons": {
"bg-blue-500": "Monochrome style forbids any color with hue; use grayscale only",
"text-red-500": "Monochrome style forbids any color with hue; use grayscale only",
"rounded-full": "Monochrome style uses sharp corners only (rounded-sm or rounded-none)",
"shadow-xl": "Monochrome style uses minimal shadows only (shadow-sm max)",
"bg-gradient-to-r": "Monochrome style forbids gradients entirely"
}
},
"required": {
"button": [
"rounded-sm",
"transition-colors",
"font-medium"
],
"card": [
"rounded-sm",
"border"
],
"input": [
"border",
"focus:outline-none",
"bg-transparent"
]
}
}生成 单色极简风格的 SaaS 产品着陆页
Create a SaaS landing page using Monochrome style with hero section, feature grid, testimonials, pricing table, and footer.生成 单色极简风格的作品集页面
Create a portfolio showcase page using Monochrome style with project grid, about section, contact form, and consistent visual language.