HomeStylesTemplates
StyleKit
StylesTemplates
  1. Home
  2. /Styles
  3. /Pixel Anime
Style Catalog/像素动漫风

像素动漫风

Pixel Anime

D
51/100Poor

Merging classic JRPG game UI with pixel anime aesthetics, featuring RPG dialogue boxes, status bars, pixel borders, and NES color palette for a nostalgic 8-bit game interface style.

像素动漫JRPG8-bitRPG对话框像素NES色板retrovintagenostalgic复古
View Full Showcase →Templates

Best For

像素动漫 / JRPG / 8-bit

Primary Move

Use RPG dialogue box frames with 4px borders and corner block decorations

Watch Out

Never use smooth gradients (linear-gradient, radial-gradient)

Showcase Entry

Live preview of the showcase page. Click to explore the full experience.

View Full Showcase →

Color Palette

Primary

#4a90d9

Secondary

#2d1b69

Accent 1

#ff6b6b

Accent 2

#ffd93d

Accent 3

#50c878

Accent 4

#a98d16

AI ImplementationComponent PreviewReadinessExportsRatings & Feedback

AI Implementation

Copy the Hard Prompt first, then use the spec when needed

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.

Hard Prompt

Use this by default: copy it, append the concrete requirement, and let AI generate consistent production UI.

When to use

  • -When AI should generate UI directly
  • -When repeated outputs must stay consistent
  • -When style drift is the main risk

How to use

  • -Copy the full prompt
  • -Append the concrete requirement
  • -Review against forbidden rules and UI states
STYLEKIT_STYLE_REFERENCE
style_name: Pixel Anime
style_slug: pixel-anime
style_source: /styles/pixel-anime

# 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 Pixel Anime design style frontend development expert. All generated code must strictly follow these constraints:

## Absolutely Forbidden

- Smooth gradients (linear-gradient, radial-gradient for decoration)
- Rounded corners (rounded-lg, rounded-xl, rounded-full)
- Blur effects (blur, backdrop-blur)
- Serif fonts
- Soft shadows (shadow-sm, shadow-md, shadow-lg, shadow-xl)

## Must Follow

- Dark purple background: bg-[#2d1b69] as primary, bg-[#1a1040] as secondary
- RPG dialogue box frames with 2-4px borders and corner block decorations
- HP/MP/EXP status bar UI elements with flat color fills
- Hard offset pixel shadows: shadow-[4px_4px_0px_#1a1040]
- Monospace font: font-mono for ALL text
- Bold 2px borders: border-2 border-[#1a1040]
- Flat colors only, no gradients
- Step-based hover: hover:translate-x-[2px] hover:translate-y-[2px]
- Linear easing: ease-linear, duration-75

## Color Palette (NES-inspired)

Primary:
- Pixel Blue: #4a90d9
- Dark Purple: #2d1b69
- Deep Dark: #1a1040
- Pixel Red: #ff6b6b
- Pixel Gold: #ffd93d
- Pixel Green: #50c878
- Light Text: #e0e0ff

## Unique Elements

- RPG dialogue box frame with corner block decorations
- HP/MP/EXP status bar progress indicators
- Pixel-grid background pattern (8px grid)
- Blinking pixel arrow cursor/continue indicators
- Step-based pixel-aligned hover translations

## Animation & Interaction Rules

- Framerate Drop: All transitions must use duration-75 ease-linear to simulate 15fps GBA/NDS-era animation. Never use ease-in-out or smooth bezier curves -- pixel animations are abrupt state changes.
- Blocky Aura: Hover glow must use multi-directional hard-edge colored shadows with zero blur. No blur() or drop-shadow() ever.
- Anime Action: Button active state applies squash-and-stretch: active:scale-x-110 active:scale-y-90 -- Japanese animation physics on press, not a translate drop.
- Corner Blink: Card corner pixel squares must use group-hover:animate-pulse to simulate idle game UI animation. Never animate in non-hover state -- blink only when the player's cursor is over the card.

Component Templates

Component Preview

RPG Menu Button

Pixel anime button with Blocky Aura multi-shadow hover + Anime Action squash-and-stretch on press

Frontend Readiness

Dark Mode, States, Motion, and Accessibility

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%

Fallback

UI States

79%

Partial

Motion

70%

Partial

A11y

70%

Partial

Performance

35%

Fallback

Key State Coverage

light / dark
HoverFocus VisibleDisabledLoadingEmptyErrorSuccess

Button

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

Implementation Notes

  • This style contains dark-mode signals, but no curated dark token contract has been reviewed.
  • Check contrast in both light and dark modes.
  • Check heavy shadows, blur, large media, and scroll-linked effects manually.
  • No style-specific performance cost profile has been curated yet.
Global Styles

Global CSS

css
/* Pixel Anime Global Styles */

:root {
  --pa-blue: #4a90d9;
  --pa-dark: #2d1b69;
  --pa-deep: #1a1040;
  --pa-red: #ff6b6b;
  --pa-gold: #ffd93d;
  --pa-green: #50c878;
  --pa-text: #e0e0ff;
}

/* RPG dialogue box frame with corner blocks */
.pa-dialog-frame {
  position: relative;
  border: 2px solid var(--pa-blue);
  background: var(--pa-deep);
}
.pa-dialog-frame::before,
.pa-dialog-frame::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--pa-blue);
}
.pa-dialog-frame::before { top: -4px; left: -4px; }
.pa-dialog-frame::after { top: -4px; right: -4px; }

/* Pixel grid overlay */
.pa-pixel-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 16, 64, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 16, 64, 0.12) 1px, transparent 1px);
  background-size: 8px 8px;
  pointer-events: none;
  image-rendering: pixelated;
}

/* HP/MP/EXP status bar */
.pa-status-bar {
  height: 8px;
  border: 2px solid var(--pa-deep);
  background: var(--pa-deep);
}
.pa-status-bar-fill {
  height: 100%;
  image-rendering: pixelated;
}

/* Pixel hard shadow */
.pa-shadow {
  box-shadow: 4px 4px 0px var(--pa-deep);
}

/* Blinking cursor animation */
@keyframes pa-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
.pa-blink {
  animation: pa-blink 1s infinite;
}

IDE Integration

IDE Configuration Export

Download configuration files for AI coding assistants to generate code in this style.

Style Pack

Export 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

Design Philosophy

Pixel Anime merges classic JRPG game UI with pixel-art anime aesthetics. Every element feels like it belongs in a 16-bit RPG menu screen.

Accessibility

Accessibility Score

WCAG 2.1 compliance analysis based on color contrast and typography readability.

51

Overall Score

Grade: D - Poor

Contrast Ratios

Score: 42/100Average Ratio: 5.48:1
AA FailAAA Fail
ContextColorsRatioAAAAA
Text on background
/#e0e0ff / #2d1b69
11.05:1
Secondary text on background
/#ffd93d / #2d1b69
10.35:1
Muted text on background
/#e0e0ff / #2d1b69
11.05:1
Text on secondary background
/#e0e0ff / #1a1040
13.65:1
Secondary text on secondary
/#ffd93d / #1a1040
12.79:1
Button primary
/#ffffff / #4a90d9
3.34:1
Text on accent 1
/#e0e0ff / #4a90d9
2.59:1
Alt text on accent 1
/#ffd93d / #4a90d9
2.43:1
Text on accent 2
/#e0e0ff / #ff6b6b
2.15:1
Alt text on accent 2
/#ffd93d / #ff6b6b
2.01:1
Text on accent 3
/#e0e0ff / #ffd93d
1.07:1
Alt text on accent 3
/#ffd93d / #ffd93d
1:1
Text on accent 4
/#e0e0ff / #50c878
1.65:1
Alt text on accent 4
/#ffd93d / #50c878
1.54:1

Readability

Score

72/100

Font Size

text-xs md:text-sm

Font Weight

font-mono font-bold uppercase tracking-wider

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.

StyleKit

A curated web design style library to help AI generate better-looking websites.

Navigation

StylesTemplatesGuideBlogChangelog

Resources

UI Design PromptsLanding Page PromptsDashboard PromptsTailwind UI PromptsDark Mode UI PromptsGitHub Repository

Stay Updated

By subscribing, you agree to our Privacy Policy and Terms.


Support Maintenance

If StyleKit helps your workflow, voluntary support helps cover servers, domains, and ongoing upkeep.

Scan to support / View all options

(c) 2026 StyleKit. Open source project.

AboutContactPrivacyTermsBuilt with the Editorial style
Stylekit前端样式库stylekit.top陕ICP备2025065501号-3