Styledex
← Index

Surrealism

超现实主义风

stylekitMITHand-drawn · hand-drawnExperimental · experimentalLight · lightMedium · mediumBlue · blueMedium · mediumSerif · serifGeneral · generalLanding · landing

灵感源自Dali等超现实主义大师,梦境般的场景构成、不合逻辑的空间关系、融化变形的形态和意想不到的色彩组合,营造神秘而引人入胜的视觉体验。

NNorthwind
Product · Pricing
Specimen
Make the work feel finished

One interface, dressed in this style. Compare type, color, radius, and density.

128
Active
4.8
Score
12ms
Edge

Attribution

"Surrealism" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/surrealism @ bfa7da909e86.

https://github.com/AnxForever/stylekit · api/styles/surrealism · bfa7da909e86 · © AnxForever

Do

  • 使用午夜蓝和沙漠金的配色
  • 创造梦境般的柔和渐变
  • 使用意想不到的元素组合
  • 添加柔和的阴影营造深度
  • 使用衬线字体和斜体
  • 保持神秘而优雅的氛围
  • Dream-like Distortion: hover applies subtle geometric reality-bending `hover:skew-x-2 hover:-rotate-1` — as if the element is being pulled through a dream portal
  • Timeless Easing: all transitions use `duration-700 ease-in-out` or `duration-1000 ease-in-out` — surrealist time is elastic, never hurried

Don't

  • 禁止使用过于明亮的纯色
  • 禁止使用严格对称的网格布局
  • 禁止使用现代简约的无装饰设计
  • 禁止使用刺眼的霓虹色彩
  • 禁止使用 `hover:scale-105`(超现实主义使用 `skew` 和 `rotate` 扭曲现实,不是放大)
  • 禁止使用黑色投影(Abyssal Glow 使用玫瑰/金色漫射光晕,黑色阴影会破坏梦境感)
  • 禁止使用 `duration-200` 或更短的过渡(Timeless Easing 要求 `duration-700` 以上——梦境时间是弹性的)
  • 禁止在卡片装饰光球上使用 `transition-none`(Color Melting 需要缓慢的 `duration-[2000ms]` 扩散)

Prompt

用 Surrealism 风格创建一个梦境画廊页面,要求:
1. 背景:午夜蓝到沙漠金的渐变
2. 标题:衬线斜体,奶油白色
3. 卡片:圆角带光晕阴影
4. 添加模糊光球装饰
5. 整体梦境般的神秘氛围

---
"Surrealism" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/surrealism @ bfa7da909e86.
powered by Styledex — https://styledex.dev

Tokens

DTCG

{
  "$schema": "https://www.designtokens.org/schemas/2025.10/format.json",
  "$description": "Surrealism. \"Surrealism\" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/surrealism @ bfa7da909e86.",
  "$extensions": {
    "dev.styledex": {
      "id": "stylekit-surrealism",
      "license": "MIT",
      "attribution": "\"Surrealism\" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/surrealism @ bfa7da909e86.",
      "banner": "powered by Styledex — https://styledex.dev"
    }
  },
  "color": {
    "background": {
      "$type": "color",
      "$value": "#f0ece4"
    },
    "foreground": {
      "$type": "color",
      "$value": "#1a1a3e"
    },
    "card": {
      "$type": "color",
      "$value": "#f0ece4"
    },
    "card-foreground": {
      "$type": "color",
      "$value": "#1a1a3e"
    },
    "primary": {
      "$type": "color",
      "$value": "#1a1a3e"
    },
    "primary-foreground": {
      "$type": "color",
      "$value": "#fafaf9"
    },
    "secondary": {
      "$type": "color",
      "$value": "#f0ece4"
    },
    "secondary-foreground": {
      "$type": "color",
      "$value": "#1a1a3e"
    },
    "accent": {
      "$type": "color",
      "$value": "#d4a574"
    },
    "accent-foreground": {
      "$type": "color",
      "$value": "#fafaf9"
    },
    "muted": {
      "$type": "color",
      "$value": "#e2ded6"
    },
    "muted-foreground": {
      "$type": "color",
      "$value": "#6a6a82"
    },
    "border": {
      "$type": "color",
      "$value": "#cecbc4"
    },
    "destructive": {
      "$type": "color",
      "$value": "#dc2626"
    },
    "ring": {
      "$type": "color",
      "$value": "#1a1a3e"
    }
  },
  "font": {
    "sans": {
      "$type": "fontFamily",
      "$value": [
        "ui-sans-serif",
        "system-ui",
        "sans-serif"
      ]
    },
    "serif": {
      "$type": "fontFamily",
      "$value": [
        "ui-serif",
        "Georgia",
        "serif"
      ]
    },
    "mono": {
      "$type": "fontFamily",
      "$value": [
        "ui-monospace",
        "SFMono-Regular",
        "Menlo",
        "monospace"
      ]
    }
  },
  "radius": {
    "base": {
      "$type": "dimension",
      "$value": "0.5rem"
    }
  },
  "spacing": {
    "base": {
      "$type": "dimension",
      "$value": "1rem"
    }
  },
  "shadow": {
    "base": {
      "$type": "shadow",
      "$value": "0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04)"
    }
  }
}

CSS

/* powered by Styledex — https://styledex.dev */
/* "Surrealism" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/surrealism @ bfa7da909e86. */
:root {
  --background: #f0ece4;
  --foreground: #1a1a3e;
  --card: #f0ece4;
  --card-foreground: #1a1a3e;
  --primary: #1a1a3e;
  --primary-foreground: #fafaf9;
  --secondary: #f0ece4;
  --secondary-foreground: #1a1a3e;
  --accent: #d4a574;
  --accent-foreground: #fafaf9;
  --muted: #e2ded6;
  --muted-foreground: #6a6a82;
  --border: #cecbc4;
  --destructive: #dc2626;
  --ring: #1a1a3e;
  --radius: 0.5rem;
  --font-sans: ui-sans-serif, system-ui, sans-serif;
  --font-serif: ui-serif, Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --spacing: 1rem;
  --shadow: 0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04);
}

Tailwind

/* powered by Styledex — https://styledex.dev */
/* "Surrealism" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/surrealism @ bfa7da909e86. */
/** Tailwind theme extend for Surrealism (stylekit-surrealism) */
module.exports = {
  "theme": {
    "extend": {
      "colors": {
        "background": "#f0ece4",
        "foreground": "#1a1a3e",
        "card": "#f0ece4",
        "primary": "#1a1a3e",
        "primary-foreground": "#fafaf9",
        "secondary": "#f0ece4",
        "accent": "#d4a574",
        "muted": "#e2ded6",
        "border": "#cecbc4",
        "destructive": "#dc2626",
        "ring": "#1a1a3e"
      },
      "borderRadius": {
        "lg": "0.5rem"
      },
      "fontFamily": {
        "sans": [
          "ui-sans-serif",
          "system-ui",
          "sans-serif"
        ],
        "serif": [
          "ui-serif",
          "Georgia",
          "serif"
        ],
        "mono": [
          "ui-monospace",
          "SFMono-Regular",
          "Menlo",
          "monospace"
        ]
      },
      "boxShadow": {
        "styledex": "0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04)"
      }
    }
  }
};

shadcn

/* powered by Styledex — https://styledex.dev */
/* "Surrealism" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/surrealism @ bfa7da909e86. */
@layer base {
:root {
  --background: #f0ece4;
  --foreground: #1a1a3e;
  --card: #f0ece4;
  --card-foreground: #1a1a3e;
  --primary: #1a1a3e;
  --primary-foreground: #fafaf9;
  --secondary: #f0ece4;
  --secondary-foreground: #1a1a3e;
  --accent: #d4a574;
  --accent-foreground: #fafaf9;
  --muted: #e2ded6;
  --muted-foreground: #6a6a82;
  --border: #cecbc4;
  --destructive: #dc2626;
  --ring: #1a1a3e;
  --radius: 0.5rem;
  --font-sans: ui-sans-serif, system-ui, sans-serif;
  --font-serif: ui-serif, Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --spacing: 1rem;
  --shadow: 0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04);
}
}