本页出处
设计风格资料库
内容来自 luckymaomi 的 UI 风格库(复刻版),以 MIT 许可 提供。本站镜像收录,仅作学习参考;这一页的原始地址是 原站页面。
← 回到导览访问原站仓库
返回风格库
视觉风格expressive

水彩画风

Watercolor Style

灵感源自水彩画的设计风格,柔和的颜色渐变、模糊的边缘效果、纸张质感背景和流动的色彩扩散,传递艺术感与诗意。

水彩画风视觉预览
主色#4a6fa5
次色#faf8f5
强调色 1#e8a87c
强调色 2#85cdca
强调色 3#c38d94
强调色 4#d4a373

AI 实现规则

你是一个 Watercolor Style 设计风格的前端开发专家。生成的所有代码必须严格遵守以下约束:

## 绝对禁止

- 使用硬边框 border-4 border-black
- 使用硬边阴影 shadow-[px_px_0_color]
- 使用纯黑色背景 bg-black
- 使用直角 rounded-none
- 使用过于饱和的颜色
- 使用粗体无衬线大写文字

## 必须遵守

- 纸张色背景 bg-[#faf8f5]
- 柔和渐变 bg-gradient-to-br 使用半透明色
- 大圆角 rounded-3xl 或 rounded-full
- 柔和阴影 shadow-lg 配合低透明度色彩
- 衬线斜体字体 font-serif italic
- 半透明色彩叠加效果

## 配色

主色调:
- 蓝灰: #4a6fa5 (文字和主要元素)
- 纸张: #faf8f5 (背景)

水彩色(半透明使用):
- 蜜桃: #e8a87c
- 青绿: #85cdca
- 玫瑰: #c38d94
- 沙色: #d4a373

## 特殊效果

水彩晕染:使用多个 radial-gradient 叠加
色彩扩散:使用 blur-3xl 的大色块
柔和边缘:rounded-3xl + 低透明度边框
纸张纹理:暖色调背景 + 微妙纹理

## 自检

每次生成代码后检查:
1. 没有硬边框和直角
2. 使用柔和的渐变和半透明色
3. 背景是温暖的纸张色
4. 文字使用衬线斜体
5. 整体感觉像水彩画作品

## 动效与交互规则

- 颜料晕开(Pigment Bloom):悬停时不做生硬的上浮(translate-y),而是让同色系彩色大阴影向外大幅扩散(如 `hover:shadow-[0_10px_40px_rgba(74,111,165,0.35)]`),模拟水彩颜料在湿纸上晕开的效果。
- 湿纸效果(Damp Paper):卡片悬停时背景微微提亮或加深(如 from-[#e8a87c]/20 加深至 /30),模拟纸张吸水后的质感变化。
- 液态缓动(Liquid Slowness):水彩流动是缓慢的,强制使用 `duration-500` 配合 `ease-in-out`,禁止使用 `duration-150` 或 `ease-linear` 等快速缓动。
- 柔和按压(Soft Press):点击时 `active:scale-[0.98]` 配合内阴影加深,模拟湿润纸面上的轻柔按压感,避免剧烈的弹簧回弹。

组件预览与实现

font-light rounded-2xl shadow-[0_4px_20px_rgba(74,111,165,0.12)] transition-all duration-400 ease-out bg-[#4a6fa5]/80 text-white hover:scale-[1.02] hover:shadow-[0_8px_30px_rgba(74,111,165,0.2)] active:scale-[0.98]
button

按钮

水彩风格按钮,柔和渐变和模糊边缘

<button className="px-8 py-4 bg-gradient-to-r from-[#4a6fa5]/80 to-[#85cdca]/80 rounded-full text-white font-serif shadow-lg shadow-[#4a6fa5]/20 hover:shadow-[0_10px_40px_rgba(74,111,165,0.35)] hover:from-[#4a6fa5]/90 hover:to-[#85cdca]/90 active:scale-[0.98] active:shadow-[0_2px_10px_rgba(74,111,165,0.2)] transition-all duration-500 ease-in-out">
  Explore
</button>
card

卡片

水彩画风格卡片

<div className="group p-8 bg-gradient-to-br from-[#e8a87c]/20 via-white to-[#85cdca]/20 rounded-3xl shadow-lg shadow-[#4a6fa5]/10 border border-[#4a6fa5]/10 backdrop-blur-sm hover:from-[#e8a87c]/30 hover:to-[#85cdca]/30 hover:shadow-[0_12px_40px_rgba(74,111,165,0.18)] transition-all duration-500 ease-in-out relative overflow-hidden">
  <div className="absolute -top-8 -right-8 w-24 h-24 bg-[#85cdca]/30 rounded-full blur-2xl group-hover:scale-150 group-hover:bg-[#85cdca]/40 transition-all duration-700 ease-in-out" />
  <h3 className="relative z-10 text-xl font-serif text-[#4a6fa5] mb-3 group-hover:text-[#3a5f95] transition-colors duration-500">
    Watercolor Card
  </h3>
  <p className="relative z-10 text-[#6b7280] leading-relaxed">
    Colors flowing like water on paper
  </p>
</div>
input

输入框

水彩风格输入框

<input
  type="text"
  placeholder="Write here..."
  className="
    w-full px-5 py-4
    bg-white/60
    border border-[#4a6fa5]/20
    rounded-2xl
    text-[#4a6fa5] placeholder-[#4a6fa5]/40
    font-serif
    focus:outline-none focus:border-[#4a6fa5]/40 focus:bg-white/80
    focus:shadow-lg focus:shadow-[#4a6fa5]/10
    transition-all duration-300
  "
/>
nav

导航栏

水彩风格导航栏

<nav className="
  px-6 py-4
  bg-gradient-to-r from-[#faf8f5] via-[#e8a87c]/10 to-[#85cdca]/10
  border border-[#4a6fa5]/10
">
  <div className="max-w-4xl mx-auto flex items-center justify-between">
    <a href="/" className="text-[#4a6fa5] font-serif text-xl italic">
      Aquarelle
    </a>
    <div className="flex gap-6">
      <a href="#" className="text-[#4a6fa5]/70 hover:text-[#4a6fa5] font-serif transition-colors">
        Gallery
      </a>
      <a href="#" className="text-[#4a6fa5]/70 hover:text-[#4a6fa5] font-serif transition-colors">
        About
      </a>
    </div>
  </div>
</nav>
hero

Hero 区块

水彩风格 Hero 展示区域

<section className="
  min-h-screen
  flex flex-col items-center justify-center
  bg-[#faf8f5]
  px-6 py-20
  relative overflow-hidden
">
  <div className="absolute top-20 left-10 w-64 h-64 bg-[#e8a87c]/20 rounded-full blur-3xl" />
  <div className="absolute bottom-20 right-10 w-80 h-80 bg-[#85cdca]/20 rounded-full blur-3xl" />
  <div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-96 h-96 bg-[#c38d94]/10 rounded-full blur-3xl" />
  <h1 className="
    text-4xl md:text-6xl
    font-serif italic
    text-[#4a6fa5]
    mb-4
    relative z-10
  ">
    Watercolor Style
  </h1>
  <p className="text-xl font-serif text-[#6b7280] mb-8 relative z-10">
    Where colors dance and flow freely
  </p>
  <button className="
    relative z-10
    px-8 py-4
    bg-gradient-to-r from-[#4a6fa5]/80 to-[#85cdca]/80
    rounded-full
    text-white font-serif text-lg
    shadow-lg shadow-[#4a6fa5]/20
    hover:shadow-xl hover:shadow-[#4a6fa5]/30
    transition-all duration-300
  ">
    Begin Painting
  </button>
</section>

交互展示

适用范围与设计理念

应用场景

creativemarketing

视觉关键词

水彩渐变柔和纸张艺术流动诗意expressiveboldvibrant

Watercolor Style 是一种模拟水彩画效果的设计风格,通过柔和的颜色渐变、模糊的边缘和流动的色彩扩散,为界面注入艺术气息和诗意感受。

核心理念:

- 流动感:颜色像水彩一样自然渗透和扩散

- 柔和边缘:没有硬朗的边界线,一切都柔和过渡

- 纸张质感:底层保留水彩纸的温暖纹理

- 透明叠加:水彩的半透明特性,颜色层层叠加

设计原则:

- 视觉一致性:所有组件必须遵循统一的视觉语言,从色彩到字体到间距保持谐调

- 层次分明:通过颜色深浅、字号大小、留白空间建立清晰的信息层级

- 交互反馈:每个可交互元素都必须有明确的 hover、active、focus 状态反馈

- 响应式适配:设计必须在移动端、平板、桌面端上保持一致的体验

- 无障碍性:确保色彩对比度符合 WCAG 2.1 AA 标准,所有交互元素可键盘访问

应该这样做

  • 使用柔和的渐变 bg-gradient-to-* 模拟水彩渗透
  • 使用半透明色彩 opacity 或 rgba 模拟水彩透明
  • 使用大圆角 rounded-3xl 或 rounded-full 柔化边缘
  • 使用温暖的纸张色背景 bg-[#faf8f5]
  • 使用柔和的阴影 shadow-lg 配合低透明度
  • 使用衬线字体增加艺术感

避免这样做

  • 禁止使用硬边框 border-4 border-black
  • 禁止使用硬边阴影 shadow-[px_px_0_color]
  • 禁止使用纯黑色背景
  • 禁止使用直角 rounded-none
  • 禁止使用过于饱和或刺眼的颜色

全局 CSS

/* Watercolor Style 全局样式 */

:root {
  --wc-blue: #4a6fa5;
  --wc-paper: #faf8f5;
  --wc-peach: #e8a87c;
  --wc-teal: #85cdca;
  --wc-rose: #c38d94;
  --wc-sand: #d4a373;
}

/* 水彩纸张背景 */
.wc-paper {
  background-color: var(--wc-paper);
}

/* 水彩晕染效果 */
.wc-wash {
  background: radial-gradient(ellipse at 30% 50%, rgba(232, 168, 124, 0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(133, 205, 202, 0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 50% 80%, rgba(195, 141, 148, 0.1) 0%, transparent 60%);
}

/* 水彩边缘模糊 */
.wc-soft-edge {
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(74, 111, 165, 0.1);
}

/* 水彩文字 */
.wc-text {
  font-family: 'Georgia', 'Playfair Display', serif;
  font-style: italic;
  color: var(--wc-blue);
}

/* 水彩色块 */
.wc-swatch {
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.7;
}

/* 水彩卡片 */
.wc-card {
  background: linear-gradient(135deg, rgba(232, 168, 124, 0.15), white, rgba(133, 205, 202, 0.15));
  border-radius: 24px;
  border: 1px solid rgba(74, 111, 165, 0.1);
  box-shadow: 0 8px 30px rgba(74, 111, 165, 0.1);
}

/* 水彩分割线 */
.wc-divider {
  height: 2px;
  background: linear-gradient(to right, transparent, var(--wc-blue), transparent);
  opacity: 0.2;
}
@keyframes watercolor-style-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.watercolor-style-card {
  position: relative;
  overflow: hidden;
}

.watercolor-style-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: linear-gradient(135deg, rgba(74, 111, 165, 0.05), transparent);
  pointer-events: none;
}

.watercolor-style-card:hover::before {
  opacity: 1;
}

.watercolor-style-frosted {
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  background: rgba(74, 111, 165, 0.08);
}

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

.watercolor-style-animate-in {
  animation: watercolor-style-fade-in 0.5s ease-out both;
}

布局、色板与 Tokens

主色#4a6fa5
次色#faf8f5
强调色 1#e8a87c
强调色 2#85cdca
强调色 3#c38d94
强调色 4#d4a373
{
  "border": {
    "width": "border",
    "color": "border-[#4a6fa5]/20",
    "radius": "rounded-2xl md:rounded-3xl",
    "style": "border-solid"
  },
  "shadow": {
    "sm": "shadow-[0_2px_10px_rgba(74,111,165,0.1)]",
    "md": "shadow-[0_4px_20px_rgba(74,111,165,0.12)]",
    "lg": "shadow-[0_8px_30px_rgba(74,111,165,0.15)]",
    "none": "shadow-none",
    "hover": "hover:shadow-[0_8px_30px_rgba(74,111,165,0.2)]",
    "focus": "focus:shadow-[0_4px_20px_rgba(74,111,165,0.15)]",
    "colored": {
      "blue": "shadow-[0_4px_20px_rgba(74,111,165,0.15)]",
      "rose": "shadow-[0_4px_20px_rgba(180,120,140,0.15)]",
      "sage": "shadow-[0_4px_20px_rgba(120,160,130,0.15)]"
    }
  },
  "interaction": {
    "transition": "transition-all duration-400 ease-out",
    "active": "active:scale-[0.98]",
    "hoverScale": "hover:scale-[1.02]"
  },
  "typography": {
    "heading": "font-serif font-light tracking-wide",
    "body": "font-sans font-light",
    "mono": "font-mono",
    "sizes": {
      "hero": "text-3xl md:text-5xl lg:text-6xl",
      "h1": "text-2xl md:text-4xl",
      "h2": "text-xl md:text-3xl",
      "h3": "text-lg md:text-xl",
      "body": "text-sm md:text-base",
      "small": "text-xs md:text-sm"
    }
  },
  "spacing": {
    "section": "py-12 md:py-20 lg:py-28",
    "container": "px-4 md:px-8 lg:px-12",
    "card": "p-5 md:p-8",
    "gap": {
      "sm": "gap-3 md:gap-4",
      "md": "gap-4 md:gap-6",
      "lg": "gap-6 md:gap-10"
    }
  },
  "colors": {
    "background": {
      "primary": "bg-[#faf8f5]",
      "secondary": "bg-[#f0ebe3]",
      "accent": [
        "bg-[#4a6fa5]/20",
        "bg-[#b4788c]/20",
        "bg-[#78a082]/20",
        "bg-[#c9a84c]/20"
      ]
    },
    "text": {
      "primary": "text-[#3a3a3a]",
      "secondary": "text-[#4a6fa5]",
      "muted": "text-[#8a8a8a]"
    },
    "button": {
      "primary": "bg-[#4a6fa5]/80 text-white",
      "secondary": "bg-[#faf8f5] text-[#4a6fa5] border border-[#4a6fa5]/30",
      "danger": "bg-[#b4788c]/80 text-white"
    }
  },
  "forbidden": {
    "classes": [
      "rounded-none",
      "border-black",
      "border-2",
      "border-4",
      "shadow-[2px_2px_0px",
      "shadow-[4px_4px_0px",
      "shadow-[8px_8px_0px",
      "font-black",
      "font-bold",
      "bg-black",
      "bg-[#1a1a1a]",
      "text-black"
    ],
    "patterns": [
      "^rounded-none$",
      "^shadow-\\[\\d+px_\\d+px_0px",
      "^border-(?:black|2|4)$",
      "^font-(?:black|bold)$",
      "^bg-(?:black|\\[#1a1a)"
    ],
    "reasons": {
      "rounded-none": "Watercolor uses soft rounded shapes (rounded-2xl to rounded-3xl)",
      "border-4": "Watercolor uses thin delicate borders, not thick heavy borders",
      "shadow-[4px_4px_0px": "Watercolor uses soft diffused shadows, not hard-edge",
      "font-black": "Watercolor uses light/regular font weights for a delicate feel"
    }
  },
  "required": {
    "button": [
      "rounded-2xl",
      "shadow-[0_4px_20px_rgba(74,111,165,0.12)]",
      "hover:scale-[1.02]",
      "transition-all duration-400 ease-out",
      "font-light"
    ],
    "card": [
      "rounded-2xl md:rounded-3xl",
      "border border-[#4a6fa5]/20",
      "shadow-[0_4px_20px_rgba(74,111,165,0.12)]",
      "bg-[#faf8f5]"
    ],
    "input": [
      "rounded-2xl",
      "border border-[#4a6fa5]/20",
      "bg-white/60",
      "font-light",
      "focus:shadow-[0_4px_20px_rgba(74,111,165,0.15)]",
      "focus:outline-none"
    ]
  }
}

示例提示词

水彩画廊

水彩风格的艺术画廊页面

用 Watercolor Style 风格创建一个艺术画廊页面,要求:
1. 温暖的纸张色背景 #faf8f5
2. 柔和的水彩渐变色块作为装饰
3. 作品卡片使用半透明渐变背景
4. 衬线斜体字体标题
5. 大圆角和柔和阴影
6. 背景使用 blur 模糊色块模拟水彩晕染

水彩个人主页

水彩画风格的个人介绍页

用 Watercolor Style 风格设计一个个人介绍页,要求:
1. 全屏背景使用多个水彩晕染色块
2. 文字浮在水彩色块之上
3. 导航使用柔和的半透明效果
4. 联系方式卡片使用水彩渐变背景
5. 整体色调温暖柔和,像一幅水彩画

作品集展示

生成 水彩画风风格的作品集页面

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