StyleKit

Surrealism

超现实主义风

Rate this style

Inspired by surrealist masters like Dali -- dreamlike scene compositions, illogical spatial relationships, melting and morphing forms, and unexpected color combinations create a mysterious and captivating visual experience.

surrealismsurrealist designdreamlike uiDali inspiredmelting shapesdream logicdistorted formsabstract art websitesubconsciousartistic portfolio

Best For

surrealism / surrealist design / dreamlike ui

Primary Move

Use midnight blue and desert gold palette

Watch Out

Do not use overly bright pure colors

design.md

Surrealism as a design document

One document describes the colour roles, type rules, spacing and component construction behind this style. Copy or download it into Claude Code or Codex.

Document view

Surrealism — Style Reference

Dream time: everything slow, everything slightly wrong, light arriving from where it should not.

Theme: dark

Surrealism borrows Dalí's vocabulary: unexpected pairings of midnight blue with desert gold, illogical spatial relationships, melting and morphing forms, and light arriving from the wrong direction. Two rules govern time and movement. First, every transition runs 700 to 1000ms ease-in-out (Timeless Easing), because dream time is elastic. Second, hover never scales — it skews and rotates to distort reality. Shadows may never be black either; they must be diffuse rose or gold halos, since a black shadow wakes the dream instantly.

Colors

NameValueTokenRole
Midnight Blue#1a1a3e--color-midnightThe page ground and primary — dark enough to read as black while keeping a blue breath.
Bone#f0ece4--color-boneText and light blocks — a bone white that has already greyed in the dream.
Desert Gold#d4a574--color-desert-goldThe warm accent and halo color — the sunlight that should not be there.
Dusty Rose#c38d94--color-dusty-roseThe second accent and substitute for shadow — every cast glow uses this instead of black.
Violet#4a3f6b--color-violetDeep violet for melting forms and layered shade.
Moss#90ba6d--color-mossThe one note of life, used least, breaking the dream's suffocation.

Typography

Cormorant Garamond — Serif throughout, with italic allowed on headings. Its thin strokes read as hand-written on the dark.
  • Substitute: 'EB Garamond', Georgia, 'Songti SC', serif
  • Weights: 300, 400, 600
  • Sizes: 15, 18, 22, 30, 42, 58
  • Line height: 1.1 (display), 1.25 (headings), 1.8 (body)
  • Letter spacing: 0.01em on display, 0.1em on uppercase labels
Type Scale
RoleFamilyWeightSizeLine HeightLetter SpacingToken
displayCormorant Garamond30058px1.10.01em--text-display
headingCormorant Garamond40042px1.2—--text-heading
subheadingCormorant Garamond40030px1.3—--text-subheading
body-lgCormorant Garamond40022px1.7—--text-body-lg
bodyCormorant Garamond40018px1.8—--text-body
labelCormorant Garamond60015px1.50.1em--text-label

Spacing & Layout

Base unit: 8px Density: airy

Spacing Scale
NameValueToken
88px--spacing-8
1616px--spacing-16
2424px--spacing-24
3232px--spacing-32
4848px--spacing-48
6464px--spacing-64
9696px--spacing-96
144144px--spacing-144
Border Radius
ElementValue
cards32px
buttons999px
inputs24px
orbs999px
  • Page max-width: 1120px
  • Section gap: 144px
  • Card padding: 36px
  • Element gap: 28px

Components

Melting Panel

Role: Cards and content panels

40% violet fill, 32px radius, a 1px desert gold border at 20%, 36px padding, and a diffuse rose halo at 0 24px 60px 22% instead of any black shadow. It sits rotated -1 degree with a slight skewX(-1.5deg). Hover rotates to 1 degree, returns the skew to zero and widens the halo to 80px over 1000ms ease-in-out.

  • States: hover: rotate to 1deg, halo 80px
Distorted Button

Role: Action button

Desert gold fill, midnight text, fully rounded, no border, 18px/600 at 0.1em tracking, 14px 36px padding, halo 0 12px 40px at 28% gold. Hover applies skewX(-6deg) and rotate(-2deg) with the halo widened to 60px, and never scales. Press zeroes the skew and sinks 2px. 700ms ease-in-out.

  • States: hover: skew and rotate, no scale; active: skew 0, sink 2px
Color Orb

Role: Decorative color orbs

Circles from 24px to 160px on a radial gradient fading from desert gold or rose at the centre to transparent, with no border, absolutely positioned at card edges and allowed to bleed twenty to forty percent. Their color diffuses and contracts over 2000ms (Color Melting); transition-none is forbidden. Four per screen at most.

Soft Field

Role: Input field

60% midnight fill, 24px radius, a 1px violet border at 40%, 14px 20px padding at 18px serif. Focus turns the border to 60% gold and adds a 3px ring at 15%, over 700ms.

Floating Epoch

Role: Floating displaced layers

Duplicate a single element into two or three layers offset by 8 to 16px, each at a different opacity (100, 45, 20%) and angle (-3, 0, +4 degrees). Reserved for a headline or the hero, producing the illusion of one thing seen three times in time.

Do's and Don'ts

Do
  • Every transition runs 700 to 1000ms ease-in-out
  • Hover skews and rotates, never scales
  • Shadows are always rose or gold halos
  • Pair midnight blue with desert gold
  • Let forms melt and morph
  • Headlines may take serif italic
Don't
  • No overly bright pure color
  • No strictly symmetrical grids
  • No modern minimal undecorated design
  • No harsh neon
  • Never use hover scale
  • No black shadows

Surfaces

LevelNameValuePurpose
0Midnight#1a1a3e页面底
1Melting Panelrgba(74,63,107,0.40)卡片(半透明紫)
2Bone Patch#f0ece4浅色反差点

Elevation

  • Abyssal glow: 0 24px 60px rgba(195,141,148,0.22)
  • Gold halo: 0 12px 40px rgba(212,165,116,0.28)
  • Never: black shadows are forbidden

Imagery

Melting clocks, floating stones, a sea growing indoors, objects at the wrong scale. Imagery must hold an illogical spatial relationship and light arriving from the wrong direction. No documentary photography or flat icons.

Layout

Capped at 1120px with 24px padding, sections 144px apart. Strict symmetry is banned: elements may leave the grid by 16 to 48px, overlap, and rotate between -3 and 3 degrees. Reading order must stay clear regardless — a dream may tilt, it may not become unreadable.

Agent Prompt Guide

Implementation Contract
  • Use the requested page, user task and real content as the brief. Implement only the requested scope; identify missing business information instead of inventing data or capabilities.
  • Inspect the current project, stack and components first. Reuse its structure, routes, dependencies and components; do not rebuild unrelated pages or features.
  • Use the project's breakpoints to adapt columns and spacing for narrow and desktop screens. Preserve hierarchy and prevent accidental horizontal overflow.
  • For interactions in scope, support keyboard focus and reduced motion, with applicable disabled, loading, empty and error states.
  • Run the project's existing checks after implementation. Report only tests and visual checks actually run, and list unverified behavior.

QUICK COLOR REFERENCE:

  • text: #f0ece4
  • background: #1a1a3e
  • panel: rgba(74,63,107,0.40)
  • gold: #d4a574
  • rose: #c38d94
  • moss: #90ba6d

EXAMPLE COMPONENT PROMPTS:

  1. Build a surrealist card: background rgba(74,63,107,0.4), 32px radius, a 1px rgba(212,165,116,0.2) border, 36px padding, box-shadow 0 24px 60px rgba(195,141,148,0.22) — never a black shadow. The card sits at rotate(-1deg) skewX(-1.5deg). The title runs 42px serif at weight 300 in #f0ece4; body at 18px serif on 1.8 leading. Hover applies rotate(1deg) with skewX(0) and widens the halo to 80px over 1000ms ease-in-out. The page ground is #1a1a3e, and two radial desert-gold orbs at the edges may diffuse over 2000ms.

Similar Brands

  • Memphis — Both break the grid, though Memphis is a loud playground while surrealism is a quiet dream
  • Dark Academia — Both are slow, though dark academia is ordered and classical while surrealism distorts and stretches time

Quick Start


:root {
  /* Colors */
  --color-midnight: #1a1a3e;
  --color-bone: #f0ece4;
  --color-desert-gold: #d4a574;
  --color-dusty-rose: #c38d94;
  --color-violet: #4a3f6b;
  --color-moss: #90ba6d;

  /* Typography — Font Families */
  --font-serif: 'Cormorant Garamond', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Typography — Scale */
  --text-display: 58px;
  --leading-display: 1.1;
  --tracking-display: 0.01em;
  --text-heading: 42px;
  --leading-heading: 1.2;
  --text-subheading: 30px;
  --leading-subheading: 1.3;
  --text-body-lg: 22px;
  --leading-body-lg: 1.7;
  --text-body: 18px;
  --leading-body: 1.8;
  --text-label: 15px;
  --leading-label: 1.5;
  --tracking-label: 0.1em;

  /* Typography — Weights */
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-semibold: 600;

  /* Spacing */
  --spacing-unit: 8px;
  --spacing-8: 8px;
  --spacing-16: 16px;
  --spacing-24: 24px;
  --spacing-32: 32px;
  --spacing-48: 48px;
  --spacing-64: 64px;
  --spacing-96: 96px;
  --spacing-144: 144px;

  /* Layout */
  --page-max-width: 1120px;
  --section-gap: 144px;
  --card-padding: 36px;
  --element-gap: 28px;
  --density: airy;

  /* Border Radius */
  --radius-cards: 32px;
  --radius-buttons: 999px;
  --radius-inputs: 24px;
  --radius-orbs: 999px;

  /* Surfaces */
  --surface-midnight: #1a1a3e;
  --surface-melting-panel: rgba(74,63,107,0.40);
  --surface-bone-patch: #f0ece4;
}

Community

Ratings & Feedback

No ratings yet - be the firstSign in to rate

Loading comments…

Component Templates

Component Preview

Button

FAQ

Surrealism — Frequently Asked Questions

What is the Surrealism design style?
Inspired by surrealist masters like Dali -- dreamlike scene compositions, illogical spatial relationships, melting and morphing forms, and unexpected color combinations create a mysterious and captivating visual experience. Its core principle: Surrealism is an early 20th-century art movement dedicated to unleashing the creative power of the subconscious, breaking the boundaries between the rational and irrational.
What colors does Surrealism use?
Surrealism uses #1a1a3e as its primary color and #f0ece4 as its secondary color, with accent colors #d4a574, #c38d94, #4a3f6b, #90ba6d. Every hex value can be copied from the palette on this page.
How do I apply Surrealism correctly?
Key practices: Use midnight blue and desert gold palette. Create dreamlike soft gradients. Use unexpected element combinations.
What are common mistakes with Surrealism?
Avoid: Do not use overly bright pure colors. Do not use strictly symmetrical grid layouts. Do not use modern minimalist undecorated design.
How do I prompt AI to generate Surrealism 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: surrealism, surrealist design, dreamlike ui, Dali inspired.
Global Styles

Global CSS

css
/* Surrealism 全局样式 */

:root {
  --sr-midnight: #1a1a3e;
  --sr-gold: #d4a574;
  --sr-rose: #c38d94;
  --sr-cream: #f0ece4;
}

/* 梦境模糊光晕 */
.sr-dream-glow {
  box-shadow:
    0 0 40px rgba(212, 165, 116, 0.2),
    0 0 80px rgba(195, 141, 148, 0.1);
}

/* 超现实渐变 */
.sr-gradient {
  background: linear-gradient(
    135deg,
    var(--sr-midnight) 0%,
    #2a2a5e 40%,
    var(--sr-rose) 70%,
    var(--sr-gold) 100%
  );
}

/* 融化效果 */
.sr-melt {
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

/* 飘浮阴影 */
.sr-float-shadow {
  box-shadow:
    0 20px 60px rgba(26, 26, 62, 0.3),
    0 0 40px rgba(195, 141, 148, 0.15);
}
@keyframes surrealism-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

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

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

.surrealism-frosted {
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  background: rgba(26, 26, 62, 0.08);
}

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

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

Related Styles

Related Styles

Explore these styles for ready-made tokens and components.

Surrealism and Collage Art sit closest to each other. The table below gives the real differences in color, use case, and tags, so the choice between them is made on facts.

AttributeSurrealismCollage Art
Primary color#1a1a3e#2d2d2d
Secondary color#f0ece4#f5f0e8
Best forsurrealism / surrealist design / dreamlike uicollage art / paper collage / paper cutout
Unique tags——
Design Philosophy

Surrealism is an early 20th-century art movement dedicated to unleashing the creative power of the subconscious, breaking the boundaries between the rational and irrational.