风格目录/多巴胺设计

多巴胺设计

Dopamine Design

C
69/100一般
给这个风格评分

高饱和度霓虹配色、大胆排版、充满能量感的视觉冲击力。2025-2026 年度设计趋势,用色彩直接刺激多巴胺分泌,让界面充满快乐和兴奋。

多巴胺高饱和霓虹快乐大胆能量expressiveboldvibrant表现力
查看完整 Showcase →
模板

适合场景

多巴胺 / 高饱和 / 霓虹

设计重点

使用高饱和度配色 bg-[#ff006e] bg-[#8338ec] bg-[#ffbe0b] bg-[#3a86ff]

注意事项

禁止大面积使用灰色 text-gray-500 bg-gray-100

AI 实现文档

先复制硬性提示词,需要时再看设计规范

默认用硬性提示词让 AI 直接生成前端;Design Spec 用来理解、改写和审核风格;Creative Brief 用来早期探索方向。

硬性提示词

默认使用它:复制后追加具体需求,让 AI 直接生成一致、可落地的前端。

什么时候用

  • 要 AI 直接生成页面或组件
  • 需要多轮输出保持一致
  • 担心风格跑偏或变丑

怎么用

  • 复制完整提示词
  • 后面追加具体需求
  • 生成后按禁止项和状态规则检查
STYLEKIT_STYLE_REFERENCE
style_name: 多巴胺设计
style_slug: dopamine-design
style_source: /styles/dopamine-design

# Hard Prompt

## 什么时候用
当你希望 AI 严格按风格规则生成代码时使用。它是生产界面最稳的默认选择。

## 怎么用
- 把完整提示词复制到 ChatGPT、Claude、Cursor 或其他编码助手。
- 在提示词后追加具体产品、页面或组件需求。
- 生成后按禁止项和交互状态检查,确认没有风格漂移。

请严格遵守以下风格规则并保持一致性,禁止风格漂移。

## 执行要求

- 优先保证风格一致性,其次再做创意延展。
- 遇到冲突时以禁止项为最高优先级。
- 输出前自检:颜色、排版、间距、交互是否仍属于该风格。

## Style Rules

You are a Dopamine Design expert. This is the 2025-2026 design mega-trend centered on high-saturation colors, bold typography, and joyful energy.

## 绝对禁止

- 禁止大面积使用灰色 text-gray-500 bg-gray-100
- 禁止低饱和度/马卡龙色
- 禁止严肃/商务风格排版
- 禁止使用 serif 字体

## 必须遵守

- 使用高饱和度配色 bg-[#ff006e] bg-[#8338ec] bg-[#ffbe0b] bg-[#3a86ff]
- 圆角设为最大 rounded-full rounded-3xl rounded-2xl
- 标题使用超大字号 text-5xl md:text-7xl font-black
- 按钮使用 pill 形状 rounded-full px-8
- 使用彩色阴影 shadow-[0_8px_30px_rgba(255,0,110,0.4)]
- 渐变背景 bg-gradient-to-br from-pink-500 via-purple-500 to-blue-500
- hover 效果加弹性 hover:scale-105 transition-transform
- 使用 emoji 和趣味图标点缀

## Design Tokens (Strict)
### Color System
- Primary: #ff006e (Hot Pink) — CTA, key actions, hero accents
- Secondary: #8338ec (Electric Purple) — cards, gradients, secondary actions
- Accent-Yellow: #ffbe0b — badges, highlights, warnings
- Accent-Blue: #3a86ff — links, info states, secondary gradients
- Accent-Green: #06d6a0 — success states, positive indicators
- Accent-Orange: #fb5607 — notifications, energy accents
- Surface-Light: #ffffff — card backgrounds (light mode)
- Surface-Dark: #1a0a2e — card backgrounds (dark variant)
- Text-Primary: #1a1a2e — headings on light bg
- Text-On-Color: #ffffff — text on colored surfaces

### Typography Scale
- Hero: text-5xl md:text-7xl font-black tracking-tight leading-[0.95]
- Section Title: text-3xl md:text-5xl font-extrabold tracking-tight
- Card Title: text-xl md:text-2xl font-bold
- Body: text-base font-medium leading-relaxed
- Caption: text-sm font-semibold uppercase tracking-widest
- Font Stack: 'Inter', 'SF Pro Display', system-ui, sans-serif

### Spacing & Radius
- Card padding: p-6 md:p-8
- Section gap: py-16 md:py-24
- Button: px-8 py-4 (desktop), px-6 py-3 (mobile)
- Border-radius: rounded-3xl (cards), rounded-full (buttons, badges), rounded-2xl (inputs)

### Shadows (Always Colored)
- Pink glow: shadow-[0_8px_30px_rgba(255,0,110,0.4)]
- Purple glow: shadow-[0_8px_30px_rgba(131,56,236,0.35)]
- Blue glow: shadow-[0_8px_30px_rgba(58,134,255,0.3)]
- Hover amplify: increase spread by 30%, add hover:-translate-y-0.5

## Absolute Constraints
1. ZERO gray backgrounds — replace bg-gray-* with tinted surfaces (bg-pink-50, bg-purple-50, bg-[#f8f0ff])
2. ZERO gray text — use text-[#1a1a2e] for primary, colored text for secondary
3. ZERO gray shadows — every shadow must carry a hue from the palette
4. ZERO small radius — rounded-2xl is the minimum for any container
5. ZERO thin font weights — font-semibold minimum for body, font-black for headings
6. ZERO serif fonts — sans-serif only, Inter preferred
7. ALL buttons must be pill-shaped (rounded-full) with colored shadow
8. ALL interactive elements must have hover:scale-105 + active:scale-95

## Decorative Elements (Anti-"AI Taste")
- Replace generic emoji with: SVG geometric shapes (circles, triangles, hexagons), CSS gradient orbs, abstract blob shapes via clip-path
- Use CSS geometric decorations: rotating gradient borders, animated dot grids, color-shifting orbs
- Background patterns: radial gradient blobs, mesh gradients, animated grain texture
- Icon style: Lucide or Phosphor icons with colored fills, never outline-only

## Motion System
- Hover: scale(1.05) + shadow amplify, duration-200, ease-out
- Press: scale(0.95), duration-100
- Enter: fadeInUp with 0.6s cubic-bezier(0.16,1,0.3,1)
- Stagger: 0.08s delay between siblings
- Gradient animation: background-size 200% with 3s infinite alternate

## Self-Check Mechanism
Before outputting any component, verify:
1. Does every surface have a non-gray color or gradient?
2. Are all shadows colored (not black/gray)?
3. Is border-radius >= rounded-2xl for containers?
4. Are headings font-bold or heavier?
5. Do interactive elements have scale + shadow hover effects?
If any check fails, fix before output.

## Responsive
- Mobile: text-3xl hero, px-6 py-3 buttons, rounded-2xl cards, single column
- Desktop: text-7xl hero, px-8 py-4 buttons, rounded-3xl cards, multi-column grid

---

# Dopamine Design (多巴胺设计) Design System

> 高饱和度霓虹配色、大胆排版、充满能量感的视觉冲击力。2025-2026 年度设计趋势,用色彩直接刺激多巴胺分泌,让界面充满快乐和兴奋。

## 核心理念

Dopamine Design 是 2025-2026 年最火热的设计趋势,核心理念是通过高饱和度色彩、大胆排版和充满能量的视觉元素直接刺激用户的愉悦感。

核心理念:
- 色彩爆炸:使用 5-6 种高饱和度颜色,拒绝灰暗和低调
- 大胆排版:超大字号、加粗字重、紧凑行距
- 圆润友好:大圆角、pill 形状、bubble 元素
- 动效活泼:弹性动画、过冲回弹、愉快的 micro-interactions
- 反灰色:最小化灰色使用,用彩色替代中性色

设计原则:
- 视觉一致性:所有组件必须遵循统一的视觉语言,从色彩到字体到间距保持谐调
- 层次分明:通过颜色深浅、字号大小、留白空间建立清晰的信息层级
- 交互反馈:每个可交互元素都必须有明确的 hover、active、focus 状态反馈
- 响应式适配:设计必须在移动端、平板、桌面端上保持一致的体验
- 无障碍性:确保色彩对比度符合 WCAG 2.1 AA 标准,所有交互元素可键盘访问

---

## Token 字典(精确 Class 映射)

### 边框
```
宽度: border-2
颜色: border-[#ff006e]/20
圆角: rounded-3xl
```

### 阴影
```
小: shadow-[0_4px_15px_rgba(255,0,110,0.25)]
中: shadow-[0_8px_30px_rgba(255,0,110,0.4)]
大: shadow-[0_12px_40px_rgba(131,56,236,0.5)]
悬停: hover:shadow-[0_12px_40px_rgba(255,0,110,0.6)]
聚焦: focus:shadow-[0_0_0_4px_rgba(255,0,110,0.15)]
```

### 交互效果
```
悬停位移: hover:scale-105 hover:-translate-y-0.5
悬停缩放: (无)
悬停透明度: (无)
过渡动画: transition-all duration-300
按下状态: active:scale-95
```

### 字体
```
标题: font-sans font-black tracking-tight
正文: font-sans text-base font-medium
等宽: font-mono
```

### 字号
```
Hero: text-5xl md:text-7xl font-black tracking-tight leading-[0.95]
H1: text-3xl md:text-5xl font-extrabold tracking-tight
H2: text-xl md:text-2xl font-bold
H3: text-lg font-bold
正文: text-base font-medium
小字: text-sm font-semibold
```

### 间距
```
Section: py-16 md:py-24
容器: px-6 md:px-8
卡片: p-6 md:p-8
小间距: gap-3
中间距: gap-6
大间距: gap-8
```

### 颜色角色
```
背景主色: bg-white
背景辅色: bg-[#f8f0ff]
背景强调色: bg-[#ff006e], bg-[#8338ec], bg-[#3a86ff]
正文主色: text-[#1a1a2e]
正文辅色: text-[#1a1a2e]/70
正文弱化色: text-[#1a1a2e]/50
按钮主色: bg-[#ff006e] text-white shadow-[0_8px_30px_rgba(255,0,110,0.4)]
按钮辅色: bg-[#8338ec] text-white shadow-[0_8px_30px_rgba(131,56,236,0.35)]
```

---

## [FORBIDDEN] 绝对禁止

以下 class 在本风格中**绝对禁止使用**,生成时必须检查并避免:

### 禁止的 Class
- `text-gray-500`
- `text-gray-400`
- `text-gray-300`
- `bg-gray-100`
- `bg-gray-50`
- `bg-gray-200`
- `shadow-sm`
- `shadow-md`
- `shadow-lg`
- `shadow-xl`
- `rounded-sm`
- `rounded-md`
- `rounded-none`
- `font-serif`
- `font-mono`
- `font-normal`
- `font-light`
- `font-thin`

### 禁止的模式
- 匹配 `^text-gray-\d+$`
- 匹配 `^bg-gray-\d+$`
- 匹配 `^shadow-(sm|md|lg|xl)$`
- 匹配 `^rounded-(none|sm|md)$`
- 匹配 `^font-(serif|mono|normal|light|thin)$`

### 禁止原因
- `text-gray-*`: Dopamine Design never uses gray text — use colored or #1a1a2e
- `bg-gray-*`: Replace gray surfaces with tinted pastels (pink-50, purple-50)
- `shadow-sm`: Use colored shadows only (pink, purple, blue glows)
- `rounded-sm`: Minimum radius is rounded-2xl; buttons must be rounded-full
- `font-serif`: Sans-serif only (Inter preferred)
- `font-normal`: Minimum weight is font-semibold for body, font-black for headings

> WARNING: 如果你的代码中包含以上任何 class,必须立即替换。

---

## [REQUIRED] 必须包含

### 按钮必须包含
```
rounded-full
font-bold
shadow-[0_8px_30px_rgba(255,0,110,0.4)]
hover:scale-105
active:scale-95
transition-all duration-300
```

### 卡片必须包含
```
rounded-3xl
```

### 输入框必须包含
```
rounded-2xl
border-2
focus:outline-none
```

---

## [COMPARE] Dopamine Design 错误 vs 正确对比

以下错误示例只代表“未经过当前风格适配的通用默认值”,不要把错误示例当成视觉建议。

### 按钮

[WRONG] **错误示例**(通用组件库默认样式,不要直接复制):
```html
<button class="{GENERIC_LIBRARY_BUTTON_DEFAULT}">
  点击我
</button>
```

[CORRECT] **正确示例**(使用当前风格的 token):
```html
<button class="rounded-full font-bold shadow-[0_8px_30px_rgba(255,0,110,0.4)] hover:scale-105 active:scale-95 transition-all duration-300 bg-[#ff006e] text-white shadow-[0_8px_30px_rgba(255,0,110,0.4)]">
  点击我
</button>
```

### 卡片

[WRONG] **错误示例**(未经当前风格适配的通用卡片):
```html
<div class="{GENERIC_LIBRARY_CARD_DEFAULT}">
  <h3>{TITLE}</h3>
</div>
```

[CORRECT] **正确示例**(使用当前风格的 card token):
```html
<div class="rounded-3xl p-6 md:p-8">
  <h3 class="font-sans font-black tracking-tight text-lg font-bold">{TITLE}</h3>
</div>
```

### 输入框

[WRONG] **错误示例**(未经当前风格适配的通用输入框):
```html
<input class="{GENERIC_LIBRARY_INPUT_DEFAULT}" />
```

[CORRECT] **正确示例**(使用当前风格的 input token):
```html
<input class="rounded-2xl border-2 focus:outline-none" placeholder="{PLACEHOLDER}" />
```

---

## [TEMPLATES] Dopamine Design 页面骨架模板

以下骨架只使用当前风格的 token。替换 `{PLACEHOLDER}` 时,不要移除或替换这些 token:

### 导航栏骨架
```html
<nav class="bg-white text-[#1a1a2e] border-2 border-[#ff006e]/20 px-6 md:px-8">
  <div class="flex items-center justify-between max-w-6xl mx-auto gap-6">
    <a href="/" class="font-sans font-black tracking-tight text-lg font-bold">
      {LOGO_TEXT}
    </a>
    <div class="flex gap-6 font-sans text-base font-medium text-sm font-semibold">
      {NAV_LINKS}
    </div>
  </div>
</nav>
```

### Hero 区块骨架
```html
<section class="bg-[#ff006e] text-[#1a1a2e] py-16 md:py-24 px-6 md:px-8">
  <div class="max-w-4xl mx-auto">
    <h1 class="font-sans font-black tracking-tight text-5xl md:text-7xl font-black tracking-tight leading-[0.95]">
      {HEADLINE}
    </h1>
    <p class="font-sans text-base font-medium text-base font-medium max-w-xl">
      {SUBHEADLINE}
    </p>
    <button class="rounded-full font-bold shadow-[0_8px_30px_rgba(255,0,110,0.4)] hover:scale-105 active:scale-95 transition-all duration-300 bg-[#ff006e] text-white shadow-[0_8px_30px_rgba(255,0,110,0.4)]">
      {CTA_TEXT}
    </button>
  </div>
</section>
```

### 卡片网格骨架
```html
<section class="bg-white text-[#1a1a2e] py-16 md:py-24 px-6 md:px-8">
  <div class="max-w-6xl mx-auto">
    <h2 class="font-sans font-black tracking-tight text-xl md:text-2xl font-bold">{SECTION_TITLE}</h2>
    <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
      <!-- Card template - repeat for each card -->
      <div class="rounded-3xl p-6 md:p-8">
        <h3 class="font-sans font-black tracking-tight text-lg font-bold">{CARD_TITLE}</h3>
        <p class="font-sans text-base font-medium text-base font-medium text-[#1a1a2e]/50">{CARD_DESCRIPTION}</p>
      </div>
    </div>
  </div>
</section>
```

### 表单输入骨架
```html
<input class="rounded-2xl border-2 focus:outline-none" placeholder="{PLACEHOLDER}" />
```

### 页脚骨架
```html
<footer class="bg-[#f8f0ff] text-[#1a1a2e]/70 py-16 md:py-24 px-6 md:px-8">
  <div class="max-w-6xl mx-auto">
    <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
      <div>
        <span class="font-sans font-black tracking-tight text-lg font-bold">{LOGO_TEXT}</span>
        <p class="font-sans text-base font-medium text-sm font-semibold">{TAGLINE}</p>
      </div>
      <div>
        <h4 class="font-sans font-black tracking-tight text-lg font-bold">{COLUMN_TITLE}</h4>
        <ul class="font-sans text-base font-medium text-sm font-semibold">
          {FOOTER_LINKS}
        </ul>
      </div>
    </div>
  </div>
</footer>
```

---

## [CHECKLIST] Dopamine Design 生成后自检清单

**输出代码前,逐项验证当前风格的 token 和规则。如有违反,先修正再交付:**

### Token 检查
- [ ] 按钮包含: `rounded-full font-bold shadow-[0_8px_30px_rgba(255,0,110,0.4)] hover:scale-105 active:scale-95 transition-all duration-300`
- [ ] 卡片包含: `rounded-3xl`
- [ ] 输入框包含: `rounded-2xl border-2 focus:outline-none`

### 禁止项检查
- [ ] 没有使用 `text-gray-500`
- [ ] 没有使用 `text-gray-400`
- [ ] 没有使用 `text-gray-300`
- [ ] 没有使用 `bg-gray-100`
- [ ] 没有使用 `bg-gray-50`
- [ ] 没有使用 `bg-gray-200`
- [ ] 没有使用 `shadow-sm`
- [ ] 没有使用 `shadow-md`

### 风格规则检查
- [ ] 使用高饱和度配色 bg-[#ff006e] bg-[#8338ec] bg-[#ffbe0b] bg-[#3a86ff]
- [ ] 圆角设为最大 rounded-full rounded-3xl rounded-2xl
- [ ] 标题使用超大字号 text-5xl md:text-7xl font-black
- [ ] 按钮使用 pill 形状 rounded-full px-8
- [ ] 使用彩色阴影 shadow-[0_8px_30px_rgba(255,0,110,0.4)]

### 风格漂移检查
- [ ] 没有违反:禁止大面积使用灰色 text-gray-500 bg-gray-100
- [ ] 没有违反:禁止低饱和度/马卡龙色
- [ ] 没有违反:禁止严肃/商务风格排版
- [ ] 没有违反:禁止使用 serif 字体

### 通用交付检查
- [ ] 响应式布局在手机、平板和桌面下稳定,没有横向溢出
- [ ] 所有交互元素有清晰焦点、可访问名称和 reduced-motion 方案
- [ ] 文本对比度达到 WCAG AA,且没有用颜色单独传递状态
- [ ] 结果仍然能够一眼识别为 Dopamine Design

---

## [EXAMPLES] 示例 Prompt

### 1. App 着陆页

高能量的移动应用着陆页,渐变英雄区 + 特性展示

```
Use Dopamine Design style to create a mobile app landing page. Include a full-width gradient hero (pink to purple to blue), oversized pill-shaped CTA buttons, feature cards with colored shadows, and a bold pricing section. Everything should feel joyful and energetic.
```

### 2. SaaS 着陆页

生成 多巴胺设计风格的 SaaS 产品着陆页

```
Create a SaaS landing page using Dopamine Design style with hero section, feature grid, testimonials, pricing table, and footer.
```

### 3. 作品集展示

生成 多巴胺设计风格的作品集页面

```
Create a portfolio showcase page using Dopamine Design style with project grid, about section, contact form, and consistent visual language.
```

## 绝对禁止(匹配即拒绝)

以下模式一旦出现,视为风格违规——不找借口,直接重写。

- 大面积使用灰色 text-gray-500 bg-gray-100
- 低饱和度/马卡龙色
- 严肃/商务风格排版
- 使用 serif 字体

## 自检清单(交付前逐条确认)

如果任何一条不通过,说明风格漂移了——修改后再交付。

- [ ] 没有紫色到蓝色的渐变
- [ ] 没有使用 Inter / Roboto / Geist 等过度使用的字体
- [ ] 没有嵌套卡片(卡片里面套卡片)
- [ ] 没有在彩色背景上放灰色文字
- [ ] 正文对比度满足 WCAG AA(≥4.5:1)
- [ ] 没有 bounce / elastic 缓动曲线
- [ ] 动效有 prefers-reduced-motion 备选方案
- [ ] 正文行宽不超过 65-75 个字符
- [ ] 没有单侧粗边框装饰(border-left/right accent stripe)
- [ ] 没有渐变文字(background-clip: text)
- [ ] 没有把玻璃态(glassmorphism)当作默认风格
- [ ] 没有 tiny uppercase tracked eyebrow 放在每个 section 标题上面
- [ ] 禁止大面积使用灰色 text-gray-500 bg-gray-100
- [ ] 禁止低饱和度/马卡龙色
- [ ] 禁止严肃/商务风格排版
- [ ] 禁止使用 serif 字体

更多提示词库:全部 UI 提示词 · Tailwind UI 提示词 · 暗色模式提示词

社区

评分与反馈

还没有人评分,来当第一个登录后评分

正在加载评论…

组件模板

组件预览

按钮

Dopamine Design 风格的 pill 形状高饱和按钮

真实前端完成度

暗色、状态、动效与可访问性覆盖

这层检查这个风格是否已经具备真实网站常见的主题、状态反馈、键盘可访问性和性能约束。

总体覆盖

58%

Fallback 规则

暗色模式

35%

通用

组件状态

79%

部分

动效规则

70%

部分

可访问性

70%

部分

性能代价

35%

通用

关键状态覆盖

light / dark
悬停键盘焦点禁用加载中空状态错误成功

按钮

默认 / 悬停 / 键盘焦点 / 按下 / 禁用

输入框

默认 / 悬停 / 键盘焦点 / 禁用 / 错误

卡片

默认 / 悬停 / 键盘焦点 / 加载中 / 骨架屏

表单

默认 / 键盘焦点 / 禁用 / 加载中 / 错误

落地注意事项

  • 暗色模式需要使用语义 tokens,不要直接把浅色主题反相。
  • 组件至少要覆盖悬停、键盘焦点、禁用、加载、空状态、错误和成功反馈。
  • 可访问性需要检查对比度、键盘导航、44px 点击区域和 reduced-motion。
  • 性能上避免动画改变布局;重 blur/shadow 的风格要控制层数和滚动区域。

常见问题

关于多巴胺设计的常见问题

什么是多巴胺设计风格?
高饱和度霓虹配色、大胆排版、充满能量感的视觉冲击力。2025-2026 年度设计趋势,用色彩直接刺激多巴胺分泌,让界面充满快乐和兴奋。 它的设计理念:Dopamine Design 是 2025-2026 年最火热的设计趋势,核心理念是通过高饱和度色彩、大胆排版和充满能量的视觉元素直接刺激用户的愉悦感。 核心理念: - 色彩爆炸:使用 5-6 种高饱和度颜色,拒绝灰暗和低调 - 大胆排版:超大字号、加粗字重、紧凑行距 - 圆润友好:大圆角、pill 形状、bubble 元素 - 动效活泼:弹性动画、过冲回弹、愉快的 micro-interactions - 反灰色:最小化灰色使用,用彩色替代中性色 设计原则: - 视觉一致性:所有组件必须遵循统一的视觉语言,从色彩到字体到间距保持谐调 - 层次分明:通过颜色深浅、字号大小、留白空间建立清晰的信息层级 - 交互反馈:每个可交互元素都必须有明确的 hover、active、focus 状态反馈 - 响应式适配:设计必须在移动端、平板、桌面端上保持一致的体验 - 无障碍性:确保色彩对比度符合 WCAG 2.
多巴胺设计风格常用什么配色?
多巴胺设计 的主色是 #ff006e,辅色是 #8338ec,强调色包括 #ffbe0b、#3a86ff、#06d6a0、#fb5607。每个色值都可以在本页色板中复制。
怎样把多巴胺设计风格做对?
关键做法:使用高饱和度配色 bg-[#ff006e] bg-[#8338ec] bg-[#ffbe0b] bg-[#3a86ff]. 圆角设为最大 rounded-full rounded-3xl rounded-2xl. 标题使用超大字号 text-5xl md:text-7xl font-black.
多巴胺设计风格最常见的错误是什么?
应避免:禁止大面积使用灰色 text-gray-500 bg-gray-100. 禁止低饱和度/马卡龙色. 禁止严肃/商务风格排版.
如何让 AI 生成多巴胺设计风格的界面?
复制本页提供的 AI 提示词(含设计 tokens 与组件规则),粘贴到 ChatGPT、Claude、Claude Code 或 Codex。提示词中应包含关键词:多巴胺、高饱和、霓虹、快乐。
全局样式

全局 CSS

css
/* Dopamine Design Global Styles */
@layer base {
  body {
    @apply bg-white text-zinc-900 antialiased;
    font-family: 'Inter', 'SF Pro Display', -apple-system, system-ui, sans-serif;
  }
}

@layer utilities {
  .dopamine-gradient-text {
    background: linear-gradient(135deg, #ff006e, #8338ec, #3a86ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .dopamine-glow-pink {
    box-shadow: 0 8px 30px rgba(255, 0, 110, 0.4);
  }

  .dopamine-glow-purple {
    box-shadow: 0 8px 30px rgba(131, 56, 236, 0.4);
  }

  .dopamine-glow-blue {
    box-shadow: 0 8px 30px rgba(58, 134, 255, 0.4);
  }
}
/* Dopamine Design Design Tokens */
:root {
  --dopamine-design-primary: #ff006e;
  --dopamine-design-secondary: #8338ec;
  --dopamine-design-accent: #ffbe0b;
  --dopamine-design-glow: rgba(255, 0, 110, 0.3);
}

@keyframes dopamine-design-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes dopamine-design-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.dopamine-design-card {
  position: relative;
  overflow: hidden;
}

.dopamine-design-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: linear-gradient(135deg, rgba(255, 0, 110, 0.05), transparent);
  pointer-events: none;
}

.dopamine-design-card:hover::before {
  opacity: 1;
}

.dopamine-design-frosted {
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  background: rgba(255, 0, 110, 0.08);
}

.dopamine-design-accent-corner {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}

.dopamine-design-animate-in {
  animation: dopamine-design-fade-in 0.5s ease-out both;
}

IDE 集成

IDE 配置导出

下载 AI 编码助手的配置文件,使其按照此风格生成代码。

风格包

导出风格包

获取完整的可机器读取风格资源,包括 Design Tokens、Tailwind 预设、CSS 变量和 shadcn/ui 主题。

Metadata

Style metadata including version information

Design Tokens

Figma / Style Dictionary / Tokens Studio 兼容

Tailwind Preset

Tailwind CSS 主题预设,可直接在配置中引用

Global CSS

包含 CSS 变量和基础样式

shadcn Theme

shadcn/ui 主题配置

CSS Variables

纯 CSS 变量,适用于任何项目

SKILL.md

可加载到 Cursor / Claude Code / VS Code 的技能包

设计哲学

Dopamine Design 是 2025-2026 年最火热的设计趋势,核心理念是通过高饱和度色彩、大胆排版和充满能量的视觉元素直接刺激用户的愉悦感。

无障碍

无障碍评分

基于颜色对比度和排版可读性的 WCAG 2.1 合规分析。

69

综合评分

等级: C - 一般

对比度

分数: 60/100平均比率: 9.21:1
AA 未通过AAA 未通过
场景颜色比率AAAAA
Text on background
/#1a1a2e / #ffffff
17.06:1
Secondary text on background
/#1a1a2e / #ffffff
17.06:1
Muted text on background
/#1a1a2e / #ffffff
17.06:1
Text on secondary background
/#1a1a2e / #f8f0ff
15.35:1
Secondary text on secondary
/#1a1a2e / #f8f0ff
15.35:1
Button primary
/#ffffff / #ff006e
3.83:1
Text on accent 1
/#1a1a2e / #ff006e
4.45:1
Alt text on accent 1
/#1a1a2e / #ff006e
4.45:1
Text on accent 2
/#1a1a2e / #8338ec
3.04:1
Alt text on accent 2
/#1a1a2e / #8338ec
3.04:1
Text on accent 3
/#1a1a2e / #3a86ff
4.9:1
Alt text on accent 3
/#1a1a2e / #3a86ff
4.9:1

可读性

分数

90/100

字号

text-base font-medium

字重

font-sans font-black tracking-tight

行高

default

评分基于 WCAG 2.1 标准。AA 级要求普通文本对比度 4.5:1、大文本 3:1;AAA 级要求普通文本 7:1、大文本 4.5:1。

设计配方

使用 多巴胺设计 的推荐组合

这些精选配方将此风格与布局和动画组合,针对特定场景优化。