Best For
孟菲斯 / 几何 / 撞色
Memphis
An 80s Italian design movement featuring bold geometric shapes, vivid contrasting colors, irregular forms, and playful patterns that break traditional design rules.
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.
Color Palette
Primary
#ff6b6b
Secondary
#feca57
Accent 1
#48dbfb
Accent 2
#ff9ff3
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: 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
孟菲斯风格按钮,波普换色 + 玩具按键触感
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
/* 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
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
Memphis is a design movement founded in the 1980s by Italian designer Ettore Sottsass, known for breaking traditions and embracing chaos and playfulness.
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 | /#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.