HomeStylesTemplates
StyleKit
StylesTemplates
  1. Home
  2. /Styles
  3. /Witchcore
Style Catalog/巫术核心

巫术核心

Witchcore

D
46/100Poor

Occult aesthetic style with tarot cards, moon phase symbols, crystals, and herbal elements. Deep purple tones paired with golden mystical runes and shimmering stardust effects on dark backgrounds.

巫术神秘塔罗月相水晶符文暗黑expressiveboldvibrant
View Full Showcase →Templates

Best For

巫术 / 神秘 / 塔罗

Primary Move

Use deep purple to midnight black gradient backgrounds bg-gradient-to-b from-[#4a1942] to-[#0d0b14]

Watch Out

Do not use bright white or light gray backgrounds

Showcase Entry

Live preview of the showcase page. Click to explore the full experience.

View Full Showcase →

Color Palette

Primary

#4a1942

Secondary

#0d0b14

Accent 1

#c9a74e

Accent 2

#7b68ae

Accent 3

#3d8b6e

Accent 4

#6bc15e

AI ImplementationComponent PreviewReadinessExportsRatings & Feedback

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: Witchcore
style_slug: witchcore
style_source: /styles/witchcore

# 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
STYLE: Witchcore
TYPE: Occult mystical interface

MUST USE:
- Dark backgrounds: bg-[#0d0b14] or bg-[#4a1942]
- Gold rune text: text-[#c9a74e]
- Text glow: style={{textShadow: '0 0 10px rgba(201,167,78,0.3)'}}
- Glowing gold borders: border border-[#c9a74e]/30
- Serif fonts: font-serif for all text
- uppercase tracking-wider for labels
- Amethyst secondary: text-[#7b68ae]
- Herb green accent: text-[#3d8b6e]

MUST AVOID:
- Light/white backgrounds
- Neon/high-saturation modern colors
- Sans-serif fonts for headings
- Regular shadows (shadow-md)
- Rounded/cute elements (rounded-full)
- Bright cheerful gradients

COLOR RULES:
- Primary: Mystic purple (#4a1942)
- Secondary: Midnight (#0d0b14)
- Gold rune: #c9a74e
- Amethyst: #7b68ae
- Herb green: #3d8b6e

SPECIAL EFFECTS:
- Stardust particle overlays
- Rune glow pulsing animation
- Moon phase symbols as decorative elements
- Radial gradient for mystical light sources

ANIMATION & INTERACTION RULES:
- Ritual Levitation: Cards and primary elements must NOT bounce quickly. Use extremely slow upfloat (hover:-translate-y-2) with duration-1000 ease-in-out. Simulate the feeling of ritual levitation, not a spring.
- Occult Glow: On hover, the gold rune glow (text-shadow or box-shadow using #c9a74e) must expand and pulse as if imbued with magic. Use drop-shadow CSS filter on headings for text glow enhancement.
- Shadow Engulf: On dark backgrounds (#0d0b14), hover should expand a deep purple/amethyst outer glow outward, simulating dark matter or mystical fog spreading.
- Talisman Press: On :active, cancel the glow and add a deep inset shadow (active:shadow-[inset_0_0_20px_rgba(0,0,0,0.8)]) plus slight downward translate (active:translate-y-1), simulating pressing a heavy talisman or ritual object.

Component Templates

Component Preview

按钮

巫术核心风格的符文按钮

// Rune Primary // Rune Filled // Amethyst Variant

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.
Global Styles

Global CSS

css
/* Witchcore Global Styles */
@layer base {
  body {
    @apply bg-[#0d0b14] text-[#c9a74e]/80 antialiased;
    font-family: Georgia, 'Times New Roman', serif;
  }

  h1, h2, h3 {
    text-shadow: 0 0 12px rgba(201, 167, 78, 0.3);
  }

  ::selection {
    @apply bg-[#4a1942] text-[#c9a74e];
  }
}

/* Stardust background */
.witchcore-stardust {
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(201, 167, 78, 0.3), transparent),
    radial-gradient(1px 1px at 30% 60%, rgba(123, 104, 174, 0.2), transparent),
    radial-gradient(1px 1px at 70% 40%, rgba(201, 167, 78, 0.2), transparent),
    radial-gradient(1px 1px at 90% 80%, rgba(61, 139, 110, 0.2), transparent);
}

@keyframes rune-pulse {
  0%, 100% { opacity: 1; text-shadow: 0 0 8px rgba(201, 167, 78, 0.4); }
  50% { opacity: 0.8; text-shadow: 0 0 16px rgba(201, 167, 78, 0.6); }
}
/* Witchcore Design Tokens */
:root {
  --witchcore-primary: #4a1942;
  --witchcore-secondary: #0d0b14;
  --witchcore-accent: #c9a74e;
  --witchcore-glow: rgba(74, 25, 66, 0.3);
}

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

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

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

.witchcore-frosted {
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  background: rgba(74, 25, 66, 0.08);
}

.witchcore-accent-corner {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}

.witchcore-animate-in {
  animation: witchcore-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

Witchcore design draws inspiration from the occult, tarot, and natural magic traditions, constructing a visual world filled with ritual and mystical power through deep, dark purple tones and shimmering golden runes.

Accessibility

Accessibility Score

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

46

Overall Score

Grade: D - Poor

Contrast Ratios

Score: 32/100Average Ratio: 3.76:1
AA FailAAA Fail
ContextColorsRatioAAAAA
Text on background
/#c9a74e / #0d0b14
8.48:1
Secondary text on background
/#7b68ae / #0d0b14
4.12:1
Muted text on background
/#c9a74e / #0d0b14
8.48:1
Text on secondary background
/#c9a74e / #4a1942
6.04:1
Secondary text on secondary
/#7b68ae / #4a1942
2.94:1
Button primary
/#c9a74e / #4a1942
6.04:1
Text on accent 1
/#c9a74e / #c9a74e
1:1
Alt text on accent 1
/#7b68ae / #c9a74e
2.06:1
Text on accent 2
/#c9a74e / #7b68ae
2.06:1
Alt text on accent 2
/#7b68ae / #7b68ae
1:1
Text on accent 3
/#c9a74e / #3d8b6e
1.78:1
Alt text on accent 3
/#7b68ae / #3d8b6e
1.15:1

Readability

Score

80/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.

StyleKit

A curated web design style library to help AI generate better-looking websites.

Navigation

StylesTemplatesGuideBlogChangelog

Resources

UI Design PromptsLanding Page PromptsDashboard PromptsTailwind UI PromptsDark Mode UI PromptsGitHub Repository

Stay Updated

By subscribing, you agree to our Privacy Policy and Terms.


Support Maintenance

If StyleKit helps your workflow, voluntary support helps cover servers, domains, and ongoing upkeep.

Scan to support / View all options

(c) 2026 StyleKit. Open source project.

AboutContactPrivacyTermsBuilt with the Editorial style
Stylekit前端样式库stylekit.top陕ICP备2025065501号-3