适合场景
大理石 / 奢华 / 金色
大理石纹理与金色装饰的高端设计风格,白色大理石质感背景、金色线条分隔、黑色文字。适合奢侈品牌、酒店、高端地产。
适合场景
大理石 / 奢华 / 金色
设计重点
使用大理石白 bg-[#f8f6f3] 作为主背景底色
注意事项
禁止使用饱和度高的霓虹色或荧光色
AI 实现文档
默认用硬性提示词让 AI 直接生成前端;Design Spec 用来理解、改写和审核风格;Creative Brief 用来早期探索方向。
默认使用它:复制后追加具体需求,让 AI 直接生成一致、可落地的前端。
什么时候用
怎么用
STYLEKIT_STYLE_REFERENCE
style_name: 大理石奢华
style_slug: marble-luxury
style_source: /styles/marble-luxury
# Hard Prompt
## 什么时候用
当你希望 AI 严格按风格规则生成代码时使用。它是生产界面最稳的默认选择。
## 怎么用
- 把完整提示词复制到 ChatGPT、Claude、Cursor 或其他编码助手。
- 在提示词后追加具体产品、页面或组件需求。
- 生成后按禁止项和交互状态检查,确认没有风格漂移。
请严格遵守以下风格规则并保持一致性,禁止风格漂移。
## 执行要求
- 优先保证风格一致性,其次再做创意延展。
- 遇到冲突时以禁止项为最高优先级。
- 输出前自检:颜色、排版、间距、交互是否仍属于该风格。
## Style Rules
You are a Marble Luxury design style frontend development expert. All generated code must strictly follow these constraints:
## 绝对禁止
- 禁止使用饱和度高的霓虹色或荧光色
- 禁止使用粗边框(border-4 以上)
- 禁止使用硬偏移阴影(shadow-[Npx_Npx_0px])
- 禁止使用全大写粗体(font-black uppercase)的激进排版
- 禁止使用密集的信息布局或小间距
- 禁止使用卡通、手绘或粗犷的视觉元素
- 禁止使用纯白 bg-white(应使用更温暖的 #f8f6f3)
## 必须遵守
- 使用大理石白 bg-[#f8f6f3] 作为主背景底色
- 使用纯黑 text-[#1a1a1a] 作为主要文字颜色
- 使用古金色 border-[#c9a96e] 作为分隔线和细边框装饰
- 大量留白:py-20 以上的 section 间距,px-12 以上的容器内边距
- 使用衬线字体 font-serif 并保持较细字重(font-normal 或 font-light 视觉感)
- 使用 tracking-[0.2em] 以上的字母间距营造奢华排版感
- 使用 1px 细线分隔:border-t border-[#c9a96e]/30 作为优雅分隔
- 微妙的 hover 过渡效果 duration-500 以上,缓慢而从容
## Color Palette
Primary:
- Onyx: #1a1a1a
- Marble White: #f8f6f3
- Antique Gold: #c9a96e
- Warm Taupe: #8a7968
- Light Marble: #e8e0d6
## Unique Elements (Marble Luxury-Only)
1. Marble texture: radial-gradient overlays simulating stone veining
2. Gold line separators: 1px border-t border-[#c9a96e]/20 or custom gradient lines
3. Extreme whitespace: p-12, py-20, generous margins for breathing room
4. Underline-on-hover: animated gold underlines expanding from center
5. Frame borders: fine gold border inset from page edges as decorative framing
## Animation & Interaction Rules
- Monumental Weight: 元素位置保持稳定,避免 hover 位移和缩放,重量感通过光影层次变化体现。
- Foil Stamping Shift: 金色/玫瑰金文字在 hover 时可做缓慢流光位移(bg-position),模拟金属抛光反射。
- Cold & Rigid: active 状态不做弹性形变,使用轻微 inset 阴影表达冷硬材质被按压的触感。
- Polish Gleam: 卡片仅做低频、低幅度亮度与阴影变化(duration-700),维持大理石抛光质地。
---
# Marble Luxury (大理石奢华) Design System
> 大理石纹理与金色装饰的高端设计风格,白色大理石质感背景、金色线条分隔、黑色文字。适合奢侈品牌、酒店、高端地产。
## 核心理念
大理石奢华(Marble Luxury)设计风格源自高端建筑和室内设计的材质美学。大理石自古罗马时代起便是权力、财富和永恒之美的象征,其天然纹理中的灰色脉络与温暖白色基底形成了独一无二的视觉韵律。
在数字设计中,大理石奢华风格追求"克制的奢华"——不是金碧辉煌的铺张,而是通过精致的材质暗示和恰到好处的金色点缀传达高端品质感。白色大理石 #f8f6f3 作为背景基底,比纯白更温暖、更有质感;纯黑 #1a1a1a 用于文字,形成极致的可读性对比。
核心理念:
- 材质暗示:通过微妙的 radial-gradient 和 linear-gradient 叠加模拟大理石纹理的色差和脉络
- 金色克制:古金色 #c9a96e 仅用于分隔线、边框和关键装饰,绝不大面积使用
- 极致留白:大量 padding 和 margin 营造呼吸感,信息密度低但每个元素都精心放置
- 字体优雅:纤细或常规字重的衬线字体传达奢华品牌的从容与自信
大理石奢华风格适合高端酒店官网、奢侈品牌展示、精品地产、高级珠宝和高端美容品牌等需要传达品质感和exclusivity的场景。
设计关键:克制是奢华的最高表达。金色越少,越显珍贵。空间越多,越显从容。
---
## Token 字典(精确 Class 映射)
### 边框
```
宽度: border
颜色: border-[#c9a96e]/20
圆角: rounded-none
```
### 阴影
```
小: shadow-[0_1px_10px_rgba(0,0,0,0.03)]
中: shadow-[0_2px_20px_rgba(0,0,0,0.04)]
大: shadow-[0_4px_30px_rgba(0,0,0,0.06)]
悬停: hover:shadow-[0_4px_30px_rgba(0,0,0,0.06)]
聚焦: focus:shadow-none
```
### 交互效果
```
悬停位移: (无)
悬停缩放: (无)
悬停透明度: hover:opacity-90
过渡动画: transition-all duration-500 ease-in-out
按下状态: active:opacity-80
```
### 字体
```
标题: font-serif tracking-wide
正文: font-serif leading-relaxed
等宽: font-serif text-xs tracking-[0.3em] uppercase
```
### 字号
```
Hero: text-5xl md: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
```
### 间距
```
Section: py-20 md:py-32 lg:py-40
容器: px-6 md:px-12 lg:px-20
卡片: p-10 md:p-12
小间距: gap-4 md:gap-6
中间距: gap-6 md:gap-10
大间距: gap-10 md:gap-16
```
### 颜色角色
```
背景主色: bg-[#f8f6f3]
背景辅色: bg-[#1a1a1a]
背景强调色: bg-[#c9a96e], bg-[#8a7968], bg-[#e8e0d6]
正文主色: text-[#1a1a1a]
正文辅色: text-[#c9a96e]
正文弱化色: text-[#8a7968]
按钮主色: bg-[#1a1a1a] text-[#f8f6f3] border border-[#c9a96e]/40
按钮辅色: bg-transparent text-[#1a1a1a] border border-[#1a1a1a]/20
```
---
## [FORBIDDEN] 绝对禁止
以下 class 在本风格中**绝对禁止使用**,生成时必须检查并避免:
### 禁止的 Class
- `bg-white`
- `border-4`
- `border-8`
- `font-black`
- `shadow-[4px_`
- `shadow-[6px_`
- `text-[#ff`
- `text-[#00ff`
- `bg-[#ff`
- `bg-[#00ff`
- `backdrop-blur`
- `rounded-full`
- `rounded-xl`
- `rounded-2xl`
### 禁止的模式
- 匹配 `^bg-white$`
- 匹配 `^border-[4-8]$`
- 匹配 `^font-black$`
- 匹配 `^shadow-\[\d+px_\d+px_0px`
- 匹配 `^(?:text|bg)-\[#(?:ff[0-9a-f]{2}[0-9a-f]{2}|00ff)\]$`
- 匹配 `^backdrop-blur`
- 匹配 `^rounded-(?:full|xl|2xl|3xl)$`
### 禁止原因
- `bg-white`: Marble Luxury uses warm marble #f8f6f3, not sterile pure white
- `border-4`: Marble Luxury uses fine 1px borders, never thick borders
- `font-black`: Marble Luxury uses elegant light/normal weight, not aggressive bold
- `shadow-[4px_`: Marble Luxury uses ultra-subtle shadows, not hard offset shadows
- `rounded-full`: Marble Luxury uses sharp or no rounding for architectural elegance
> WARNING: 如果你的代码中包含以上任何 class,必须立即替换。
---
## [REQUIRED] 必须包含
### 按钮必须包含
```
rounded-none
font-serif tracking-[0.2em] uppercase
border border-[#c9a96e]/40
transition-all duration-500 ease-in-out
```
### 卡片必须包含
```
rounded-none
bg-[#f8f6f3]
border border-[#c9a96e]/20
shadow-[0_2px_20px_rgba(0,0,0,0.04)]
```
### 输入框必须包含
```
bg-transparent
border-b border-[#1a1a1a]/20
text-[#1a1a1a]
font-serif tracking-wide
focus:outline-none
transition-all duration-500
```
---
## [COMPARE] Marble Luxury 错误 vs 正确对比
以下错误示例只代表“未经过当前风格适配的通用默认值”,不要把错误示例当成视觉建议。
### 按钮
[WRONG] **错误示例**(通用组件库默认样式,不要直接复制):
```html
<button class="{GENERIC_LIBRARY_BUTTON_DEFAULT}">
点击我
</button>
```
[CORRECT] **正确示例**(使用当前风格的 token):
```html
<button class="rounded-none font-serif tracking-[0.2em] uppercase border border-[#c9a96e]/40 transition-all duration-500 ease-in-out bg-[#1a1a1a] text-[#f8f6f3] border border-[#c9a96e]/40">
点击我
</button>
```
### 卡片
[WRONG] **错误示例**(未经当前风格适配的通用卡片):
```html
<div class="{GENERIC_LIBRARY_CARD_DEFAULT}">
<h3>{TITLE}</h3>
</div>
```
[CORRECT] **正确示例**(使用当前风格的 card token):
```html
<div class="rounded-none bg-[#f8f6f3] border border-[#c9a96e]/20 shadow-[0_2px_20px_rgba(0,0,0,0.04)] p-10 md:p-12">
<h3 class="font-serif tracking-wide text-xl md:text-2xl">{TITLE}</h3>
</div>
```
### 输入框
[WRONG] **错误示例**(未经当前风格适配的通用输入框):
```html
<input class="{GENERIC_LIBRARY_INPUT_DEFAULT}" />
```
[CORRECT] **正确示例**(使用当前风格的 input token):
```html
<input class="bg-transparent border-b border-[#1a1a1a]/20 text-[#1a1a1a] font-serif tracking-wide focus:outline-none transition-all duration-500" placeholder="{PLACEHOLDER}" />
```
---
## [TEMPLATES] Marble Luxury 页面骨架模板
以下骨架只使用当前风格的 token。替换 `{PLACEHOLDER}` 时,不要移除或替换这些 token:
### 导航栏骨架
```html
<nav class="bg-[#f8f6f3] text-[#1a1a1a] border border-[#c9a96e]/20 px-6 md:px-12 lg:px-20">
<div class="flex items-center justify-between max-w-6xl mx-auto gap-6 md:gap-10">
<a href="/" class="font-serif tracking-wide text-xl md:text-2xl">
{LOGO_TEXT}
</a>
<div class="flex gap-6 md:gap-10 font-serif leading-relaxed text-xs">
{NAV_LINKS}
</div>
</div>
</nav>
```
### Hero 区块骨架
```html
<section class="bg-[#c9a96e] text-[#1a1a1a] py-20 md:py-32 lg:py-40 px-6 md:px-12 lg:px-20">
<div class="max-w-4xl mx-auto">
<h1 class="font-serif tracking-wide text-5xl md:text-7xl">
{HEADLINE}
</h1>
<p class="font-serif leading-relaxed text-sm md:text-base max-w-xl">
{SUBHEADLINE}
</p>
<button class="rounded-none font-serif tracking-[0.2em] uppercase border border-[#c9a96e]/40 transition-all duration-500 ease-in-out bg-[#1a1a1a] text-[#f8f6f3] border border-[#c9a96e]/40">
{CTA_TEXT}
</button>
</div>
</section>
```
### 卡片网格骨架
```html
<section class="bg-[#f8f6f3] text-[#1a1a1a] py-20 md:py-32 lg:py-40 px-6 md:px-12 lg:px-20">
<div class="max-w-6xl mx-auto">
<h2 class="font-serif tracking-wide text-2xl md:text-3xl">{SECTION_TITLE}</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 md:gap-10">
<!-- Card template - repeat for each card -->
<div class="rounded-none bg-[#f8f6f3] border border-[#c9a96e]/20 shadow-[0_2px_20px_rgba(0,0,0,0.04)] p-10 md:p-12">
<h3 class="font-serif tracking-wide text-xl md:text-2xl">{CARD_TITLE}</h3>
<p class="font-serif leading-relaxed text-sm md:text-base text-[#8a7968]">{CARD_DESCRIPTION}</p>
</div>
</div>
</div>
</section>
```
### 表单输入骨架
```html
<input class="bg-transparent border-b border-[#1a1a1a]/20 text-[#1a1a1a] font-serif tracking-wide focus:outline-none transition-all duration-500" placeholder="{PLACEHOLDER}" />
```
### 页脚骨架
```html
<footer class="bg-[#1a1a1a] text-[#c9a96e] py-20 md:py-32 lg:py-40 px-6 md:px-12 lg:px-20">
<div class="max-w-6xl mx-auto">
<div class="grid grid-cols-1 md:grid-cols-3 gap-10 md:gap-16">
<div>
<span class="font-serif tracking-wide text-xl md:text-2xl">{LOGO_TEXT}</span>
<p class="font-serif leading-relaxed text-xs">{TAGLINE}</p>
</div>
<div>
<h4 class="font-serif tracking-wide text-xl md:text-2xl">{COLUMN_TITLE}</h4>
<ul class="font-serif leading-relaxed text-xs">
{FOOTER_LINKS}
</ul>
</div>
</div>
</div>
</footer>
```
---
## [CHECKLIST] Marble Luxury 生成后自检清单
**输出代码前,逐项验证当前风格的 token 和规则。如有违反,先修正再交付:**
### Token 检查
- [ ] 按钮包含: `rounded-none font-serif tracking-[0.2em] uppercase border border-[#c9a96e]/40 transition-all duration-500 ease-in-out`
- [ ] 卡片包含: `rounded-none bg-[#f8f6f3] border border-[#c9a96e]/20 shadow-[0_2px_20px_rgba(0,0,0,0.04)]`
- [ ] 输入框包含: `bg-transparent border-b border-[#1a1a1a]/20 text-[#1a1a1a] font-serif tracking-wide focus:outline-none transition-all duration-500`
### 禁止项检查
- [ ] 没有使用 `bg-white`
- [ ] 没有使用 `border-4`
- [ ] 没有使用 `border-8`
- [ ] 没有使用 `font-black`
- [ ] 没有使用 `shadow-[4px_`
- [ ] 没有使用 `shadow-[6px_`
- [ ] 没有使用 `text-[#ff`
- [ ] 没有使用 `text-[#00ff`
### 风格规则检查
- [ ] 使用大理石白 bg-[#f8f6f3] 作为主背景底色
- [ ] 使用纯黑 text-[#1a1a1a] 作为主要文字颜色
- [ ] 使用古金色 border-[#c9a96e] 作为分隔线和细边框装饰
- [ ] 大量留白:py-20 以上的 section 间距,px-12 以上的容器内边距
- [ ] 使用衬线字体 font-serif 并保持较细字重(font-normal 或 font-light 视觉感)
### 风格漂移检查
- [ ] 没有违反:禁止使用饱和度高的霓虹色或荧光色
- [ ] 没有违反:禁止使用粗边框(border-4 以上)
- [ ] 没有违反:禁止使用硬偏移阴影(shadow-[Npx_Npx_0px])
- [ ] 没有违反:禁止使用全大写粗体(font-black uppercase)的激进排版
- [ ] 没有违反:禁止使用密集的信息布局或小间距
### 通用交付检查
- [ ] 响应式布局在手机、平板和桌面下稳定,没有横向溢出
- [ ] 所有交互元素有清晰焦点、可访问名称和 reduced-motion 方案
- [ ] 文本对比度达到 WCAG AA,且没有用颜色单独传递状态
- [ ] 结果仍然能够一眼识别为 Marble Luxury
---
## [EXAMPLES] 示例 Prompt
### 1. 大理石奢华品牌展示页
大理石纹理与金色装饰的高端品牌展示页面,极致留白和优雅排版
```
Use Marble Luxury style to create a luxury brand showcase page:
1. Background: warm marble #f8f6f3 with subtle radial-gradient texture overlays
2. Gold frame: fine 1px gold border inset from page edges
3. Hero: elegant serif title, gold separator lines above and below subtitle
4. Cards: generous padding p-12, fine gold borders, ultra-subtle shadows
5. Buttons: black bg with gold border, hover transitions to gold bg (duration-500)
6. Inputs: underline-only style, gold focus border
7. Typography: font-serif throughout, tracking-[0.2em]+ on labels, relaxed leading
```
### 2. SaaS 着陆页
生成 大理石奢华风格的 SaaS 产品着陆页
```
Create a SaaS landing page using Marble Luxury style with hero section, feature grid, testimonials, pricing table, and footer.
```
### 3. 作品集展示
生成 大理石奢华风格的作品集页面
```
Create a portfolio showcase page using Marble Luxury style with project grid, about section, contact form, and consistent visual language.
```
## 绝对禁止(匹配即拒绝)
以下模式一旦出现,视为风格违规——不找借口,直接重写。
- 使用饱和度高的霓虹色或荧光色
- 使用粗边框(border-4 以上)
- 使用硬偏移阴影(shadow-[Npx_Npx_0px])
- 使用全大写粗体(font-black uppercase)的激进排版
- 使用密集的信息布局或小间距
- 使用卡通、手绘或粗犷的视觉元素
- 使用纯白 bg-white(应使用更温暖的 #f8f6f3)
## 自检清单(交付前逐条确认)
如果任何一条不通过,说明风格漂移了——修改后再交付。
- [ ] 没有紫色到蓝色的渐变
- [ ] 没有使用 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 标题上面
- [ ] 禁止使用饱和度高的霓虹色或荧光色
- [ ] 禁止使用粗边框(border-4 以上)
- [ ] 禁止使用硬偏移阴影(shadow-[Npx_Npx_0px])
- [ ] 禁止使用全大写粗体(font-black uppercase)的激进排版
- [ ] 禁止使用密集的信息布局或小间距更多提示词库:全部 UI 提示词 · Tailwind UI 提示词 · 暗色模式提示词
组件模板
大理石奢华按钮,细边框金色描边、衬线字体和优雅 hover 过渡
真实前端完成度
这层检查这个风格是否已经具备真实网站常见的主题、状态反馈、键盘可访问性和性能约束。
总体覆盖
51%
Fallback 规则
暗色模式
0%
缺失组件状态
79%
部分动效规则
70%
部分可访问性
70%
部分性能代价
35%
通用按钮
默认 / 悬停 / 键盘焦点 / 按下 / 禁用
输入框
默认 / 悬停 / 键盘焦点 / 禁用 / 错误
卡片
默认 / 悬停 / 键盘焦点 / 加载中 / 骨架屏
表单
默认 / 键盘焦点 / 禁用 / 加载中 / 错误
常见问题
/* Marble Luxury Global Styles */
:root {
--ml-onyx: #1a1a1a;
--ml-marble: #f8f6f3;
--ml-gold: #c9a96e;
--ml-taupe: #8a7968;
--ml-light: #e8e0d6;
}
/* Marble texture background */
.ml-marble-bg {
background-color: var(--ml-marble);
background-image:
radial-gradient(ellipse at 20% 50%, rgba(138, 121, 104, 0.03) 0%, transparent 50%),
radial-gradient(ellipse at 80% 20%, rgba(201, 169, 110, 0.02) 0%, transparent 40%),
radial-gradient(ellipse at 50% 80%, rgba(138, 121, 104, 0.03) 0%, transparent 45%);
}
/* Gold line separator */
.ml-gold-line {
height: 1px;
background: linear-gradient(
90deg,
transparent 0%,
var(--ml-gold) 20%,
var(--ml-gold) 80%,
transparent 100%
);
opacity: 0.3;
}
/* Luxury text spacing */
.ml-luxury-text {
font-family: Georgia, 'Times New Roman', serif;
letter-spacing: 0.1em;
line-height: 1.8;
}
/* Elegant hover underline */
.ml-underline-hover {
position: relative;
}
.ml-underline-hover::after {
content: "";
position: absolute;
bottom: -2px;
left: 50%;
width: 0;
height: 1px;
background: var(--ml-gold);
transition: all 0.5s ease-in-out;
transform: translateX(-50%);
}
.ml-underline-hover:hover::after {
width: 100%;
}
/* Subtle marble card shadow */
.ml-card-shadow {
box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
transition: box-shadow 0.5s ease-in-out;
}
.ml-card-shadow:hover {
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}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 的技能包
大理石奢华(Marble Luxury)设计风格源自高端建筑和室内设计的材质美学。大理石自古罗马时代起便是权力、财富和永恒之美的象征,其天然纹理中的灰色脉络与温暖白色基底形成了独一无二的视觉韵律。
基于颜色对比度和排版可读性的 WCAG 2.1 合规分析。
综合评分
等级: D - 较差
对比度
| 场景 | 颜色 | 比率 | AA | AAA |
|---|---|---|---|---|
| Text on background | /#1a1a1a / #f8f6f3 | 16.13:1 | ||
| Secondary text on background | /#c9a96e / #f8f6f3 | 2.07:1 | ||
| Muted text on background | /#8a7968 / #f8f6f3 | 3.88:1 | ||
| Text on secondary background | /#1a1a1a / #1a1a1a | 1:1 | ||
| Secondary text on secondary | /#c9a96e / #1a1a1a | 7.78:1 | ||
| Button primary | /#f8f6f3 / #1a1a1a | 16.13:1 | ||
| Text on accent 1 | /#1a1a1a / #c9a96e | 7.78:1 | ||
| Alt text on accent 1 | /#c9a96e / #c9a96e | 1:1 | ||
| Text on accent 2 | /#1a1a1a / #8a7968 | 4.16:1 | ||
| Alt text on accent 2 | /#c9a96e / #8a7968 | 1.87:1 | ||
| Text on accent 3 | /#1a1a1a / #e8e0d6 | 13.31:1 | ||
| Alt text on accent 3 | /#c9a96e / #e8e0d6 | 1.71:1 |
可读性
分数
80/100
字号
text-sm md:text-base
字重
font-serif tracking-wide
行高
default
评分基于 WCAG 2.1 标准。AA 级要求普通文本对比度 4.5:1、大文本 3:1;AAA 级要求普通文本 7:1、大文本 4.5:1。