来源仓库:jxc/ai-fresh-delivery 来源提交:f0b1a180e2deb7e4673b9d1c8542619f7bc0f73d 快照树: 09f679334ff38f0ff25e907961c94a8223bcaedd(与来源 HEAD 工作树逐字节一致,3801 个文件) 按约定本仓库不带任何历史提交:来源仓库的历史中含真实凭据 (生产 SSH 私钥 deploy/id_rsa_tencent、server/.env、.env.tencent/.env.production/.env.gitea、 deploy/小程序AppSecret.txt,其中 MP_APPSECRET / S3 AccessKey 经哈希比对与线上同值), 整包推送会把这些凭据永久带入本仓库,故只取「当前版本」的单提交快照。 供应商系统后续开发自本提交开始。
136 lines
4.4 KiB
Markdown
136 lines
4.4 KiB
Markdown
---
|
|
name: constructivism
|
|
version: 1.0.0
|
|
description: Constructivism design style for web interfaces
|
|
keywords: [构成主义, 苏联, 海报, 几何, 宣传]
|
|
author: StyleKit
|
|
style_type: visual
|
|
---
|
|
|
|
# Constructivism Style
|
|
|
|
## Overview
|
|
苏联构成主义海报风格,强烈的红黑配色、对角线构图、几何块面、宣传性排版。
|
|
|
|
## Philosophy
|
|
构成主义(Constructivism)起源于1910年代的俄国先锋派艺术运动,在1920-30年代的苏联达到高峰。它主张"艺术为社会服务",将视觉设计视为传达信息和动员大众的工具。
|
|
|
|
## Design Tokens
|
|
|
|
### Border
|
|
- Width: `border-4`
|
|
- Color: `border-[#1a1a1a]`
|
|
- Radius: `rounded-none`
|
|
|
|
### Shadow
|
|
- Small: `shadow-[2px_2px_0_#1a1a1a]`
|
|
- Medium: `shadow-[4px_4px_0_#1a1a1a]`
|
|
- Large: `shadow-[6px_6px_0_#1a1a1a]`
|
|
- Hover: `hover:shadow-[2px_2px_0_#1a1a1a]`
|
|
|
|
### Typography
|
|
- Heading: `font-sans font-black uppercase tracking-widest`
|
|
- Body: `font-sans font-bold`
|
|
- Hero: `text-6xl md:text-8xl lg:text-9xl`
|
|
- H1: `text-4xl md:text-6xl`
|
|
- Body: `text-sm md:text-base`
|
|
|
|
### Spacing
|
|
- Section: `py-12 md:py-20 lg:py-28`
|
|
- Container: `px-6 md:px-12 lg:px-16`
|
|
- Card: `p-0`
|
|
|
|
### Colors
|
|
- Primary BG: `bg-[#f2e8d5]`
|
|
- Secondary BG: `bg-[#cc0000]`
|
|
- Primary Text: `text-[#1a1a1a]`
|
|
- Primary Button: `bg-[#cc0000] text-[#f2e8d5]`
|
|
|
|
## Component Recipes
|
|
|
|
### Button
|
|
- Base: `font-sans font-black uppercase tracking-widest rounded-none skew-x-[-2deg] border-3 border-[#1a1a1a] transition-all duration-150`
|
|
- Primary: `bg-[#cc0000] text-[#f2e8d5]`
|
|
- Secondary: `bg-[#1a1a1a] text-[#f2e8d5]`
|
|
- Outline: `bg-[#f2e8d5] text-[#cc0000]`
|
|
|
|
- Hover: `hover:skew-x-0 hover:scale-105`
|
|
|
|
### Card
|
|
- Base: `bg-[#f2e8d5] border-4 border-[#1a1a1a] rounded-none relative`
|
|
- Default: ``
|
|
- Red Bar: `border-t-8 border-t-[#cc0000]`
|
|
|
|
### Input
|
|
- Base: `w-full bg-[#f2e8d5] border-3 border-[#1a1a1a] rounded-none font-sans font-bold text-[#1a1a1a] placeholder:text-[#1a1a1a]/30 focus:outline-none transition-all duration-150`
|
|
- Default: ``
|
|
|
|
## Forbidden Patterns
|
|
These classes must NEVER be used in Constructivism style:
|
|
|
|
- `font-serif`
|
|
- `font-light`
|
|
- `font-normal`
|
|
- `font-medium`
|
|
- `rounded-sm`
|
|
- `rounded`
|
|
- `rounded-md`
|
|
- `rounded-lg`
|
|
- `rounded-xl`
|
|
- `rounded-2xl`
|
|
|
|
- Pattern: `^font-(?:serif|light|normal|medium)$`
|
|
- Pattern: `^rounded-(?!none)`
|
|
- Pattern: `^shadow-(?:sm|md|lg|xl|2xl)$`
|
|
- Pattern: `^bg-gradient-`
|
|
- Pattern: `^italic$`
|
|
|
|
### Why:
|
|
- `font-serif`: Constructivism uses bold sans-serif industrial typography (font-sans font-black)
|
|
- `rounded-lg`: Constructivism demands sharp geometric edges (rounded-none)
|
|
- `shadow-md`: Constructivism uses hard offset shadows, not soft diffused ones
|
|
|
|
## Do's
|
|
- 使用红黑高对比配色 bg-[#cc0000] text-[#1a1a1a] 搭配泛黄底 bg-[#f2e8d5]
|
|
- 使用对角线和倾斜元素 -rotate-6 rotate-3 skew-x-3
|
|
- 使用超粗字体 font-black text-6xl uppercase 制造视觉冲击
|
|
- 使用尖锐直角 rounded-none 保持几何硬边
|
|
- 使用硬边阴影 shadow-[4px_4px_0_#1a1a1a] 模拟版画效果
|
|
- 保持极端字重对比——大标题与小正文的戏剧性差异
|
|
- 使用 border-4 border-[#1a1a1a] 强调块面分割
|
|
- 利用 transform 和 rotate 制造动态对角线构图
|
|
|
|
## Don'ts
|
|
- 禁止使用柔和圆角 rounded-lg rounded-xl rounded-full
|
|
- 禁止使用柔和渐变 bg-gradient-to-r
|
|
- 禁止使用过多颜色——严格控制在红、黑、泛黄纸色三色体系
|
|
- 禁止使用柔和字重 font-light font-normal
|
|
- 禁止使用大面积留白削弱紧迫感
|
|
- 禁止使用曲线和有机形状
|
|
|
|
## Layout Archetypes
|
|
- `landing-hero-centered`: Centered headline, subtitle, and CTA. Clean and focused.
|
|
- `landing-hero-split`: Text on left, image/visual on right. Great for product showcases.
|
|
- `landing-hero-fullscreen`: Full viewport hero with background image or color. High impact.
|
|
- `landing-video-hero`: Full-screen video background with overlay text. High impact for product demos.
|
|
- `landing-saas-pricing`: Complete SaaS pricing page with hero, pricing tiers, FAQ, and CTA.
|
|
- `landing-waitlist`: Minimal pre-launch page with email collection and countdown.
|
|
|
|
## Example Usage
|
|
|
|
```
|
|
Generate a landing page with:
|
|
- Style: constructivism
|
|
- Archetype: landing-hero-centered
|
|
- Sections: hero, features, cta, footer
|
|
- Components: heading (hero variant), button (primary, lg), card (default)
|
|
```
|
|
|
|
### Example Prompts:
|
|
- "革命风格活动页面"
|
|
- "SaaS 着陆页"
|
|
- "作品集展示"
|
|
|
|
---
|
|
Generated by StyleKit · https://stylekit.dev
|
|
Style: 构成主义 (Constructivism) |