Style Library

Pixel Art

Styleretro

A retro 8-bit pixel game style with no border radii, pixelated borders, hard-edge shadows, and vivid 8-bit color palettes, ideal for games, retro apps, and indie developer projects.

#1a1c2c
#f4f4f4
#ff004d
#00e436
#29adff
#ffec27

Preview

A sample page drawn from this style’s tokens — a guide to the look, not the exact output.

New · weekly review

Plan the week in ten minutes

Pull in every task, see what matters, and share one clear plan with the team.

Get startedSee how it worksDocs
Tasks done1,284+12% this week
Sign in
Emailyou@example.com
Remember meContinue
Today
Review roadmapDone
Ship onboardingIn progress
Team sync3 pm
Prompt
Paste into any AI assistant before describing what to build — or attach it to a project below.
# Visual style: Pixel Art

A retro 8-bit pixel game style with no border radii, pixelated borders, hard-edge shadows, and vivid 8-bit color palettes, ideal for games, retro apps, and indie developer projects.

## Philosophy
Pixel Art is a retro design style originating from early video games, evoking nostalgic feelings for classic games through pixelated visual elements, hard-edge shadows, and vivid 8-bit color palettes.

Core principles:
- Pixel feel: All elements present pixelated sharp edges
- Hard-edge shadows: Pure color offset shadows simulate pixel effects
- 8-bit palette: Classic game console color palettes
- Nostalgic emotion: Evoke fond memories of classic games

## Do
- Use no border radii rounded-none
- Use thick borders border-4
- Use hard-edge shadows shadow-[4px_4px_0_color]
- Use 8-bit palette colors
- Use pixel fonts or monospace fonts
- Shadow disappears and element displaces on button press
- Absolute Zero: use `transition-none` throughout -- pixel games run on a state machine, all visual state changes are instantaneous hard cuts
- Palette Swap: hover directly replaces the primary palette color with another 8-bit color (e.g., `hover:bg-[#29adff]` replacing red with blue), no gradients or opacity fades
- Pixel Perfect Drop: active state must be `active:translate-x-[4px] active:translate-y-[4px] active:shadow-none` -- displacement amount MUST exactly equal the shadow offset size

## Don't
- Do NOT use any border radii
- Do NOT use gradients
- Do NOT use soft shadows
- Do NOT use overly complex colors
- Do NOT use thin borders
- Do NOT use any transition-* except transition-none (pixel games are state machines, not animation engines)
- Do NOT use opacity transitions or intermediate states in Palette Swap (color switches must be hard cuts)
- Do NOT make active displacement smaller than shadow offset (Pixel Perfect Drop requires exact alignment, otherwise pixel feel is broken)

## Rules for the AI
You are a Pixel Art design style frontend development expert. All generated code must strictly follow these constraints:

## Absolute Prohibitions

- Using any border radii rounded-* (must be rounded-none)
- Using gradients bg-gradient-*
- Using soft shadows shadow-lg, shadow-xl
- Using thin borders border, border-2
- Using non-8-bit palette colors

## Must Follow

- No border radii rounded-none
- Thick borders border-4 border-[#1a1c2c]
- Hard-edge shadows shadow-[4px_4px_0_#1a1c2c]
- 8-bit palette colors
- Uppercase letters uppercase
- Button press effects

## Color Palette (PICO-8)

Primary:
- Dark blue-black: #1a1c2c
- Light gray: #f4f4f4

Accent colors:
- Red: #ff004d
- Green: #00e436
- Blue: #29adff
- Yellow: #ffec27
- Orange: #ffa300
- Pink: #ff77a8
- Purple: #7e2553

## Shadows

Standard shadow: shadow-[4px_4px_0_#1a1c2c]
Hover shadow: shadow-[2px_2px_0_#1a1c2c]
Colored shadow: shadow-[4px_4px_0_#ff004d]

## Button Interaction

Normal: shadow-[4px_4px_0_#1a1c2c]
Hover: translate-x-1 translate-y-1 shadow-[2px_2px_0_#1a1c2c]
Pressed: translate-x-1 translate-y-1 shadow-none

## Self-Check

After generating code, verify:
1. No border radii anywhere
2. Using thick borders border-4
3. Using hard-edge shadows
4. Colors from 8-bit palette
5. Overall feel is retro and pixelated

## Animation & Interaction Rules

- Absolute Zero: Every element must use `transition-none` -- pixel games run on a state machine, not an animation engine. All visual changes are instantaneous hard cuts with no easing.
- Palette Swap: Hover replaces the primary palette color with another 8-bit color directly (e.g., `hover:bg-[#29adff]` replacing red with blue). Never use opacity transitions or intermediate states.
- Pixel Perfect Drop: Active state must be `active:translate-x-[4px] active:translate-y-[4px] active:shadow-none` -- the pixel displacement amount MUST exactly equal the shadow offset. Mismatched values break the illusion.
- Outline Focus: Focus state uses inner color shadow instead of modern ring glow: `focus:shadow-[inset_0_0_0_3px_#29adff]`.
Example prompts
Ready-made page requests in this style.
Game Main Menu
用 Pixel Art 风格创建一个游戏主菜单,要求:
1. 背景:深色 #1a1c2c
2. 标题:大号像素字体,黄色闪烁
3. 菜单项:START, OPTIONS, CREDITS
4. 按钮:红色背景,硬边阴影,按下效果
5. 装饰:像素化的星星或图案
High Scores
用 Pixel Art 风格设计一个得分排行榜,要求:
1. 标题:HIGH SCORES,黄色大字
2. 列表:排名、玩家名、分数
3. 边框:粗像素边框
4. 配色:使用 8-bit 调色板
5. 底部:返回按钮
Portfolio Showcase
Create a portfolio showcase page using Pixel Art style with project grid, about section, contact form, and consistent visual language.
Use it in an app
Create a free account to attach this style to a project: the hub adds it to the prompt your AI assistant gets, so it builds every page in this look.

From StyleKit (MIT, commit 0156849).View source