HomeStylesTemplates
StyleKit
StylesTemplates
  1. Home
  2. /Styles
  3. /Constructivism
Style Catalog/构成主义

构成主义

Constructivism

C
63/100Fair

Soviet Constructivist poster style with bold red-and-black color schemes, diagonal compositions, geometric planes, and agitprop typography.

构成主义苏联海报几何宣传对角线retrovintagenostalgic复古
View Full Showcase →Templates

Best For

构成主义 / 苏联 / 海报

Primary Move

Use red-black high-contrast palette bg-[#cc0000] text-[#1a1a1a] with yellowed base bg-[#f2e8d5]

Watch Out

Do not use soft rounded corners rounded-lg rounded-xl rounded-full

Showcase Entry

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

View Full Showcase →

Color Palette

Primary

#cc0000

Secondary

#f2e8d5

Accent 1

#1a1a1a

Accent 2

#d4a843

Accent 3

#8b4513

Accent 4

#1a1a1a

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: Constructivism
style_slug: constructivism
style_source: /styles/constructivism

# 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 Constructivism design style frontend development expert. All generated code must strictly follow these constraints:

Absolutely Forbidden:
- Rounded corners rounded-lg rounded-xl rounded-full
- Soft shadows shadow-sm shadow-md
- Gradients bg-gradient-to-*
- Soft font weights font-light font-normal font-medium
- More than three-color system palette
- Curves and organic shapes
- Transitions longer than duration-100 (Constructivism is mechanical, not fluid)

Must Follow:
- Soviet red bg-[#cc0000] text-[#cc0000]
- Pure black bg-[#1a1a1a] text-[#1a1a1a] border-[#1a1a1a]
- Yellowed paper bg-[#f2e8d5]
- Sharp right angles rounded-none
- Hard-edge shadows shadow-[4px_4px_0_#1a1a1a] or shadow-[6px_6px_0_#1a1a1a]
- Ultra-bold fonts font-black uppercase
- Wide letter-spacing tracking-wider tracking-[0.2em] tracking-[0.3em]
- Thick borders border-4 border-[#1a1a1a]
- Diagonal elements -rotate-2 skew-x-3
- Interactive buttons must use group wrapper for invasion block support

Animation & Interaction Rules:
- Block Invasion: Buttons must have an absolute inset-0 black overlay (bg-[#1a1a1a] or bg-[#cc0000]), initially -translate-x-full, group-hover:translate-x-0, using transition-transform duration-100 ease-linear to sweep across. Text sits in a relative z-10 span.
- Diagonal Aggression: On hover, elements shift diagonally -- X and Y move simultaneously (hover:translate-x-[4px] hover:translate-y-[4px]), simulating the directional feel of a printing press. Shadow shrinks in sync (shadow-[6px] to shadow-[2px]).
- Soviet Reversal: On active, colors flip -- red-base button becomes black-base with red text (active:bg-[#1a1a1a] active:text-[#cc0000]); black-base button becomes red-base with black text. Shadow snaps to zero (active:shadow-none).
- Line Snap: Diagonal divider lines (-rotate-2) in cards snap to rotate-0 on group-hover, simulating the revolutionary "correction" of order.
- Mechanical Easing: All animations use duration-75 ease-linear or duration-100 ease-linear. Strictly no ease-in-out or ease (too soft).

Component Templates

Component Preview

按钮

构成主义侵入按钮:黑色色块从左侧横扫,hover 时斜向位移 + 阴影骤减,active 时苏维埃配色翻转(红字黑底)

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
/* Constructivism 全局样式 */

:root {
  --cstv-red: #cc0000;
  --cstv-paper: #f2e8d5;
  --cstv-black: #1a1a1a;
  --cstv-gold: #d4a843;
  --cstv-brown: #8b4513;
}

/* 对角线条纹 */
.cstv-stripes {
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 10px,
    var(--cstv-red) 10px,
    var(--cstv-red) 12px
  );
}

/* 革命红块 */
.cstv-red-block {
  background: var(--cstv-red);
  transform: skewX(-6deg);
}

/* 宣传海报边框 */
.cstv-poster-border {
  border: 4px solid var(--cstv-black);
  box-shadow: 6px 6px 0 var(--cstv-black);
}

/* 版画纹理叠加 */
.cstv-texture {
  background-image: url("data:image/svg+xml,%3Csvg width='4' height='4' viewBox='0 0 4 4' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3h1v1H1V3zm2-2h1v1H3V1z' fill='%231a1a1a' fill-opacity='0.05'/%3E%3C/svg%3E");
}

/* 对角线分隔 */
.cstv-diagonal-divider {
  height: 4px;
  background: var(--cstv-black);
  transform: rotate(-2deg);
}
@keyframes constructivism-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

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

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

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

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

.constructivism-animate-in {
  animation: constructivism-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

Constructivism originated from the Russian avant-garde art movement of the 1910s, reaching its peak in the Soviet Union during the 1920s-30s. It advocates "art in service of society," viewing visual design as a tool for conveying information and mobilizing the masses.

Accessibility

Accessibility Score

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

63

Overall Score

Grade: C - Fair

Contrast Ratios

Score: 53/100Average Ratio: 5.59:1
AA FailAAA Fail
ContextColorsRatioAAAAA
Text on background
/#1a1a1a / #f2e8d5
14.32:1
Secondary text on background
/#f2e8d5 / #f2e8d5
1:1
Muted text on background
/#8b4513 / #f2e8d5
5.84:1
Text on secondary background
/#1a1a1a / #cc0000
2.96:1
Secondary text on secondary
/#f2e8d5 / #cc0000
4.84:1
Button primary
/#f2e8d5 / #cc0000
4.84:1
Text on accent 1
/#1a1a1a / #1a1a1a
1:1
Alt text on accent 1
/#f2e8d5 / #1a1a1a
14.32:1
Text on accent 2
/#1a1a1a / #d4a843
7.86:1
Alt text on accent 2
/#f2e8d5 / #d4a843
1.82:1
Text on accent 3
/#1a1a1a / #8b4513
2.45:1
Alt text on accent 3
/#f2e8d5 / #8b4513
5.84:1

Readability

Score

87/100

Font Size

text-sm md:text-base

Font Weight

font-sans font-black 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