Style Catalog/Magic Circle

Magic Circle

魔法阵风

C
68/100Fair
Rate this style

A fantasy visual style featuring concentric nested ring systems, hexagram geometric cores, runic inscriptions along circular paths, Flower of Life sacred geometry, golden radiant glow, and interwoven alchemical symbols.

magic circlesummoning circlesacred geometryruneshexagramFlower of Lifealchemy symbolsfantasy uiarcane designglowing ringsmysticaloccult aesthetic
View Full Showcase →
Templates

Best For

magic circle / summoning circle / sacred geometry

Primary Move

Use deep dark navy backgrounds (bg-[#0a0920])

Watch Out

No bright neon colors (use warm gold and cool indigo only)

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: Magic Circle
style_slug: magic-circle
style_source: /styles/magic-circle

# 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 Magic Circle design style frontend development expert. All generated code must strictly follow these constraints:

## Absolutely Forbidden

- Bright neon colors (use warm gold and cool indigo only)
- Brutalist style elements
- Pixel art aesthetics
- Heavy/thick borders
- Informal/handwritten fonts
- Light backgrounds

## Must Follow

- Deep dark backgrounds: bg-[#0a0920] or bg-[#1e1b4b]
- Concentric ring decorations (nested circles with varying styles)
- Gold accent glow: #fbbf24 with radiant shadow effects
- Hexagram/sacred geometry structural motifs
- Runic inscription marks along borders
- Elegant serif fonts for headings (font-serif)
- Thin elegant borders with low opacity
- Golden center radiation glow effects

## 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: On hover, ring decorations use group-hover:rotate-90 / rotate-180 or long linear rotation, creating circle activation effect.
- Rune Pulsing: Gold titles and rune strokes can add animate-pulse or glow enhancement on interaction, expressing magical energy flow.
- Energy Focus: Active state prioritizes inner glow or active:scale-95, simulating energy converging toward center.
- Ethereal Delay: Key transitions use duration-700 to 1000, rotation layers can use 2000ms+ linear rhythm.

---

# Magic Circle Design System

> A fantasy visual style featuring concentric nested ring systems, hexagram geometric cores, runic inscriptions along circular paths, Flower of Life sacred geometry, golden radiant glow, and interwoven alchemical symbols.

## Design Philosophy

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 Dictionary (exact class mapping)

### Border
```
Width: border
Color: border-[#fbbf24]/15
Radius: rounded-sm
```

### Shadow
```
sm: shadow-[0_0_10px_rgba(251,191,36,0.1)]
md: shadow-[0_0_20px_rgba(251,191,36,0.2)]
lg: shadow-[0_0_30px_rgba(251,191,36,0.3)]
hover: hover:shadow-[0_0_30px_rgba(251,191,36,0.4)]
focus: focus:shadow-[0_0_15px_rgba(251,191,36,0.2)]
```

### Interaction
```
Hover translate: hover:-translate-y-1
Hover scale: (none)
Hover opacity: (none)
Transition: transition-all duration-500 ease-in-out
Active: active:scale-95
```

### Typefaces
```
Heading: font-serif font-bold tracking-wide
Body: font-sans
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-14 md:py-24 lg:py-32
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-[#0a0920]
Background secondary: bg-[#1e1b4b]
Background accent: bg-[#fbbf24], bg-[#818cf8], bg-[#e2e8f0]
Text primary: text-[#e2e8f0]
Text secondary: text-[#fbbf24]
Text muted: text-[#e2e8f0]/40
Button primary: bg-[#1e1b4b] text-[#fbbf24] shadow-[0_0_20px_rgba(251,191,36,0.2)]
Button secondary: bg-[#0a0920] text-[#e2e8f0] border-[#818cf8]/30 shadow-[0_0_15px_rgba(129,140,248,0.2)]
```

---

## [FORBIDDEN]

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

### Banned classes
- `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]`

### Banned patterns
- matches `^rounded-(?:full|2xl|xl|lg)$`
- matches `^bg-(?:white|gray-(?:50|100))$`
- matches `^border-(?:4|8)$`
- matches `^shadow-(?:md|lg|xl)$`

### Why they are banned
- `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: if your code contains any of the above, replace it before shipping.

---

## [REQUIRED]

### Every button must include
```
font-serif font-semibold tracking-wide
border border-[#fbbf24]/30
rounded-sm
transition-all duration-500 ease-in-out
```

### Every card must include
```
bg-[#0a0920]
border border-[#fbbf24]/15
rounded-sm
transition-all duration-500 ease-in-out
```

### Every input must include
```
bg-[#0a0920]
border border-[#fbbf24]/15
rounded-sm
text-[#e2e8f0]
font-sans
focus:outline-none
```

---

## [COMPARE] Magic Circle 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="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)]">
  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-[#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>
```

### 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="bg-[#0a0920] border border-[#fbbf24]/15 rounded-sm text-[#e2e8f0] font-sans focus:outline-none" placeholder="{PLACEHOLDER}" />
```

---

## [TEMPLATES] Magic Circle page skeletons

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

### Navigation
```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 section
```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>
```

### Card grid
```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>
```

### Form input
```html
<input class="bg-[#0a0920] border border-[#fbbf24]/15 rounded-sm text-[#e2e8f0] font-sans focus:outline-none" placeholder="{PLACEHOLDER}" />
```

### Footer
```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 post-generation self check

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

### Token check
- [ ] Button includes: `font-serif font-semibold tracking-wide border border-[#fbbf24]/30 rounded-sm transition-all duration-500 ease-in-out`
- [ ] Card includes: `bg-[#0a0920] border border-[#fbbf24]/15 rounded-sm transition-all duration-500 ease-in-out`
- [ ] Input includes: `bg-[#0a0920] border border-[#fbbf24]/15 rounded-sm text-[#e2e8f0] font-sans focus:outline-none`

### Forbidden check
- [ ] Not using `rounded-2xl`
- [ ] Not using `rounded-xl`
- [ ] Not using `rounded-lg`
- [ ] Not using `bg-white`
- [ ] Not using `bg-gray-50`
- [ ] Not using `border-4`
- [ ] Not using `border-8`
- [ ] Not using `shadow-md`

### Style rule check
- [ ] 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

### Style drift check
- [ ] Does not violate: No bright neon colors (use warm gold and cool indigo only)
- [ ] Does not violate: No brutalist style elements
- [ ] Does not violate: No pixel art aesthetics
- [ ] Does not violate: No heavy/thick borders
- [ ] Does not violate: No informal/handwritten fonts

### 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 Magic Circle

## Absolute Bans (Match and Refuse)

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

- bright neon colors (use warm gold and cool indigo only)
- brutalist style elements
- pixel art aesthetics
- heavy/thick borders
- informal/handwritten fonts
- Buttons must not lack active:scale-95 (magic casting must have energy convergence feel)
- Ring decorations must not remain static on group-hover (core visual language of circle activation)
- focus:ring must not lack focus:ring-offset-[#0a0920] (focus ring needs offset separation on dark backgrounds)

## 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
- [ ] 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

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

Button

Hexagon-bordered button with pulsing rune glow and Energy Convergence active state

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

58%

Fallback

Dark Mode

35%

Fallback

UI States

79%

Partial

Motion

70%

Partial

A11y

70%

Partial

Performance

35%

Fallback

Key State Coverage

light / dark
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

  • This style contains dark-mode signals, but no curated dark token contract has been reviewed.
  • 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

Magic Circle — Frequently Asked Questions

What is the Magic Circle design style?
A fantasy visual style featuring concentric nested ring systems, hexagram geometric cores, runic inscriptions along circular paths, Flower of Life sacred geometry, golden radiant glow, and interwoven alchemical symbols. Its core principle: Magic Circle draws from the arcane tradition of geometric summoning circles, weaving precision geometry with radiant light effects.
What colors does Magic Circle use?
Magic Circle uses #1e1b4b as its primary color and #0a0920 as its secondary color, with accent colors #fbbf24, #e2e8f0, #818cf8, #56ed40. Every hex value can be copied from the palette on this page.
How do I apply Magic Circle correctly?
Key practices: Use deep dark navy backgrounds (bg-[#0a0920]). Add concentric ring decorations around focal elements. Use hexagonal or circular card layouts.
What are common mistakes with Magic Circle?
Avoid: No bright neon colors (use warm gold and cool indigo only). No brutalist style elements. No pixel art aesthetics.
How do I prompt AI to generate Magic Circle 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: magic circle, summoning circle, sacred geometry, runes.
Global Styles

Global CSS

css
/* 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%
  );
}

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

Magic Circle draws from the arcane tradition of geometric summoning circles, weaving precision geometry with radiant light effects.

Accessibility

Accessibility Score

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

68

Overall Score

Grade: C - Fair

Contrast Ratios

Score: 58/100Average Ratio: 7.04:1
AA FailAAA Fail
ContextColorsRatioAAAAA
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

Readability

Score

90/100

Font Size

text-sm md:text-base

Font Weight

font-serif font-bold tracking-wide

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.