Gothic

哥特式风

D
50/100Poor
Rate this style

Medieval Gothic architectural aesthetics -- pointed arches, rose windows, manuscript decorations, and cathedral atmosphere. Deep purple and blood red palette with gold ornamental lines, filled with dark and solemn mystery.

gothic designgothic aestheticmedievalblackletter fontgothic architectureilluminated manuscriptornamental borderrose windowdark moody palettedark romanticism
View Full Showcase →
Templates

Best For

gothic design / gothic aesthetic / medieval

Primary Move

Use deep purple, blood red, and black as primary colors

Watch Out

Do not use bright cheerful colors

AI Implementation

Copy the Hard Prompt first, then use the spec when needed

Use the Hard Prompt by default to generate UI. Use the Design Spec to understand, modify, and review the style. Use the Creative Brief for early exploration.

Hard Prompt

Use this by default: copy it, append the concrete requirement, and let AI generate consistent production UI.

When to use

  • When AI should generate UI directly
  • When repeated outputs must stay consistent
  • When style drift is the main risk

How to use

  • Copy the full prompt
  • Append the concrete requirement
  • Review against forbidden rules and UI states
STYLEKIT_STYLE_REFERENCE
style_name: Gothic
style_slug: gothic
style_source: /styles/gothic

# Hard Prompt

## When To Use
Use this when you want AI to generate code with strict style consistency. It is the safest default for production UI.

## How To Use
- Copy the full prompt into ChatGPT, Claude, Cursor, or another coding assistant.
- Append the concrete product/page requirement after the prompt.
- After generation, check the forbidden rules and interaction states before accepting the output.

Strictly follow the style rules below and maintain consistency. No style drift allowed.

## Requirements

- Prioritize style consistency first, then creative extension.
- When conflicts arise, treat prohibitions as the highest priority.
- Self-check before output: verify colors, typography, spacing, and interactions still match this style.

## Style Rules

You are a Gothic design style frontend development expert. All generated code must strictly follow these constraints:

## Absolutely Forbidden

- Bright white backgrounds
- Cheerful, cute design elements
- Sans-serif fonts for main headings
- Large rounded corners

## Must Follow

- Deep purple, blood red, black palette bg-[#2d1b4e], bg-[#8b1a1a], bg-[#0a0a0a]
- Gold decorations text-[#c9a227], border-[#c9a227]
- Serif fonts font-serif
- Dark backgrounds bg-[#0a0a0a]
- Intricate border decorations

## Color Palette

Primary:
- Deep Purple: #2d1b4e
- Blood Red: #8b1a1a
- Pure Black: #0a0a0a
- Gold: #c9a227

## Special Elements

- Pointed arch shapes
- Gold ornamental lines
- Intricate borders
- Rose window patterns

## Animation & Interaction Rules

- Cathedral Weight: No frivolous bouncing or rapid displacement; interactions should focus on slow changes in light, shadow, and color gradation.
- Divine Illumination: Gold borders and text slowly intensify their glow on hover, simulating candlelight and divine halos.
- Stone Mechanism: `:active` enhances press resistance through deep inner shadows rather than conventional scale feedback.
- Eternal Slowness: Animations should use `duration-500` to `duration-700` with `ease-in-out`, maintaining solemn gravitas.

---

# Gothic Design System

> Medieval Gothic architectural aesthetics -- pointed arches, rose windows, manuscript decorations, and cathedral atmosphere. Deep purple and blood red palette with gold ornamental lines, filled with dark and solemn mystery.

## Design Philosophy

Gothic design draws inspiration from late medieval cathedral architecture and manuscript illumination art, emphasizing vertical lines, pointed arch structures, and intricate decorative patterns.

Core principles:
- Cathedral aesthetics: The structural beauty of pointed arches, flying buttresses, and rose windows
- Dark solemnity: Deep tones create a mysterious and solemn atmosphere
- Gold accents: Gold ornamental lines and details highlight a sense of luxury
- Manuscript style: Elaborate decorative borders and calligraphic lettering

---

## Token Dictionary (exact class mapping)

### Border
```
Width: border-2
Color: border-[#c9a227]/40
Radius: rounded-none
```

### 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)]
hover: hover:shadow-[0_6px_24px_rgba(201,162,39,0.4)]
focus: focus:shadow-[0_0_16px_rgba(201,162,39,0.3)]
```

### Interaction
```
Hover translate: (none)
Hover scale: hover:scale-[1.02]
Hover opacity: (none)
Transition: transition-all duration-300 ease-in-out
Active: active:scale-95
```

### Typefaces
```
Heading: font-serif tracking-wider uppercase
Body: font-serif
Mono: font-mono
```

### Type scale
```
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
Gap md: gap-4 md:gap-6
Gap lg: gap-6 md:gap-10
```

### Color roles
```
Background primary: bg-[#0a0a0a]
Background secondary: bg-[#2d1b4e]
Background accent: bg-[#8b1a1a], bg-[#c9a227], bg-[#4a2d6e]
Text primary: text-[#c9a227]
Text secondary: text-[#8b1a1a]
Text muted: text-[#c9a227]/50
Button primary: bg-[#2d1b4e] text-[#c9a227] border-2 border-[#c9a227]/60
Button secondary: bg-[#0a0a0a] text-[#8b1a1a] border-2 border-[#8b1a1a]/60
```

---

## [FORBIDDEN]

These classes are banned in this style. Check for them before returning code:

### Banned 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_`

### Banned patterns
- matches `^rounded-(?:full|xl|2xl|3xl)$`
- matches `^bg-(?:white|gray-|pink-|green-|blue-)`
- matches `^text-(?:pink-|green-|blue-)`

### Why they are banned
- `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

> WARNING: if your code contains any of the above, replace it before shipping.

---

## [REQUIRED]

### Every button must include
```
border-2
border-[#c9a227]/60
font-serif
transition-all duration-300 ease-in-out
```

### Every card must include
```
bg-[#0a0a0a]/90
border-2 border-[#c9a227]/40
shadow-[0_4px_20px_rgba(10,10,10,0.8)]
```

### Every input must include
```
border-2 border-[#c9a227]/30
bg-[#0a0a0a]/80
text-[#c9a227]
font-serif
focus:border-[#c9a227]
focus:outline-none
```

---

## [COMPARE] Gothic wrong vs right

The wrong examples below stand for generic library defaults that were never adapted to this style. Do not read them as visual suggestions.

### Button

[WRONG] **Wrong** (generic component library default, do not copy):
```html
<button class="{GENERIC_LIBRARY_BUTTON_DEFAULT}">
  Click me
</button>
```

[CORRECT] **Right** (uses this style's tokens):
```html
<button class="border-2 border-[#c9a227]/60 font-serif transition-all duration-300 ease-in-out bg-[#2d1b4e] text-[#c9a227] border-2 border-[#c9a227]/60">
  Click me
</button>
```

### Card

[WRONG] **Wrong** (generic card, not adapted to this style):
```html
<div class="{GENERIC_LIBRARY_CARD_DEFAULT}">
  <h3>{TITLE}</h3>
</div>
```

[CORRECT] **Right** (uses this style's card tokens):
```html
<div class="bg-[#0a0a0a]/90 border-2 border-[#c9a227]/40 shadow-[0_4px_20px_rgba(10,10,10,0.8)] p-5 md:p-8">
  <h3 class="font-serif tracking-wider uppercase text-xl md:text-2xl">{TITLE}</h3>
</div>
```

### Input

[WRONG] **Wrong** (generic input, not adapted to this style):
```html
<input class="{GENERIC_LIBRARY_INPUT_DEFAULT}" />
```

[CORRECT] **Right** (uses this style's input tokens):
```html
<input class="border-2 border-[#c9a227]/30 bg-[#0a0a0a]/80 text-[#c9a227] font-serif focus:border-[#c9a227] focus:outline-none" placeholder="{PLACEHOLDER}" />
```

---

## [TEMPLATES] Gothic page skeletons

These skeletons use this style's tokens only. Replace `{PLACEHOLDER}` values, but keep every token in place:

### Navigation
```html
<nav class="bg-[#0a0a0a] text-[#c9a227] border-2 border-[#c9a227]/40 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 tracking-wider uppercase text-xl md:text-2xl">
      {LOGO_TEXT}
    </a>
    <div class="flex gap-4 md:gap-6 font-serif text-xs md:text-sm">
      {NAV_LINKS}
    </div>
  </div>
</nav>
```

### Hero section
```html
<section class="bg-[#8b1a1a] text-[#c9a227] 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-serif tracking-wider uppercase text-4xl md:text-6xl lg:text-8xl">
      {HEADLINE}
    </h1>
    <p class="font-serif text-sm md:text-base max-w-xl">
      {SUBHEADLINE}
    </p>
    <button class="border-2 border-[#c9a227]/60 font-serif transition-all duration-300 ease-in-out bg-[#2d1b4e] text-[#c9a227] border-2 border-[#c9a227]/60">
      {CTA_TEXT}
    </button>
  </div>
</section>
```

### Card grid
```html
<section class="bg-[#0a0a0a] text-[#c9a227] 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-serif tracking-wider uppercase 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-[#0a0a0a]/90 border-2 border-[#c9a227]/40 shadow-[0_4px_20px_rgba(10,10,10,0.8)] p-5 md:p-8">
        <h3 class="font-serif tracking-wider uppercase text-xl md:text-2xl">{CARD_TITLE}</h3>
        <p class="font-serif text-sm md:text-base text-[#c9a227]/50">{CARD_DESCRIPTION}</p>
      </div>
    </div>
  </div>
</section>
```

### Form input
```html
<input class="border-2 border-[#c9a227]/30 bg-[#0a0a0a]/80 text-[#c9a227] font-serif focus:border-[#c9a227] focus:outline-none" placeholder="{PLACEHOLDER}" />
```

### Footer
```html
<footer class="bg-[#2d1b4e] text-[#8b1a1a] 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-serif tracking-wider uppercase text-xl md:text-2xl">{LOGO_TEXT}</span>
        <p class="font-serif text-xs md:text-sm">{TAGLINE}</p>
      </div>
      <div>
        <h4 class="font-serif tracking-wider uppercase text-xl md:text-2xl">{COLUMN_TITLE}</h4>
        <ul class="font-serif text-xs md:text-sm">
          {FOOTER_LINKS}
        </ul>
      </div>
    </div>
  </div>
</footer>
```

---

## [CHECKLIST] Gothic post-generation self check

**Before returning code, verify every token and rule below. Fix any violation before delivering:**

### Token check
- [ ] Button includes: `border-2 border-[#c9a227]/60 font-serif transition-all duration-300 ease-in-out`
- [ ] Card includes: `bg-[#0a0a0a]/90 border-2 border-[#c9a227]/40 shadow-[0_4px_20px_rgba(10,10,10,0.8)]`
- [ ] Input includes: `border-2 border-[#c9a227]/30 bg-[#0a0a0a]/80 text-[#c9a227] font-serif focus:border-[#c9a227] focus:outline-none`

### Forbidden check
- [ ] Not using `rounded-full`
- [ ] Not using `rounded-xl`
- [ ] Not using `rounded-2xl`
- [ ] Not using `rounded-3xl`
- [ ] Not using `bg-white`
- [ ] Not using `bg-gray-50`
- [ ] Not using `bg-gray-100`
- [ ] Not using `text-pink-`

### Style rule check
- [ ] Use deep purple, blood red, and black as primary colors
- [ ] Add gold ornamental lines and borders
- [ ] Use serif fonts to convey classical feel
- [ ] Create a dark, mysterious atmosphere
- [ ] Use pointed arch shapes and Gothic patterns

### Style drift check
- [ ] Does not violate: Do not use bright cheerful colors
- [ ] Does not violate: Do not use round cute elements
- [ ] Does not violate: Do not use modern sans-serif fonts for main headings
- [ ] Does not violate: Do not use overly minimalist design
- [ ] Does not violate: Do not use rapid jitter, elastic bounce, or other frivolous animations

### Delivery check
- [ ] Responsive layout holds on phone, tablet and desktop with no horizontal overflow
- [ ] Every interactive element has a visible focus state, an accessible name and a reduced-motion path
- [ ] Text contrast meets WCAG AA and colour alone never carries state
- [ ] The result is still recognizable at a glance as Gothic

## Absolute Bans (Match and Refuse)

If any of the following patterns appear, it is a style violation — rewrite without exception.

- use bright cheerful colors
- use round cute elements
- use modern sans-serif fonts for main headings
- use overly minimalist design
- use rapid jitter, elastic bounce, or other frivolous animations

## Self-Check (Verify Before Shipping)

If any item fails, the style has drifted — fix before shipping.

- [ ] No purple-to-blue gradients
- [ ] No overused fonts (Inter, Roboto, Geist, Fraunces, Plus Jakarta Sans)
- [ ] No nested cards (cards inside cards)
- [ ] No gray text on colored backgrounds
- [ ] Body text contrast meets WCAG AA (>= 4.5:1)
- [ ] No bounce or elastic easing curves
- [ ] Animations have a prefers-reduced-motion fallback
- [ ] Body text line length capped at 65-75 characters
- [ ] No side-stripe accent borders (border-left/right > 1px)
- [ ] No gradient text (background-clip: text)
- [ ] No glassmorphism used as the default surface treatment
- [ ] No tiny uppercase tracked eyebrow labels above every section heading
- [ ] do not use bright cheerful colors
- [ ] do not use round cute elements
- [ ] do not use modern sans-serif fonts for main headings
- [ ] do not use overly minimalist design
- [ ] do not use rapid jitter, elastic bounce, or other frivolous animations

More prompt libraries: All UI Prompts · Tailwind UI Prompts · Dark Mode UI Prompts

Community

Ratings & Feedback

No ratings yet - be the firstSign in to rate

Loading comments…

Component Templates

Component Preview

按钮

哥特式风格按钮

Frontend Readiness

Dark Mode, States, Motion, and Accessibility

This layer tracks whether the style is ready for real websites: theme modes, state feedback, keyboard access, and performance constraints.

Overall

51%

Fallback

Dark Mode

0%

Missing

UI States

79%

Partial

Motion

70%

Partial

A11y

70%

Partial

Performance

35%

Fallback

Key State Coverage

light
HoverFocus VisibleDisabledLoadingEmptyErrorSuccess

Button

Default / Hover / Focus Visible / Active / Disabled

Input

Default / Hover / Focus Visible / Disabled / Error

Card

Default / Hover / Focus Visible / Loading / Skeleton

Form

Default / Focus Visible / Disabled / Loading / Error

Implementation Notes

  • No curated dark-mode contract exists yet.
  • Check contrast in both light and dark modes.
  • Check heavy shadows, blur, large media, and scroll-linked effects manually.
  • No style-specific performance cost profile has been curated yet.

FAQ

Gothic — Frequently Asked Questions

What is the Gothic design style?
Medieval Gothic architectural aesthetics -- pointed arches, rose windows, manuscript decorations, and cathedral atmosphere. Deep purple and blood red palette with gold ornamental lines, filled with dark and solemn mystery. Its core principle: Gothic design draws inspiration from late medieval cathedral architecture and manuscript illumination art, emphasizing vertical lines, pointed arch structures, and intricate decorative patterns.
What colors does Gothic use?
Gothic uses #2d1b4e as its primary color and #8b1a1a as its secondary color, with accent colors #c9a227, #0a0a0a, #4a2d6e, #4bc542. Every hex value can be copied from the palette on this page.
How do I apply Gothic correctly?
Key practices: Use deep purple, blood red, and black as primary colors. Add gold ornamental lines and borders. Use serif fonts to convey classical feel.
What are common mistakes with Gothic?
Avoid: Do not use bright cheerful colors. Do not use round cute elements. Do not use modern sans-serif fonts for main headings.
How do I prompt AI to generate Gothic UI?
Copy the ready-made AI prompt on this page — it bundles the design tokens and component rules — and paste it into ChatGPT, Claude, Claude Code, or Codex. Effective prompts include the keywords: gothic design, gothic aesthetic, medieval, blackletter font.
Global Styles

Global CSS

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;
}

IDE Integration

IDE Configuration Export

Download configuration files for AI coding assistants to generate code in this style.

Style Pack

Export Style Pack

Get complete machine-readable style assets including design tokens, Tailwind presets, CSS variables, and shadcn/ui themes.

Metadata

Style metadata including version information

Design Tokens

Compatible with Figma / Style Dictionary / Tokens Studio

Tailwind Preset

Tailwind CSS theme preset, import directly in config

Global CSS

CSS variables and base styles

shadcn Theme

shadcn/ui theme configuration

CSS Variables

Pure CSS variables, works with any project

SKILL.md

Loadable skill pack for Cursor / Claude Code / VS Code

Design Philosophy

Gothic design draws inspiration from late medieval cathedral architecture and manuscript illumination art, emphasizing vertical lines, pointed arch structures, and intricate decorative patterns.

Accessibility

Accessibility Score

WCAG 2.1 compliance analysis based on color contrast and typography readability.

50

Overall Score

Grade: D - Poor

Contrast Ratios

Score: 38/100Average Ratio: 4.02:1
AA FailAAA Fail
ContextColorsRatioAAAAA
Text on background
/#c9a227 / #0a0a0a
8.18:1
Secondary text on background
/#8b1a1a / #0a0a0a
2.13:1
Muted text on background
/#c9a227 / #0a0a0a
8.18:1
Text on secondary background
/#c9a227 / #2d1b4e
6.3:1
Secondary text on secondary
/#8b1a1a / #2d1b4e
1.64:1
Button primary
/#c9a227 / #2d1b4e
6.3:1
Text on accent 1
/#c9a227 / #8b1a1a
3.84:1
Alt text on accent 1
/#8b1a1a / #8b1a1a
1:1
Text on accent 2
/#c9a227 / #c9a227
1:1
Alt text on accent 2
/#8b1a1a / #c9a227
3.84:1
Text on accent 3
/#c9a227 / #4a2d6e
4.59:1
Alt text on accent 3
/#8b1a1a / #4a2d6e
1.19:1

Readability

Score

77/100

Font Size

text-sm md:text-base

Font Weight

font-serif tracking-wider uppercase

Line Height

default

Scoring is based on WCAG 2.1 standards. AA requires 4.5:1 contrast for normal text, 3:1 for large text; AAA requires 7:1 for normal text, 4.5:1 for large text.