Best For
装饰艺术 / 奢华 / 金色
Art Deco
A luxurious design style from the 1920s-30s featuring geometric symmetrical patterns, gold decorations, elegant lines, and premium textures, conveying sophistication and prosperity.
Best For
装饰艺术 / 奢华 / 金色
Primary Move
Use high-contrast gold and dark color schemes
Watch Out
Do NOT use overly vibrant modern color schemes
Showcase Entry
Live preview of the showcase page. Click to explore the full experience.
Color Palette
Primary
#d4af37
Secondary
#1a1a2e
Accent 1
#c9a227
Accent 2
#2d2d44
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: Art Deco
style_slug: art-deco
style_source: /styles/art-deco
# 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 an Art Deco design style frontend development expert. All generated code must strictly follow these constraints:
## Absolute Prohibitions
- Using overly vibrant modern color schemes
- Using asymmetrical chaotic layouts
- Using rounded modern fonts
- Omitting decorative borders and lines
## Must Follow
- Gold color scheme text-yellow-500, border-yellow-500
- Dark backgrounds bg-slate-900, bg-slate-800
- Serif fonts font-serif
- Wide letter spacing tracking-wider, tracking-[0.3em]
- Symmetrical layouts and center alignment
- Geometric decorative elements
## Color Palette
Primary:
- Gold: #d4af37, text-yellow-500, border-yellow-500
- Deep blue: #1a1a2e, bg-slate-900
- Navy: #2d2d44, bg-slate-800
- Cream: #f5f5dc
## Decorative Elements
- Corner decorative borders
- Radial lines
- Gradient dividers
- Geometric patterns
## Animation & Interaction Rules
- Elegant & Slow: Animations must appear noble and unhurried. Use longer durations like `duration-500` or `duration-700`, never with a hasty bouncy feel.
- Golden Shimmer: On hover, simulate gold material reflection and luster through background gradient position movement (e.g., `bg-[length:200%_auto] hover:bg-right`).
- Symmetrical Expansion: During interaction, maintain symmetry. For example, on card hover, corner decorative frames can slightly expand outward (via `group-hover:translate`).
- Subtle Lift: Use very slight float and gold halo expansion effects.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
58%
Fallback
Dark Mode
35%
FallbackUI 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
/* Art Deco 全局样式 */
:root {
--deco-gold: #d4af37;
--deco-dark: #1a1a2e;
--deco-navy: #2d2d44;
--deco-cream: #f5f5dc;
}
/* 金色渐变 */
.deco-gold {
background: linear-gradient(135deg, #d4af37 0%, #f5d67a 50%, #d4af37 100%);
}
/* 放射状线条 */
.deco-sunburst {
background-image: repeating-conic-gradient(
from 0deg,
transparent 0deg 15deg,
rgba(212, 175, 55, 0.1) 15deg 30deg
);
}
/* 几何边框 */
.deco-border {
border: 1px solid var(--deco-gold);
position: relative;
}
.deco-border::before,
.deco-border::after {
content: "";
position: absolute;
width: 20px;
height: 20px;
border: 2px solid var(--deco-gold);
}
.deco-border::before {
top: -5px;
left: -5px;
border-right: none;
border-bottom: none;
}
.deco-border::after {
bottom: -5px;
right: -5px;
border-left: none;
border-top: none;
}
/* 装饰分隔线 */
.deco-divider {
height: 2px;
background: linear-gradient(90deg, transparent, var(--deco-gold), transparent);
}
@keyframes art-deco-fade-in {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes art-deco-pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}
.art-deco-frosted {
backdrop-filter: blur(12px) saturate(180%);
-webkit-backdrop-filter: blur(12px) saturate(180%);
background: rgba(212, 175, 55, 0.08);
}
.art-deco-accent-corner {
clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}
.art-deco-animate-in {
animation: art-deco-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
Art Deco is a design style popular in the 1920s-30s, blending modernist geometric forms with the luxury of traditional craftsmanship.
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 | /#d4af37 / #1a1a2e | 8.11:1 | ||
| Secondary text on background | /#f0e6d0 / #1a1a2e | 13.76:1 | ||
| Muted text on background | /#8a7a5a / #1a1a2e | 4.07:1 | ||
| Text on secondary background | /#d4af37 / #0f0f1a | 9.05:1 | ||
| Secondary text on secondary | /#f0e6d0 / #0f0f1a | 15.35:1 | ||
| Button primary | /#1a1a2e / #d4af37 | 8.11:1 | ||
| Text on accent 1 | /#d4af37 / #d4af37 | 1:1 | ||
| Alt text on accent 1 | /#f0e6d0 / #d4af37 | 1.7:1 | ||
| Text on accent 2 | /#d4af37 / #c9a832 | 1.09:1 | ||
| Alt text on accent 2 | /#f0e6d0 / #c9a832 | 1.85:1 | ||
| Text on accent 3 | /#d4af37 / #2c2c54 | 6.26:1 | ||
| Alt text on accent 3 | /#f0e6d0 / #2c2c54 | 10.61:1 | ||
| Text on accent 4 | /#d4af37 / #8b6914 | 2.42:1 | ||
| Alt text on accent 4 | /#f0e6d0 / #8b6914 | 4.1:1 |
Readability
Score
87/100
Font Size
text-sm md:text-base
Font Weight
font-serif font-bold tracking-widest 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.