Styledex
← Index

JRPG

日式RPG

stylekitMITGaming · gamingGradient · gradientExperimental · experimentalRegional · regionalLight and dark · bothMedium · mediumBlue · blueVivid · vividSerif · serifLanding · landing

经典日式 RPG 菜单与对话框美学,斜面边框、渐变背景、状态栏、华丽框架。适合游戏界面、互动叙事、奇幻风格产品。

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

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

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

Do

  • 背景使用深海军蓝 bg-[#0f172a] 或 bg-slate-900
  • 使用 border-2 border-[#1e40af] 搭配内阴影模拟斜面效果
  • 金色高亮文字 text-[#fbbf24] 用于标题和重要信息
  • 使用渐变背景 bg-gradient-to-b from-blue-900 to-slate-900
  • 状态栏使用 bg-[#22c55e] 表示 HP,bg-blue-500 表示 MP
  • 卡片面板使用双层边框 ring-1 ring-blue-400/20 border-2 border-blue-800
  • 按钮使用内阴影 shadow-[inset_0_1px_0_rgba(255,255,255,0.2)] 模拟凸起
  • 菜单交互使用硬切反馈(duration-75 到 120)模拟手柄选中节奏

Don't

  • 禁止使用极简扁平风格(无边框、无阴影)
  • 禁止使用白色或浅色背景
  • 禁止仅使用现代无衬线字体(需搭配衬线或像素字体)
  • 禁止使用圆角过大 rounded-full 的按钮
  • 禁止使用透明/无底色的面板
  • 禁止使用低对比度配色
  • 禁止使用慢速网页化过渡(duration-300+)稀释游戏菜单手感

Prompt

Create a character status screen using JRPG style:
- Dark navy background with gradient
- Character info panel with gold title and corner decorations
- HP/MP/EXP stat bars with colored gradients
- Equipment slots with beveled borders
- Action buttons with inset shadow depth
- Stats grid showing STR, DEF, INT, SPD values

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

Tokens

DTCG

{
  "$schema": "https://www.designtokens.org/schemas/2025.10/format.json",
  "$description": "JRPG. \"JRPG\" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/jrpg @ bfa7da909e86.",
  "$extensions": {
    "dev.styledex": {
      "id": "stylekit-jrpg",
      "license": "MIT",
      "attribution": "\"JRPG\" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/jrpg @ bfa7da909e86.",
      "banner": "powered by Styledex — https://styledex.dev"
    }
  },
  "color": {
    "background": {
      "$type": "color",
      "$value": "#0f172a"
    },
    "foreground": {
      "$type": "color",
      "$value": "#f0f9ff"
    },
    "card": {
      "$type": "color",
      "$value": "#0f172a"
    },
    "card-foreground": {
      "$type": "color",
      "$value": "#f0f9ff"
    },
    "primary": {
      "$type": "color",
      "$value": "#1e40af"
    },
    "primary-foreground": {
      "$type": "color",
      "$value": "#fafaf9"
    },
    "secondary": {
      "$type": "color",
      "$value": "#0f172a"
    },
    "secondary-foreground": {
      "$type": "color",
      "$value": "#f0f9ff"
    },
    "accent": {
      "$type": "color",
      "$value": "#fbbf24"
    },
    "accent-foreground": {
      "$type": "color",
      "$value": "#fafaf9"
    },
    "muted": {
      "$type": "color",
      "$value": "#1d2537"
    },
    "muted-foreground": {
      "$type": "color",
      "$value": "#9ca2a6"
    },
    "border": {
      "$type": "color",
      "$value": "#313748"
    },
    "destructive": {
      "$type": "color",
      "$value": "#dc2626"
    },
    "ring": {
      "$type": "color",
      "$value": "#1e40af"
    }
  },
  "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": "inset 0 1px 0 rgba(255,255,255,0.2),0 2px 4px rgba(0,0,0,0.5)"
    }
  }
}

CSS

/* powered by Styledex — https://styledex.dev */
/* "JRPG" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/jrpg @ bfa7da909e86. */
:root {
  --background: #0f172a;
  --foreground: #f0f9ff;
  --card: #0f172a;
  --card-foreground: #f0f9ff;
  --primary: #1e40af;
  --primary-foreground: #fafaf9;
  --secondary: #0f172a;
  --secondary-foreground: #f0f9ff;
  --accent: #fbbf24;
  --accent-foreground: #fafaf9;
  --muted: #1d2537;
  --muted-foreground: #9ca2a6;
  --border: #313748;
  --destructive: #dc2626;
  --ring: #1e40af;
  --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: inset 0 1px 0 rgba(255,255,255,0.2),0 2px 4px rgba(0,0,0,0.5);
}

Tailwind

/* powered by Styledex — https://styledex.dev */
/* "JRPG" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/jrpg @ bfa7da909e86. */
/** Tailwind theme extend for JRPG (stylekit-jrpg) */
module.exports = {
  "theme": {
    "extend": {
      "colors": {
        "background": "#0f172a",
        "foreground": "#f0f9ff",
        "card": "#0f172a",
        "primary": "#1e40af",
        "primary-foreground": "#fafaf9",
        "secondary": "#0f172a",
        "accent": "#fbbf24",
        "muted": "#1d2537",
        "border": "#313748",
        "destructive": "#dc2626",
        "ring": "#1e40af"
      },
      "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": "inset 0 1px 0 rgba(255,255,255,0.2),0 2px 4px rgba(0,0,0,0.5)"
      }
    }
  }
};

shadcn

/* powered by Styledex — https://styledex.dev */
/* "JRPG" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/jrpg @ bfa7da909e86. */
@layer base {
:root {
  --background: #0f172a;
  --foreground: #f0f9ff;
  --card: #0f172a;
  --card-foreground: #f0f9ff;
  --primary: #1e40af;
  --primary-foreground: #fafaf9;
  --secondary: #0f172a;
  --secondary-foreground: #f0f9ff;
  --accent: #fbbf24;
  --accent-foreground: #fafaf9;
  --muted: #1d2537;
  --muted-foreground: #9ca2a6;
  --border: #313748;
  --destructive: #dc2626;
  --ring: #1e40af;
  --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: inset 0 1px 0 rgba(255,255,255,0.2),0 2px 4px rgba(0,0,0,0.5);
}
}