适合场景
北欧 / 斯堪的纳维亚 / Hygge
源自北欧的温暖极简设计,强调自然材质、舒适留白、木质色调和Hygge生活美学,营造宁静温馨的视觉体验。
适合场景
北欧 / 斯堪的纳维亚 / Hygge
设计重点
使用温暖的灰白色背景 bg-[#f5f0eb]
注意事项
禁止使用高饱和度的鲜艳色彩
AI 实现文档
默认用硬性提示词让 AI 直接生成前端;Design Spec 用来理解、改写和审核风格;Creative Brief 用来早期探索方向。
默认使用它:复制后追加具体需求,让 AI 直接生成一致、可落地的前端。
什么时候用
怎么用
STYLEKIT_STYLE_REFERENCE
style_name: 北欧极简风
style_slug: scandinavian
style_source: /styles/scandinavian
# Hard Prompt
## 什么时候用
当你希望 AI 严格按风格规则生成代码时使用。它是生产界面最稳的默认选择。
## 怎么用
- 把完整提示词复制到 ChatGPT、Claude、Cursor 或其他编码助手。
- 在提示词后追加具体产品、页面或组件需求。
- 生成后按禁止项和交互状态检查,确认没有风格漂移。
请严格遵守以下风格规则并保持一致性,禁止风格漂移。
## 执行要求
- 优先保证风格一致性,其次再做创意延展。
- 遇到冲突时以禁止项为最高优先级。
- 输出前自检:颜色、排版、间距、交互是否仍属于该风格。
## Style Rules
You are designing in Scandinavian Minimalism style.
- Use warm neutral tones: birch white #f5f0eb, charcoal #3d3d3d, wool gray #d4cdc5
- Accent with natural colors: pine green #5a7a6b, fjord blue #7ba0b8
- Font weights: extralight and light only
- Generous whitespace and breathing room
- Subtle borders and transitions
- No bright colors, no heavy shadows
- Lowercase text for a calm, approachable feel
## 绝对禁止
- 禁止使用高饱和度的鲜艳色彩
- 禁止使用粗重的边框和阴影
- 禁止密集排列元素,保持充分留白
- 禁止使用装饰性字体或过大字号
- 禁止弹跳、回弹或快速 scale 动效
- 禁止使用强烈按压反馈(active 仅允许细微明暗变化)
## 必须遵守
- 使用温暖的灰白色背景 bg-[#f5f0eb]
- 选择自然木质色系 text-[#a89279]
- 大量留白创造呼吸感 py-28 px-6
- 使用细腻的字重 font-extralight font-light
- 极简的边框和分隔 border-[#d4cdc5]/40
- 平滑缓慢的过渡动画 transition-colors duration-500
- 交互以亮度和色温微调为主,模拟羊毛和木材的温润触感
- 悬停提示优先使用边框或背景的细微变化,避免强阴影和明显位移
- 次级文本在 hover 时缓慢提亮,强化排版呼吸感
## Animation & Interaction Rules
- Warm Texture: 动效应传达天然材质触感,优先亮度/色温微调,避免弹跳与缩放。
- Morning Fog: 过渡建议使用 duration-700 + ease-in-out,像晨雾散去般缓慢显现。
- Silent Elevation: hover 提示优先边框和底色细微变化,阴影保持极轻或省略。
- No Impact: active 状态仅做轻微明暗反馈,不做明显形变。
---
# Scandinavian Minimalism (北欧极简风) Design System
> 源自北欧的温暖极简设计,强调自然材质、舒适留白、木质色调和Hygge生活美学,营造宁静温馨的视觉体验。
## 核心理念
北欧极简风(Scandinavian Minimalism)源自丹麦、瑞典、挪威、芬兰等北欧国家的设计传统。
核心理念:
- 少即是多:每个元素都有存在的理由
- 自然连接:使用木材、亚麻等自然材质的色调
- Hygge 精神:营造温馨、舒适、幸福的氛围
- 功能之美:实用性与美感的完美平衡
- 光的崇拜:大量留白模拟北欧的自然光线
设计原则:
- 视觉一致性:所有组件必须遵循统一的视觉语言,从色彩到字体到间距保持谐调
- 层次分明:通过颜色深浅、字号大小、留白空间建立清晰的信息层级
- 交互反馈:每个可交互元素都必须有明确的 hover、active、focus 状态反馈
- 响应式适配:设计必须在移动端、平板、桌面端上保持一致的体验
- 无障碍性:确保色彩对比度符合 WCAG 2.1 AA 标准,所有交互元素可键盘访问
---
## Token 字典(精确 Class 映射)
### 边框
```
宽度: border
颜色: border-[#d4cdc5]/40
圆角: rounded-sm
```
### 阴影
```
小: shadow-sm
中: shadow-md
大: shadow-lg
悬停: hover:shadow-md
聚焦: focus:ring-2 focus:ring-[#5a7a6b]/30
```
### 交互效果
```
悬停位移: (无)
悬停缩放: (无)
悬停透明度: (无)
过渡动画: transition-colors duration-500
按下状态: active:scale-[0.98]
```
### 字体
```
标题: font-light tracking-wide
正文: font-light
等宽: font-mono font-light
```
### 字号
```
Hero: text-3xl md:text-5xl lg:text-7xl
H1: text-2xl md:text-4xl
H2: text-xl md:text-3xl
H3: text-lg md:text-xl
正文: text-sm md:text-base
小字: text-xs
```
### 间距
```
Section: py-20 md:py-28 lg:py-36
容器: px-6 md:px-12 lg:px-20
卡片: p-6 md:p-8
小间距: gap-4
中间距: gap-8
大间距: gap-12
```
### 颜色角色
```
背景主色: bg-[#f5f0eb]
背景辅色: bg-white/60
背景强调色: bg-[#5a7a6b]/10, bg-[#7ba0b8]/10, bg-[#c9a88c]/10
正文主色: text-[#3d3d3d]
正文辅色: text-[#a89279]
正文弱化色: text-[#d4cdc5]
按钮主色: bg-[#3d3d3d] text-[#f5f0eb]
按钮辅色: bg-transparent border border-[#d4cdc5] text-[#3d3d3d]
```
---
## [FORBIDDEN] 绝对禁止
以下 class 在本风格中**绝对禁止使用**,生成时必须检查并避免:
### 禁止的 Class
- `bg-black`
- `bg-gray-900`
- `bg-slate-900`
- `font-black`
- `font-extrabold`
- `font-bold`
- `border-4`
- `border-[3px]`
- `border-[4px]`
- `shadow-[4px_4px`
- `shadow-[8px_8px`
- `rounded-none`
- `rounded-3xl`
- `rounded-full`
- `text-5xl`
- `text-6xl`
- `text-7xl`
- `text-8xl`
### 禁止的模式
- 匹配 `^bg-(?:black|gray-9|slate-9)`
- 匹配 `^font-(?:black|extrabold|bold)$`
- 匹配 `^border-(?:[3-9]|\d{2})`
- 匹配 `^shadow-\[\d+px_\d+px_0`
### 禁止原因
- `bg-black`: Scandinavian style uses warm neutral backgrounds, not pure black
- `font-black`: Only light and extralight font weights allowed for calm aesthetic
- `border-4`: Borders must be subtle and thin
- `rounded-none`: Use rounded-sm for gentle softness
> WARNING: 如果你的代码中包含以上任何 class,必须立即替换。
---
## [REQUIRED] 必须包含
### 按钮必须包含
```
transition-colors
duration-300
```
### 卡片必须包含
```
rounded-sm
transition-colors
```
### 输入框必须包含
```
bg-transparent
focus:outline-none
```
---
## [COMPARE] Scandinavian Minimalism 错误 vs 正确对比
以下错误示例只代表“未经过当前风格适配的通用默认值”,不要把错误示例当成视觉建议。
### 按钮
[WRONG] **错误示例**(通用组件库默认样式,不要直接复制):
```html
<button class="{GENERIC_LIBRARY_BUTTON_DEFAULT}">
点击我
</button>
```
[CORRECT] **正确示例**(使用当前风格的 token):
```html
<button class="transition-colors duration-300 bg-[#3d3d3d] text-[#f5f0eb]">
点击我
</button>
```
### 卡片
[WRONG] **错误示例**(未经当前风格适配的通用卡片):
```html
<div class="{GENERIC_LIBRARY_CARD_DEFAULT}">
<h3>{TITLE}</h3>
</div>
```
[CORRECT] **正确示例**(使用当前风格的 card token):
```html
<div class="rounded-sm transition-colors p-6 md:p-8">
<h3 class="font-light tracking-wide text-lg md:text-xl">{TITLE}</h3>
</div>
```
### 输入框
[WRONG] **错误示例**(未经当前风格适配的通用输入框):
```html
<input class="{GENERIC_LIBRARY_INPUT_DEFAULT}" />
```
[CORRECT] **正确示例**(使用当前风格的 input token):
```html
<input class="bg-transparent focus:outline-none" placeholder="{PLACEHOLDER}" />
```
---
## [TEMPLATES] Scandinavian Minimalism 页面骨架模板
以下骨架只使用当前风格的 token。替换 `{PLACEHOLDER}` 时,不要移除或替换这些 token:
### 导航栏骨架
```html
<nav class="bg-[#f5f0eb] text-[#3d3d3d] border border-[#d4cdc5]/40 px-6 md:px-12 lg:px-20">
<div class="flex items-center justify-between max-w-6xl mx-auto gap-8">
<a href="/" class="font-light tracking-wide text-lg md:text-xl">
{LOGO_TEXT}
</a>
<div class="flex gap-8 font-light text-xs">
{NAV_LINKS}
</div>
</div>
</nav>
```
### Hero 区块骨架
```html
<section class="bg-[#5a7a6b]/10 text-[#3d3d3d] py-20 md:py-28 lg:py-36 px-6 md:px-12 lg:px-20">
<div class="max-w-4xl mx-auto">
<h1 class="font-light tracking-wide text-3xl md:text-5xl lg:text-7xl">
{HEADLINE}
</h1>
<p class="font-light text-sm md:text-base max-w-xl">
{SUBHEADLINE}
</p>
<button class="transition-colors duration-300 bg-[#3d3d3d] text-[#f5f0eb]">
{CTA_TEXT}
</button>
</div>
</section>
```
### 卡片网格骨架
```html
<section class="bg-[#f5f0eb] text-[#3d3d3d] py-20 md:py-28 lg:py-36 px-6 md:px-12 lg:px-20">
<div class="max-w-6xl mx-auto">
<h2 class="font-light tracking-wide text-xl md:text-3xl">{SECTION_TITLE}</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Card template - repeat for each card -->
<div class="rounded-sm transition-colors p-6 md:p-8">
<h3 class="font-light tracking-wide text-lg md:text-xl">{CARD_TITLE}</h3>
<p class="font-light text-sm md:text-base text-[#d4cdc5]">{CARD_DESCRIPTION}</p>
</div>
</div>
</div>
</section>
```
### 表单输入骨架
```html
<input class="bg-transparent focus:outline-none" placeholder="{PLACEHOLDER}" />
```
### 页脚骨架
```html
<footer class="bg-white/60 text-[#a89279] py-20 md:py-28 lg:py-36 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-12">
<div>
<span class="font-light tracking-wide text-lg md:text-xl">{LOGO_TEXT}</span>
<p class="font-light text-xs">{TAGLINE}</p>
</div>
<div>
<h4 class="font-light tracking-wide text-lg md:text-xl">{COLUMN_TITLE}</h4>
<ul class="font-light text-xs">
{FOOTER_LINKS}
</ul>
</div>
</div>
</div>
</footer>
```
---
## [CHECKLIST] Scandinavian Minimalism 生成后自检清单
**输出代码前,逐项验证当前风格的 token 和规则。如有违反,先修正再交付:**
### Token 检查
- [ ] 按钮包含: `transition-colors duration-300`
- [ ] 卡片包含: `rounded-sm transition-colors`
- [ ] 输入框包含: `bg-transparent focus:outline-none`
### 禁止项检查
- [ ] 没有使用 `bg-black`
- [ ] 没有使用 `bg-gray-900`
- [ ] 没有使用 `bg-slate-900`
- [ ] 没有使用 `font-black`
- [ ] 没有使用 `font-extrabold`
- [ ] 没有使用 `font-bold`
- [ ] 没有使用 `border-4`
- [ ] 没有使用 `border-[3px]`
### 风格规则检查
- [ ] 使用温暖的灰白色背景 bg-[#f5f0eb]
- [ ] 选择自然木质色系 text-[#a89279]
- [ ] 大量留白创造呼吸感 py-28 px-6
- [ ] 使用细腻的字重 font-extralight font-light
- [ ] 极简的边框和分隔 border-[#d4cdc5]/40
### 风格漂移检查
- [ ] 没有违反:禁止使用高饱和度的鲜艳色彩
- [ ] 没有违反:禁止使用粗重的边框和阴影
- [ ] 没有违反:禁止密集排列元素,保持充分留白
- [ ] 没有违反:禁止使用装饰性字体或过大字号
- [ ] 没有违反:禁止弹跳、回弹或快速 scale 动效
### 通用交付检查
- [ ] 响应式布局在手机、平板和桌面下稳定,没有横向溢出
- [ ] 所有交互元素有清晰焦点、可访问名称和 reduced-motion 方案
- [ ] 文本对比度达到 WCAG AA,且没有用颜色单独传递状态
- [ ] 结果仍然能够一眼识别为 Scandinavian Minimalism
---
## [EXAMPLES] 示例 Prompt
### 1. SaaS 着陆页
生成 北欧极简风风格的 SaaS 产品着陆页
```
Create a SaaS landing page using Scandinavian Minimalism style with hero section, feature grid, testimonials, pricing table, and footer.
```
### 2. 作品集展示
生成 北欧极简风风格的作品集页面
```
Create a portfolio showcase page using Scandinavian Minimalism style with project grid, about section, contact form, and consistent visual language.
```
## 绝对禁止(匹配即拒绝)
以下模式一旦出现,视为风格违规——不找借口,直接重写。
- 使用高饱和度的鲜艳色彩
- 使用粗重的边框和阴影
- 密集排列元素,保持充分留白
- 使用装饰性字体或过大字号
- 弹跳、回弹或快速 scale 动效
- 使用强烈按压反馈(active 仅允许细微明暗变化)
## 自检清单(交付前逐条确认)
如果任何一条不通过,说明风格漂移了——修改后再交付。
- [ ] 没有紫色到蓝色的渐变
- [ ] 没有使用 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 标题上面
- [ ] 禁止使用高饱和度的鲜艳色彩
- [ ] 禁止使用粗重的边框和阴影
- [ ] 禁止密集排列元素,保持充分留白
- [ ] 禁止使用装饰性字体或过大字号
- [ ] 禁止弹跳、回弹或快速 scale 动效更多提示词库:全部 UI 提示词 · Tailwind UI 提示词 · 暗色模式提示词
组件模板
北欧极简风按钮,含蓄优雅
真实前端完成度
这层检查这个风格是否已经具备真实网站常见的主题、状态反馈、键盘可访问性和性能约束。
总体覆盖
51%
Fallback 规则
暗色模式
0%
缺失组件状态
79%
部分动效规则
70%
部分可访问性
70%
部分性能代价
35%
通用按钮
默认 / 悬停 / 键盘焦点 / 按下 / 禁用
输入框
默认 / 悬停 / 键盘焦点 / 禁用 / 错误
卡片
默认 / 悬停 / 键盘焦点 / 加载中 / 骨架屏
表单
默认 / 键盘焦点 / 禁用 / 加载中 / 错误
常见问题
/* Scandinavian Minimalism */
:root {
--scandinavian-bg: #f5f0eb;
--scandinavian-text: #3d3d3d;
--scandinavian-muted: #a89279;
--scandinavian-accent: #5a7a6b;
--scandinavian-border: #d4cdc5;
}
@keyframes scandinavian-fade-in {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes scandinavian-pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}
.scandinavian-card {
position: relative;
overflow: hidden;
}
.scandinavian-card::before {
content: "";
position: absolute;
inset: 0;
opacity: 0;
transition: opacity 0.3s ease;
background: linear-gradient(135deg, rgba(61, 61, 61, 0.05), transparent);
pointer-events: none;
}
.scandinavian-card:hover::before {
opacity: 1;
}
.scandinavian-gradient {
background: linear-gradient(135deg, #3d3d3d, #5a7a6b);
}
.scandinavian-gradient-text {
background: linear-gradient(135deg, #3d3d3d, #5a7a6b);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.scandinavian-frosted {
backdrop-filter: blur(12px) saturate(180%);
-webkit-backdrop-filter: blur(12px) saturate(180%);
background: rgba(61, 61, 61, 0.08);
}
.scandinavian-accent-corner {
clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}
.scandinavian-animate-in {
animation: scandinavian-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 的技能包
北欧极简风(Scandinavian Minimalism)源自丹麦、瑞典、挪威、芬兰等北欧国家的设计传统。
基于颜色对比度和排版可读性的 WCAG 2.1 合规分析。
综合评分
等级: D - 较差
对比度
| 场景 | 颜色 | 比率 | AA | AAA |
|---|---|---|---|---|
| Text on background | /#3d3d3d / #f5f0eb | 9.59:1 | ||
| Secondary text on background | /#a89279 / #f5f0eb | 2.63:1 | ||
| Muted text on background | /#d4cdc5 / #f5f0eb | 1.39:1 | ||
| Button primary | /#f5f0eb / #3d3d3d | 9.59:1 | ||
| Text on accent 1 | /#3d3d3d / #5a7a6b | 2.29:1 | ||
| Alt text on accent 1 | /#a89279 / #5a7a6b | 1.59:1 | ||
| Text on accent 2 | /#3d3d3d / #7ba0b8 | 3.91:1 | ||
| Alt text on accent 2 | /#a89279 / #7ba0b8 | 1.07:1 | ||
| Text on accent 3 | /#3d3d3d / #c9a88c | 4.89:1 | ||
| Alt text on accent 3 | /#a89279 / #c9a88c | 1.34:1 |
可读性
分数
77/100
字号
text-sm md:text-base
字重
font-light tracking-wide
行高
default
评分基于 WCAG 2.1 标准。AA 级要求普通文本对比度 4.5:1、大文本 3:1;AAA 级要求普通文本 7:1、大文本 4.5:1。