HomeStylesTemplates
StyleKit
StylesTemplates
  1. Home
  2. /Styles
  3. /Mid-Century Modern
Style Catalog/中世纪现代

中世纪现代

Mid-Century Modern

C
68/100Fair

1950s Atomic Age design aesthetics with geometric patterns, organic curves, and saturated colors. Inspired by Eames chairs, atomic clocks, and starburst motifs.

中世纪原子时代有机曲线星芒复古现代retrovintagenostalgic复古怀旧
View Full Showcase →Templates

Best For

中世纪 / 原子时代 / 有机曲线

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

Showcase Entry

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

View Full Showcase →

Color Palette

Primary

#e8572a

Secondary

#f5f0e1

Accent 1

#2a6e5e

Accent 2

#c4a35a

Accent 3

#3d3d3d

Accent 4

#44628c

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: 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.

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
/* 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

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

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.

Accessibility

Accessibility Score

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

68

Overall Score

Grade: C - Fair

Contrast Ratios

Score: 58/100Average Ratio: 6.01:1
AA FailAAA Fail
ContextColorsRatioAAAAA
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.

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