Best For
视觉小说 / ADV对话框 / 铭牌
Visual Novel
A design style inspired by ADV visual novel game UI, featuring semi-transparent dialogue panels, character nameplate badges, ornate corner decorations, branching choice buttons, and save screen interfaces for an immersive interactive storytelling experience.
Best For
视觉小说 / ADV对话框 / 铭牌
Primary Move
Use semi-transparent dark panels bg-[#1a202c]/85 as dialogue boxes
Watch Out
No heavy brutalist borders (border-4+)
Showcase Entry
Live preview of the showcase page. Click to explore the full experience.
Color Palette
Primary
#4a5568
Secondary
#f7fafc
Accent 1
#6366f1
Accent 2
#ec4899
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: Visual Novel
style_slug: visual-novel
style_source: /styles/visual-novel
# 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 Visual Novel design style frontend development expert. All generated code must strictly follow these constraints:
## Absolutely Forbidden
- Heavy brutalist borders (border-4+)
- Neon glow or RGB split shadow effects
- Pixel art style elements
- Harsh, highly saturated neon colors
- Monospace fonts for main content
- Pure black backgrounds
- Sharp edges without rounding (rounded-none)
- Terminal-style uppercase with tracking-widest
## Must Follow
- Dark dialog panels: bg-[#1a202c]/85 with backdrop-blur-md
- Light info panels: bg-white/70 with backdrop-blur-md
- Serif font for all narrative/dialog text (font-serif)
- Sans-serif font for UI elements (font-sans font-medium)
- Rounded corners: rounded-lg on all panels and buttons
- Soft shadows: shadow-sm, shadow-md
- Ornate L-shaped corner decorations on dialog panels
- Character nameplate badges: colored inline-block with rounded-sm
## Color Palette
Primary:
- Slate: #4a5568 (text, borders)
- Light BG: #f7fafc (page background)
- Dark Panel: #1a202c (dialog backgrounds at /85 or /90 opacity)
- Indigo: #6366f1 (primary accent, nameplates, borders)
- Pink: #ec4899 (secondary accent, alternate nameplates)
- Emerald: #10b981 (tertiary accent, alternate nameplates)
## Unique Elements
- ADV-format dialogue panel: dark semi-transparent panel fixed to bottom with ornate corner decorations and character nameplate
- Character nameplate badges: small colored rectangle positioned overlapping the card border (absolute -top-3 left-6)
- Ornate corner decorations: L-shaped border patterns (border-l + border-t) at panel corners
- Choice button grid: full-width frosted glass buttons with ChevronRight icon and left-aligned text
- Scene background: sky gradient with character silhouettes (rounded-t-full ellipse shapes)
- Save screen panel: dark panel with ornate corners, form inputs, and dual action buttons
## Animation & Interaction Rules
- Dialogue Focus: Simulates in-game "choice branches." On hover over choice buttons, deepen background blur (backdrop-blur) and overlay a very subtle white or theme-color gradient (e.g., hover:bg-white/10), creating an immersive spotlight effect on the selected option.
- Cursor Prompt: On hover, reveal a small indicator (e.g., triangle or diamond) to the left of text with a slight displacement animation (opacity-0 -translate-x-2 group-hover:opacity-100 group-hover:translate-x-0), faithfully recreating visual novel UI characteristics.
- Sprite Breathing: Transition animations must be extremely smooth (duration-300 ease-in-out). On card hover, allow very subtle and slow upward float (hover:-translate-y-0.5), simulating the breathing motion of game character sprites.
- Story Text: On click (:active), choice boxes can shift slightly horizontally (active:translate-x-2) to indicate confirmation, rather than traditional press-down.Component Templates
视觉小说选项按钮,毛玻璃分支选择
Frontend Readiness
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%
FallbackUI 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
/* Visual Novel Global Styles */
:root {
--vn-slate: #4a5568;
--vn-light: #f7fafc;
--vn-indigo: #6366f1;
--vn-pink: #ec4899;
--vn-emerald: #10b981;
--vn-dark: #1a202c;
}
/* Dialog box fade-in */
.vn-dialog {
animation: vnFadeUp 0.5s ease-out;
}
@keyframes vnFadeUp {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Text typewriter effect */
.vn-typewriter {
overflow: hidden;
border-right: 2px solid var(--vn-indigo);
white-space: nowrap;
animation: vnType 3s steps(40, end), vnBlink 0.75s step-end infinite;
}
@keyframes vnType {
from { width: 0; }
to { width: 100%; }
}
@keyframes vnBlink {
from, to { border-color: transparent; }
50% { border-color: var(--vn-indigo); }
}
/* Ornate corner decoration frame */
.vn-ornate-frame {
position: relative;
}
.vn-ornate-frame::before,
.vn-ornate-frame::after {
content: "";
position: absolute;
width: 16px;
height: 16px;
pointer-events: none;
}
.vn-ornate-frame::before {
top: 8px;
left: 8px;
border-left: 2px solid rgba(99, 102, 241, 0.4);
border-top: 2px solid rgba(99, 102, 241, 0.4);
}
.vn-ornate-frame::after {
top: 8px;
right: 8px;
border-right: 2px solid rgba(99, 102, 241, 0.4);
border-top: 2px solid rgba(99, 102, 241, 0.4);
}
/* Character nameplate badge */
.vn-nameplate {
display: inline-block;
padding: 2px 12px;
border-radius: 2px;
font-size: 0.75rem;
font-weight: 600;
color: white;
}
/* Choice button hover glow */
.vn-choice:hover {
box-shadow: 0 0 15px rgba(99, 102, 241, 0.15);
}
/* Scene gradient overlay */
.vn-scene-sunset {
background: linear-gradient(180deg, #4a6fa5 0%, #7b9cc7 40%, #c4a882 70%, #e8c19a 100%);
}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
Visual Novel style originates from the UI design of Japanese ADV (Adventure) visual novel games, emphasizing narrative immersion and character interaction.
WCAG 2.1 compliance analysis based on color contrast and typography readability.
Overall Score
Grade: D - Poor
Contrast Ratios
| Context | Colors | Ratio | AA | AAA |
|---|---|---|---|---|
| Text on background | /#4a5568 / #f7fafc | 7.18:1 | ||
| Secondary text on background | /#6366f1 / #f7fafc | 4.26:1 | ||
| Muted text on background | /#4a5568 / #f7fafc | 7.18:1 | ||
| Button primary | /#ffffff / #6366f1 | 4.47:1 | ||
| Text on accent 1 | /#4a5568 / #6366f1 | 1.68:1 | ||
| Alt text on accent 1 | /#6366f1 / #6366f1 | 1:1 | ||
| Text on accent 2 | /#4a5568 / #ec4899 | 2.13:1 | ||
| Alt text on accent 2 | /#6366f1 / #ec4899 | 1.27:1 | ||
| Text on accent 3 | /#4a5568 / #10b981 | 2.97:1 | ||
| Alt text on accent 3 | /#6366f1 / #10b981 | 1.76:1 |
Readability
Score
82/100
Font Size
text-sm md:text-base
Font Weight
font-serif font-medium
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.