Best For
JRPG / RPG menu / dialogue box
日式RPG
Rate this styleClassic Japanese RPG menu and dialogue box aesthetics with beveled borders, gradient backgrounds, status bars, and ornate frames. Ideal for game interfaces, interactive narratives, and fantasy-style products.
Best For
JRPG / RPG menu / dialogue box
Primary Move
Use deep navy blue backgrounds bg-[#0f172a] or bg-slate-900
Watch Out
No minimalist flat style (no borders, no shadows)
design.md
One document describes the colour roles, type rules, spacing and component construction behind this style. Copy or download it into Claude Code or Codex.
Beveled frames, gold headings, blue gradient grounds — a 1995 menu window.
Theme: dark
JRPG interfaces come from 16- and 32-bit game menus: deep navy (#0f172a) under a blue-to-deep-blue gradient, windows framed at 2px with inset shadows for the bevel, gold (#fbbf24) headings, green HP and blue MP bars, cards with a double stroke (2px dark blue plus a 1px bright ring), and buttons that read as raised through an inset white highlight. Menu feedback must cut hard at 75 to 120ms, imitating a controller moving between options — never a smooth ease. Flat minimalism is refused; no border and no shadow here means nothing was done.
| Name | Value | Token | Role |
|---|---|---|---|
| Deep Navy | #0f172a | --color-deep-navy | The page ground and window interior — the menu tone of a 32-bit RPG. |
| Command Blue | #1e40af | --color-command-blue | Window frames, button grounds and the MP bar. |
| Gold | #fbbf24 | --color-gold | Headings, key figures and selection — the one bright color in a menu. |
| Window White | #f0f9ff | --color-window-white | Primary text and descriptions — a faintly blue white. |
| HP Green | #22c55e | --color-hp-green | Health and success, always a segmented bar rather than a continuous gradient. |
| Signal Green | #56ed40 | --color-signal-green | Status hints and actionable marks. |
| Role | Family | Weight | Size | Line Height | Letter Spacing | Token |
|---|---|---|---|---|---|---|
| heading | Inter | 700 | 44px | 1.15 | 0.02em | --text-heading |
| subheading | Inter | 700 | 34px | 1.2 | 0.02em | --text-subheading |
| body-lg | Inter | 400 | 20px | 1.5 | — | --text-body-lg |
| body | Inter | 400 | 16px | 1.6 | — | --text-body |
| body-sm | Inter | 400 | 13px | 1.55 | — | --text-body-sm |
| label | JetBrains Mono | 700 | 13px | 1.4 | 0.08em | --text-label |
Base unit: 8px Density: compact
| Name | Value | Token |
|---|---|---|
| 8 | 8px | --spacing-8 |
| 12 | 12px | --spacing-12 |
| 16 | 16px | --spacing-16 |
| 24 | 24px | --spacing-24 |
| 32 | 32px | --spacing-32 |
| 48 | 48px | --spacing-48 |
| 64 | 64px | --spacing-64 |
| Element | Value |
|---|---|
| cards | 8px |
| buttons | 6px |
| inputs | 6px |
| bars | 999px |
Role: The beveled menu window — the core component
A #132039 ground with a 2px command blue border plus an outer 1px bright blue ring at 20% for the double stroke, 8px radius, 20px padding, and the bevel from inset 0 1px 0 white at 20% and inset 0 -1px 0 black at 35%. The drop shadow runs 0 8px 24px at 55% black. Titles at 34px/700 in gold, content at 16px in window white.
Role: Command button
Command blue fill, window white text, a 2px dark blue border, 6px radius, 16px/700, 10px 24px padding, with inset 0 1px 0 white at 20% for the raise. Hover brightens the fill six percent and turns the text gold; press reverses the inset shadow and sinks 1px. 90ms linear — a hard cut.
Role: HP and MP bars
16px tall on a fully rounded shape with a 2px dark blue border, filled green for HP or bright blue for MP, divided into 8px cells with 2px gaps to imitate a segmented bar. No smooth gradient — segmentation is the mark of the era. The figure sits right in 13px monospace gold.
Role: The menu option list
Each item is 36px tall on a 6px radius with an 8px gold triangle or square marking selection 8px from the left (transparent when unselected). Selection fills 18% gold and turns the text gold. Switching cuts color only, never slides, in 90ms.
Role: Portrait and avatar frames
48 to 96px on an 8px radius, a 2px gold border plus a 1px dark blue outer ring, filled with deep navy or a portrait. A 4px gold corner mark sits at each corner. It carries characters, items and party members.
| Level | Name | Value | Purpose |
|---|---|---|---|
| 0 | Navy Gradient | linear-gradient(#1e3a8a, #0f172a) | 页面与窗口底 |
| 1 | Window | #132039 | 菜单窗口 |
| 2 | Selected Row | rgba(251,191,36,0.18) | 选中行 |
inset 0 1px 0 rgba(255,255,255,0.20), inset 0 -1px 0 rgba(0,0,0,0.35)0 8px 24px rgba(0,0,0,0.55)inset 0 2px 6px rgba(0,0,0,0.45)Pixel portraits, item icons, maps and skill effects. Icons need a 2px stroke and an inner shadow — flat line art will not do. A photo may be reduced to a 32-color palette. No modern illustration or flat icons.
Capped at 1120px with 16px padding and 12px between windows, producing a dense menu arrangement. Windows may stack with sub-menus offset 8px and a deeper shadow. Dimensions are multiples of four.
QUICK COLOR REFERENCE:
#f0f9ff#0f172a#1e40af#fbbf24#22c55e#132039EXAMPLE COMPONENT PROMPTS:
:root {
/* Colors */
--color-deep-navy: #0f172a;
--color-command-blue: #1e40af;
--color-gold: #fbbf24;
--color-window-white: #f0f9ff;
--color-hp-green: #22c55e;
--color-signal-green: #56ed40;
/* Typography — Font Families */
--font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
--font-mono: 'JetBrains Mono', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
/* Typography — Scale */
--text-heading: 44px;
--leading-heading: 1.15;
--tracking-heading: 0.02em;
--text-subheading: 34px;
--leading-subheading: 1.2;
--tracking-subheading: 0.02em;
--text-body-lg: 20px;
--leading-body-lg: 1.5;
--text-body: 16px;
--leading-body: 1.6;
--text-body-sm: 13px;
--leading-body-sm: 1.55;
--text-label: 13px;
--leading-label: 1.4;
--tracking-label: 0.08em;
/* Typography — Weights */
--font-weight-regular: 400;
--font-weight-bold: 700;
/* Spacing */
--spacing-unit: 8px;
--spacing-8: 8px;
--spacing-12: 12px;
--spacing-16: 16px;
--spacing-24: 24px;
--spacing-32: 32px;
--spacing-48: 48px;
--spacing-64: 64px;
/* Layout */
--page-max-width: 1120px;
--section-gap: 48px;
--card-padding: 20px;
--element-gap: 12px;
--density: compact;
/* Border Radius */
--radius-cards: 8px;
--radius-buttons: 6px;
--radius-inputs: 6px;
--radius-bars: 999px;
/* Surfaces */
--surface-navy-gradient: linear-gradient(#1e3a8a, #0f172a);
--surface-window: #132039;
--surface-selected-row: rgba(251,191,36,0.18);
}
Component Templates
FAQ
/* JRPG Global Styles */
@layer base {
body {
@apply bg-[#0f172a] text-[#f0f9ff] antialiased;
}
h1, h2, h3 {
color: #fbbf24;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
::selection {
@apply bg-blue-700 text-white;
}
}
@keyframes hp-pulse {
0%, 100% { box-shadow: 0 0 4px rgba(34, 197, 94, 0.3); }
50% { box-shadow: 0 0 8px rgba(34, 197, 94, 0.6); }
}
/* JRPG Design Tokens */
:root {
--jrpg-primary: #1e40af;
--jrpg-secondary: #0f172a;
--jrpg-accent: #fbbf24;
--jrpg-glow: rgba(30, 64, 175, 0.3);
}
.jrpg-card {
position: relative;
overflow: hidden;
}
.jrpg-card::before {
content: "";
position: absolute;
inset: 0;
opacity: 0;
transition: opacity 0.3s ease;
background: linear-gradient(135deg, rgba(30, 64, 175, 0.05), transparent);
pointer-events: none;
}
.jrpg-card:hover::before {
opacity: 1;
}
.jrpg-gradient {
background: linear-gradient(135deg, #1e40af, #fbbf24);
}
.jrpg-gradient-text {
background: linear-gradient(135deg, #1e40af, #fbbf24);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.jrpg-frosted {
backdrop-filter: blur(12px) saturate(180%);
-webkit-backdrop-filter: blur(12px) saturate(180%);
background: rgba(30, 64, 175, 0.08);
}
.jrpg-accent-corner {
clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}
.jrpg-animate-in {
animation: jrpg-fade-in 0.5s ease-out both;
}Related Styles
Explore these styles for ready-made tokens and components.
JRPG 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.
| Attribute | JRPG | Collage Art |
|---|---|---|
| Primary color | #1e40af | #2d2d2d |
| Secondary color | #0f172a | #f5f0e8 |
| Best for | JRPG / RPG menu / dialogue box | collage art / paper collage / paper cutout |
| Unique tags | — | — |
JRPG style descends from the menu screens of 16-bit and 32-bit Japanese role-playing games -- the era when Final Fantasy, Dragon Quest and Chrono Trigger turned a simple status screen into a piece of worldbuilding. Every panel was carved, gilded and lit like an artifact from the game's own universe.