HomeStylesTemplates
StyleKit
StylesTemplates
  1. Home
  2. /Styles
  3. /Art Deco
Style Catalog/装饰艺术风格

装饰艺术风格

Art Deco

C
64/100Fair

A luxurious design style from the 1920s-30s featuring geometric symmetrical patterns, gold decorations, elegant lines, and premium textures, conveying sophistication and prosperity.

装饰艺术奢华金色几何1920年代优雅高端retrovintagenostalgic
View Full Showcase →Templates

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.

View Full Showcase →

Color Palette

Primary

#d4af37

Secondary

#1a1a2e

Accent 1

#c9a227

Accent 2

#2d2d44

Accent 3

#f5f5dc

Accent 4

#4bc542

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

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

58%

Fallback

Dark Mode

35%

Fallback

UI States

79%

Partial

Motion

70%

Partial

A11y

70%

Partial

Performance

35%

Fallback

Key State Coverage

light / dark
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

  • This style contains dark-mode signals, but no curated dark token contract has been reviewed.
  • 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
/* 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

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

Art Deco is a design style popular in the 1920s-30s, blending modernist geometric forms with the luxury of traditional craftsmanship.

Accessibility

Accessibility Score

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

64

Overall Score

Grade: C - Fair

Contrast Ratios

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

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