适合场景
热带 / 天堂 / 棕榈
热带度假风设计,棕榈叶、鲜艳花卉色彩、阳光沙滩的明快基调。适合旅游、度假村、生活方式和餐饮品牌。
适合场景
热带 / 天堂 / 棕榈
设计重点
使用蓝绿主色 #00897b 搭配暖黄底色 #fffde7
注意事项
禁止使用深色/黑色背景主题
AI 实现文档
默认用硬性提示词让 AI 直接生成前端;Design Spec 用来理解、改写和审核风格;Creative Brief 用来早期探索方向。
默认使用它:复制后追加具体需求,让 AI 直接生成一致、可落地的前端。
什么时候用
怎么用
STYLEKIT_STYLE_REFERENCE
style_name: 热带天堂
style_slug: tropical-paradise
style_source: /styles/tropical-paradise
# Hard Prompt
## 什么时候用
当你希望 AI 严格按风格规则生成代码时使用。它是生产界面最稳的默认选择。
## 怎么用
- 把完整提示词复制到 ChatGPT、Claude、Cursor 或其他编码助手。
- 在提示词后追加具体产品、页面或组件需求。
- 生成后按禁止项和交互状态检查,确认没有风格漂移。
请严格遵守以下风格规则并保持一致性,禁止风格漂移。
## 执行要求
- 优先保证风格一致性,其次再做创意延展。
- 遇到冲突时以禁止项为最高优先级。
- 输出前自检:颜色、排版、间距、交互是否仍属于该风格。
## Style Rules
你是一个 Tropical Paradise 设计风格的前端开发专家。生成的所有代码必须严格遵守以下约束:
## 绝对禁止
- 禁止使用深色/黑色背景主题
- 禁止使用灰色调为主的配色
- 禁止使用尖锐的直角和棱角 rounded-none
- 禁止使用沉闷的暗色调
- 禁止使用过于密集的布局
- 禁止使用冷色调的阴影
- 禁止使用过于正式的衬线字体
- 禁止使用僵硬的短促线性动画破坏度假松弛感
- 禁止使用暗灰重阴影替代热带彩色光晕
## 必须遵守
- 使用蓝绿主色 #00897b 搭配暖黄底色 #fffde7
- 强调色使用珊瑚红 #ff6f61 和芒果黄 #ffc107
- 圆角使用 rounded-2xl 或 rounded-full,传达柔和度假感
- 阴影使用彩色温暖阴影如 shadow-[0_4px_20px_rgba(0,137,123,0.2)]
- 使用大号圆润字体,标题可搭配 font-bold 和 tracking-tight
- 交互状态明快活泼:hover 时使用亮色变化
- 背景可使用微妙的暖色渐变 from-[#fffde7] to-[#fff8e1]
- 保持充足的留白和通透感
- hover 使用波浪漂浮感(轻旋转+上浮+小幅 scale),避免机械位移
- 阴影强调热带阳光色彩(teal/coral)而非灰黑阴影
- 卡片装饰点在 hover 时可做微幅弹动,模拟海风拂动
## 配色
主色调:
- 蓝绿: #00897b
- 阳光白: #fffde7
- 珊瑚红: #ff6f61
- 芒果黄: #ffc107
- 棕榈绿: #4caf50
## 特殊元素
- 圆形装饰模糊球 (blur-3xl)
- 彩色小圆点装饰
- 渐变背景 from-[#fffde7] to-[#fff8e1]
- 明快的 hover 上浮动画
## Animation & Interaction Rules
- Wave Drift: hover 使用轻旋转 + 上浮 + 微缩放(如 -translate-y-2 rotate-1 scale-[1.02]),并配合 duration-500 ease-in-out。
- Tropical Sun Glow: 悬停阴影扩散需采用 teal/coral 等热带色,不用暗灰阴影。
- Breeze Response: 彩色装饰点在 hover 产生短促微弹动,模拟海风吹拂。
- Fluid Clicks: active 使用柔和 scale-95 与阴影收敛,营造踩在沙滩上的下压感。
---
# Tropical Paradise (热带天堂) Design System
> 热带度假风设计,棕榈叶、鲜艳花卉色彩、阳光沙滩的明快基调。适合旅游、度假村、生活方式和餐饮品牌。
## 核心理念
Tropical Paradise(热带天堂)风格汲取热带岛屿的自然色彩与度假氛围,将阳光、海洋、棕榈叶和热带花卉的鲜活能量注入数字界面。
核心理念:
- 明快色彩:珊瑚红、芒果黄、棕榈绿与蓝绿色的大胆组合,传递热带的活力与热情
- 阳光基调:温暖的淡黄底色如同阳光洒落的沙滩,让人感到放松与愉悦
- 自然灵感:棕榈叶的有机形态、花卉的缤纷色彩融入设计元素中
- 度假体验:整体氛围传达轻松、自在、充满期待的度假感受
这种风格非常适合旅游度假村、热带餐饮、冲浪品牌、热带水果饮料、岛屿婚礼策划以及户外生活方式品牌。
设计时应大胆使用鲜艳色彩但保持协调,通过圆润的形状和充足的留白让画面保持通透感。热带风格不是杂乱无章的色彩堆砌,而是像热带花园一样——缤纷却有秩序,热烈却不失优雅。
---
## Token 字典(精确 Class 映射)
### 边框
```
宽度: border-2
颜色: border-[#00897b]/20
圆角: rounded-2xl
```
### 阴影
```
小: shadow-[0_2px_8px_rgba(0,137,123,0.08)]
中: shadow-[0_4px_20px_rgba(0,137,123,0.12)]
大: shadow-[0_8px_30px_rgba(0,137,123,0.18)]
悬停: hover:shadow-[0_8px_30px_rgba(0,137,123,0.15)]
聚焦: focus:shadow-[0_0_0_3px_rgba(0,137,123,0.15)]
```
### 交互效果
```
悬停位移: (无)
悬停缩放: hover:-translate-y-1
悬停透明度: hover:bg-[#00796b]
过渡动画: transition-all duration-300
按下状态: active:translate-y-0
```
### 字体
```
标题: font-bold tracking-tight
正文: font-sans text-gray-600
等宽: font-mono text-sm
```
### 字号
```
Hero: text-5xl md:text-6xl lg:text-7xl
H1: text-3xl md:text-5xl
H2: text-2xl md:text-3xl
H3: text-xl md:text-2xl
正文: text-sm md:text-base
小字: text-xs md:text-sm
```
### 间距
```
Section: py-12 md:py-20 lg:py-28
容器: px-4 md:px-8 lg:px-12
卡片: p-5 md:p-6
小间距: gap-3 md:gap-4
中间距: gap-4 md:gap-6
大间距: gap-6 md:gap-10
```
### 颜色角色
```
背景主色: bg-[#fffde7]
背景辅色: bg-white
背景强调色: bg-[#00897b], bg-[#ff6f61], bg-[#ffc107], bg-[#4caf50]
正文主色: text-[#00897b]
正文辅色: text-gray-700
正文弱化色: text-gray-500
按钮主色: bg-[#00897b] text-white
按钮辅色: bg-white text-[#00897b] border-2 border-[#00897b]/20
```
---
## [FORBIDDEN] 绝对禁止
以下 class 在本风格中**绝对禁止使用**,生成时必须检查并避免:
### 禁止的 Class
- `bg-black`
- `bg-gray-900`
- `bg-gray-800`
- `rounded-none`
- `text-gray-900`
- `shadow-[0_0_16px_rgba(0,0,0`
- `font-serif`
### 禁止的模式
- 匹配 `^bg-(?:black|gray-[89])`
- 匹配 `^rounded-none$`
### 禁止原因
- `bg-black`: Tropical Paradise uses warm, sunny backgrounds; dark themes are forbidden
- `bg-gray-900`: Tropical Paradise uses warm, sunny backgrounds; dark themes are forbidden
- `rounded-none`: Tropical Paradise uses rounded shapes (rounded-2xl or rounded-full)
- `font-serif`: Tropical Paradise uses clean sans-serif fonts for a modern, casual feel
> WARNING: 如果你的代码中包含以上任何 class,必须立即替换。
---
## [REQUIRED] 必须包含
### 按钮必须包含
```
rounded-full
font-bold
shadow-[0_4px_16px_rgba(0,137,123,0.3)]
transition-all duration-300
```
### 卡片必须包含
```
bg-white
rounded-2xl
shadow-[0_4px_20px_rgba(0,137,123,0.1)]
```
### 输入框必须包含
```
bg-white
border-2 border-[#00897b]/20
rounded-full
focus:border-[#00897b]
focus:outline-none
transition-all duration-300
```
---
## [COMPARE] Tropical Paradise 错误 vs 正确对比
以下错误示例只代表“未经过当前风格适配的通用默认值”,不要把错误示例当成视觉建议。
### 按钮
[WRONG] **错误示例**(通用组件库默认样式,不要直接复制):
```html
<button class="{GENERIC_LIBRARY_BUTTON_DEFAULT}">
点击我
</button>
```
[CORRECT] **正确示例**(使用当前风格的 token):
```html
<button class="rounded-full font-bold shadow-[0_4px_16px_rgba(0,137,123,0.3)] transition-all duration-300 bg-[#00897b] text-white">
点击我
</button>
```
### 卡片
[WRONG] **错误示例**(未经当前风格适配的通用卡片):
```html
<div class="{GENERIC_LIBRARY_CARD_DEFAULT}">
<h3>{TITLE}</h3>
</div>
```
[CORRECT] **正确示例**(使用当前风格的 card token):
```html
<div class="bg-white rounded-2xl shadow-[0_4px_20px_rgba(0,137,123,0.1)] p-5 md:p-6">
<h3 class="font-bold tracking-tight text-xl md:text-2xl">{TITLE}</h3>
</div>
```
### 输入框
[WRONG] **错误示例**(未经当前风格适配的通用输入框):
```html
<input class="{GENERIC_LIBRARY_INPUT_DEFAULT}" />
```
[CORRECT] **正确示例**(使用当前风格的 input token):
```html
<input class="bg-white border-2 border-[#00897b]/20 rounded-full focus:border-[#00897b] focus:outline-none transition-all duration-300" placeholder="{PLACEHOLDER}" />
```
---
## [TEMPLATES] Tropical Paradise 页面骨架模板
以下骨架只使用当前风格的 token。替换 `{PLACEHOLDER}` 时,不要移除或替换这些 token:
### 导航栏骨架
```html
<nav class="bg-[#fffde7] text-[#00897b] border-2 border-[#00897b]/20 px-4 md:px-8 lg:px-12">
<div class="flex items-center justify-between max-w-6xl mx-auto gap-4 md:gap-6">
<a href="/" class="font-bold tracking-tight text-xl md:text-2xl">
{LOGO_TEXT}
</a>
<div class="flex gap-4 md:gap-6 font-sans text-gray-600 text-xs md:text-sm">
{NAV_LINKS}
</div>
</div>
</nav>
```
### Hero 区块骨架
```html
<section class="bg-[#00897b] text-[#00897b] py-12 md:py-20 lg:py-28 px-4 md:px-8 lg:px-12">
<div class="max-w-4xl mx-auto">
<h1 class="font-bold tracking-tight text-5xl md:text-6xl lg:text-7xl">
{HEADLINE}
</h1>
<p class="font-sans text-gray-600 text-sm md:text-base max-w-xl">
{SUBHEADLINE}
</p>
<button class="rounded-full font-bold shadow-[0_4px_16px_rgba(0,137,123,0.3)] transition-all duration-300 bg-[#00897b] text-white">
{CTA_TEXT}
</button>
</div>
</section>
```
### 卡片网格骨架
```html
<section class="bg-[#fffde7] text-[#00897b] py-12 md:py-20 lg:py-28 px-4 md:px-8 lg:px-12">
<div class="max-w-6xl mx-auto">
<h2 class="font-bold tracking-tight text-2xl md:text-3xl">{SECTION_TITLE}</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 md:gap-6">
<!-- Card template - repeat for each card -->
<div class="bg-white rounded-2xl shadow-[0_4px_20px_rgba(0,137,123,0.1)] p-5 md:p-6">
<h3 class="font-bold tracking-tight text-xl md:text-2xl">{CARD_TITLE}</h3>
<p class="font-sans text-gray-600 text-sm md:text-base text-gray-500">{CARD_DESCRIPTION}</p>
</div>
</div>
</div>
</section>
```
### 表单输入骨架
```html
<input class="bg-white border-2 border-[#00897b]/20 rounded-full focus:border-[#00897b] focus:outline-none transition-all duration-300" placeholder="{PLACEHOLDER}" />
```
### 页脚骨架
```html
<footer class="bg-white text-gray-700 py-12 md:py-20 lg:py-28 px-4 md:px-8 lg:px-12">
<div class="max-w-6xl mx-auto">
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 md:gap-10">
<div>
<span class="font-bold tracking-tight text-xl md:text-2xl">{LOGO_TEXT}</span>
<p class="font-sans text-gray-600 text-xs md:text-sm">{TAGLINE}</p>
</div>
<div>
<h4 class="font-bold tracking-tight text-xl md:text-2xl">{COLUMN_TITLE}</h4>
<ul class="font-sans text-gray-600 text-xs md:text-sm">
{FOOTER_LINKS}
</ul>
</div>
</div>
</div>
</footer>
```
---
## [CHECKLIST] Tropical Paradise 生成后自检清单
**输出代码前,逐项验证当前风格的 token 和规则。如有违反,先修正再交付:**
### Token 检查
- [ ] 按钮包含: `rounded-full font-bold shadow-[0_4px_16px_rgba(0,137,123,0.3)] transition-all duration-300`
- [ ] 卡片包含: `bg-white rounded-2xl shadow-[0_4px_20px_rgba(0,137,123,0.1)]`
- [ ] 输入框包含: `bg-white border-2 border-[#00897b]/20 rounded-full focus:border-[#00897b] focus:outline-none transition-all duration-300`
### 禁止项检查
- [ ] 没有使用 `bg-black`
- [ ] 没有使用 `bg-gray-900`
- [ ] 没有使用 `bg-gray-800`
- [ ] 没有使用 `rounded-none`
- [ ] 没有使用 `text-gray-900`
- [ ] 没有使用 `shadow-[0_0_16px_rgba(0,0,0`
- [ ] 没有使用 `font-serif`
### 风格规则检查
- [ ] 使用蓝绿主色 #00897b 搭配暖黄底色 #fffde7
- [ ] 强调色使用珊瑚红 #ff6f61 和芒果黄 #ffc107
- [ ] 圆角使用 rounded-2xl 或 rounded-full,传达柔和度假感
- [ ] 阴影使用彩色温暖阴影如 shadow-[0_4px_20px_rgba(0,137,123,0.2)]
- [ ] 使用大号圆润字体,标题可搭配 font-bold 和 tracking-tight
### 风格漂移检查
- [ ] 没有违反:禁止使用深色/黑色背景主题
- [ ] 没有违反:禁止使用灰色调为主的配色
- [ ] 没有违反:禁止使用尖锐的直角和棱角 rounded-none
- [ ] 没有违反:禁止使用沉闷的暗色调
- [ ] 没有违反:禁止使用过于密集的布局
### 通用交付检查
- [ ] 响应式布局在手机、平板和桌面下稳定,没有横向溢出
- [ ] 所有交互元素有清晰焦点、可访问名称和 reduced-motion 方案
- [ ] 文本对比度达到 WCAG AA,且没有用颜色单独传递状态
- [ ] 结果仍然能够一眼识别为 Tropical Paradise
---
## [EXAMPLES] 示例 Prompt
### 1. 度假村预订页面
热带天堂风格的度假村展示
```
用 Tropical Paradise 风格创建一个度假村预订页面,要求:
1. 背景:阳光白渐变,添加彩色装饰模糊球
2. Hero:大标题 + 搜索框,蓝绿色调
3. 卡片:白色圆角,温暖阴影,悬停上浮
4. 价格标签:珊瑚红强调
5. 整体传达阳光明快的度假氛围
```
### 2. SaaS 着陆页
生成 热带天堂风格的 SaaS 产品着陆页
```
Create a SaaS landing page using Tropical Paradise style with hero section, feature grid, testimonials, pricing table, and footer.
```
### 3. 作品集展示
生成 热带天堂风格的作品集页面
```
Create a portfolio showcase page using Tropical Paradise style with project grid, about section, contact form, and consistent visual language.
```
## 绝对禁止(匹配即拒绝)
以下模式一旦出现,视为风格违规——不找借口,直接重写。
- 使用深色/黑色背景主题
- 使用灰色调为主的配色
- 使用尖锐的直角和棱角 rounded-none
- 使用沉闷的暗色调
- 使用过于密集的布局
- 使用冷色调的阴影
- 使用过于正式的衬线字体
- 使用僵硬的短促线性动画破坏度假松弛感
## 自检清单(交付前逐条确认)
如果任何一条不通过,说明风格漂移了——修改后再交付。
- [ ] 没有紫色到蓝色的渐变
- [ ] 没有使用 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 标题上面
- [ ] 禁止使用深色/黑色背景主题
- [ ] 禁止使用灰色调为主的配色
- [ ] 禁止使用尖锐的直角和棱角 rounded-none
- [ ] 禁止使用沉闷的暗色调
- [ ] 禁止使用过于密集的布局更多提示词库:全部 UI 提示词 · Tailwind UI 提示词 · 暗色模式提示词
组件模板
热带天堂风格按钮,圆润鲜艳
真实前端完成度
这层检查这个风格是否已经具备真实网站常见的主题、状态反馈、键盘可访问性和性能约束。
总体覆盖
58%
Fallback 规则
暗色模式
35%
通用组件状态
79%
部分动效规则
70%
部分可访问性
70%
部分性能代价
35%
通用按钮
默认 / 悬停 / 键盘焦点 / 按下 / 禁用
输入框
默认 / 悬停 / 键盘焦点 / 禁用 / 错误
卡片
默认 / 悬停 / 键盘焦点 / 加载中 / 骨架屏
表单
默认 / 键盘焦点 / 禁用 / 加载中 / 错误
常见问题
/* Tropical Paradise 全局样式 */
:root {
--tp-teal: #00897b;
--tp-teal-dark: #00796b;
--tp-sunshine: #fffde7;
--tp-coral: #ff6f61;
--tp-mango: #ffc107;
--tp-palm: #4caf50;
}
/* 阳光渐变背景 */
.tp-sunshine-bg {
background: linear-gradient(180deg, var(--tp-sunshine) 0%, #fff8e1 100%);
}
/* 热带色彩渐变 */
.tp-tropical-gradient {
background: linear-gradient(135deg, var(--tp-teal) 0%, var(--tp-palm) 100%);
}
/* 珊瑚强调 */
.tp-coral-accent {
background-color: rgba(255, 111, 97, 0.1);
color: var(--tp-coral);
}
/* 棕榈叶装饰阴影 */
.tp-palm-shadow {
box-shadow: 0 4px 20px rgba(0, 137, 123, 0.15);
}
/* 度假卡片悬停效果 */
.tp-card-hover {
transition: all 0.3s ease;
}
.tp-card-hover:hover {
transform: translateY(-4px);
box-shadow: 0 8px 30px rgba(0, 137, 123, 0.2);
}
@keyframes tropical-paradise-fade-in {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes tropical-paradise-pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}
.tropical-paradise-card {
position: relative;
overflow: hidden;
}
.tropical-paradise-card::before {
content: "";
position: absolute;
inset: 0;
opacity: 0;
transition: opacity 0.3s ease;
background: linear-gradient(135deg, rgba(0, 137, 123, 0.05), transparent);
pointer-events: none;
}
.tropical-paradise-card:hover::before {
opacity: 1;
}
.tropical-paradise-frosted {
backdrop-filter: blur(12px) saturate(180%);
-webkit-backdrop-filter: blur(12px) saturate(180%);
background: rgba(0, 137, 123, 0.08);
}
.tropical-paradise-accent-corner {
clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}
.tropical-paradise-animate-in {
animation: tropical-paradise-fade-in 0.5s ease-out both;
}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 的技能包
Tropical Paradise(热带天堂)风格汲取热带岛屿的自然色彩与度假氛围,将阳光、海洋、棕榈叶和热带花卉的鲜活能量注入数字界面。
基于颜色对比度和排版可读性的 WCAG 2.1 合规分析。
综合评分
等级: D - 较差
对比度
| 场景 | 颜色 | 比率 | AA | AAA |
|---|---|---|---|---|
| Text on background | /#00897b / #fffde7 | 4.21:1 | ||
| Secondary text on background | /#374151 / #fffde7 | 10.04:1 | ||
| Muted text on background | /#6b7280 / #fffde7 | 4.71:1 | ||
| Text on secondary background | /#00897b / #ffffff | 4.32:1 | ||
| Secondary text on secondary | /#374151 / #ffffff | 10.31:1 | ||
| Button primary | /#ffffff / #00897b | 4.32:1 | ||
| Text on accent 1 | /#00897b / #00897b | 1:1 | ||
| Alt text on accent 1 | /#374151 / #00897b | 2.39:1 | ||
| Text on accent 2 | /#00897b / #ff6f61 | 1.58:1 | ||
| Alt text on accent 2 | /#374151 / #ff6f61 | 3.78:1 | ||
| Text on accent 3 | /#00897b / #ffc107 | 2.65:1 | ||
| Alt text on accent 3 | /#374151 / #ffc107 | 6.32:1 | ||
| Text on accent 4 | /#00897b / #4caf50 | 1.55:1 | ||
| Alt text on accent 4 | /#374151 / #4caf50 | 3.71:1 |
可读性
分数
87/100
字号
text-sm md:text-base
字重
font-bold tracking-tight
行高
default
评分基于 WCAG 2.1 标准。AA 级要求普通文本对比度 4.5:1、大文本 3:1;AAA 级要求普通文本 7:1、大文本 4.5:1。