Best For
solarpunk / solarpunk aesthetic / eco futurism
太阳朋克
Rate this styleAn optimistic eco-futurism style blending nature and technology in harmonious aesthetics. Organic curves, plant elements, warm gradients, and soft rounded corners. Ideal for eco-friendly, sustainable development, and green tech products.
Best For
solarpunk / solarpunk aesthetic / eco futurism
Primary Move
Use warm light backgrounds bg-[#fef3c7] or bg-green-50
Watch Out
No pure black backgrounds or dark themes
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.
An optimistic eco-future where plants and technology are not opposed — they grow together.
Theme: light
Solarpunk is the optimistic answer to cyberpunk: not neon wasteland but sunlight, plants and technology living together. Three things carry it — a warm light ground (#fef3c7 or a mint-tinted white), a pair of leaf green and golden yellow, and generous radii with organic curves, since no edge is perfectly straight. Gradients are legal here and must run warm, from green into gold. The style refuses black grounds, sharp corners, cold industrial elements, neon glow and any hint of wasteland or dystopia.
| Name | Value | Token | Role |
|---|---|---|---|
| Leaf | #4ade80 | --color-leaf | The primary for growth, actions and plant elements — the optimism comes from this green. |
| Golden | #fbbf24 | --color-golden | Sunlight and energy, almost always paired with leaf green in a warm gradient. |
| Cream Light | #fef3c7 | --color-cream-light | The page ground — a warm gold-tinted light that softens every green and blue. |
| Sky | #38bdf8 | --color-sky | Water and clean energy, on data and secondary elements. |
| Ochre | #a16207 | --color-ochre | Text and strokes — deep ochre replaces black, avoiding any cold hardness. |
| Lavender | #b692ff | --color-lavender | Technology and community semantics, used least, marking the mechanical parts. |
| Role | Family | Weight | Size | Line Height | Letter Spacing | Token |
|---|---|---|---|---|---|---|
| display | — | 700 | 44px | 1.2 | -0.01em | --text-display |
| heading | — | 700 | 32px | 1.3 | — | --text-heading |
| subheading | — | 600 | 24px | 1.35 | — | --text-subheading |
| body-lg | — | 400 | 18px | 1.65 | — | --text-body-lg |
| body | — | 400 | 15px | 1.7 | — | --text-body |
| label | — | 600 | 13px | 1.45 | 0.04em | --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 | 24px |
| buttons | 999px |
| inputs | 16px |
| media | 32px |
Role: Primary action
A 135-degree leaf-to-golden gradient fill, white text, fully rounded, no border, 15px/700, 12px 28px padding, shadow 0 8px 20px at 30% golden. Hover rotates the gradient to 180 degrees to imply moving light, widens the shadow to 28px and lifts 2px; press scales 0.98. 300ms ease-out.
Role: Content and project cards
Mint white fill, 24px radius, a 1px leaf border at 15%, 28px padding, shadow 0 12px 32px at 18% leaf. A 48px circular icon bed at 12% leaf sits top-left. Hover lifts 4px and widens the shadow to 48px. Asymmetric radii are permitted (24px against 32px), as long as one card stays consistent.
Role: Form input
Mint white fill, 16px radius, a 1px leaf border at 20%, 12px 18px padding at 15px, with focus turning the border leaf green and adding a 4px ring at 20%. The placeholder sits at 45% ochre.
Role: Plant and organic ornament
Single-stroke botanical forms (vines, leaves, solar-panel-leaf hybrids) at a 2px stroke in leaf green or ochre, sized 64px to 160px. They may wind along a card edge or between blocks and bleed 16px past the container. At most three per screen.
Role: Gradient bands and dividers
A 120-degree leaf-to-golden gradient, 120px to 200px tall, either at 32px radius or full width with none. It carries the transition between sections instead of whitespace, optionally with an 8% leaf-vein texture over it.
| Level | Name | Value | Purpose |
|---|---|---|---|
| 0 | Cream Light | #fef3c7 | 页面底 |
| 1 | Mint White | #f0fdf4 | 卡片与区块 |
| 2 | Leaf Wash | rgba(74,222,128,0.12) | 高亮区块 |
0 12px 32px rgba(74,222,128,0.18)0 20px 48px rgba(74,222,128,0.26)0 8px 20px rgba(251,191,36,0.30)Illustration that fuses plant and machine: solar panels grown into leaf shapes, rooftop gardens, vines wrapping structure. Warm-toned natural-light photography works too. No cold industrial photography, wasteland scenes or neon.
Capped at 1160px with 24px padding, sections 112px apart. Asymmetry and curved boundaries are welcome — a section may end on an arc — and elements may follow a slight curve. Cards sit 20px apart at a medium-to-loose density.
QUICK COLOR REFERENCE:
#a16207#fef3c7#f0fdf4#4ade80#fbbf24#38bdf8EXAMPLE COMPONENT PROMPTS:
:root {
/* Colors */
--color-leaf: #4ade80;
--color-golden: #fbbf24;
--color-cream-light: #fef3c7;
--color-sky: #38bdf8;
--color-ochre: #a16207;
--color-lavender: #b692ff;
/* Typography — Font Families */
--font-sans: 'Nunito', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
/* Typography — Scale */
--text-display: 44px;
--leading-display: 1.2;
--tracking-display: -0.01em;
--text-heading: 32px;
--leading-heading: 1.3;
--text-subheading: 24px;
--leading-subheading: 1.35;
--text-body-lg: 18px;
--leading-body-lg: 1.65;
--text-body: 15px;
--leading-body: 1.7;
--text-label: 13px;
--leading-label: 1.45;
--tracking-label: 0.04em;
/* Typography — Weights */
--font-weight-regular: 400;
--font-weight-semibold: 600;
--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: 1160px;
--section-gap: 112px;
--card-padding: 28px;
--element-gap: 20px;
--density: comfortable;
/* Border Radius */
--radius-cards: 24px;
--radius-buttons: 999px;
--radius-inputs: 16px;
--radius-media: 32px;
/* Surfaces */
--surface-cream-light: #fef3c7;
--surface-mint-white: #f0fdf4;
--surface-leaf-wash: rgba(74,222,128,0.12);
}
Component Templates
FAQ
/* Solarpunk Global Styles */
@layer base {
body {
@apply bg-[#f0fdf4] text-gray-800 antialiased;
background-image:
radial-gradient(circle at 20% 80%, rgba(74, 222, 128, 0.08) 0%, transparent 50%),
radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.06) 0%, transparent 50%);
}
h1, h2, h3 {
@apply text-green-800;
}
::selection {
@apply bg-green-200 text-green-900;
}
}
@keyframes sway {
0%, 100% { transform: rotate(-1deg); }
50% { transform: rotate(1deg); }
}
/* Solarpunk Design Tokens */
:root {
--solarpunk-primary: #4ade80;
--solarpunk-secondary: #fbbf24;
--solarpunk-accent: #38bdf8;
--solarpunk-glow: rgba(74, 222, 128, 0.3);
}
.solarpunk-card {
position: relative;
overflow: hidden;
}
.solarpunk-card::before {
content: "";
position: absolute;
inset: 0;
opacity: 0;
transition: opacity 0.3s ease;
background: linear-gradient(135deg, rgba(74, 222, 128, 0.05), transparent);
pointer-events: none;
}
.solarpunk-card:hover::before {
opacity: 1;
}
.solarpunk-frosted {
backdrop-filter: blur(12px) saturate(180%);
-webkit-backdrop-filter: blur(12px) saturate(180%);
background: rgba(74, 222, 128, 0.08);
}
.solarpunk-accent-corner {
clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}
.solarpunk-animate-in {
animation: solarpunk-fade-in 0.5s ease-out both;
}
.solarpunk-focus { outline: 2px solid var(--solarpunk-primary, currentColor); outline-offset: 2px; }Related Styles
Explore these styles for ready-made tokens and components.
Solarpunk and Acid Graphics 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 | Solarpunk | Acid Graphics |
|---|---|---|
| Primary color | #4ade80 | #39ff14 |
| Secondary color | #fbbf24 | #0a0a0a |
| Best for | solarpunk / solarpunk aesthetic / eco futurism | acid graphics / acid design / psychedelic design |
| Unique tags | — | high-contrast |
Solarpunk style originates from an optimistic imagination of the future, depicting a world where humans and nature coexist harmoniously. It conveys hope and vitality through organic curves, plant elements, and warm color tones.