返回风格库
视觉风格minimal

极简扁平风

Minimalist Flat

极致简约的扁平设计,无阴影无渐变,通过颜色和留白创造层次。适合作品集、创意机构、艺术网站。

极简扁平风视觉预览
主色#000000
次色#ffffff
强调色 1#ff3366
强调色 2#00d4aa
强调色 3#ffcc00
强调色 4#b45700

AI 实现规则

STYLE: Minimalist Flat
TYPE: Ultra-minimal flat design

MUST USE:
- Pure colors only: bg-white, bg-black, bg-[accent]
- border-2 border-black for defined edges
- Consistent corners: all rounded-none OR all rounded-full
- High contrast: black/white with one accent
- Generous whitespace: space-y-12 md:space-y-24
- Color hover states: hover:bg-black hover:text-white

MUST AVOID:
- ANY shadows (shadow-sm, shadow-md, etc.)
- ANY gradients (bg-gradient-*)
- Low opacity colors
- Gray text (unless intentional muted text)
- Mixed border-radius values
- Pattern backgrounds

COLOR RULES:
- Primary: Black (#000000)
- Background: White (#ffffff)
- Accent: One vibrant color (e.g., #ff3366)
- No grays except for intentional muted elements

TYPOGRAPHY:
- Headers: font-bold tracking-tight
- Body: Regular weight, good line-height
- Labels: text-xs uppercase tracking-widest

## Animation & Interaction Rules

- Strict 2D Flatness: 禁止使用 translate、scale、shadow 等 Z 轴反馈,所有交互仅在二维平面内完成。
- High-Contrast Inversion: hover 以前景/背景反色为主,保证视觉反馈干脆明确。
- Instant Sharpness: 交互优先 transition-none 或 duration-75 的短反馈,不做柔和过渡。
- Border Dynamics: 聚焦或 hover 通过边框粗细/底线变化建立层次,替代阴影与位移。

## Layout & Spacing
- Section padding: py-16 md:py-24
- Card padding: p-6 md:p-8
- Gap between cards: gap-6 md:gap-8
- Max content width: max-w-6xl mx-auto

## Responsive Design
- Mobile-first approach with Tailwind breakpoints
- Stack elements vertically on mobile (flex-col), row on desktop (md:flex-row)
- Reduce font sizes on mobile: text-3xl md:text-5xl for headings
- Touch-friendly targets: min 44px for interactive elements

## Self-Check Verification
After generating code, verify:
1. All interactive elements have hover/focus/active states
2. Color contrast meets WCAG 2.1 AA (4.5:1 for text)
3. Layout is responsive across breakpoints
4. Typography hierarchy is clear (h1 > h2 > h3 > body)
5. Spacing is consistent using the defined scale
6. All animations respect prefers-reduced-motion

组件预览与实现

font-medium border-2 border-black transition-colors duration-200 bg-black text-white hover:bg-white hover:text-black active:bg-gray-100
button

按钮

Minimalist Flat 风格的按钮

// Primary Button - Filled
<button className="px-8 py-4 bg-black text-white font-bold border-2 border-black hover:bg-white hover:text-black active:bg-gray-200 transition-none">
  Get Started
</button>

// Secondary Button - Outlined
<button className="px-8 py-4 bg-white text-black font-bold border-2 border-black hover:bg-black hover:text-white active:bg-gray-100 transition-none">
  Learn More
</button>

// Accent Button
<button className="px-8 py-4 bg-[#ff3366] text-white font-bold border-2 border-[#ff3366] hover:bg-white hover:text-[#ff3366] active:bg-[#ffd6e2] transition-none">
  Accent Action
</button>
card

卡片

Minimalist Flat 风格的卡片

// Bordered Card
<div className="group border-2 border-black p-8 hover:bg-black hover:text-white transition-none cursor-pointer">
  <span className="text-xs font-bold uppercase tracking-widest text-gray-500 group-hover:text-gray-300">Category</span>
  <h3 className="text-3xl font-black mt-2 mb-4 leading-tight">Flat Dynamics</h3>
  <p className="leading-relaxed">
    Brief description with minimal styling, maximum contrast, and instant interaction feedback.
  </p>
</div>

// Color Block Card
<div className="bg-[#ff3366] text-white border-2 border-[#ff3366] p-8 hover:bg-white hover:text-[#ff3366] transition-none">
  <h3 className="text-2xl font-black mb-4">Featured</h3>
  <p className="leading-relaxed">
    High contrast color block for emphasis.
  </p>
</div>
input

输入框

Minimalist Flat 风格的输入框

// Underline Input
<div className="space-y-2">
  <label className="block text-xs font-bold uppercase tracking-widest">Email</label>
  <input
    type="email"
    className="w-full px-0 py-2 bg-transparent border-0 border-2 border-black text-black placeholder:text-gray-400 focus:outline-none focus:border-[#ff3366] transition-colors duration-200"
    placeholder="your@email.com"
  />
</div>

// Boxed Input
<input
  type="text"
  className="w-full px-4 py-3 bg-white border-2 border-black text-black placeholder:text-gray-400 focus:outline-none focus:bg-black focus:text-white focus:placeholder:text-gray-400 transition-colors duration-200"
  placeholder="Search..."
/>

交互展示

适用范围与设计理念

应用场景

portfolioecommerceblog

视觉关键词

极简扁平无阴影作品集创意艺术minimalcleansimple留白

Minimalist Flat 风格追求设计的本质,去除一切不必要的装饰,让内容成为主角。

核心理念:

- 少即是多:每个元素都必须有存在的理由

- 扁平纯粹:拒绝阴影、渐变等仿真效果

- 颜色说话:用色彩区分层次而非光影

- 大量留白:让设计呼吸,突出核心内容

设计原则:

- 视觉一致性:所有组件必须遵循统一的视觉语言,从色彩到字体到间距保持谐调

- 层次分明:通过颜色深浅、字号大小、留白空间建立清晰的信息层级

- 交互反馈:每个可交互元素都必须有明确的 hover、active、focus 状态反馈

- 响应式适配:设计必须在移动端、平板、桌面端上保持一致的体验

- 无障碍性:确保色彩对比度符合 WCAG 2.1 AA 标准,所有交互元素可键盘访问

应该这样做

  • 使用纯色背景 bg-white, bg-black, bg-[accent]
  • 边框使用 border-2 border-black 或无边框
  • 圆角保持一致:全部 rounded-none 或全部 rounded-full
  • 使用高对比度配色
  • 大量使用留白 space-y-12 md:space-y-24
  • 文字使用纯黑或纯白 text-black, text-white
  • 悬停使用颜色变化而非阴影

避免这样做

  • 禁止使用任何阴影 shadow-*
  • 禁止使用渐变 bg-gradient-*
  • 禁止使用透明度低于 0.5 的颜色
  • 禁止混用不同的圆角值
  • 禁止使用灰色文字(除非是有意为之)
  • 禁止使用图案背景

全局 CSS

/* Minimalist Flat Global Styles */
@layer base {
  body {
    @apply bg-white text-black antialiased;
  }

  h1, h2, h3, h4 {
    @apply font-bold tracking-tight;
  }

  ::selection {
    @apply bg-black text-white;
  }
}
/* Minimalist Flat Design Tokens */
:root {
  --minimalist-flat-primary: #000000;
  --minimalist-flat-secondary: #ffffff;
  --minimalist-flat-accent: #ff3366;
  --minimalist-flat-glow: rgba(0, 0, 0, 0.3);
}

@keyframes minimalist-flat-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes minimalist-flat-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.minimalist-flat-card {
  position: relative;
  overflow: hidden;
}

.minimalist-flat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.05), transparent);
  pointer-events: none;
}

.minimalist-flat-card:hover::before {
  opacity: 1;
}

.minimalist-flat-gradient {
  background: linear-gradient(135deg, #000000, #ff3366);
}

.minimalist-flat-gradient-text {
  background: linear-gradient(135deg, #000000, #ff3366);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.minimalist-flat-frosted {
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  background: rgba(0, 0, 0, 0.08);
}

.minimalist-flat-accent-corner {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}

.minimalist-flat-animate-in {
  animation: minimalist-flat-fade-in 0.5s ease-out both;
}

布局、色板与 Tokens

主色#000000
次色#ffffff
强调色 1#ff3366
强调色 2#00d4aa
强调色 3#ffcc00
强调色 4#b45700
{
  "border": {
    "width": "border-2",
    "color": "border-black",
    "radius": "rounded-none",
    "style": "border-solid"
  },
  "shadow": {
    "sm": "shadow-none",
    "md": "shadow-none",
    "lg": "shadow-none",
    "none": "shadow-none",
    "hover": "shadow-none",
    "focus": "shadow-none",
    "colored": {}
  },
  "interaction": {
    "transition": "transition-colors duration-200",
    "active": "active:opacity-80",
    "hoverOpacity": "hover:opacity-90"
  },
  "typography": {
    "heading": "font-bold tracking-tight",
    "body": "font-sans",
    "mono": "font-mono",
    "sizes": {
      "hero": "text-4xl md:text-6xl lg:text-8xl",
      "h1": "text-3xl md:text-5xl",
      "h2": "text-2xl md:text-3xl",
      "h3": "text-lg md:text-xl",
      "body": "text-sm md:text-base",
      "small": "text-xs md:text-sm"
    }
  },
  "spacing": {
    "section": "py-16 md:py-24 lg:py-32",
    "container": "px-4 md:px-8 lg:px-16",
    "card": "p-6 md:p-8",
    "gap": {
      "sm": "gap-4 md:gap-6",
      "md": "gap-6 md:gap-8",
      "lg": "gap-8 md:gap-12"
    }
  },
  "colors": {
    "background": {
      "primary": "bg-white",
      "secondary": "bg-black",
      "accent": [
        "bg-[#ff3366]",
        "bg-[#00d4aa]",
        "bg-[#ffcc00]"
      ]
    },
    "text": {
      "primary": "text-black",
      "secondary": "text-white",
      "muted": "text-gray-500"
    },
    "button": {
      "primary": "bg-black text-white border-2 border-black",
      "secondary": "bg-white text-black border-2 border-black",
      "danger": "bg-[#ff3366] text-white border-2 border-[#ff3366]"
    }
  },
  "forbidden": {
    "classes": [
      "shadow-sm",
      "shadow",
      "shadow-md",
      "shadow-lg",
      "shadow-xl",
      "shadow-2xl",
      "bg-gradient-to-r",
      "bg-gradient-to-b",
      "bg-gradient-to-l",
      "bg-gradient-to-t",
      "rounded-lg",
      "rounded-xl",
      "rounded-2xl",
      "bg-gray-50",
      "bg-gray-100",
      "bg-gray-200",
      "text-gray-300",
      "text-gray-400",
      "backdrop-blur",
      "backdrop-blur-lg"
    ],
    "patterns": [
      "^shadow-(?!none)",
      "^bg-gradient-",
      "^rounded-(?:sm|md|lg|xl|2xl|3xl)$",
      "^backdrop-blur",
      "^bg-gray-(?:[1-3])"
    ],
    "reasons": {
      "shadow-md": "Minimalist Flat uses zero shadows - flat design only",
      "bg-gradient-to-r": "Minimalist Flat uses solid pure colors, no gradients",
      "rounded-lg": "Minimalist Flat uses consistent corners: all rounded-none or all rounded-full",
      "bg-gray-100": "Minimalist Flat uses pure black/white, not grays for backgrounds",
      "backdrop-blur": "Minimalist Flat avoids glass/blur effects - pure flat surfaces only"
    }
  },
  "required": {
    "button": [
      "border-2 border-black",
      "font-medium",
      "hover:bg-black hover:text-white",
      "transition-colors duration-200"
    ],
    "card": [
      "border-2 border-black",
      "hover:bg-black hover:text-white",
      "transition-colors duration-200"
    ],
    "input": [
      "border-0 border-2 border-black",
      "bg-transparent",
      "focus:outline-none",
      "focus:border-[#ff3366]",
      "transition-colors duration-200"
    ]
  }
}

示例提示词

Portfolio

生成极简设计师作品集

Create a designer portfolio using Minimalist Flat style:
- Full-screen hero with name and title
- Grid of project cards with hover color inversion
- No shadows, no gradients
- Black and white with one accent color
- Large typography for headings
- Generous whitespace between sections

SaaS 着陆页

生成 极简扁平风风格的 SaaS 产品着陆页

Create a SaaS landing page using Minimalist Flat style with hero section, feature grid, testimonials, pricing table, and footer.

作品集展示

生成 极简扁平风风格的作品集页面

Create a portfolio showcase page using Minimalist Flat style with project grid, about section, contact form, and consistent visual language.