HomeStylesTemplates
StyleKit
StylesTemplates
  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 Showcase →Templates

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

AI ImplementationComponent PreviewReadinessExportsRatings & Feedback

AI Implementation

Copy the Hard Prompt first, then use the spec when needed

Use the Hard Prompt by default to generate UI. Use the Design Spec to understand, modify, and review the style. Use the Creative Brief for early exploration.

Hard Prompt

Use this by default: copy it, append the concrete requirement, and let AI generate consistent production UI.

When to use

  • -When AI should generate UI directly
  • -When repeated outputs must stay consistent
  • -When style drift is the main risk

How to use

  • -Copy the full prompt
  • -Append the concrete requirement
  • -Review against forbidden rules and UI states
STYLEKIT_STYLE_REFERENCE
style_name: Cubism
style_slug: cubism
style_source: /styles/cubism

# Hard Prompt

## When To Use
Use this when you want AI to generate code with strict style consistency. It is the safest default for production UI.

## How To Use
- Copy the full prompt into ChatGPT, Claude, Cursor, or another coding assistant.
- Append the concrete product/page requirement after the prompt.
- After generation, check the forbidden rules and interaction states before accepting the output.

Strictly follow the style rules below and maintain consistency. No style drift allowed.

## Requirements
- Prioritize style consistency first, then creative extension.
- When conflicts arise, treat prohibitions as the highest priority.
- Self-check before output: verify colors, typography, spacing, and interactions still match this style.

## Style Rules
You are a Cubism design style frontend development expert. All generated code must strictly follow these constraints:

## Absolutely Forbidden

- Large rounded corners rounded-2xl, rounded-full
- Soft gradients or blur effects
- Neon or fluorescent colors
- Fully symmetrical centered traditional layouts
- Organic curves or circular shapes
- Thin hairline borders border (must be border-2 or thicker)

## Must Follow

- Earth-tone palette: #5c4033 (burnt sienna), #e8dcc8 (canvas)
- Borders use border-2 paired with rounded-sm
- Hard shadows shadow-[Npx_Npx_0px_color]
- font-bold uppercase tracking-widest to emphasize geometric feel
- Create fragmented visuals through skew, rotate, clip-path
- Overlapping elements and asymmetric layouts

## Animation & Interaction Rules

- Motion must be short and crisp: transition duration kept at 100-200ms, prefer combined transitions of transform, box-shadow, and border-color
- Hover feedback primarily uses geometric displacement: 1-2px shift + shadow offset + slight angular disturbance (1-3deg)
- Active state must have a "stamp" feel: 3-4px displacement with shadow significantly shrinking or removed
- No spring bounce, floating loops, slow fade-in/out, or large-scale animations
- One-time light-band/slice sweep effects are allowed but must not steal focus or introduce blur softening

## Color Palette

Primary:
- Sienna: #5c4033
- Canvas: #e8dcc8
- Khaki: #8b7355
- Steel blue: #3d5c6e
- Terracotta: #9b3d25

## Special Elements

- Geometric fragment decorations (clip-path, skew, rotate)
- Hard-edge shadows (no blur)
- Asymmetric compositions
- Bold uppercase letter typography

Component Templates

Component Preview

按钮

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

Frontend Readiness

Dark Mode, States, Motion, and Accessibility

This layer tracks whether the style is ready for real websites: theme modes, state feedback, keyboard access, and performance constraints.

Overall

51%

Fallback

Dark Mode

0%

Missing

UI States

79%

Partial

Motion

70%

Partial

A11y

70%

Partial

Performance

35%

Fallback

Key State Coverage

light
HoverFocus VisibleDisabledLoadingEmptyErrorSuccess

Button

Default / Hover / Focus Visible / Active / Disabled

Input

Default / Hover / Focus Visible / Disabled / Error

Card

Default / Hover / Focus Visible / Loading / Skeleton

Form

Default / Focus Visible / Disabled / Loading / Error

Implementation Notes

  • No curated dark-mode contract exists yet.
  • Check contrast in both light and dark modes.
  • Check heavy shadows, blur, large media, and scroll-linked effects manually.
  • No style-specific performance cost profile has been curated yet.
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 Configuration Export

Download configuration files for AI coding assistants to generate code in this style.

Style Pack

Export Style Pack

Get 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 and typography readability.

46

Overall Score

Grade: D - Poor

Contrast Ratios

Score: 28/100Average 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

Scoring is based on WCAG 2.1 standards. AA requires 4.5:1 contrast for normal text, 3:1 for large text; AAA requires 7:1 for normal text, 4.5:1 for large text.

StyleKit

A curated web design style library to help AI generate better-looking 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.


Support Maintenance

If StyleKit helps your workflow, voluntary support helps cover servers, domains, and ongoing upkeep.

Scan to support / View all options

(c) 2026 StyleKit. Open source project.

AboutContactPrivacyTermsBuilt with the Editorial style
Stylekit前端样式库stylekit.top陕ICP备2025065501号-3