Best For
pixel anime / JRPG ui / retro game ui
像素动漫风
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.
Best For
pixel anime / JRPG ui / retro game ui
Primary Move
Use RPG dialogue box frames with 4px borders and corner block decorations
Watch Out
Never use smooth gradients (linear-gradient, radial-gradient)
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: 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.
## Absolute Bans (Match and Refuse)
If any of the following patterns appear, it is a style violation — rewrite without exception.
- use smooth gradients (linear-gradient, radial-gradient)
- use rounded corners (rounded-lg/xl/full)
- use blur effects (blur, backdrop-blur)
- use serif fonts
- use soft shadows (shadow-sm/md/lg/xl)
- use ease-in-out or ease curves -- only ease-linear or transition-none (pixel animations are abrupt, not organic)
- use blurred glow shadows for the Blocky Aura effect -- zero blur is mandatory for 8-bit authenticity
- trigger Corner Blink animation outside of group-hover state -- idle blinking on load creates visual noise
## Self-Check (Verify Before Shipping)
If any item fails, the style has drifted — fix before shipping.
- [ ] No purple-to-blue gradients
- [ ] No overused fonts (Inter, Roboto, Geist, Fraunces, Plus Jakarta Sans)
- [ ] No nested cards (cards inside cards)
- [ ] No gray text on colored backgrounds
- [ ] Body text contrast meets WCAG AA (>= 4.5:1)
- [ ] No bounce or elastic easing curves
- [ ] Animations have a prefers-reduced-motion fallback
- [ ] Body text line length capped at 65-75 characters
- [ ] No side-stripe accent borders (border-left/right > 1px)
- [ ] No gradient text (background-clip: text)
- [ ] No glassmorphism used as the default surface treatment
- [ ] No tiny uppercase tracked eyebrow labels above every section heading
- [ ] never use smooth gradients (linear-gradient, radial-gradient)
- [ ] never use rounded corners (rounded-lg/xl/full)
- [ ] never use blur effects (blur, backdrop-blur)
- [ ] never use serif fonts
- [ ] never use soft shadows (shadow-sm/md/lg/xl)Component Templates
Pixel anime button with Blocky Aura multi-shadow hover + Anime Action squash-and-stretch on press
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
FAQ
/* 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
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
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.
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 | /#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.