Styledex
← Index

Comic Style

漫画风格

stylekitMITHand-drawn · hand-drawnExperimental · experimentalRegional · regionalLight · lightMedium · mediumNeutral · neutralMuted · mutedSerif · serifGeneral · generalLanding · landing

灵感源自漫画书和日式漫画的设计风格,浓重的墨线边框、网点填充、对话气泡、动作线和分镜面板布局,充满故事感和视觉冲击力。

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

"Comic Style" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/comic-style @ bfa7da909e86.

https://github.com/AnxForever/stylekit · api/styles/comic-style · bfa7da909e86 · © AnxForever

Do

  • 使用粗黑色边框 border-4 border-black 模拟墨线
  • 使用硬边阴影 shadow-[4px_4px_0_#000] 模拟印刷偏移
  • 使用对话气泡形状展示信息
  • 使用半调网点作为背景纹理
  • 文字使用大写粗体 uppercase font-black
  • 按钮使用夸张的悬停效果
  • hover 时 scale-110 + rotate(-3deg),像漫画音效气泡弹出
  • group-hover 时隐藏的 NEW! 标签从 scale-0 弹出 scale-100

Don't

  • 禁止使用过细的边框 border
  • 禁止使用渐变作为主要视觉效果
  • 禁止使用过于正式的排版
  • 禁止缺少动态感和能量感
  • 禁止使用圆角(rounded-lg, rounded-xl),对话气泡除外
  • 禁止使用过长的 duration(最长 duration-100)

Prompt

用 Comic Style 风格创建一个英雄介绍页,要求:
1. 使用漫画面板分镜布局
2. 粗墨线边框 border-4 border-black
3. 半调网点背景纹理(radial-gradient,opacity-10)
4. 对话气泡展示角色台词
5. 动作线表达能量和动态感
6. 鲜明的红黄蓝配色
7. 按钮 hover 时 scale-110 rotate(-3deg) 弹出 + 颜色翻转

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

Tokens

DTCG

{
  "$schema": "https://www.designtokens.org/schemas/2025.10/format.json",
  "$description": "Comic Style. \"Comic Style\" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/comic-style @ bfa7da909e86.",
  "$extensions": {
    "dev.styledex": {
      "id": "stylekit-comic-style",
      "license": "MIT",
      "attribution": "\"Comic Style\" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/comic-style @ bfa7da909e86.",
      "banner": "powered by Styledex — https://styledex.dev"
    }
  },
  "color": {
    "background": {
      "$type": "color",
      "$value": "#fffef0"
    },
    "foreground": {
      "$type": "color",
      "$value": "#1a1a1a"
    },
    "card": {
      "$type": "color",
      "$value": "#fffef0"
    },
    "card-foreground": {
      "$type": "color",
      "$value": "#1a1a1a"
    },
    "primary": {
      "$type": "color",
      "$value": "#1a1a1a"
    },
    "primary-foreground": {
      "$type": "color",
      "$value": "#fafaf9"
    },
    "secondary": {
      "$type": "color",
      "$value": "#ffffff"
    },
    "secondary-foreground": {
      "$type": "color",
      "$value": "#1a1a1a"
    },
    "accent": {
      "$type": "color",
      "$value": "#ff3333"
    },
    "accent-foreground": {
      "$type": "color",
      "$value": "#fafaf9"
    },
    "muted": {
      "$type": "color",
      "$value": "#f0efe2"
    },
    "muted-foreground": {
      "$type": "color",
      "$value": "#6a6a6a"
    },
    "border": {
      "$type": "color",
      "$value": "#dbdace"
    },
    "destructive": {
      "$type": "color",
      "$value": "#dc2626"
    },
    "ring": {
      "$type": "color",
      "$value": "#1a1a1a"
    }
  },
  "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": "4px 4px 0px 0px rgba(26,26,26,1)"
    }
  }
}

CSS

/* powered by Styledex — https://styledex.dev */
/* "Comic Style" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/comic-style @ bfa7da909e86. */
:root {
  --background: #fffef0;
  --foreground: #1a1a1a;
  --card: #fffef0;
  --card-foreground: #1a1a1a;
  --primary: #1a1a1a;
  --primary-foreground: #fafaf9;
  --secondary: #ffffff;
  --secondary-foreground: #1a1a1a;
  --accent: #ff3333;
  --accent-foreground: #fafaf9;
  --muted: #f0efe2;
  --muted-foreground: #6a6a6a;
  --border: #dbdace;
  --destructive: #dc2626;
  --ring: #1a1a1a;
  --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: 4px 4px 0px 0px rgba(26,26,26,1);
}

Tailwind

/* powered by Styledex — https://styledex.dev */
/* "Comic Style" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/comic-style @ bfa7da909e86. */
/** Tailwind theme extend for Comic Style (stylekit-comic-style) */
module.exports = {
  "theme": {
    "extend": {
      "colors": {
        "background": "#fffef0",
        "foreground": "#1a1a1a",
        "card": "#fffef0",
        "primary": "#1a1a1a",
        "primary-foreground": "#fafaf9",
        "secondary": "#ffffff",
        "accent": "#ff3333",
        "muted": "#f0efe2",
        "border": "#dbdace",
        "destructive": "#dc2626",
        "ring": "#1a1a1a"
      },
      "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": "4px 4px 0px 0px rgba(26,26,26,1)"
      }
    }
  }
};

shadcn

/* powered by Styledex — https://styledex.dev */
/* "Comic Style" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/comic-style @ bfa7da909e86. */
@layer base {
:root {
  --background: #fffef0;
  --foreground: #1a1a1a;
  --card: #fffef0;
  --card-foreground: #1a1a1a;
  --primary: #1a1a1a;
  --primary-foreground: #fafaf9;
  --secondary: #ffffff;
  --secondary-foreground: #1a1a1a;
  --accent: #ff3333;
  --accent-foreground: #fafaf9;
  --muted: #f0efe2;
  --muted-foreground: #6a6a6a;
  --border: #dbdace;
  --destructive: #dc2626;
  --ring: #1a1a1a;
  --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: 4px 4px 0px 0px rgba(26,26,26,1);
}
}