Best For
蒸汽朋克 / 齿轮 / 黄铜
Steampunk
Victorian-era industrial machinery aesthetics with brass and copper metallic elements, gear mechanism decorations, and steam pipe rivet details. Ideal for retro sci-fi, industrial style, and creative showcase projects.
Best For
蒸汽朋克 / 齿轮 / 黄铜
Primary Move
Use dark brown backgrounds bg-[#3d2b1f] or bg-[#2a1f15]
Watch Out
No pure white backgrounds or modern minimalist style
Showcase Entry
Live preview of the showcase page. Click to explore the full experience.
Color Palette
Primary
#b5a642
Secondary
#3d2b1f
Accent 1
#b87333
Accent 2
#f5f0e1
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: Steampunk
style_slug: steampunk
style_source: /styles/steampunk
# 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
STYLE: Steampunk
TYPE: Victorian industrial machinery aesthetic
MUST USE:
- Dark brown background: bg-[#2a1f15] or bg-[#3d2b1f]
- Brass color: text-[#b5a642], bg-[#b5a642]
- Copper color: text-[#b87333], border-[#b87333]
- Cream text: text-[#f5f0e1]
- Metallic gradients: bg-gradient-to-b from-[#b5a642] to-[#8a7d32]
- Brass glow shadows: shadow-[0_0_15px_rgba(181,166,66,0.3)]
- font-serif for Victorian feel
- uppercase tracking-wider for labels
- Rivet decorations: small gradient circles at corners
- Ornate borders: border-2 with copper/brass colors
MUST AVOID:
- White/light backgrounds
- Neon or fluorescent colors
- Flat design without texture
- Modern sans-serif fonts for headings
- Large rounded corners (rounded-2xl+)
- Cold blue/purple color schemes
COLOR RULES:
- Primary: Brass (#b5a642)
- Secondary: Copper (#b87333)
- Background: Dark Brown (#2a1f15, #3d2b1f)
- Text: Cream (#f5f0e1)
- Iron accent: (#4a4a4a)
SPECIAL EFFECTS:
- Corner rivet decorations (small brass circles)
- Metallic inset shadows for depth
- Warm glow on hover interactions
- Gradient overlays for metal texture
## Animation & Interaction Rules
- Clockwork Grind: Motion rhythm is short and linear, simulating gear and lever mechanical engagement, no soft bounce-back.
- Steam Release: Active state performs a crisp press-down and flattens shadow, restoring brass highlight on release, forming a brief valve feedback.
- Rivet Glint: Rivets use sliding gradients for slow reflective shimmer, emphasizing metallic craftsmanship detail.
- Brass Oxidation: On hover, dark brown base slightly deepens while brass strokes and text brighten simultaneously, widening material contrast.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
/* Steampunk Global Styles */
@layer base {
body {
@apply bg-[#2a1f15] text-[#f5f0e1] antialiased;
}
h1, h2, h3 {
font-family: Georgia, 'Times New Roman', serif;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
::selection {
@apply bg-[#b5a642] text-[#2a1f15];
}
}
@keyframes gear-spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
/* Steampunk Design Tokens */
:root {
--steampunk-primary: #b5a642;
--steampunk-secondary: #3d2b1f;
--steampunk-accent: #b87333;
--steampunk-glow: rgba(181, 166, 66, 0.3);
}
.steampunk-card {
position: relative;
overflow: hidden;
}
.steampunk-card::before {
content: "";
position: absolute;
inset: 0;
opacity: 0;
transition: opacity 0.3s ease;
background: linear-gradient(135deg, rgba(181, 166, 66, 0.05), transparent);
pointer-events: none;
}
.steampunk-card:hover::before {
opacity: 1;
}
.steampunk-gradient {
background: linear-gradient(135deg, #b5a642, #b87333);
}
.steampunk-gradient-text {
background: linear-gradient(135deg, #b5a642, #b87333);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.steampunk-frosted {
backdrop-filter: blur(12px) saturate(180%);
-webkit-backdrop-filter: blur(12px) saturate(180%);
background: rgba(181, 166, 66, 0.08);
}
.steampunk-accent-corner {
clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}
.steampunk-animate-in {
animation: steampunk-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
Steampunk style originates from the aesthetic imagination of the Victorian-era Industrial Revolution, creating a retro-futuristic feel through brass/copper metallic textures, gear mechanism elements, and precision mechanical details.
WCAG 2.1 compliance analysis based on color contrast and typography readability.
Overall Score
Grade: D - Poor
Contrast Ratios
| Context | Colors | Ratio | AA | AAA |
|---|---|---|---|---|
| Text on background | /#f5f0e1 / #2a1f15 | 14.12:1 | ||
| Secondary text on background | /#b5a642 / #2a1f15 | 6.51:1 | ||
| Muted text on background | /#b87333 / #2a1f15 | 4.24:1 | ||
| Text on secondary background | /#f5f0e1 / #3d2b1f | 11.79:1 | ||
| Secondary text on secondary | /#b5a642 / #3d2b1f | 5.43:1 | ||
| Text on accent 1 | /#f5f0e1 / #b5a642 | 2.17:1 | ||
| Alt text on accent 1 | /#b5a642 / #b5a642 | 1:1 | ||
| Text on accent 2 | /#f5f0e1 / #b87333 | 3.33:1 | ||
| Alt text on accent 2 | /#b5a642 / #b87333 | 1.53:1 | ||
| Text on accent 3 | /#f5f0e1 / #4a4a4a | 7.78:1 | ||
| Alt text on accent 3 | /#b5a642 / #4a4a4a | 3.59:1 |
Readability
Score
90/100
Font Size
text-sm md:text-base
Font Weight
font-serif font-bold
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.