返回风格库
视觉风格retro

哥特式风

Gothic

中世纪哥特建筑美学,尖拱、玫瑰窗、手抄本装饰、大教堂氛围。深紫与血红配色,金色装饰线条,充满黑暗而庄严的神秘气息。

哥特式风视觉预览
主色#2d1b4e
次色#8b1a1a
强调色 1#c9a227
强调色 2#0a0a0a
强调色 3#4a2d6e
强调色 4#4bc542

AI 实现规则

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

## 绝对禁止

- 使用明亮的白色背景
- 使用欢快、可爱的设计元素
- 使用无衬线字体作为主标题
- 使用圆润的大圆角

## 必须遵守

- 深紫血红黑色配色 bg-[#2d1b4e], bg-[#8b1a1a], bg-[#0a0a0a]
- 金色装饰 text-[#c9a227], border-[#c9a227]
- 衬线字体 font-serif
- 深色背景 bg-[#0a0a0a]
- 精致边框装饰

## 配色

主色调:
- 深紫: #2d1b4e
- 血红: #8b1a1a
- 纯黑: #0a0a0a
- 金色: #c9a227

## 特殊元素

- 尖拱形状
- 金色装饰线
- 精致边框
- 玫瑰窗图案

## Animation & Interaction Rules

- Cathedral Weight: 禁止轻浮弹跳或快速位移,交互应以光影与色阶的缓慢变化为主。
- Divine Illumination: 金色边框与文字在 hover 时缓慢增强发光,模拟烛火与神圣光晕。
- Stone Mechanism: `:active` 通过深色内阴影增强按压阻尼感,而非常规缩放反馈。
- Eternal Slowness: 动画建议 `duration-500` 到 `duration-700` 搭配 `ease-in-out`,维持庄严厚重气质。

## Layout & Spacing
- Section padding: py-16 md:py-24
- Card padding: p-6 md:p-8
- Gap between cards: gap-6 md:gap-8
- Max content width: max-w-6xl mx-auto

## Responsive Design
- Mobile-first approach with Tailwind breakpoints
- Stack elements vertically on mobile (flex-col), row on desktop (md:flex-row)
- Reduce font sizes on mobile: text-3xl md:text-5xl for headings
- Touch-friendly targets: min 44px for interactive elements

## Self-Check Verification
After generating code, verify:
1. All interactive elements have hover/focus/active states
2. Color contrast meets WCAG 2.1 AA (4.5:1 for text)
3. Layout is responsive across breakpoints
4. Typography hierarchy is clear (h1 > h2 > h3 > body)
5. Spacing is consistent using the defined scale
6. All animations respect prefers-reduced-motion

组件预览与实现

font-serif uppercase tracking-widest border-2 transition-all duration-300 ease-in-out bg-[#2d1b4e] text-[#c9a227] border-[#c9a227]/60 shadow-[0_4px_16px_rgba(45,27,78,0.6)] hover:shadow-[0_6px_24px_rgba(201,162,39,0.4)] hover:border-[#c9a227] active:scale-95
button

按钮

哥特式风格按钮

<button className="
  px-10 py-4
  bg-[#0a0a0a]
  border border-[#c9a227]/40
  text-[#c9a227] font-serif uppercase tracking-[0.2em]
  shadow-[0_4px_20px_rgba(10,10,10,0.9),inset_0_0_0_1px_rgba(201,162,39,0.1)]
  hover:bg-[#2d1b4e]/30
  hover:border-[#c9a227]
  hover:text-[#dfc266]
  hover:shadow-[0_0_30px_rgba(201,162,39,0.2),inset_0_0_10px_rgba(201,162,39,0.1)]
  active:bg-[#000000]
  active:shadow-[inset_0_10px_20px_rgba(0,0,0,0.9)]
  transition-all duration-700 ease-in-out
">
  Enter Sanctum
</button>
card

卡片

哥特式风格卡片

<div className="group relative p-10
  bg-gradient-to-b from-[#111111] to-[#0a0a0a]
  border border-[#c9a227]/20
  shadow-[0_10px_40px_rgba(0,0,0,0.9)]
  hover:border-[#c9a227]/60
  hover:shadow-[0_0_40px_rgba(45,27,78,0.6)]
  transition-all duration-700 ease-in-out
  overflow-hidden
">
  <div className="absolute top-0 left-0 w-8 h-8 border border border-[#c9a227]/10 group-hover:border-[#c9a227]/80 transition-colors duration-700" />
  <div className="absolute top-0 right-0 w-8 h-8 border border border-[#c9a227]/10 group-hover:border-[#c9a227]/80 transition-colors duration-700" />

  <h3 className="text-3xl font-serif text-[#c9a227]/80 mb-4 tracking-widest uppercase group-hover:text-[#dfc266] group-hover:drop-shadow-[0_0_8px_rgba(201,162,39,0.4)] transition-all duration-700">
    CATHEDRAL
  </h3>
  <div className="w-12 h-px bg-[#8b1a1a]/50 mb-6 group-hover:w-full group-hover:bg-[#8b1a1a] transition-all duration-1000 ease-in-out" />
  <p className="text-[#c9a227]/50 font-serif leading-relaxed group-hover:text-[#c9a227]/80 transition-colors duration-700">
    In the shadow of the spire, where crimson light bleeds through rose windows onto the cold marble floor.
  </p>
</div>
input

输入框

哥特式风格输入框

<input
  type="text"
  placeholder="Inscribe here..."
  className="
    w-full px-6 py-4
    bg-[#0a0a0a]/80
    border-2 border-[#c9a227]/30
    text-[#c9a227] placeholder-[#c9a227]/30
    font-serif
    focus:border-[#c9a227]
    focus:shadow-[0_0_16px_rgba(201,162,39,0.3)]
    focus:outline-none
    transition-all
  "
/>
hero

Hero 区块

哥特式风格 Hero

<section className="
  min-h-screen
  flex items-center justify-center
  bg-gradient-to-b from-[#0a0a0a] via-[#2d1b4e] to-[#0a0a0a]
  relative overflow-hidden
">
  <div className="absolute inset-0 opacity-10 bg-[radial-gradient(circle_at_50%_30%,#c9a227_0%,transparent_60%)]" />

  <div className="relative z-10 text-center px-6">
    <h1 className="text-6xl md:text-8xl font-serif text-[#c9a227] mb-6 tracking-wider">
      GOTHIC
    </h1>
    <p className="text-xl text-[#c9a227]/60 font-serif mb-8">
      In tenebris lux
    </p>
    <button className="
      px-10 py-4
      bg-[#2d1b4e]
      border-2 border-[#c9a227]/60
      text-[#c9a227] font-serif uppercase tracking-widest
      shadow-[0_4px_16px_rgba(45,27,78,0.6)]
      hover:shadow-[0_6px_24px_rgba(201,162,39,0.4)]
      transition-all
    ">
      Explore
    </button>
  </div>
</section>

交互展示

适用范围与设计理念

应用场景

creativeeditorial

视觉关键词

retrohigh-contrast哥特中世纪大教堂尖拱玫瑰窗黑暗神秘retrovintagenostalgic

Gothic(哥特式)设计灵感源自中世纪晚期的大教堂建筑和手抄本装饰艺术,强调垂直线条、尖拱结构和精致的装饰纹样。

核心理念:

- 大教堂美学:尖拱、飞扶壁和玫瑰窗的结构之美

- 黑暗庄严:深色调营造神秘而肃穆的氛围

- 金色点缀:以金色装饰线条和细节突出奢华感

- 手抄本风格:繁复的装饰边框和花体字

设计原则:

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

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

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

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

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

应该这样做

  • 使用深紫、血红、黑色为主色调
  • 添加金色装饰线条和边框
  • 使用衬线字体传达古典感
  • 营造黑暗、神秘的氛围
  • 使用尖拱形状和哥特式图案
  • 添加精致的装饰纹样
  • 交互以缓慢光影增强为主,保持庄严厚重感

避免这样做

  • 禁止使用明亮欢快的配色
  • 禁止使用圆润可爱的元素
  • 禁止使用现代无衬线字体作为主标题
  • 禁止使用过于简约的设计
  • 禁止快速抖动、弹性跳动等轻浮动效

全局 CSS

/* Gothic 全局样式 */

:root {
  --gothic-purple: #2d1b4e;
  --gothic-blood: #8b1a1a;
  --gothic-black: #0a0a0a;
  --gothic-gold: #c9a227;
}

/* 金色发光 */
.gothic-glow {
  text-shadow:
    0 0 10px var(--gothic-gold),
    0 0 20px rgba(201, 162, 39, 0.3);
}

/* 尖拱装饰 */
.gothic-arch {
  clip-path: polygon(0 100%, 0 20%, 50% 0, 100% 20%, 100% 100%);
}

/* 装饰边框 */
.gothic-border {
  border: 2px solid rgba(201, 162, 39, 0.4);
  box-shadow: inset 0 0 20px rgba(10, 10, 10, 0.8);
}

/* 玫瑰窗装饰 */
.gothic-rose-window {
  background: radial-gradient(
    circle,
    var(--gothic-purple) 20%,
    var(--gothic-blood) 40%,
    var(--gothic-black) 60%
  );
}
@keyframes gothic-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.gothic-card {
  position: relative;
  overflow: hidden;
}

.gothic-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: linear-gradient(135deg, rgba(45, 27, 78, 0.05), transparent);
  pointer-events: none;
}

.gothic-card:hover::before {
  opacity: 1;
}

.gothic-frosted {
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  background: rgba(45, 27, 78, 0.08);
}

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

布局、色板与 Tokens

主色#2d1b4e
次色#8b1a1a
强调色 1#c9a227
强调色 2#0a0a0a
强调色 3#4a2d6e
强调色 4#4bc542
{
  "border": {
    "width": "border-2",
    "color": "border-[#c9a227]/40",
    "radius": "rounded-none",
    "style": "border-solid"
  },
  "shadow": {
    "sm": "shadow-[0_2px_8px_rgba(10,10,10,0.6)]",
    "md": "shadow-[0_4px_16px_rgba(10,10,10,0.7)]",
    "lg": "shadow-[0_8px_30px_rgba(10,10,10,0.8)]",
    "none": "shadow-none",
    "hover": "hover:shadow-[0_6px_24px_rgba(201,162,39,0.4)]",
    "focus": "focus:shadow-[0_0_16px_rgba(201,162,39,0.3)]",
    "colored": {
      "gold": "shadow-[0_4px_20px_rgba(201,162,39,0.3)]",
      "blood": "shadow-[0_4px_20px_rgba(139,26,26,0.3)]",
      "purple": "shadow-[0_4px_20px_rgba(45,27,78,0.4)]"
    }
  },
  "interaction": {
    "transition": "transition-all duration-300 ease-in-out",
    "active": "active:scale-95",
    "hoverScale": "hover:scale-[1.02]"
  },
  "typography": {
    "heading": "font-serif tracking-wider uppercase",
    "body": "font-serif",
    "mono": "font-mono",
    "sizes": {
      "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",
      "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-[#0a0a0a]",
      "secondary": "bg-[#2d1b4e]",
      "accent": [
        "bg-[#8b1a1a]",
        "bg-[#c9a227]",
        "bg-[#4a2d6e]"
      ]
    },
    "text": {
      "primary": "text-[#c9a227]",
      "secondary": "text-[#8b1a1a]",
      "muted": "text-[#c9a227]/50"
    },
    "button": {
      "primary": "bg-[#2d1b4e] text-[#c9a227] border-2 border-[#c9a227]/60",
      "secondary": "bg-[#0a0a0a] text-[#8b1a1a] border-2 border-[#8b1a1a]/60",
      "danger": "bg-[#8b1a1a] text-[#c9a227]"
    }
  },
  "forbidden": {
    "classes": [
      "rounded-full",
      "rounded-xl",
      "rounded-2xl",
      "rounded-3xl",
      "bg-white",
      "bg-gray-50",
      "bg-gray-100",
      "text-pink-",
      "text-green-",
      "text-blue-",
      "bg-pink-",
      "bg-green-",
      "bg-blue-",
      "shadow-[0_0_"
    ],
    "patterns": [
      "^rounded-(?:full|xl|2xl|3xl)$",
      "^bg-(?:white|gray-|pink-|green-|blue-)",
      "^text-(?:pink-|green-|blue-)"
    ],
    "reasons": {
      "rounded-full": "Gothic uses sharp angular edges, not rounded shapes",
      "bg-white": "Gothic uses dark backgrounds, never bright white",
      "text-pink-": "Gothic uses gold, blood red, and deep purple, not pink"
    }
  },
  "required": {
    "button": [
      "border-2",
      "border-[#c9a227]/60",
      "font-serif",
      "transition-all duration-300 ease-in-out"
    ],
    "card": [
      "bg-[#0a0a0a]/90",
      "border-2 border-[#c9a227]/40",
      "shadow-[0_4px_20px_rgba(10,10,10,0.8)]"
    ],
    "input": [
      "border-2 border-[#c9a227]/30",
      "bg-[#0a0a0a]/80",
      "text-[#c9a227]",
      "font-serif",
      "focus:border-[#c9a227]",
      "focus:outline-none"
    ]
  }
}

示例提示词

中世纪图书馆页面

哥特式风格图书馆目录

用 Gothic 风格创建一个中世纪图书馆页面,要求:
1. 背景:深色渐变
2. 标题:金色衬线字体
3. 卡片:深色背景配金色边框
4. 添加尖拱形装饰元素
5. 整体庄严神秘感

SaaS 着陆页

生成 哥特式风风格的 SaaS 产品着陆页

Create a SaaS landing page using Gothic style with hero section, feature grid, testimonials, pricing table, and footer.

作品集展示

生成 哥特式风风格的作品集页面

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