Best For
漫画 / manga / 网点
Comic Style
A design style inspired by comic books and manga, featuring heavy ink-line borders, halftone fills, speech bubbles, action lines, and panel layouts, full of narrative and visual impact.
Best For
漫画 / manga / 网点
Primary Move
Use thick black borders border-4 border-black to simulate ink lines
Watch Out
Do NOT use soft shadows shadow-lg, shadow-xl, shadow-md
Showcase Entry
Live preview of the showcase page. Click to explore the full experience.
Color Palette
Primary
#1a1a1a
Secondary
#ffffff
Accent 1
#ff3333
Accent 2
#ffcc00
AI Implementation
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.
Use this by default: copy it, append the concrete requirement, and let AI generate consistent production UI.
When to use
How to use
STYLEKIT_STYLE_REFERENCE
style_name: Comic Style
style_slug: comic-style
style_source: /styles/comic-style
# 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 Comic Style design frontend development expert. All generated code must strictly follow these constraints:
## Absolute Prohibitions
- Using soft shadows shadow-lg, shadow-xl, shadow-md
- Using thin borders border, border-2
- Using gradients as main background bg-gradient-*
- Using rounded cards rounded-lg, rounded-xl (except speech bubbles)
- Using semi-transparent/blur effects backdrop-blur
- Using transition durations exceeding duration-100
## Must Follow
- Thick black borders border-4 border-black
- Hard-edge shadows shadow-[4px_4px_0_#000] or shadow-[6px_6px_0_#000]
- No border radii rounded-none (except speech bubbles)
- Uppercase bold text uppercase font-black
- High-contrast solid colors
- Button press effects (displacement + shadow disappears)
## Animation & Interaction Rules
- Pop-Art Explosion: Hover makes elements burst out exaggeratedly (hover:scale-110 hover:-rotate-3), like comic sound effect bubbles POW! BAM! exploding. Color inversion (e.g., hover:bg-[#ffcc00] hover:text-black) enhances drama.
- Halftone Reveal: Buttons/cards have hidden halftone dot backgrounds (radial-gradient), revealed via group-hover:opacity-10 (note: must use group-hover not hover, as the layer has pointer-events-none).
- Heavy Ink: On click (active), hard shadow instantly zeroes (active:shadow-none), paired with active:translate-x-2 active:translate-y-2, creating strong ink pressure feel.
- Badge Pop: Card group-hover reveals hidden NEW! label from scale-0 instantly to scale-100 (transition-transform duration-100).
- Shadow Amplification: Hover expands hard shadow from 8px to 16px, paired with -translate-y-2, enhancing comic "page flip" physical feel.
## Color Palette
Primary:
- Black: #1a1a1a (ink lines)
- White: #ffffff (panel background)
Accent colors:
- Red: #ff3333 (action, CTA)
- Yellow: #ffcc00 (labels, highlights)
- Blue: #3366ff (info, links)
- Green: #33cc33 (success)
## Special Effects
Halftone dots: background-image: radial-gradient(circle, #000 1px, transparent 1px) + bg-[size:4px_4px]
Speech bubbles: border-4 border-black rounded-3xl + triangle tail pseudo-element
Action lines: repeating-linear-gradient
Text effects: [text-shadow:3px_3px_0_#ff3333,-3px_-3px_0_#3366ff]
## Self-Check
After generating code, verify:
1. All elements have thick black borders border-4
2. Using hard-edge shadows not soft shadows
3. Text is uppercase bold
4. Button hover has scale-110 + rotate(-3deg) burst feel
5. Button active has shadow-none instant zeroing
6. Cards have group-hover triggered hidden elementsComponent Templates
漫画按钮,hover 夸张弹出 + 颜色翻转 + 网点浮现
Frontend Readiness
This layer tracks whether the style is ready for real websites: theme modes, state feedback, keyboard access, and performance constraints.
Overall
51%
Fallback
Dark Mode
0%
MissingUI States
79%
PartialMotion
70%
PartialA11y
70%
PartialPerformance
35%
FallbackButton
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
/* Comic Style 全局样式 */
:root {
--comic-black: #1a1a1a;
--comic-white: #ffffff;
--comic-red: #ff3333;
--comic-yellow: #ffcc00;
--comic-blue: #3366ff;
--comic-green: #33cc33;
}
/* 半调网点背景 */
.comic-halftone {
background-image: radial-gradient(circle, var(--comic-black) 1px, transparent 1px);
background-size: 6px 6px;
}
/* 对话气泡 */
.comic-bubble {
position: relative;
background: white;
border: 4px solid var(--comic-black);
border-radius: 24px;
padding: 16px 20px;
}
.comic-bubble::after {
content: '';
position: absolute;
bottom: -20px;
left: 30px;
width: 0;
height: 0;
border-left: 12px solid transparent;
border-right: 12px solid transparent;
border-top: 20px solid var(--comic-black);
}
/* 动作线 */
.comic-speed-lines {
background: repeating-linear-gradient(
90deg,
transparent,
transparent 8px,
rgba(0, 0, 0, 0.05) 8px,
rgba(0, 0, 0, 0.05) 10px
);
}
/* 漫画面板边框 */
.comic-panel {
border: 4px solid var(--comic-black);
box-shadow: 6px 6px 0 var(--comic-black);
}
/* 漫画文字效果 */
.comic-text {
font-family: 'Comic Sans MS', 'Bangers', cursive, sans-serif;
font-weight: 900;
text-transform: uppercase;
}
/* 爆炸效果标签 — hover 时弹出 */
.comic-burst {
background: var(--comic-yellow);
border: 3px solid var(--comic-black);
font-weight: 900;
transform: rotate(-3deg) scale(0);
transition: transform 0.1s ease-out;
}
.group:hover .comic-burst {
transform: rotate(-3deg) scale(1);
}
/* Pop-art 按钮弹出 */
.comic-pop {
transition: all 0.1s ease-out;
cursor: crosshair;
}
.comic-pop:hover {
transform: scale(1.1) rotate(-3deg);
box-shadow: 10px 10px 0 var(--comic-black);
}
.comic-pop:active {
transform: scale(0.95) rotate(2deg) translate(4px, 4px);
box-shadow: none;
}
.comic-style-filter { filter: brightness(1.05) contrast(1.02); }
.comic-style-focus { outline: 2px solid var(--comic-style-primary, currentColor); outline-offset: 2px; }IDE Integration
Download configuration files for AI coding assistants to generate code in this style.
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
Comic Style is a design style derived from comic books and manga, transforming interfaces into vivid comic panels through heavy ink-line borders, halftone dots, speech bubbles, and dynamic lines.
WCAG 2.1 compliance analysis based on color contrast and typography readability.
Overall Score
Grade: C - Fair
Contrast Ratios
| Context | Colors | Ratio | AA | AAA |
|---|---|---|---|---|
| Text on background | /#1a1a1a / #fffef0 | 17.14:1 | ||
| Secondary text on background | /#ffffff / #fffef0 | 1.02:1 | ||
| Muted text on background | /#4a4a4a / #fffef0 | 8.73:1 | ||
| Text on secondary background | /#1a1a1a / #1a1a1a | 1:1 | ||
| Secondary text on secondary | /#ffffff / #1a1a1a | 17.4:1 | ||
| Button primary | /#ffffff / #ef4444 | 3.76:1 | ||
| Text on accent 1 | /#1a1a1a / #ef4444 | 4.62:1 | ||
| Alt text on accent 1 | /#ffffff / #ef4444 | 3.76:1 | ||
| Text on accent 2 | /#1a1a1a / #3b82f6 | 4.73:1 | ||
| Alt text on accent 2 | /#ffffff / #3b82f6 | 3.68:1 | ||
| Text on accent 3 | /#1a1a1a / #facc15 | 11.36:1 | ||
| Alt text on accent 3 | /#ffffff / #facc15 | 1.53:1 | ||
| Text on accent 4 | /#1a1a1a / #22c55e | 7.64:1 | ||
| Alt text on accent 4 | /#ffffff / #22c55e | 2.28:1 |
Readability
Score
87/100
Font Size
text-sm md:text-base
Font Weight
font-black uppercase 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.