Best For
mid-century modern / atomic age design / 1950s retro
中世纪现代
1950s Atomic Age design aesthetics with geometric patterns, organic curves, and saturated colors. Inspired by Eames chairs, atomic clocks, and starburst motifs.
Best For
mid-century modern / atomic age design / 1950s retro
Primary Move
Use saturated warm tones bg-[#e8572a] text-[#2a6e5e] paired with cream base bg-[#f5f0e1]
Watch Out
Do not use fluorescent or neon colors bg-pink-500 text-cyan-400
AI Implementation
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.
Use this by default: copy it, append the concrete requirement, and let AI generate consistent production UI.
When to use
How to use
STYLEKIT_STYLE_REFERENCE
style_name: Mid-Century Modern
style_slug: mid-century-modern
style_source: /styles/mid-century-modern
# 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 Mid-Century Modern design style frontend development expert. All generated code must strictly follow these constraints:
Absolutely Forbidden:
- Fluorescent or neon colors (pink-500, cyan-400, lime-400)
- Sharp right angles rounded-none
- Pure black backgrounds bg-black
- Gradients bg-gradient-to-*
- Serif fonts font-serif
- Heavy shadows or glow effects
Must Follow:
- Cream base bg-[#f5f0e1]
- Burnt orange primary text-[#e8572a] bg-[#e8572a]
- Teal accent text-[#2a6e5e] bg-[#2a6e5e]
- Gold decoration text-[#c4a35a]
- Charcoal text text-[#3d3d3d]
- Medium rounded corners rounded-lg rounded-xl
- Sans-serif fonts font-sans
- Wide letter-spacing tracking-wide tracking-wider
- Ample whitespace p-8 gap-8
Animation & Interaction Rules:
- Analog Switch: Interactions should simulate retro mechanical button presses; active uses hard displacement + shadow disappearance for damped feedback.
- Brass Shimmer: Brass decorations (like starbursts) slightly rotate and deepen in color on hover, creating metallic reflection.
- Retro Elevation: Card hover enhances hard-edge shadow extension with slight reverse displacement for printmaking-style layering.
- Warm Dimming: Cream base only slightly darkens on interaction, avoiding high-contrast flashing or modern neon feel.
## Absolute Bans (Match and Refuse)
If any of the following patterns appear, it is a style violation — rewrite without exception.
- use fluorescent or neon colors bg-pink-500 text-cyan-400
- use sharp right angles rounded-none or extreme rounded-full
- use heavy shadows shadow-2xl or glow effects
- use serif fonts font-serif or handwritten fonts
- use gradient backgrounds bg-gradient-to-r that break the flat color block feel
- densely arrange content without whitespace
- use pure black backgrounds bg-black
## Self-Check (Verify Before Shipping)
If any item fails, the style has drifted — fix before shipping.
- [ ] No purple-to-blue gradients
- [ ] No overused fonts (Inter, Roboto, Geist, Fraunces, Plus Jakarta Sans)
- [ ] No nested cards (cards inside cards)
- [ ] No gray text on colored backgrounds
- [ ] Body text contrast meets WCAG AA (>= 4.5:1)
- [ ] No bounce or elastic easing curves
- [ ] Animations have a prefers-reduced-motion fallback
- [ ] Body text line length capped at 65-75 characters
- [ ] No side-stripe accent borders (border-left/right > 1px)
- [ ] No gradient text (background-clip: text)
- [ ] No glassmorphism used as the default surface treatment
- [ ] No tiny uppercase tracked eyebrow labels above every section heading
- [ ] do not use fluorescent or neon colors bg-pink-500 text-cyan-400
- [ ] do not use sharp right angles rounded-none or extreme rounded-full
- [ ] do not use heavy shadows shadow-2xl or glow effects
- [ ] do not use serif fonts font-serif or handwritten fonts
- [ ] do not use gradient backgrounds bg-gradient-to-r that break the flat color block feelComponent Templates
中世纪现代风格按钮
Frontend Readiness
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%
MissingUI States
79%
PartialMotion
70%
PartialA11y
70%
PartialPerformance
35%
FallbackButton
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
FAQ
/* Mid-Century Modern 全局样式 */
:root {
--mcm-orange: #e8572a;
--mcm-cream: #f5f0e1;
--mcm-teal: #2a6e5e;
--mcm-gold: #c4a35a;
--mcm-charcoal: #3d3d3d;
}
/* 有机形状 */
.mcm-organic {
border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
}
/* 星芒装饰 */
.mcm-starburst {
background-image: conic-gradient(
from 0deg,
transparent 0deg 30deg,
rgba(196, 163, 90, 0.08) 30deg 33deg,
transparent 33deg 60deg
);
}
/* 复古分隔线 */
.mcm-divider {
height: 3px;
background: var(--mcm-orange);
border-radius: 999px;
max-width: 80px;
}
/* 卡片悬浮效果 */
.mcm-card-hover {
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mcm-card-hover:hover {
transform: translateY(-4px);
box-shadow: 6px 6px 0 var(--mcm-charcoal);
}
/* 肾形容器 */
.mcm-kidney {
border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}
@keyframes mid-century-modern-fade-in {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes mid-century-modern-pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}
.mid-century-modern-card {
position: relative;
overflow: hidden;
}
.mid-century-modern-card::before {
content: "";
position: absolute;
inset: 0;
opacity: 0;
transition: opacity 0.3s ease;
background: linear-gradient(135deg, rgba(232, 87, 42, 0.05), transparent);
pointer-events: none;
}
.mid-century-modern-card:hover::before {
opacity: 1;
}
.mid-century-modern-frosted {
backdrop-filter: blur(12px) saturate(180%);
-webkit-backdrop-filter: blur(12px) saturate(180%);
background: rgba(232, 87, 42, 0.08);
}
.mid-century-modern-accent-corner {
clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}
.mid-century-modern-animate-in {
animation: mid-century-modern-fade-in 0.5s ease-out both;
}IDE Integration
Download configuration files for AI coding assistants to generate code in this style.
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
Mid-Century Modern is a design movement that flourished from the 1940s to 1960s, born at the intersection of post-war optimism and the Space Age. It pursues the perfect unity of form and function, believing that good design should serve everyday life.
WCAG 2.1 compliance analysis based on color contrast and typography readability.
Overall Score
Grade: C - Fair
Contrast Ratios
| Context | Colors | Ratio | AA | AAA |
|---|---|---|---|---|
| Text on background | /#3d3d3d / #f5f0e1 | 9.53:1 | ||
| Secondary text on background | /#3d3d3d / #f5f0e1 | 9.53:1 | ||
| Muted text on background | /#3d3d3d / #f5f0e1 | 9.53:1 | ||
| Text on secondary background | /#3d3d3d / #ffffff | 10.86:1 | ||
| Secondary text on secondary | /#3d3d3d / #ffffff | 10.86:1 | ||
| Button primary | /#f5f0e1 / #e8572a | 3.16:1 | ||
| Text on accent 1 | /#3d3d3d / #e8572a | 3.01:1 | ||
| Alt text on accent 1 | /#3d3d3d / #e8572a | 3.01:1 | ||
| Text on accent 2 | /#3d3d3d / #2a6e5e | 1.81:1 | ||
| Alt text on accent 2 | /#3d3d3d / #2a6e5e | 1.81:1 | ||
| Text on accent 3 | /#3d3d3d / #c4a35a | 4.52:1 | ||
| Alt text on accent 3 | /#3d3d3d / #c4a35a | 4.52:1 |
Readability
Score
90/100
Font Size
text-sm md:text-base
Font Weight
font-sans font-bold tracking-wide uppercase
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.