适合场景
魔法阵 / 符文 / 神秘
同心圆环嵌套体系、六芒星几何核心、符文铭文沿圆路径排列、生命之花神圣几何、金色辉光辐射与炼金术符号交织的奇幻视觉风格。
适合场景
魔法阵 / 符文 / 神秘
设计重点
Use deep dark navy backgrounds (bg-[#0a0920])
注意事项
No bright neon colors (use warm gold and cool indigo only)
AI 实现文档
默认用硬性提示词让 AI 直接生成前端;Design Spec 用来理解、改写和审核风格;Creative Brief 用来早期探索方向。
默认使用它:复制后追加具体需求,让 AI 直接生成一致、可落地的前端。
什么时候用
怎么用
STYLEKIT_STYLE_REFERENCE
style_name: 魔法阵风
style_slug: magic-circle
style_source: /styles/magic-circle
# Hard Prompt
## 什么时候用
当你希望 AI 严格按风格规则生成代码时使用。它是生产界面最稳的默认选择。
## 怎么用
- 把完整提示词复制到 ChatGPT、Claude、Cursor 或其他编码助手。
- 在提示词后追加具体产品、页面或组件需求。
- 生成后按禁止项和交互状态检查,确认没有风格漂移。
请严格遵守以下风格规则并保持一致性,禁止风格漂移。
## 执行要求
- 优先保证风格一致性,其次再做创意延展。
- 遇到冲突时以禁止项为最高优先级。
- 输出前自检:颜色、排版、间距、交互是否仍属于该风格。
## Style Rules
You are a Magic Circle design style frontend development expert. All generated code must strictly follow these constraints:
## 绝对禁止
- No bright neon colors (use warm gold and cool indigo only)
- No brutalist style elements
- No pixel art aesthetics
- No heavy/thick borders
- No informal/handwritten fonts
- 禁止按钮缺少 active:scale-95(魔法施放必须有能量聚焦感)
- 禁止环形装饰在 group-hover 时静止不动(法阵启动的核心视觉语言)
- 禁止 focus:ring 缺少 focus:ring-offset-[#0a0920](深色背景下焦点环必须有偏移分离)
## 必须遵守
- Use deep dark navy backgrounds (bg-[#0a0920])
- Add concentric ring decorations around focal elements
- Use hexagonal or circular card layouts
- Apply runic inscription marks along borders
- Add golden glow radiation from center of elements
- Use sacred geometry patterns as subtle backgrounds
- Place alchemical symbols at geometric intersection points
- 卡片使用 group 类,hover 时内部虚线同心圆环触发旋转:group-hover:rotate-180 transition-all duration-[3000ms] ease-linear(Arcane Rotation,法阵启动)
- 按钮 active:scale-95 active:shadow-[inset_0_0_30px_rgba(251,191,36,0.6)](Energy Convergence,能量聚焦内爆)
- focus:ring-2 focus:ring-[#fbbf24]/50 focus:ring-offset-2 focus:ring-offset-[#0a0920]
## Color Palette
Primary:
- Deep Navy: #1e1b4b
- Dark Background: #0a0920
- Gold Glow: #fbbf24
- Silver White: #e2e8f0
- Mystic Indigo: #818cf8
## Unique Elements
- Concentric circle/ring decorative system (multiple nested rings)
- Runic inscription borders (dot-dash marks along edges)
- Hexagram/sacred geometry card layout
- Alchemical symbols at geometric intersection points
- Rotating ring animation suggesting arcane machinery
## Animation & Interaction Rules
- Arcane Rotation: hover 时环形装饰使用 group-hover:rotate-90 / rotate-180 或线性长时旋转,营造法阵启动。
- Rune Pulsing: 金色标题、符文描边在交互时可加入 animate-pulse 或发光强化,表现魔力流转。
- Energy Focus: active 状态优先使用内发光或 active:scale-95,模拟能量向中心收束。
- Ethereal Delay: 关键过渡使用 duration-700 到 1000,旋转层可使用 2000ms+ 线性节奏。
---
# Magic Circle (魔法阵风) Design System
> 同心圆环嵌套体系、六芒星几何核心、符文铭文沿圆路径排列、生命之花神圣几何、金色辉光辐射与炼金术符号交织的奇幻视觉风格。
## 核心理念
Magic Circle draws from the arcane tradition of geometric summoning circles, weaving precision geometry with radiant light effects.
Core principles:
- Concentric ring system: multiple nested circles of varying thickness, dash patterns, and colors
- Hexagram/pentagram central figures: overlapping triangles as primary structural motifs
- Runic inscription borders: text-like marks arranged along circular paths
- Sacred geometry patterns: Flower of Life, Metatron's Cube as background textures
- Rotating ring animation: slow counter-rotating rings suggesting arcane machinery
- Golden center radiation: warm glow emanating from the center of compositions
- Alchemical symbols: fire, water, air, earth triangles at intersection points
---
## Token 字典(精确 Class 映射)
### 边框
```
宽度: border
颜色: border-[#fbbf24]/15
圆角: rounded-sm
```
### 阴影
```
小: shadow-[0_0_10px_rgba(251,191,36,0.1)]
中: shadow-[0_0_20px_rgba(251,191,36,0.2)]
大: shadow-[0_0_30px_rgba(251,191,36,0.3)]
悬停: hover:shadow-[0_0_30px_rgba(251,191,36,0.4)]
聚焦: focus:shadow-[0_0_15px_rgba(251,191,36,0.2)]
```
### 交互效果
```
悬停位移: hover:-translate-y-1
悬停缩放: (无)
悬停透明度: (无)
过渡动画: transition-all duration-500 ease-in-out
按下状态: active:scale-95
```
### 字体
```
标题: font-serif font-bold tracking-wide
正文: font-sans
等宽: font-mono
```
### 字号
```
Hero: text-4xl md:text-6xl lg:text-8xl
H1: text-3xl md:text-5xl
H2: text-2xl md:text-4xl
H3: text-xl md:text-2xl
正文: text-sm md:text-base
小字: text-xs md:text-sm
```
### 间距
```
Section: py-14 md:py-24 lg:py-32
容器: px-4 md:px-8 lg:px-12
卡片: p-5 md:p-8
小间距: gap-3 md:gap-4
中间距: gap-4 md:gap-6
大间距: gap-6 md:gap-10
```
### 颜色角色
```
背景主色: bg-[#0a0920]
背景辅色: bg-[#1e1b4b]
背景强调色: bg-[#fbbf24], bg-[#818cf8], bg-[#e2e8f0]
正文主色: text-[#e2e8f0]
正文辅色: text-[#fbbf24]
正文弱化色: text-[#e2e8f0]/40
按钮主色: bg-[#1e1b4b] text-[#fbbf24] shadow-[0_0_20px_rgba(251,191,36,0.2)]
按钮辅色: bg-[#0a0920] text-[#e2e8f0] border-[#818cf8]/30 shadow-[0_0_15px_rgba(129,140,248,0.2)]
```
---
## [FORBIDDEN] 绝对禁止
以下 class 在本风格中**绝对禁止使用**,生成时必须检查并避免:
### 禁止的 Class
- `rounded-2xl`
- `rounded-xl`
- `rounded-lg`
- `bg-white`
- `bg-gray-50`
- `border-4`
- `border-8`
- `shadow-md`
- `shadow-lg`
- `shadow-xl`
- `bg-[#00ff00]`
- `bg-[#ff00ff]`
### 禁止的模式
- 匹配 `^rounded-(?:full|2xl|xl|lg)$`
- 匹配 `^bg-(?:white|gray-(?:50|100))$`
- 匹配 `^border-(?:4|8)$`
- 匹配 `^shadow-(?:md|lg|xl)$`
### 禁止原因
- `rounded-full`: Magic Circle uses rounded-sm only for refined elegance
- `bg-white`: Magic Circle requires deep dark backgrounds for mystical atmosphere
- `border-4`: Magic Circle uses thin elegant borders only
- `shadow-md`: Use radiant glow-style shadows instead of soft drop shadows
> WARNING: 如果你的代码中包含以上任何 class,必须立即替换。
---
## [REQUIRED] 必须包含
### 按钮必须包含
```
font-serif font-semibold tracking-wide
border border-[#fbbf24]/30
rounded-sm
transition-all duration-500 ease-in-out
```
### 卡片必须包含
```
bg-[#0a0920]
border border-[#fbbf24]/15
rounded-sm
transition-all duration-500 ease-in-out
```
### 输入框必须包含
```
bg-[#0a0920]
border border-[#fbbf24]/15
rounded-sm
text-[#e2e8f0]
font-sans
focus:outline-none
```
---
## [COMPARE] Magic Circle 错误 vs 正确对比
以下错误示例只代表“未经过当前风格适配的通用默认值”,不要把错误示例当成视觉建议。
### 按钮
[WRONG] **错误示例**(通用组件库默认样式,不要直接复制):
```html
<button class="{GENERIC_LIBRARY_BUTTON_DEFAULT}">
点击我
</button>
```
[CORRECT] **正确示例**(使用当前风格的 token):
```html
<button class="font-serif font-semibold tracking-wide border border-[#fbbf24]/30 rounded-sm transition-all duration-500 ease-in-out bg-[#1e1b4b] text-[#fbbf24] shadow-[0_0_20px_rgba(251,191,36,0.2)]">
点击我
</button>
```
### 卡片
[WRONG] **错误示例**(未经当前风格适配的通用卡片):
```html
<div class="{GENERIC_LIBRARY_CARD_DEFAULT}">
<h3>{TITLE}</h3>
</div>
```
[CORRECT] **正确示例**(使用当前风格的 card token):
```html
<div class="bg-[#0a0920] border border-[#fbbf24]/15 rounded-sm transition-all duration-500 ease-in-out p-5 md:p-8">
<h3 class="font-serif font-bold 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-[#0a0920] border border-[#fbbf24]/15 rounded-sm text-[#e2e8f0] font-sans focus:outline-none" placeholder="{PLACEHOLDER}" />
```
---
## [TEMPLATES] Magic Circle 页面骨架模板
以下骨架只使用当前风格的 token。替换 `{PLACEHOLDER}` 时,不要移除或替换这些 token:
### 导航栏骨架
```html
<nav class="bg-[#0a0920] text-[#e2e8f0] border border-[#fbbf24]/15 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-serif font-bold tracking-wide text-xl md:text-2xl">
{LOGO_TEXT}
</a>
<div class="flex gap-4 md:gap-6 font-sans text-xs md:text-sm">
{NAV_LINKS}
</div>
</div>
</nav>
```
### Hero 区块骨架
```html
<section class="bg-[#fbbf24] text-[#e2e8f0] py-14 md:py-24 lg:py-32 px-4 md:px-8 lg:px-12">
<div class="max-w-4xl mx-auto">
<h1 class="font-serif font-bold tracking-wide text-4xl md:text-6xl lg:text-8xl">
{HEADLINE}
</h1>
<p class="font-sans text-sm md:text-base max-w-xl">
{SUBHEADLINE}
</p>
<button class="font-serif font-semibold tracking-wide border border-[#fbbf24]/30 rounded-sm transition-all duration-500 ease-in-out bg-[#1e1b4b] text-[#fbbf24] shadow-[0_0_20px_rgba(251,191,36,0.2)]">
{CTA_TEXT}
</button>
</div>
</section>
```
### 卡片网格骨架
```html
<section class="bg-[#0a0920] text-[#e2e8f0] py-14 md:py-24 lg:py-32 px-4 md:px-8 lg:px-12">
<div class="max-w-6xl mx-auto">
<h2 class="font-serif font-bold tracking-wide text-2xl md:text-4xl">{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-[#0a0920] border border-[#fbbf24]/15 rounded-sm transition-all duration-500 ease-in-out p-5 md:p-8">
<h3 class="font-serif font-bold tracking-wide text-xl md:text-2xl">{CARD_TITLE}</h3>
<p class="font-sans text-sm md:text-base text-[#e2e8f0]/40">{CARD_DESCRIPTION}</p>
</div>
</div>
</div>
</section>
```
### 表单输入骨架
```html
<input class="bg-[#0a0920] border border-[#fbbf24]/15 rounded-sm text-[#e2e8f0] font-sans focus:outline-none" placeholder="{PLACEHOLDER}" />
```
### 页脚骨架
```html
<footer class="bg-[#1e1b4b] text-[#fbbf24] py-14 md:py-24 lg:py-32 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-serif font-bold tracking-wide text-xl md:text-2xl">{LOGO_TEXT}</span>
<p class="font-sans text-xs md:text-sm">{TAGLINE}</p>
</div>
<div>
<h4 class="font-serif font-bold tracking-wide text-xl md:text-2xl">{COLUMN_TITLE}</h4>
<ul class="font-sans text-xs md:text-sm">
{FOOTER_LINKS}
</ul>
</div>
</div>
</div>
</footer>
```
---
## [CHECKLIST] Magic Circle 生成后自检清单
**输出代码前,逐项验证当前风格的 token 和规则。如有违反,先修正再交付:**
### Token 检查
- [ ] 按钮包含: `font-serif font-semibold tracking-wide border border-[#fbbf24]/30 rounded-sm transition-all duration-500 ease-in-out`
- [ ] 卡片包含: `bg-[#0a0920] border border-[#fbbf24]/15 rounded-sm transition-all duration-500 ease-in-out`
- [ ] 输入框包含: `bg-[#0a0920] border border-[#fbbf24]/15 rounded-sm text-[#e2e8f0] font-sans focus:outline-none`
### 禁止项检查
- [ ] 没有使用 `rounded-2xl`
- [ ] 没有使用 `rounded-xl`
- [ ] 没有使用 `rounded-lg`
- [ ] 没有使用 `bg-white`
- [ ] 没有使用 `bg-gray-50`
- [ ] 没有使用 `border-4`
- [ ] 没有使用 `border-8`
- [ ] 没有使用 `shadow-md`
### 风格规则检查
- [ ] Use deep dark navy backgrounds (bg-[#0a0920])
- [ ] Add concentric ring decorations around focal elements
- [ ] Use hexagonal or circular card layouts
- [ ] Apply runic inscription marks along borders
- [ ] Add golden glow radiation from center of elements
### 风格漂移检查
- [ ] 没有违反:No bright neon colors (use warm gold and cool indigo only)
- [ ] 没有违反:No brutalist style elements
- [ ] 没有违反:No pixel art aesthetics
- [ ] 没有违反:No heavy/thick borders
- [ ] 没有违反:No informal/handwritten fonts
### 通用交付检查
- [ ] 响应式布局在手机、平板和桌面下稳定,没有横向溢出
- [ ] 所有交互元素有清晰焦点、可访问名称和 reduced-motion 方案
- [ ] 文本对比度达到 WCAG AA,且没有用颜色单独传递状态
- [ ] 结果仍然能够一眼识别为 Magic Circle
---
## [EXAMPLES] 示例 Prompt
### 1. 魔法阵主题页面
同心圆环、六芒星与金色辉光的神秘几何页面
```
Use Magic Circle style to create a mystical dark-themed page:
1. Background: deep navy with sacred geometry shimmer pattern
2. Hero: concentric rotating rings around golden-glow title
3. Cards: arranged in hexagonal grid with runic inscription borders
4. Buttons: hexagon-bordered with golden glow hover radiation
5. Alchemical symbols at geometric intersection points
6. Slow-rotating ring animation suggesting ancient mechanisms
```
### 2. SaaS 着陆页
生成 魔法阵风风格的 SaaS 产品着陆页
```
Create a SaaS landing page using Magic Circle style with hero section, feature grid, testimonials, pricing table, and footer.
```
### 3. 作品集展示
生成 魔法阵风风格的作品集页面
```
Create a portfolio showcase page using Magic Circle style with project grid, about section, contact form, and consistent visual language.
```
## 绝对禁止(匹配即拒绝)
以下模式一旦出现,视为风格违规——不找借口,直接重写。
- bright neon colors (use warm gold and cool indigo only)
- brutalist style elements
- pixel art aesthetics
- heavy/thick borders
- informal/handwritten fonts
- 按钮缺少 active:scale-95(魔法施放必须有能量聚焦感)
- 环形装饰在 group-hover 时静止不动(法阵启动的核心视觉语言)
- focus:ring 缺少 focus:ring-offset-[#0a0920](深色背景下焦点环必须有偏移分离)
## 自检清单(交付前逐条确认)
如果任何一条不通过,说明风格漂移了——修改后再交付。
- [ ] 没有紫色到蓝色的渐变
- [ ] 没有使用 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 标题上面
- [ ] no bright neon colors (use warm gold and cool indigo only)
- [ ] no brutalist style elements
- [ ] no pixel art aesthetics
- [ ] no heavy/thick borders
- [ ] no informal/handwritten fonts更多提示词库:全部 UI 提示词 · Tailwind UI 提示词 · 暗色模式提示词
组件模板
Hexagon-bordered button with pulsing rune glow and Energy Convergence active state
真实前端完成度
这层检查这个风格是否已经具备真实网站常见的主题、状态反馈、键盘可访问性和性能约束。
总体覆盖
58%
Fallback 规则
暗色模式
35%
通用组件状态
79%
部分动效规则
70%
部分可访问性
70%
部分性能代价
35%
通用按钮
默认 / 悬停 / 键盘焦点 / 按下 / 禁用
输入框
默认 / 悬停 / 键盘焦点 / 禁用 / 错误
卡片
默认 / 悬停 / 键盘焦点 / 加载中 / 骨架屏
表单
默认 / 键盘焦点 / 禁用 / 加载中 / 错误
常见问题
/* Magic Circle Global Styles */
:root {
--mc-navy: #1e1b4b;
--mc-dark: #0a0920;
--mc-gold: #fbbf24;
--mc-silver: #e2e8f0;
--mc-indigo: #818cf8;
}
/* Golden glow text */
.mc-gold-glow {
text-shadow: 0 0 25px var(--mc-gold), 0 0 50px rgba(251, 191, 36, 0.2);
}
/* Concentric ring decoration */
.mc-rings {
position: relative;
}
.mc-rings::before {
content: "";
position: absolute;
inset: -20px;
border: 1px solid rgba(251, 191, 36, 0.08);
border-radius: 50%;
animation: mc-rotate 30s linear infinite;
}
.mc-rings::after {
content: "";
position: absolute;
inset: -40px;
border: 1px dashed rgba(129, 140, 248, 0.06);
border-radius: 50%;
animation: mc-rotate 45s linear infinite reverse;
}
@keyframes mc-rotate {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
/* Runic inscription border */
.mc-rune-border {
position: relative;
}
.mc-rune-border::after {
content: "--- ... --- . -- --- ...";
position: absolute;
bottom: -1px;
left: 0;
right: 0;
text-align: center;
font-size: 8px;
letter-spacing: 4px;
color: rgba(251, 191, 36, 0.15);
pointer-events: none;
}
/* Sacred geometry shimmer */
.mc-sacred-bg {
background-image:
radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.03) 0%, transparent 50%),
radial-gradient(circle at 25% 25%, rgba(129, 140, 248, 0.02) 0%, transparent 40%),
radial-gradient(circle at 75% 75%, rgba(129, 140, 248, 0.02) 0%, transparent 40%);
}
/* Center glow radiation */
.mc-center-glow {
background: radial-gradient(
circle at 50% 50%,
rgba(251, 191, 36, 0.08) 0%,
rgba(251, 191, 36, 0.02) 40%,
transparent 70%
);
}相关风格
探索这些风格获取现成的 tokens 和组件。
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 的技能包
Magic Circle draws from the arcane tradition of geometric summoning circles, weaving precision geometry with radiant light effects.
基于颜色对比度和排版可读性的 WCAG 2.1 合规分析。
综合评分
等级: C - 一般
对比度
| 场景 | 颜色 | 比率 | AA | AAA |
|---|---|---|---|---|
| Text on background | /#e2e8f0 / #0a0920 | 15.88:1 | ||
| Secondary text on background | /#fbbf24 / #0a0920 | 11.73:1 | ||
| Muted text on background | /#e2e8f0 / #0a0920 | 15.88:1 | ||
| Text on secondary background | /#e2e8f0 / #1e1b4b | 12.97:1 | ||
| Secondary text on secondary | /#fbbf24 / #1e1b4b | 9.58:1 | ||
| Button primary | /#fbbf24 / #1e1b4b | 9.58:1 | ||
| Text on accent 1 | /#e2e8f0 / #fbbf24 | 1.35:1 | ||
| Alt text on accent 1 | /#fbbf24 / #fbbf24 | 1:1 | ||
| Text on accent 2 | /#e2e8f0 / #818cf8 | 2.42:1 | ||
| Alt text on accent 2 | /#fbbf24 / #818cf8 | 1.79:1 | ||
| Text on accent 3 | /#e2e8f0 / #e2e8f0 | 1:1 | ||
| Alt text on accent 3 | /#fbbf24 / #e2e8f0 | 1.35:1 |
可读性
分数
90/100
字号
text-sm md:text-base
字重
font-serif font-bold tracking-wide
行高
default
评分基于 WCAG 2.1 标准。AA 级要求普通文本对比度 4.5:1、大文本 3:1;AAA 级要求普通文本 7:1、大文本 4.5:1。