HomeStylesTemplates
StyleKit
StylesTemplates
  1. Home
  2. /Styles
  3. /Memphis
Style Catalog/孟菲斯风格

孟菲斯风格

Memphis

C
72/100Fair

An 80s Italian design movement featuring bold geometric shapes, vivid contrasting colors, irregular forms, and playful patterns that break traditional design rules.

孟菲斯几何撞色80年代波普图案大胆retrovintagenostalgic
View Full Showcase →Templates

Best For

孟菲斯 / 几何 / 撞色

Primary Move

Use vivid contrasting color combinations

Watch Out

Do NOT use monotone, low-saturation color schemes

Showcase Entry

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

View Full Showcase →

Color Palette

Primary

#ff6b6b

Secondary

#feca57

Accent 1

#48dbfb

Accent 2

#ff9ff3

Accent 3

#1dd1a1

Accent 4

#5f27cd

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: Memphis
style_slug: memphis
style_source: /styles/memphis

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

## Absolute Prohibitions

- Using monotone, low-saturation color schemes
- Using overly symmetrical and orderly layouts
- Using thin borders border
- Omitting geometric decorative elements

## Must Follow

- Vivid contrasting colors bg-yellow-400, bg-pink-300, bg-cyan-400
- Thick borders border-4 border-black
- Hard-edge shadows shadow-[6px_6px_0px_#000]
- Geometric decorations (circles, triangles, squares)
- Bold fonts font-black, font-bold

## Color Palette

Primary:
- Red: #ff6b6b, bg-red-500
- Yellow: #feca57, bg-yellow-400
- Cyan: #48dbfb, bg-cyan-400
- Pink: #ff9ff3, bg-pink-300
- Green: #1dd1a1, bg-green-400

## Decorative Elements

- Circles rounded-full
- Triangles (using border)
- Squares rotate-45
- Wave, dot, and stripe patterns

## Animation & Interaction Rules

- Playful Chaos: Card inner decorative geometries use group class, each moving independently in different directions (circle: group-hover:translate-x-4 group-hover:-translate-y-2; triangle: group-hover:-translate-x-2 group-hover:rotate-12), uniform direction is forbidden.
- Toy Button Physics: Button active state active:translate-x-[6px] active:translate-y-[6px] active:shadow-none, simulating toy key fully flattening.
- Pop Swap: Hover instantly switches to high-saturation contrasting color (hover:bg-pink-400), transition-colors duration-150, gradient transitions are forbidden.
- Snappy Motion: All animations duration-150 ease-out, maintaining pop toy crispness.

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

:root {
  --memphis-red: #ff6b6b;
  --memphis-yellow: #feca57;
  --memphis-cyan: #48dbfb;
  --memphis-pink: #ff9ff3;
  --memphis-green: #1dd1a1;
  --memphis-purple: #5f27cd;
}

/* 孟菲斯阴影 */
.memphis-shadow {
  box-shadow: 6px 6px 0px #000;
}

/* 波浪线背景 */
.memphis-waves {
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='20' viewBox='0 0 100 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 10 Q25 0 50 10 T100 10' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
}

/* 点状图案 */
.memphis-dots {
  background-image: radial-gradient(#000 2px, transparent 2px);
  background-size: 20px 20px;
}

/* 条纹图案 */
.memphis-stripes {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    #000 10px,
    #000 12px
  );
}
@keyframes memphis-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

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

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

.memphis-frosted {
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  background: rgba(255, 107, 107, 0.08);
}

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

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

Memphis is a design movement founded in the 1980s by Italian designer Ettore Sottsass, known for breaking traditions and embracing chaos and playfulness.

Accessibility

Accessibility Score

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

72

Overall Score

Grade: C - Fair

Contrast Ratios

Score: 64/100Average Ratio: 7.95:1
AA FailAAA Fail
ContextColorsRatioAAAAA
Text on background
/#000000 / #fef9ef
20.01:1
Secondary text on background
/#ffffff / #fef9ef
1.05:1
Muted text on background
/#4b5563 / #fef9ef
7.2:1
Text on secondary background
/#000000 / #000000
1:1
Secondary text on secondary
/#ffffff / #000000
21:1
Button primary
/#000000 / #ff6b6b
7.57:1
Text on accent 1
/#000000 / #ff6b6b
7.57:1
Alt text on accent 1
/#ffffff / #ff6b6b
2.78:1
Text on accent 2
/#000000 / #feca57
13.8:1
Alt text on accent 2
/#ffffff / #feca57
1.52:1
Text on accent 3
/#000000 / #48dbfb
12.8:1
Alt text on accent 3
/#ffffff / #48dbfb
1.64:1
Text on accent 4
/#000000 / #ff9ff3
11.51:1
Alt text on accent 4
/#ffffff / #ff9ff3
1.83:1

Readability

Score

90/100

Font Size

text-sm md:text-base

Font Weight

font-black tracking-tight

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