StyleKit

Solarpunk

太阳朋克

Rate this style

An 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.

solarpunksolarpunk aestheticeco futurismsustainable designgreen techorganic shapesbotanical elementssolar energynature-inspired uioptimistic futuregreen energy dashboardeco friendly website

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

Solarpunk as a design document

One document describes the colour roles, type rules, spacing and component construction behind this style. Copy or download it into Claude Code or Codex.

Document view

Solarpunk — Style Reference

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.

Colors

NameValueTokenRole
Leaf#4ade80--color-leafThe primary for growth, actions and plant elements — the optimism comes from this green.
Golden#fbbf24--color-goldenSunlight and energy, almost always paired with leaf green in a warm gradient.
Cream Light#fef3c7--color-cream-lightThe page ground — a warm gold-tinted light that softens every green and blue.
Sky#38bdf8--color-skyWater and clean energy, on data and secondary elements.
Ochre#a16207--color-ochreText and strokes — deep ochre replaces black, avoiding any cold hardness.
Lavender#b692ff--color-lavenderTechnology and community semantics, used least, marking the mechanical parts.

Typography

Nunito — The only face. Its rounded forms share a source with the organic curves, and 1.7 leading keeps long copy easy.
  • Substitute: 'Segoe UI', 'PingFang SC', system-ui, sans-serif
  • Weights: 400, 600, 700
  • Sizes: 13, 15, 18, 24, 32, 44
  • Line height: 1.2 (display), 1.3 (headings), 1.7 (body)
  • Letter spacing: -0.01em on display, 0.04em on uppercase labels
Type Scale
RoleFamilyWeightSizeLine HeightLetter SpacingToken
display—70044px1.2-0.01em--text-display
heading—70032px1.3—--text-heading
subheading—60024px1.35—--text-subheading
body-lg—40018px1.65—--text-body-lg
body—40015px1.7—--text-body
label—60013px1.450.04em--text-label

Spacing & Layout

Base unit: 8px Density: comfortable

Spacing Scale
NameValueToken
88px--spacing-8
1616px--spacing-16
2424px--spacing-24
3232px--spacing-32
4848px--spacing-48
6464px--spacing-64
9696px--spacing-96
128128px--spacing-128
Border Radius
ElementValue
cards24px
buttons999px
inputs16px
media32px
  • Page max-width: 1160px
  • Section gap: 112px
  • Card padding: 28px
  • Element gap: 20px

Components

Sun Button

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.

  • Sizes: padding 12px 28px; label 15px
  • States: hover: gradient rotates, lift 2px; active: scale 0.98
Organic Card

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.

Soft Input

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.

Plant Motif

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.

Warm Gradient Band

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.

Do's and Don'ts

Do
  • Warm light grounds, never black or dark
  • Pair leaf green with golden in warm gradients
  • Generous radii and organic curves
  • Set plant forms beside technology
  • Use deep ochre instead of black for text
  • Shadows carry a green cast rather than grey
Don't
  • No pure black or dark themes
  • No sharp corners
  • No cold industrial elements
  • No high-contrast neon glow
  • No wasteland or dystopian imagery
  • No grey or oppressive palettes

Surfaces

LevelNameValuePurpose
0Cream Light#fef3c7页面底
1Mint White#f0fdf4卡片与区块
2Leaf Washrgba(74,222,128,0.12)高亮区块

Elevation

  • Card: 0 12px 32px rgba(74,222,128,0.18)
  • Card hover: 0 20px 48px rgba(74,222,128,0.26)
  • Button: 0 8px 20px rgba(251,191,36,0.30)

Imagery

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.

Layout

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.

Agent Prompt Guide

Implementation Contract
  • Use the requested page, user task and real content as the brief. Implement only the requested scope; identify missing business information instead of inventing data or capabilities.
  • Inspect the current project, stack and components first. Reuse its structure, routes, dependencies and components; do not rebuild unrelated pages or features.
  • Use the project's breakpoints to adapt columns and spacing for narrow and desktop screens. Preserve hierarchy and prevent accidental horizontal overflow.
  • For interactions in scope, support keyboard focus and reduced motion, with applicable disabled, loading, empty and error states.
  • Run the project's existing checks after implementation. Report only tests and visual checks actually run, and list unverified behavior.

QUICK COLOR REFERENCE:

  • text: #a16207
  • background: #fef3c7
  • card: #f0fdf4
  • leaf: #4ade80
  • golden: #fbbf24
  • sky: #38bdf8

EXAMPLE COMPONENT PROMPTS:

  1. Build a solarpunk card: background #f0fdf4, 24px radius, a 1px rgba(74,222,128,0.15) border, 28px padding, shadow 0 12px 32px rgba(74,222,128,0.18). A 48px circular icon bed at rgba(74,222,128,0.12) sits top-left. Title at 24px/600 in #a16207, body at 15px/400 on 1.7 leading. The primary button uses linear-gradient(135deg, #4ade80, #fbbf24), fully rounded, white text, shadow 0 8px 20px rgba(251,191,36,0.3). The page ground is #fef3c7.

Similar Brands

  • Natural Organic — Also drawn from nature, though solarpunk explicitly sides with technology living alongside it
  • Claymorphism — Also rounded and soft, though clay reads as toy while solarpunk tells an ecological story

Quick Start


: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);
}

Community

Ratings & Feedback

No ratings yet - be the firstSign in to rate

Loading comments…

Component Templates

Component Preview

Button

// Leaf Primary // Solar Gold // Outline Organic

FAQ

Solarpunk — Frequently Asked Questions

What is the Solarpunk design style?
An 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. Its core principle: Solarpunk style originates from an optimistic imagination of the future, depicting a world where humans and nature coexist harmoniously.
What colors does Solarpunk use?
Solarpunk uses #4ade80 as its primary color and #fbbf24 as its secondary color, with accent colors #38bdf8, #a16207, #fef3c7, #b692ff. Every hex value can be copied from the palette on this page.
How do I apply Solarpunk correctly?
Key practices: Use warm light backgrounds bg-[#fef3c7] or bg-green-50. Use leaf green as primary color text-green-400 or bg-green-400. Use golden yellow as accent text-amber-400 or bg-amber-400.
What are common mistakes with Solarpunk?
Avoid: No pure black backgrounds or dark themes. No sharp right angles rounded-none. No cold industrial elements.
How do I prompt AI to generate Solarpunk UI?
Copy the ready-made AI prompt on this page — it bundles the design tokens and component rules — and paste it into ChatGPT, Claude, Claude Code, or Codex. Effective prompts include the keywords: solarpunk, solarpunk aesthetic, eco futurism, sustainable design.
Global Styles

Global CSS

css
/* 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

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.

AttributeSolarpunkAcid Graphics
Primary color#4ade80#39ff14
Secondary color#fbbf24#0a0a0a
Best forsolarpunk / solarpunk aesthetic / eco futurismacid graphics / acid design / psychedelic design
Unique tags—high-contrast
Design Philosophy

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.