Styledex
← Index

Neon Gradient

霓虹渐变

stylekitMITSaaS / B2B · saasGradient · gradientExperimental · experimentalFuturistic · futuristicLight and dark · bothMedium · mediumPurple · purpleVivid · vividSerif · serifLanding · landing

深色背景上的鲜艳渐变卡片,配合粗彩色边框和霓虹发光效果,适合科技产品、SaaS 着陆页、年轻化品牌。

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

"Neon Gradient" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/neon-gradient @ bfa7da909e86.

https://github.com/AnxForever/stylekit · api/styles/neon-gradient · bfa7da909e86 · © AnxForever

Do

  • 使用深色背景 bg-[#0f0a1e] 或 bg-slate-900
  • 卡片使用渐变填充 bg-gradient-to-br from-purple-500 to-pink-500
  • 添加粗彩色边框 border-4 border-yellow-400
  • 使用圆角 rounded-2xl 或 rounded-3xl
  • 添加发光阴影 shadow-[0_0_30px_rgba(168,85,247,0.5)]
  • 标题使用渐变文字或纯白色
  • 装饰元素使用 Lucide 图标(Star, Rocket, Sparkles)
  • 按钮使用渐变背景 + 发光效果

Don't

  • 禁止使用浅色背景
  • 禁止使用低饱和度颜色
  • 禁止使用细边框 border 或 border-2
  • 禁止使用灰色调卡片
  • 禁止省略发光效果
  • 禁止使用 emoji(用 Lucide 图标替代)

Prompt

用 Neon Gradient 风格创建一个 SaaS 产品着陆页,要求:
## 背景
- bg-[#0f0a1e] 深紫黑色
- 顶部添加紫色径向渐变光晕
## 导航栏
- 半透明深色 bg-[#0f0a1e]/80 backdrop-blur-xl
- Logo 带黄色渐变背景
- 链接:粉色高亮当前页,白色其他
- CTA 按钮:青紫渐变
## Hero 区块
- 左侧:虚线边框标签、渐变色标题、描述文字、双按钮
- 右侧:三张漂浮渐变卡片,不同旋转角度
- 装饰:星星、火箭、闪光图标散落
## 卡片设计
- 紫粉渐变 + 黄色边框 border-4
- 青绿渐变 + 粉色边框
- 粉红渐变 + 青色边框
- 每张带发光阴影 shadow-[0_0_30px_...]
## 按钮
- 主按钮:青黄渐变,粉色边框,发光效果
- 次按钮:透明,白色边框

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

Tokens

DTCG

{
  "$schema": "https://www.designtokens.org/schemas/2025.10/format.json",
  "$description": "Neon Gradient. \"Neon Gradient\" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/neon-gradient @ bfa7da909e86.",
  "$extensions": {
    "dev.styledex": {
      "id": "stylekit-neon-gradient",
      "license": "MIT",
      "attribution": "\"Neon Gradient\" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/neon-gradient @ bfa7da909e86.",
      "banner": "powered by Styledex — https://styledex.dev"
    }
  },
  "color": {
    "background": {
      "$type": "color",
      "$value": "#0f0a1e"
    },
    "foreground": {
      "$type": "color",
      "$value": "#ffffff"
    },
    "card": {
      "$type": "color",
      "$value": "#0f0a1e"
    },
    "card-foreground": {
      "$type": "color",
      "$value": "#ffffff"
    },
    "primary": {
      "$type": "color",
      "$value": "#a855f7"
    },
    "primary-foreground": {
      "$type": "color",
      "$value": "#fafaf9"
    },
    "secondary": {
      "$type": "color",
      "$value": "#0f0a1e"
    },
    "secondary-foreground": {
      "$type": "color",
      "$value": "#ffffff"
    },
    "accent": {
      "$type": "color",
      "$value": "#f472b6"
    },
    "accent-foreground": {
      "$type": "color",
      "$value": "#fafaf9"
    },
    "muted": {
      "$type": "color",
      "$value": "#1d192c"
    },
    "muted-foreground": {
      "$type": "color",
      "$value": "#a6a6a6"
    },
    "border": {
      "$type": "color",
      "$value": "#312c3e"
    },
    "destructive": {
      "$type": "color",
      "$value": "#dc2626"
    },
    "ring": {
      "$type": "color",
      "$value": "#a855f7"
    }
  },
  "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 0 30px rgba(168,85,247,0.4)"
    }
  }
}

CSS

/* powered by Styledex — https://styledex.dev */
/* "Neon Gradient" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/neon-gradient @ bfa7da909e86. */
:root {
  --background: #0f0a1e;
  --foreground: #ffffff;
  --card: #0f0a1e;
  --card-foreground: #ffffff;
  --primary: #a855f7;
  --primary-foreground: #fafaf9;
  --secondary: #0f0a1e;
  --secondary-foreground: #ffffff;
  --accent: #f472b6;
  --accent-foreground: #fafaf9;
  --muted: #1d192c;
  --muted-foreground: #a6a6a6;
  --border: #312c3e;
  --destructive: #dc2626;
  --ring: #a855f7;
  --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 0 30px rgba(168,85,247,0.4);
}

Tailwind

/* powered by Styledex — https://styledex.dev */
/* "Neon Gradient" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/neon-gradient @ bfa7da909e86. */
/** Tailwind theme extend for Neon Gradient (stylekit-neon-gradient) */
module.exports = {
  "theme": {
    "extend": {
      "colors": {
        "background": "#0f0a1e",
        "foreground": "#ffffff",
        "card": "#0f0a1e",
        "primary": "#a855f7",
        "primary-foreground": "#fafaf9",
        "secondary": "#0f0a1e",
        "accent": "#f472b6",
        "muted": "#1d192c",
        "border": "#312c3e",
        "destructive": "#dc2626",
        "ring": "#a855f7"
      },
      "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 0 30px rgba(168,85,247,0.4)"
      }
    }
  }
};

shadcn

/* powered by Styledex — https://styledex.dev */
/* "Neon Gradient" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/neon-gradient @ bfa7da909e86. */
@layer base {
:root {
  --background: #0f0a1e;
  --foreground: #ffffff;
  --card: #0f0a1e;
  --card-foreground: #ffffff;
  --primary: #a855f7;
  --primary-foreground: #fafaf9;
  --secondary: #0f0a1e;
  --secondary-foreground: #ffffff;
  --accent: #f472b6;
  --accent-foreground: #fafaf9;
  --muted: #1d192c;
  --muted-foreground: #a6a6a6;
  --border: #312c3e;
  --destructive: #dc2626;
  --ring: #a855f7;
  --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 0 30px rgba(168,85,247,0.4);
}
}