Styledex
← Index

Solarpunk

太阳朋克

stylekitMITGradient · gradientProfessional · professionalFuturistic · futuristicLight · lightMedium · mediumGreen · greenVivid · vividSerif · serifGeneral · generalLanding · landing

乐观的生态未来主义风格,融合自然与科技的和谐美学。有机曲线、植物元素、温暖渐变、柔和圆角。适合环保、可持续发展、绿色科技产品。

NNorthwind
Product · Pricing
Specimen
Make the work feel finished

One interface, dressed in this style. Compare type, color, radius, and density.

128
Active
4.8
Score
12ms
Edge

Attribution

"Solarpunk" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/solarpunk @ bfa7da909e86.

https://github.com/AnxForever/stylekit · api/styles/solarpunk · bfa7da909e86 · © AnxForever

Do

  • 背景使用温暖浅色 bg-[#fef3c7] 或 bg-green-50
  • 主色调使用叶绿 text-green-400 或 bg-green-400
  • 强调色使用金黄 text-amber-400 或 bg-amber-400
  • 使用大圆角 rounded-2xl 或 rounded-3xl 体现有机感
  • 使用温暖渐变 bg-gradient-to-br from-green-400 to-amber-400
  • 卡片添加植物主题装饰元素
  • 使用柔和阴影 shadow-lg shadow-green-200/50

Don't

  • 禁止使用纯黑背景或暗色主题
  • 禁止使用尖锐直角 rounded-none
  • 禁止使用冷酷工业风元素
  • 禁止使用高对比度霓虹发光效果
  • 禁止使用反乌托邦、废土元素
  • 禁止使用灰暗压抑的配色方案

Prompt

Create an eco dashboard using Solarpunk style:
- Light warm background with organic gradient accents
- Cards with rounded-3xl corners and green borders
- Energy stats with leaf green and solar gold colors
- Plant-themed icons (Leaf, Sun, Sprout) from Lucide
- Progress bars with green-to-amber gradients
- Hover effects with shadow enhancement

---
"Solarpunk" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/solarpunk @ bfa7da909e86.
powered by Styledex — https://styledex.dev

Tokens

DTCG

{
  "$schema": "https://www.designtokens.org/schemas/2025.10/format.json",
  "$description": "Solarpunk. \"Solarpunk\" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/solarpunk @ bfa7da909e86.",
  "$extensions": {
    "dev.styledex": {
      "id": "stylekit-solarpunk",
      "license": "MIT",
      "attribution": "\"Solarpunk\" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/solarpunk @ bfa7da909e86.",
      "banner": "powered by Styledex — https://styledex.dev"
    }
  },
  "color": {
    "background": {
      "$type": "color",
      "$value": "#f0fdf4"
    },
    "foreground": {
      "$type": "color",
      "$value": "#1f2937"
    },
    "card": {
      "$type": "color",
      "$value": "#f0fdf4"
    },
    "card-foreground": {
      "$type": "color",
      "$value": "#1f2937"
    },
    "primary": {
      "$type": "color",
      "$value": "#4ade80"
    },
    "primary-foreground": {
      "$type": "color",
      "$value": "#fafaf9"
    },
    "secondary": {
      "$type": "color",
      "$value": "#fbbf24"
    },
    "secondary-foreground": {
      "$type": "color",
      "$value": "#1f2937"
    },
    "accent": {
      "$type": "color",
      "$value": "#38bdf8"
    },
    "accent-foreground": {
      "$type": "color",
      "$value": "#fafaf9"
    },
    "muted": {
      "$type": "color",
      "$value": "#e2eee5"
    },
    "muted-foreground": {
      "$type": "color",
      "$value": "#6d747d"
    },
    "border": {
      "$type": "color",
      "$value": "#cedad2"
    },
    "destructive": {
      "$type": "color",
      "$value": "#dc2626"
    },
    "ring": {
      "$type": "color",
      "$value": "#4ade80"
    }
  },
  "font": {
    "sans": {
      "$type": "fontFamily",
      "$value": [
        "ui-sans-serif",
        "system-ui",
        "sans-serif"
      ]
    },
    "serif": {
      "$type": "fontFamily",
      "$value": [
        "ui-serif",
        "Georgia",
        "serif"
      ]
    },
    "mono": {
      "$type": "fontFamily",
      "$value": [
        "ui-monospace",
        "SFMono-Regular",
        "Menlo",
        "monospace"
      ]
    }
  },
  "radius": {
    "base": {
      "$type": "dimension",
      "$value": "0.5rem"
    }
  },
  "spacing": {
    "base": {
      "$type": "dimension",
      "$value": "1rem"
    }
  },
  "shadow": {
    "base": {
      "$type": "shadow",
      "$value": "0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04)"
    }
  }
}

CSS

/* powered by Styledex — https://styledex.dev */
/* "Solarpunk" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/solarpunk @ bfa7da909e86. */
:root {
  --background: #f0fdf4;
  --foreground: #1f2937;
  --card: #f0fdf4;
  --card-foreground: #1f2937;
  --primary: #4ade80;
  --primary-foreground: #fafaf9;
  --secondary: #fbbf24;
  --secondary-foreground: #1f2937;
  --accent: #38bdf8;
  --accent-foreground: #fafaf9;
  --muted: #e2eee5;
  --muted-foreground: #6d747d;
  --border: #cedad2;
  --destructive: #dc2626;
  --ring: #4ade80;
  --radius: 0.5rem;
  --font-sans: ui-sans-serif, system-ui, sans-serif;
  --font-serif: ui-serif, Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --spacing: 1rem;
  --shadow: 0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04);
}

Tailwind

/* powered by Styledex — https://styledex.dev */
/* "Solarpunk" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/solarpunk @ bfa7da909e86. */
/** Tailwind theme extend for Solarpunk (stylekit-solarpunk) */
module.exports = {
  "theme": {
    "extend": {
      "colors": {
        "background": "#f0fdf4",
        "foreground": "#1f2937",
        "card": "#f0fdf4",
        "primary": "#4ade80",
        "primary-foreground": "#fafaf9",
        "secondary": "#fbbf24",
        "accent": "#38bdf8",
        "muted": "#e2eee5",
        "border": "#cedad2",
        "destructive": "#dc2626",
        "ring": "#4ade80"
      },
      "borderRadius": {
        "lg": "0.5rem"
      },
      "fontFamily": {
        "sans": [
          "ui-sans-serif",
          "system-ui",
          "sans-serif"
        ],
        "serif": [
          "ui-serif",
          "Georgia",
          "serif"
        ],
        "mono": [
          "ui-monospace",
          "SFMono-Regular",
          "Menlo",
          "monospace"
        ]
      },
      "boxShadow": {
        "styledex": "0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04)"
      }
    }
  }
};

shadcn

/* powered by Styledex — https://styledex.dev */
/* "Solarpunk" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/solarpunk @ bfa7da909e86. */
@layer base {
:root {
  --background: #f0fdf4;
  --foreground: #1f2937;
  --card: #f0fdf4;
  --card-foreground: #1f2937;
  --primary: #4ade80;
  --primary-foreground: #fafaf9;
  --secondary: #fbbf24;
  --secondary-foreground: #1f2937;
  --accent: #38bdf8;
  --accent-foreground: #fafaf9;
  --muted: #e2eee5;
  --muted-foreground: #6d747d;
  --border: #cedad2;
  --destructive: #dc2626;
  --ring: #4ade80;
  --radius: 0.5rem;
  --font-sans: ui-sans-serif, system-ui, sans-serif;
  --font-serif: ui-serif, Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --spacing: 1rem;
  --shadow: 0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04);
}
}