HomeStylesTemplates
StyleKit
StylesAnimationsTemplates
BlogChangelog
  1. Home
  2. /Styles
  3. /Cubism
Style Catalog/立体主义

立体主义

Cubism

D
46/100Poor

The Cubism movement of Picasso and Braque, featuring geometric fragmented compositions, multi-perspective overlays, angular shapes, and subdued earth-tone palettes.

立体主义毕加索几何碎片多视角棱角大地色expressiveboldvibrant
View Full ShowcaseTemplates

Best For

立体主义 / 毕加索 / 几何

Primary Move

Use angular geometric shapes with skew and rotate transforms

Watch Out

Do not use large rounded corners rounded-2xl, rounded-full

Showcase Entry

Live preview of the showcase page. Click to explore the full experience.

View Full Showcase

Color Palette

Primary

#5c4033

Secondary

#e8dcc8

Accent 1

#8b7355

Accent 2

#3d5c6e

Accent 3

#9b3d25

Accent 4

#647f53

PromptsComponent PreviewExportsRatings & Feedback

Prompts

Hard + Soft Prompts

Use one-click prompts to generate 立体主义 style UIs. Hard mode enforces strict constraints; soft mode keeps overall style direction while allowing flexibility.

Hard Prompt

Strict constraints for high style consistency

STYLEKIT_STYLE_REFERENCE
style_name: 立体主义
style_slug: cubism
style_source: /styles/cubism

# Hard Prompt

请严格遵守以下风格规则并保持一致性,禁止风格漂移。

## 执行要求
- 优先保证风格一致性,其次再做创意延展。
- 遇到冲突时以禁止项为最高优先级。
- 输出前自检:颜色、排版、间距、交互是否仍属于该风格。

## Style Rules
# Cubism (立体主义) Design System

> 毕加索和布拉克的立体主义运动,几何碎片化构图、多视角叠加、棱角分明的形状与沉稳的大地色调。

## 核心理念

Cubism(立体主义)是20世纪最具革命性的艺术运动之一,由毕加索和布拉克于1907年前后开创。它彻底打破了文艺复兴以来的单点透视传统,用几何碎片和多视角叠加重新定义了视觉表达。

核心理念:
- 几何碎片化:将物体分解为基本几何形状——三角形、矩形、不规则多边形
- 多视角叠加:同一画面呈现物体的多个角度,打破单一视点的限制
- 大地色调:棕色、赭石、灰蓝的沉稳配色,源自分析立体主义时期的克制用色
- 棱角与张力:通过锐利的边缘和不对称构图创造视觉张力

在数字设计中,立体主义风格适用于艺术画廊、创意机构、文化活动和高端品牌。它传达的是知性、前卫和对传统的挑战精神。

设计时应注重几何元素的层叠与交错,通过不同角度的平面暗示深度,而非使用传统的透视或阴影。色彩克制但构图大胆,这是立体主义的核心矛盾与魅力所在。

---

## Token 字典(精确 Class 映射)

### 边框
```
宽度: border-2
颜色: border-[#5c4033]
圆角: rounded-sm
```

### 阴影
```
小:   shadow-[3px_3px_0px_#5c4033]
中:   shadow-[6px_6px_0px_#5c4033]
大:   shadow-[8px_8px_0px_#5c4033]
悬停: hover:shadow-[3px_3px_0px_#8b7355]
聚焦: focus:shadow-[3px_3px_0px_#9b3d25]
```

### 交互效果
```
悬停位移: undefined
过渡动画: transition-all duration-150
按下状态: active:translate-x-[4px] active:translate-y-[4px] active:shadow-none
```

### 字体
```
标题: font-bold uppercase tracking-widest
正文: font-sans text-[#5c4033]/80
```

### 字号
```
Hero:  text-5xl md:text-7xl lg:text-8xl
H1:    text-4xl md:text-5xl
H2:    text-2xl md:text-3xl
H3:    text-xl md:text-2xl
正文:  text-sm md:text-base
小字:  text-xs md:text-sm
```

### 间距
```
Section: py-12 md:py-20 lg:py-28
容器:    px-6 md:px-12 lg:px-16
卡片:    p-5 md:p-6
```

---

## [FORBIDDEN] 绝对禁止

以下 class 在本风格中**绝对禁止使用**,生成时必须检查并避免:

### 禁止的 Class
- `rounded-2xl`
- `rounded-3xl`
- `rounded-full`
- `rounded-xl`
- `shadow-sm`
- `shadow-md`
- `shadow-lg`
- `bg-gradient-to-r`
- `bg-gradient-to-br`
- `text-[#ff00ff]`
- `text-[#00ffff]`
- `blur-sm`
- `blur-md`
- `blur-lg`
- `backdrop-blur`

### 禁止的模式
- 匹配 `^rounded-(?:xl|2xl|3xl|full)`
- 匹配 `^shadow-(?:sm|md|lg|xl)$`
- 匹配 `^bg-gradient`
- 匹配 `^blur-`
- 匹配 `^backdrop-blur`

### 禁止原因
- `rounded-2xl`: Cubism uses sharp angles and minimal rounding (rounded-sm only)
- `rounded-full`: Cubism rejects organic curves; use angular shapes
- `shadow-md`: Cubism uses hard-edge shadows (shadow-[Npx_Npx_0px_color]), not soft shadows
- `bg-gradient-to-r`: Cubism uses flat, opaque color planes without gradients
- `blur-sm`: Cubism uses crisp, hard edges; blur effects are forbidden

> WARNING: 如果你的代码中包含以上任何 class,必须立即替换。

---

## [REQUIRED] 必须包含

### 按钮必须包含
```
rounded-sm
font-bold uppercase tracking-widest
border-2
shadow-[4px_4px_0px_#8b7355]
transition-all duration-150
```

### 卡片必须包含
```
bg-[#e8dcc8]
border-2 border-[#5c4033]
rounded-sm
shadow-[6px_6px_0px_#5c4033]
```

### 输入框必须包含
```
bg-[#e8dcc8]
border-2 border-[#5c4033]/40
rounded-sm
text-[#5c4033]
focus:border-[#9b3d25]
focus:outline-none
```

---

## [COMPARE] 错误 vs 正确对比

### 按钮

[WRONG] **错误示例**(使用了圆角和模糊阴影):
```html
<button class="rounded-lg shadow-lg bg-blue-500 text-white px-4 py-2 hover:bg-blue-600">
  点击我
</button>
```

[CORRECT] **正确示例**(使用硬边缘、无圆角、位移效果):
```html
<button class="rounded-sm font-bold uppercase tracking-widest border-2 shadow-[4px_4px_0px_#8b7355] transition-all duration-150 bg-[#ff006e] text-white px-4 py-2 md:px-6 md:py-3">
  点击我
</button>
```

### 卡片

[WRONG] **错误示例**(使用了渐变和圆角):
```html
<div class="rounded-xl shadow-2xl bg-gradient-to-r from-purple-500 to-pink-500 p-6">
  <h3 class="text-xl font-semibold">标题</h3>
</div>
```

[CORRECT] **正确示例**(纯色背景、硬边缘阴影):
```html
<div class="bg-[#e8dcc8] border-2 border-[#5c4033] rounded-sm shadow-[6px_6px_0px_#5c4033] p-5 md:p-6">
  <h3 class="font-bold uppercase tracking-widest text-xl md:text-2xl">标题</h3>
</div>
```

### 输入框

[WRONG] **错误示例**(灰色边框、圆角):
```html
<input class="rounded-md border border-gray-300 px-3 py-2 focus:ring-2 focus:ring-blue-500" />
```

[CORRECT] **正确示例**(黑色粗边框、聚焦阴影):
```html
<input class="bg-[#e8dcc8] border-2 border-[#5c4033]/40 rounded-sm text-[#5c4033] focus:border-[#9b3d25] focus:outline-none px-3 py-2 md:px-4 md:py-3" placeholder="请输入..." />
```

---

## [TEMPLATES] 页面骨架模板

使用以下模板生成页面,只需替换 `{PLACEHOLDER}` 部分:

### 导航栏骨架
```html
<nav class="bg-white border-b-2 md:border-b-4 border-black px-4 md:px-8 py-3 md:py-4">
  <div class="flex items-center justify-between max-w-6xl mx-auto">
    <a href="/" class="font-black text-xl md:text-2xl tracking-wider">
      {LOGO_TEXT}
    </a>
    <div class="flex gap-4 md:gap-8 font-mono text-sm md:text-base">
      {NAV_LINKS}
    </div>
  </div>
</nav>
```

### Hero 区块骨架
```html
<section class="min-h-[60vh] md:min-h-[80vh] flex items-center px-4 md:px-8 py-12 md:py-0 bg-{ACCENT_COLOR} border-b-2 md:border-b-4 border-black">
  <div class="max-w-4xl mx-auto">
    <h1 class="font-black text-4xl md:text-6xl lg:text-8xl leading-tight tracking-tight mb-4 md:mb-6">
      {HEADLINE}
    </h1>
    <p class="font-mono text-base md:text-xl max-w-xl mb-6 md:mb-8">
      {SUBHEADLINE}
    </p>
    <button class="bg-black text-white font-black px-6 py-3 md:px-8 md:py-4 border-2 md:border-4 border-black shadow-[4px_4px_0px_0px_rgba(255,0,110,1)] md:shadow-[8px_8px_0px_0px_rgba(255,0,110,1)] hover:shadow-none hover:translate-x-[2px] hover:translate-y-[2px] transition-all text-sm md:text-base">
      {CTA_TEXT}
    </button>
  </div>
</section>
```

### 卡片网格骨架
```html
<section class="py-12 md:py-24 px-4 md:px-8">
  <div class="max-w-6xl mx-auto">
    <h2 class="font-black text-2xl md:text-4xl mb-8 md:mb-12">{SECTION_TITLE}</h2>
    <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 md:gap-6">
      <!-- Card template - repeat for each card -->
      <div class="bg-white border-2 md:border-4 border-black shadow-[4px_4px_0px_0px_rgba(0,0,0,1)] md:shadow-[8px_8px_0px_0px_rgba(0,0,0,1)] p-4 md:p-6 hover:shadow-[4px_4px_0px_0px_rgba(255,0,110,1)] md:hover:shadow-[8px_8px_0px_0px_rgba(255,0,110,1)] hover:-translate-y-1 transition-all">
        <h3 class="font-black text-lg md:text-xl mb-2">{CARD_TITLE}</h3>
        <p class="font-mono text-sm md:text-base text-gray-700">{CARD_DESCRIPTION}</p>
      </div>
    </div>
  </div>
</section>
```

### 页脚骨架
```html
<footer class="bg-black text-white py-12 md:py-16 px-4 md:px-8 border-t-2 md:border-t-4 border-black">
  <div class="max-w-6xl mx-auto">
    <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
      <div>
        <span class="font-black text-xl md:text-2xl">{LOGO_TEXT}</span>
        <p class="font-mono text-sm mt-4 text-gray-400">{TAGLINE}</p>
      </div>
      <div>
        <h4 class="font-black text-lg mb-4">{COLUMN_TITLE}</h4>
        <ul class="space-y-2 font-mono text-sm text-gray-400">
          {FOOTER_LINKS}
        </ul>
      </div>
    </div>
  </div>
</footer>
```

---

## [CHECKLIST] 生成后自检清单

**在输出代码前,必须逐项验证以下每一条。如有违反,立即修正后再输出:**

### 1. 圆角检查
- [ ] 搜索代码中的 `rounded-`
- [ ] 确认只有 `rounded-none` 或无圆角
- [ ] 如果发现 `rounded-lg`、`rounded-md` 等,替换为 `rounded-none`

### 2. 阴影检查
- [ ] 搜索代码中的 `shadow-`
- [ ] 确认只使用 `shadow-[Xpx_Xpx_0px_0px_rgba(...)]` 格式
- [ ] 如果发现 `shadow-lg`、`shadow-xl` 等,替换为正确格式

### 3. 边框检查
- [ ] 搜索代码中的 `border-`
- [ ] 确认边框颜色是 `border-black`
- [ ] 如果发现 `border-gray-*`、`border-slate-*`,替换为 `border-black`

### 4. 交互检查
- [ ] 所有按钮都有 `hover:shadow-none hover:translate-x-[2px] hover:translate-y-[2px]`
- [ ] 所有卡片都有 hover 效果(阴影变色或位移)
- [ ] 都包含 `transition-all`

### 5. 响应式检查
- [ ] 边框有 `border-2 md:border-4`
- [ ] 阴影有 `shadow-[4px...] md:shadow-[8px...]`
- [ ] 间距有 `p-4 md:p-6` 或类似的响应式值
- [ ] 字号有 `text-sm md:text-base` 或类似的响应式值

### 6. 字体检查
- [ ] 标题使用 `font-black`
- [ ] 正文使用 `font-mono`

> CRITICAL: **如果任何一项检查不通过,必须修正后重新生成代码。**

---

## [EXAMPLES] 示例 Prompt

### 1. 艺术画廊页面

立体主义风格的画廊展示

```
用 Cubism 风格创建一个艺术画廊页面,要求:
1. 背景:画布色,添加几何碎片装饰
2. 网格布局:不对称排列,使用 skew 和 rotate
3. 卡片:粗边框 + 硬阴影,赭石色调
4. 标题:粗体大写,紧密字间距
5. 整体传达多视角碎片化的前卫美学
```

### 2. SaaS 着陆页

生成 立体主义风格的 SaaS 产品着陆页

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

### 3. 作品集展示

生成 立体主义风格的作品集页面

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

Soft Prompt

Flexible constraints for quick ideation

STYLEKIT_STYLE_REFERENCE
style_name: 立体主义
style_slug: cubism
style_source: /styles/cubism

# Soft Prompt

保持整体风格气质即可,允许实现细节灵活调整,但不要偏离核心视觉语言。

## Style Signals
- 立体主义
- 毕加索
- 几何
- 碎片
- 多视角
- 棱角

## Prefer
- 使用棱角分明的几何形状,多采用 skew 和 rotate 变换
- 主色调使用大地色系 #5c4033 和 #e8dcc8
- 边框使用粗线条 border-2 搭配深色边框色
- 圆角使用小值 rounded 或 rounded-sm,保持棱角感

## Avoid
- 禁止使用柔和的渐变或模糊效果
- 禁止使用霓虹色或荧光色
- 禁止使用对称居中的传统布局

## Output Guidance
- 先保证整体风格识别度,再优化细节。
- 避免过度炫技,保持可读性与可维护性。

Component Templates

Component Preview

按钮

立体主义风格按钮,棱角分明的几何形状

Global Styles

Global CSS

css
/* Cubism 全局样式 */

:root {
  --cb-sienna: #5c4033;
  --cb-canvas: #e8dcc8;
  --cb-khaki: #8b7355;
  --cb-steel: #3d5c6e;
  --cb-terracotta: #9b3d25;
}

/* 碎片化装饰元素 */
.cb-fragment {
  clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
}

.cb-fragment-alt {
  clip-path: polygon(0% 0%, 85% 5%, 100% 100%, 15% 95%);
}

/* 几何硬阴影 */
.cb-hard-shadow {
  box-shadow: 6px 6px 0px var(--cb-sienna);
}

.cb-hard-shadow-sm {
  box-shadow: 3px 3px 0px var(--cb-sienna);
}

/* 倾斜装饰线 */
.cb-skew-line {
  height: 2px;
  background: var(--cb-terracotta);
  transform: skewX(-12deg);
}

/* 多视角背景 */
.cb-multi-perspective {
  background-image:
    linear-gradient(135deg, rgba(61, 92, 110, 0.05) 25%, transparent 25%),
    linear-gradient(225deg, rgba(155, 61, 37, 0.05) 25%, transparent 25%);
}
@keyframes cubism-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.cubism-card {
  position: relative;
  overflow: hidden;
}

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

.cubism-card:hover::before {
  opacity: 1;
}

.cubism-frosted {
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  background: rgba(92, 64, 51, 0.08);
}

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

IDE Integration

IDE Config Export

Download config files for your AI coding assistant to generate code following this style.

Style Pack

Export Style Pack

Get the complete machine-readable style assets including Design Tokens, Tailwind presets, CSS variables, and shadcn/ui themes.

Metadata

Style metadata including version information

Design Tokens

Compatible with Figma / Style Dictionary / Tokens Studio

Tailwind Preset

Tailwind CSS theme preset, import directly in config

Global CSS

CSS variables and base styles

shadcn Theme

shadcn/ui theme configuration

CSS Variables

Pure CSS variables, works with any project

SKILL.md

Loadable skill pack for Cursor / Claude Code / VS Code

Design Philosophy

Cubism is one of the most revolutionary art movements of the 20th century, pioneered by Picasso and Braque around 1907. It completely broke with the single-point perspective tradition since the Renaissance, redefining visual expression through geometric fragments and multi-perspective overlays.

Accessibility

Accessibility Score

WCAG 2.1 compliance analysis based on color contrast ratios and typography readability.

46

Overall Score

Grade: D - Poor

Contrast Ratios

Score: 28/100Avg Ratio: 3.51:1
AA FailAAA Fail
ContextColorsRatioAAAAA
Text on background
/#5c4033 / #e8dcc8
6.93:1
Secondary text on background
/#8b7355 / #e8dcc8
3.31:1
Muted text on background
/#5c4033 / #e8dcc8
6.93:1
Text on secondary background
/#5c4033 / #ddd0b8
6.17:1
Secondary text on secondary
/#8b7355 / #ddd0b8
2.95:1
Button primary
/#e8dcc8 / #5c4033
6.93:1
Text on accent 1
/#5c4033 / #5c4033
1:1
Alt text on accent 1
/#8b7355 / #5c4033
2.09:1
Text on accent 2
/#5c4033 / #3d5c6e
1.32:1
Alt text on accent 2
/#8b7355 / #3d5c6e
1.58:1
Text on accent 3
/#5c4033 / #9b3d25
1.38:1
Alt text on accent 3
/#8b7355 / #9b3d25
1.52:1

Readability

Score

87/100

Font Size

text-sm md:text-base

Font Weight

font-bold uppercase tracking-widest

Line Height

default

Scores are based on WCAG 2.1 guidelines. AA requires 4.5:1 contrast for normal text and 3:1 for large text. AAA requires 7:1 for normal text and 4.5:1 for large text.

Further Reading

Prompt examples, FAQ, and extended use cases

This section is better for readers who already like the direction and want more depth.

StyleKit

Curated web design styles collection for more beautiful AI-generated websites.

Navigation

StylesTemplatesGuideBlogChangelog

Resources

UI Design PromptsLanding Page PromptsDashboard PromptsTailwind UI PromptsDark Mode UI PromptsGitHub Repository

Stay Updated

By subscribing, you agree to our Privacy Policy and Terms.


(c) 2026 StyleKit. Open Source.

AboutContactPrivacyTermsBuilt with Editorial style