Styledex
← Index

Pixel Anime

像素动漫风

stylekitMITGaming · gamingPixel · pixelRetro · retroLight and dark · bothMedium · mediumBlue · blueVivid · vividSerif · serifLanding · landing

将经典JRPG游戏UI与像素动漫美学融合,以RPG对话框、状态条、像素边框和NES色板打造怀旧8-bit游戏界面风格。

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

"Pixel Anime" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/pixel-anime @ bfa7da909e86.

https://github.com/AnxForever/stylekit · api/styles/pixel-anime · bfa7da909e86 · © AnxForever

Do

  • Use RPG dialogue box frames with 4px borders and corner block decorations
  • Include HP/MP/EXP status bar UI elements with flat fills
  • Apply hard offset shadows (4px_4px_0px) for pixel depth
  • Use monospace font exclusively for all text
  • Keep interactions step-based (translate-x/y in 2px increments)
  • Use NES-palette colors: blue #4a90d9, red #ff6b6b, gold #ffd93d, green #50c878
  • Add pixel corner block decorations on major containers
  • Framerate Drop: use `duration-75 ease-linear` for all transitions to simulate 15fps GBA/NDS-era animation cadence

Don't

  • 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 `ease-in-out` or `ease` curves — only `ease-linear` or `transition-none` (pixel animations are abrupt, not organic)
  • Never use blurred glow shadows for the Blocky Aura effect — zero blur is mandatory for 8-bit authenticity
  • Never trigger Corner Blink animation outside of `group-hover` state — idle blinking on load creates visual noise

Prompt

Use Pixel Anime style to create a JRPG character panel:
1. Background: dark purple with visible pixel grid overlay
2. RPG dialogue box frames with corner block decorations
3. HP/MP/EXP status bars with flat color fills
4. Character stats in monospace font, NES color palette
5. Pixel shadows and step-based button interactions

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

Tokens

DTCG

{
  "$schema": "https://www.designtokens.org/schemas/2025.10/format.json",
  "$description": "Pixel Anime. \"Pixel Anime\" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/pixel-anime @ bfa7da909e86.",
  "$extensions": {
    "dev.styledex": {
      "id": "stylekit-pixel-anime",
      "license": "MIT",
      "attribution": "\"Pixel Anime\" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/pixel-anime @ bfa7da909e86.",
      "banner": "powered by Styledex — https://styledex.dev"
    }
  },
  "color": {
    "background": {
      "$type": "color",
      "$value": "#2d1b69"
    },
    "foreground": {
      "$type": "color",
      "$value": "#e0e0ff"
    },
    "card": {
      "$type": "color",
      "$value": "#2d1b69"
    },
    "card-foreground": {
      "$type": "color",
      "$value": "#e0e0ff"
    },
    "primary": {
      "$type": "color",
      "$value": "#4a90d9"
    },
    "primary-foreground": {
      "$type": "color",
      "$value": "#fafaf9"
    },
    "secondary": {
      "$type": "color",
      "$value": "#2d1b69"
    },
    "secondary-foreground": {
      "$type": "color",
      "$value": "#e0e0ff"
    },
    "accent": {
      "$type": "color",
      "$value": "#ff6b6b"
    },
    "accent-foreground": {
      "$type": "color",
      "$value": "#fafaf9"
    },
    "muted": {
      "$type": "color",
      "$value": "#3a2972"
    },
    "muted-foreground": {
      "$type": "color",
      "$value": "#9292a6"
    },
    "border": {
      "$type": "color",
      "$value": "#4a3b7e"
    },
    "destructive": {
      "$type": "color",
      "$value": "#dc2626"
    },
    "ring": {
      "$type": "color",
      "$value": "#4a90d9"
    }
  },
  "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": "0px"
    }
  },
  "spacing": {
    "base": {
      "$type": "dimension",
      "$value": "1rem"
    }
  },
  "shadow": {
    "base": {
      "$type": "shadow",
      "$value": "4px 4px 0px #1a1040"
    }
  }
}

CSS

/* powered by Styledex — https://styledex.dev */
/* "Pixel Anime" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/pixel-anime @ bfa7da909e86. */
:root {
  --background: #2d1b69;
  --foreground: #e0e0ff;
  --card: #2d1b69;
  --card-foreground: #e0e0ff;
  --primary: #4a90d9;
  --primary-foreground: #fafaf9;
  --secondary: #2d1b69;
  --secondary-foreground: #e0e0ff;
  --accent: #ff6b6b;
  --accent-foreground: #fafaf9;
  --muted: #3a2972;
  --muted-foreground: #9292a6;
  --border: #4a3b7e;
  --destructive: #dc2626;
  --ring: #4a90d9;
  --radius: 0px;
  --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: 4px 4px 0px #1a1040;
}

Tailwind

/* powered by Styledex — https://styledex.dev */
/* "Pixel Anime" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/pixel-anime @ bfa7da909e86. */
/** Tailwind theme extend for Pixel Anime (stylekit-pixel-anime) */
module.exports = {
  "theme": {
    "extend": {
      "colors": {
        "background": "#2d1b69",
        "foreground": "#e0e0ff",
        "card": "#2d1b69",
        "primary": "#4a90d9",
        "primary-foreground": "#fafaf9",
        "secondary": "#2d1b69",
        "accent": "#ff6b6b",
        "muted": "#3a2972",
        "border": "#4a3b7e",
        "destructive": "#dc2626",
        "ring": "#4a90d9"
      },
      "borderRadius": {
        "lg": "0px"
      },
      "fontFamily": {
        "sans": [
          "ui-sans-serif",
          "system-ui",
          "sans-serif"
        ],
        "serif": [
          "ui-serif",
          "Georgia",
          "serif"
        ],
        "mono": [
          "ui-monospace",
          "SFMono-Regular",
          "Menlo",
          "monospace"
        ]
      },
      "boxShadow": {
        "styledex": "4px 4px 0px #1a1040"
      }
    }
  }
};

shadcn

/* powered by Styledex — https://styledex.dev */
/* "Pixel Anime" from https://github.com/AnxForever/stylekit (MIT). © AnxForever. api/styles/pixel-anime @ bfa7da909e86. */
@layer base {
:root {
  --background: #2d1b69;
  --foreground: #e0e0ff;
  --card: #2d1b69;
  --card-foreground: #e0e0ff;
  --primary: #4a90d9;
  --primary-foreground: #fafaf9;
  --secondary: #2d1b69;
  --secondary-foreground: #e0e0ff;
  --accent: #ff6b6b;
  --accent-foreground: #fafaf9;
  --muted: #3a2972;
  --muted-foreground: #9292a6;
  --border: #4a3b7e;
  --destructive: #dc2626;
  --ring: #4a90d9;
  --radius: 0px;
  --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: 4px 4px 0px #1a1040;
}
}