Best For
steampunk / steampunk ui / Victorian industrial
蒸汽朋克
Rate this styleVictorian-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
steampunk / steampunk ui / Victorian industrial
Primary Move
Use dark brown backgrounds bg-[#3d2b1f] or bg-[#2a1f15]
Watch Out
No pure white backgrounds or modern minimalist style
design.md
One document describes the colour roles, type rules, spacing and component construction behind this style. Copy or download it into Claude Code or Codex.
Brass, copper pipe, rivets and gears — a Victorian machine still venting steam.
Theme: dark
Steampunk comes from Victorian industrial machinery: brass (#b5a642) and copper (#b87333) fitted onto deep brown (#3d2b1f or the darker #2a1f15), with cream or brass text, serif type carrying all the setting, copper-toned translucent hairlines studded with rivet dots, and buttons using a top-to-bottom brass gradient to imitate a lit metal face. The brass lustre comes from a 0 0 15px warm glow. Pure white grounds, modern minimalism, neon and fluorescent color, and flat surfaces without material are all refused.
| Name | Value | Token | Role |
|---|---|---|---|
| Brass | #b5a642 | --color-brass | The primary metal on buttons, strokes and text highlights. |
| Deep Brown | #3d2b1f | --color-deep-brown | The page ground and panels — leather and old wood. |
| Copper | #b87333 | --color-copper | The second metal on pipes, rivets and borders. |
| Cream | #f5f0e1 | --color-cream | Primary text and label stock. |
| Iron | #4a4a4a | --color-iron | Secondary metal fittings and debossed grooves. |
| Verdigris | #5a9025 | --color-verdigris | Oxidised copper green, on wear marks and status. |
| Role | Family | Weight | Size | Line Height | Letter Spacing | Token |
|---|---|---|---|---|---|---|
| display | — | 700 | 54px | 1.15 | 0.02em | --text-display |
| heading | — | 700 | 40px | 1.2 | — | --text-heading |
| subheading | — | 400 | 30px | 1.3 | — | --text-subheading |
| body-lg | — | 400 | 22px | 1.65 | — | --text-body-lg |
| body | — | 400 | 18px | 1.7 | — | --text-body |
| label | — | 700 | 15px | 1.5 | 0.16em | --text-label |
Base unit: 8px Density: comfortable
| Name | Value | Token |
|---|---|---|
| 8 | 8px | --spacing-8 |
| 16 | 16px | --spacing-16 |
| 24 | 24px | --spacing-24 |
| 32 | 32px | --spacing-32 |
| 48 | 48px | --spacing-48 |
| 64 | 64px | --spacing-64 |
| 96 | 96px | --spacing-96 |
| 128 | 128px | --spacing-128 |
| Element | Value |
|---|---|
| cards | 4px |
| buttons | 4px |
| inputs | 4px |
| gauges | 999px |
Role: Action button
A brass gradient (#c9b84e to #8a7d32), deep brown text, 4px radius, a 1px copper border at 50%, 18px/700 at 0.08em, 14px 32px padding, with a 0 0 15px glow at 30% brass and an inset 0 1px 0 white at 30% for the top highlight. Hover widens the glow to 30px and brightens the gradient; press inverts it and deepens the inner shadow. 200ms.
Role: The riveted panel — the core component
Deep brown fill, 4px radius, a 1px copper border at 50%, 32px padding, with a 6px copper dot every 24px along the edge and an 8px rivet at each corner. A 0 0 15px glow at 30% brass surrounds it. The rivets stay evenly spaced — handmade does not mean careless.
Role: The gear ornament
A gear 48 to 120px across with twelve to twenty teeth (a clip-path polygon or SVG), filled brass or copper, a hole at 20% of its diameter, rotating slowly on a twenty-second linear loop. Two or three may mesh. At most three per screen, and rotation stays slow — speed turns it into a carnival.
Role: The pressure gauge readout
A 96 to 160px dial with a 3px brass ring, cream face, twelve ticks (one per thirty degrees, 8px long), a copper needle rotating to the value and an 8px rivet at the centre. The figure sits beneath in 18px serif.
Role: The pipe divider
An 8px copper bar with a 12px circular flange at each end (carrying four rivets), optionally bending through a right angle. It replaces the ordinary divider to say that this belongs to the same plumbing.
| Level | Name | Value | Purpose |
|---|---|---|---|
| 0 | Dark Brown | #2a1f15 | 页面底 |
| 1 | Deep Brown | #3d2b1f | 面板 |
| 2 | Brass Plate | #b5a642 | 金属件 |
0 0 15px rgba(181,166,66,0.30)0 0 30px rgba(181,166,66,0.50)0 6px 16px rgba(0,0,0,0.45)Industrial photography and mechanical illustration: gears, pipes, gauges, airships, pocket watches. It needs metal highlights and a warm cast, and a photo may be graded sepia. No modern cities, minimal products or cool-toned photography.
Capped at 1080px with 24px padding, sections 112px apart. Panels may layer and every panel may carry rivets. The page stays dark brown, and metal appears only where attention is wanted — never a screen entirely of brass.
QUICK COLOR REFERENCE:
#f5f0e1#2a1f15#3d2b1f#b5a642#b87333#f5f0e1EXAMPLE COMPONENT PROMPTS:
:root {
/* Colors */
--color-brass: #b5a642;
--color-deep-brown: #3d2b1f;
--color-copper: #b87333;
--color-cream: #f5f0e1;
--color-iron: #4a4a4a;
--color-verdigris: #5a9025;
/* Typography — Font Families */
--font-serif: 'Playfair Display', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
/* Typography — Scale */
--text-display: 54px;
--leading-display: 1.15;
--tracking-display: 0.02em;
--text-heading: 40px;
--leading-heading: 1.2;
--text-subheading: 30px;
--leading-subheading: 1.3;
--text-body-lg: 22px;
--leading-body-lg: 1.65;
--text-body: 18px;
--leading-body: 1.7;
--text-label: 15px;
--leading-label: 1.5;
--tracking-label: 0.16em;
/* Typography — Weights */
--font-weight-regular: 400;
--font-weight-bold: 700;
/* Spacing */
--spacing-unit: 8px;
--spacing-8: 8px;
--spacing-16: 16px;
--spacing-24: 24px;
--spacing-32: 32px;
--spacing-48: 48px;
--spacing-64: 64px;
--spacing-96: 96px;
--spacing-128: 128px;
/* Layout */
--page-max-width: 1080px;
--section-gap: 112px;
--card-padding: 32px;
--element-gap: 24px;
--density: comfortable;
/* Border Radius */
--radius-cards: 4px;
--radius-buttons: 4px;
--radius-inputs: 4px;
--radius-gauges: 999px;
/* Surfaces */
--surface-dark-brown: #2a1f15;
--surface-deep-brown: #3d2b1f;
--surface-brass-plate: #b5a642;
}
Component Templates
FAQ
/* 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;
}Related Styles
Explore these styles for ready-made tokens and components.
Steampunk and Pop Art sit closest to each other. The table below gives the real differences in color, use case, and tags, so the choice between them is made on facts.
| Attribute | Steampunk | Pop Art |
|---|---|---|
| Primary color | #b5a642 | #ffdd00 |
| Secondary color | #3d2b1f | #ff69b4 |
| Best for | steampunk / steampunk ui / Victorian industrial | pop art / Andy Warhol style / Roy Lichtenstein |
| Unique tags | — | — |
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.