HomeStylesTemplates
StyleKit
StylesTemplates
  1. Home
  2. /Styles
  3. /Dark Academia
Style Catalog/暗黑学院风

暗黑学院风

Dark Academia

D
44/100Poor

Classical university libraries, leather-bound books, classical literature, and vintage campus aesthetics. Deep brown and dark green palette with antique gold accents -- a warm and contemplative scholarly atmosphere.

暗黑学院古典图书馆文学大学皮革手稿retrovintagenostalgic
View Full Showcase →Templates

Best For

暗黑学院 / 古典 / 图书馆

Primary Move

Use deep brown, dark green, and antique gold as primary colors

Watch Out

Do not use vivid neon colors

Showcase Entry

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

View Full Showcase →

Color Palette

Primary

#3d2b1f

Secondary

#2d4a3e

Accent 1

#8b7355

Accent 2

#f5f0e1

Accent 3

#5c4033

Accent 4

#647f53

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: Dark Academia
style_slug: dark-academia
style_source: /styles/dark-academia

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

## Absolutely Forbidden

- Vivid neon colors
- Modern tech-feel design
- Overly flashy animation effects
- Cold blue-gray tones

## Must Follow

- Deep brown and dark green palette bg-[#3d2b1f], bg-[#2d4a3e]
- Antique gold decorations text-[#8b7355], border-[#8b7355]
- Cream white background bg-[#f5f0e1]
- Serif fonts font-serif
- Subtle shadows shadow-sm
- Warm atmosphere

## Color Palette

Primary:
- Deep Brown: #3d2b1f
- Dark Green: #2d4a3e
- Antique Gold: #8b7355
- Cream White: #f5f0e1
- Dark Umber: #5c4033

## Special Elements

- Paper texture backgrounds
- Book spine decorative lines
- Classical divider lines
- Serif typography

## Animation & Interaction Rules

- Library Stillness: No jumping, scaling, or any frivolous displacement (like `translate`). The interface should maintain the composure of ancient tomes.
- Candlelight Reveal: Hover may use extremely soft radial glow or inner shadow changes, simulating candlelight approaching -- brightness changes must be restrained.
- Antique Slowness: Transitions should use `duration-700` to `duration-1000` with `ease-in-out` for a weighty sense of time.
- Ink & Gold: Text and decorative lines transition slowly between ink black and antique gold, without high-contrast flashing or sudden inversions.

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

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

Global CSS

css
/* Dark Academia 全局样式 */

:root {
  --da-brown: #3d2b1f;
  --da-green: #2d4a3e;
  --da-gold: #8b7355;
  --da-cream: #f5f0e1;
  --da-dark: #5c4033;
}

/* 纸张质感 */
.da-parchment {
  background-color: var(--da-cream);
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
}

/* 皮革质感 */
.da-leather {
  background-color: var(--da-brown);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 书脊装饰 */
.da-spine {
  border-left: 4px solid var(--da-gold);
  padding-left: 1rem;
}

/* 古典分割线 */
.da-divider {
  border: none;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--da-gold),
    transparent
  );
  margin: 2rem 0;
}
@keyframes dark-academia-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.dark-academia-card {
  position: relative;
  overflow: hidden;
}

.dark-academia-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: linear-gradient(135deg, rgba(61, 43, 31, 0.05), transparent);
  pointer-events: none;
}

.dark-academia-card:hover::before {
  opacity: 1;
}

.dark-academia-frosted {
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  background: rgba(61, 43, 31, 0.08);
}

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

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

Dark Academia is an aesthetic movement centered on classical education, literature, and architecture, blending Greco-Roman culture, Gothic architecture, and Victorian-era scholarly atmosphere.

Accessibility

Accessibility Score

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

44

Overall Score

Grade: D - Poor

Contrast Ratios

Score: 30/100Average Ratio: 4.04:1
AA FailAAA Fail
ContextColorsRatioAAAAA
Text on background
/#3d2b1f / #f5f0e1
11.79:1
Secondary text on background
/#2d4a3e / #f5f0e1
8.53:1
Muted text on background
/#8b7355 / #f5f0e1
3.94:1
Text on secondary background
/#3d2b1f / #3d2b1f
1:1
Secondary text on secondary
/#2d4a3e / #3d2b1f
1.38:1
Button primary
/#f5f0e1 / #3d2b1f
11.79:1
Text on accent 1
/#3d2b1f / #2d4a3e
1.38:1
Alt text on accent 1
/#2d4a3e / #2d4a3e
1:1
Text on accent 2
/#3d2b1f / #8b7355
2.99:1
Alt text on accent 2
/#2d4a3e / #8b7355
2.17:1
Text on accent 3
/#3d2b1f / #5c4033
1.43:1
Alt text on accent 3
/#2d4a3e / #5c4033
1.03:1

Readability

Score

77/100

Font Size

text-sm md:text-base

Font Weight

font-serif 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.

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