Best For
ukiyo-e / Japanese woodblock print / Hokusai
Inspired by Japanese ukiyo-e woodblock prints, featuring indigo, vermilion, and gold leaf as primary colors, flat design, bold outlines, wave patterns, and Hokusai-style composition -- blending traditional Eastern aesthetics into modern digital interfaces.
Best For
ukiyo-e / Japanese woodblock print / Hokusai
Primary Move
Use indigo, vermilion, and gold leaf as primary colors
Watch Out
Do not use gradient shadows or soft blur
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: Ukiyo-e Digital
style_slug: ukiyo-e-digital
style_source: /styles/ukiyo-e-digital
# 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 Ukiyo-e Digital design style frontend development expert. All generated code must strictly follow these constraints:
## Absolutely Forbidden
- Gradient shadows or soft blur effects
- Transparency and glassmorphism
- Large rounded corners or circular buttons
- Neon or high-saturation modern colors
## Must Follow
- Indigo #1a3055 as primary, vermilion #d4553a as accent
- Rice white #f5f0e1 as background (washi paper texture)
- Use hard-edge shadows shadow-[Xpx_Ypx_0px_color]
- Use small rounded corners rounded-sm or sharp corners
- Bold borders border-2 for woodblock outline feel
## Color Palette
Primary:
- Indigo: #1a3055
- Vermilion: #d4553a
- Gold Leaf: #c9a227
- Rice White: #f5f0e1
## Special Elements
- Wave pattern SVG decorations
- Hard-edge shadows simulating woodblock print texture
- Vermilion seal/stamp effect decorations
- Large flat color blocks
## Animation & Interaction Rules
- Woodblock Offset: Hover must use hard-edge offset shadow (no blur) + slight displacement, simulating woodblock misregistration overprint.
- Stamp Press: Active instantly cancels shadow and displacement, switching to vermilion border/text feedback to represent stamp pressing.
- Zero Fluidity: Use duration-75 ease-linear or transition-none, rejecting modern silky-smooth animations.
- Motif Reveal: Traditional patterns like waves/clouds can use opacity hard-cut on hover to reinforce layout hierarchy.
---
# Ukiyo-e Digital Design System
> Inspired by Japanese ukiyo-e woodblock prints, featuring indigo, vermilion, and gold leaf as primary colors, flat design, bold outlines, wave patterns, and Hokusai-style composition -- blending traditional Eastern aesthetics into modern digital interfaces.
## Design Philosophy
Ukiyo-e Digital transforms Edo-period woodblock print art into a modern digital design language, preserving its distinctive flat perspective and color-blocking techniques.
Core principles:
- Flat perspective: Layered composition without depth
- Color blocking: Large areas of solid color fill with bold outlines
- Natural imagery: Decorative expression of waves, mountains, flowers, and birds
- Eastern charm: Aesthetic pursuit of subtlety, negative space, and artistic conception
---
## Token Dictionary (exact class mapping)
### Border
```
Width: border-2
Color: border-[#1a3055]
Radius: rounded-sm
```
### Shadow
```
sm: shadow-[2px_2px_0px_#1a3055]
md: shadow-[4px_4px_0px_#1a3055]
lg: shadow-[6px_6px_0px_#1a3055]
hover: hover:shadow-[6px_6px_0px_#1a3055]
focus: focus:shadow-[2px_2px_0px_#d4553a]
```
### Interaction
```
Hover translate: hover:-translate-y-0.5
Hover scale: (none)
Hover opacity: (none)
Transition: transition-all duration-300 ease-in-out
Active: active:translate-y-0.5
```
### Typefaces
```
Heading: font-bold tracking-wider
Body: font-sans
Mono: font-mono
```
### Type scale
```
Hero: text-4xl md:text-6xl lg:text-8xl
H1: text-3xl md:text-5xl
H2: text-2xl md:text-4xl
H3: text-xl md:text-2xl
Body: text-sm md:text-base
Small: text-xs md:text-sm
```
### Spacing
```
Section: py-12 md:py-20 lg:py-28
Container: px-4 md:px-8 lg:px-12
Card: p-5 md:p-8
Gap sm: gap-3 md:gap-4
Gap md: gap-4 md:gap-6
Gap lg: gap-6 md:gap-10
```
### Color roles
```
Background primary: bg-[#f5f0e1]
Background secondary: bg-[#1a3055]
Background accent: bg-[#d4553a], bg-[#c9a227], bg-[#2a5a8c]
Text primary: text-[#1a3055]
Text secondary: text-[#d4553a]
Text muted: text-[#1a3055]/60
Button primary: bg-[#d4553a] text-[#f5f0e1] border-2 border-[#1a3055]
Button secondary: bg-[#1a3055] text-[#f5f0e1] border-2 border-[#c9a227]
```
---
## [FORBIDDEN]
These classes are banned in this style. Check for them before returning code:
### Banned classes
- `rounded-full`
- `rounded-2xl`
- `rounded-xl`
- `rounded-lg`
- `bg-gradient-to-r`
- `bg-gradient-to-br`
- `backdrop-blur`
- `backdrop-blur-sm`
- `backdrop-blur-md`
- `shadow-[0_0_16px_rgba`
- `shadow-[0_0_20px_rgba`
- `text-[#ff00ff]`
- `text-[#00ffff]`
### Banned patterns
- matches `^rounded-(?:full|2xl|xl|lg)`
- matches `^bg-gradient`
- matches `^backdrop-blur`
- matches `^shadow-\[0_0_\d+px_rgba`
### Why they are banned
- `rounded-full`: Ukiyo-e uses sharp edges (rounded-sm) to emulate woodblock print
- `bg-gradient-to-r`: Ukiyo-e uses flat solid colors, not gradients
- `backdrop-blur`: Ukiyo-e uses flat opaque surfaces, not transparency effects
- `shadow-[0_0_16px_rgba`: Ukiyo-e uses hard-edge block shadows, not soft glow
> WARNING: if your code contains any of the above, replace it before shipping.
---
## [REQUIRED]
### Every button must include
```
rounded-sm
border-2
shadow-[3px_3px_0px_#1a3055]
font-bold tracking-wider
transition-all duration-300 ease-in-out
```
### Every card must include
```
rounded-sm
bg-[#f5f0e1]
border-2 border-[#1a3055]
shadow-[4px_4px_0px_#1a3055]
```
### Every input must include
```
rounded-sm
border-2 border-[#1a3055]/60
bg-[#f5f0e1]
text-[#1a3055]
focus:border-[#d4553a]
focus:outline-none
```
---
## [COMPARE] Ukiyo-e Digital wrong vs right
The wrong examples below stand for generic library defaults that were never adapted to this style. Do not read them as visual suggestions.
### Button
[WRONG] **Wrong** (generic component library default, do not copy):
```html
<button class="{GENERIC_LIBRARY_BUTTON_DEFAULT}">
Click me
</button>
```
[CORRECT] **Right** (uses this style's tokens):
```html
<button class="rounded-sm border-2 shadow-[3px_3px_0px_#1a3055] font-bold tracking-wider transition-all duration-300 ease-in-out bg-[#d4553a] text-[#f5f0e1] border-2 border-[#1a3055]">
Click me
</button>
```
### Card
[WRONG] **Wrong** (generic card, not adapted to this style):
```html
<div class="{GENERIC_LIBRARY_CARD_DEFAULT}">
<h3>{TITLE}</h3>
</div>
```
[CORRECT] **Right** (uses this style's card tokens):
```html
<div class="rounded-sm bg-[#f5f0e1] border-2 border-[#1a3055] shadow-[4px_4px_0px_#1a3055] p-5 md:p-8">
<h3 class="font-bold tracking-wider text-xl md:text-2xl">{TITLE}</h3>
</div>
```
### Input
[WRONG] **Wrong** (generic input, not adapted to this style):
```html
<input class="{GENERIC_LIBRARY_INPUT_DEFAULT}" />
```
[CORRECT] **Right** (uses this style's input tokens):
```html
<input class="rounded-sm border-2 border-[#1a3055]/60 bg-[#f5f0e1] text-[#1a3055] focus:border-[#d4553a] focus:outline-none" placeholder="{PLACEHOLDER}" />
```
---
## [TEMPLATES] Ukiyo-e Digital page skeletons
These skeletons use this style's tokens only. Replace `{PLACEHOLDER}` values, but keep every token in place:
### Navigation
```html
<nav class="bg-[#f5f0e1] text-[#1a3055] border-2 border-[#1a3055] px-4 md:px-8 lg:px-12">
<div class="flex items-center justify-between max-w-6xl mx-auto gap-4 md:gap-6">
<a href="/" class="font-bold tracking-wider text-xl md:text-2xl">
{LOGO_TEXT}
</a>
<div class="flex gap-4 md:gap-6 font-sans text-xs md:text-sm">
{NAV_LINKS}
</div>
</div>
</nav>
```
### Hero section
```html
<section class="bg-[#d4553a] text-[#1a3055] py-12 md:py-20 lg:py-28 px-4 md:px-8 lg:px-12">
<div class="max-w-4xl mx-auto">
<h1 class="font-bold tracking-wider text-4xl md:text-6xl lg:text-8xl">
{HEADLINE}
</h1>
<p class="font-sans text-sm md:text-base max-w-xl">
{SUBHEADLINE}
</p>
<button class="rounded-sm border-2 shadow-[3px_3px_0px_#1a3055] font-bold tracking-wider transition-all duration-300 ease-in-out bg-[#d4553a] text-[#f5f0e1] border-2 border-[#1a3055]">
{CTA_TEXT}
</button>
</div>
</section>
```
### Card grid
```html
<section class="bg-[#f5f0e1] text-[#1a3055] py-12 md:py-20 lg:py-28 px-4 md:px-8 lg:px-12">
<div class="max-w-6xl mx-auto">
<h2 class="font-bold tracking-wider text-2xl md:text-4xl">{SECTION_TITLE}</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 md:gap-6">
<!-- Card template - repeat for each card -->
<div class="rounded-sm bg-[#f5f0e1] border-2 border-[#1a3055] shadow-[4px_4px_0px_#1a3055] p-5 md:p-8">
<h3 class="font-bold tracking-wider text-xl md:text-2xl">{CARD_TITLE}</h3>
<p class="font-sans text-sm md:text-base text-[#1a3055]/60">{CARD_DESCRIPTION}</p>
</div>
</div>
</div>
</section>
```
### Form input
```html
<input class="rounded-sm border-2 border-[#1a3055]/60 bg-[#f5f0e1] text-[#1a3055] focus:border-[#d4553a] focus:outline-none" placeholder="{PLACEHOLDER}" />
```
### Footer
```html
<footer class="bg-[#1a3055] text-[#d4553a] py-12 md:py-20 lg:py-28 px-4 md:px-8 lg:px-12">
<div class="max-w-6xl mx-auto">
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 md:gap-10">
<div>
<span class="font-bold tracking-wider text-xl md:text-2xl">{LOGO_TEXT}</span>
<p class="font-sans text-xs md:text-sm">{TAGLINE}</p>
</div>
<div>
<h4 class="font-bold tracking-wider text-xl md:text-2xl">{COLUMN_TITLE}</h4>
<ul class="font-sans text-xs md:text-sm">
{FOOTER_LINKS}
</ul>
</div>
</div>
</div>
</footer>
```
---
## [CHECKLIST] Ukiyo-e Digital post-generation self check
**Before returning code, verify every token and rule below. Fix any violation before delivering:**
### Token check
- [ ] Button includes: `rounded-sm border-2 shadow-[3px_3px_0px_#1a3055] font-bold tracking-wider transition-all duration-300 ease-in-out`
- [ ] Card includes: `rounded-sm bg-[#f5f0e1] border-2 border-[#1a3055] shadow-[4px_4px_0px_#1a3055]`
- [ ] Input includes: `rounded-sm border-2 border-[#1a3055]/60 bg-[#f5f0e1] text-[#1a3055] focus:border-[#d4553a] focus:outline-none`
### Forbidden check
- [ ] Not using `rounded-full`
- [ ] Not using `rounded-2xl`
- [ ] Not using `rounded-xl`
- [ ] Not using `rounded-lg`
- [ ] Not using `bg-gradient-to-r`
- [ ] Not using `bg-gradient-to-br`
- [ ] Not using `backdrop-blur`
- [ ] Not using `backdrop-blur-sm`
### Style rule check
- [ ] Use indigo, vermilion, and gold leaf as primary colors
- [ ] Adopt flat design with bold outlines
- [ ] Use hard-edge shadows to simulate woodblock print texture
- [ ] Add wave and natural pattern decorations
- [ ] Rice white background for washi paper texture
### Style drift check
- [ ] Does not violate: Do not use gradient shadows or soft blur
- [ ] Does not violate: Do not use transparency and glass effects
- [ ] Does not violate: Do not use Western-style rounded corners and circular buttons
- [ ] Does not violate: Do not use neon or high-saturation modern colors
- [ ] Does not violate: Do not use spring-bounce or modern app silky-smooth animations
### Delivery check
- [ ] Responsive layout holds on phone, tablet and desktop with no horizontal overflow
- [ ] Every interactive element has a visible focus state, an accessible name and a reduced-motion path
- [ ] Text contrast meets WCAG AA and colour alone never carries state
- [ ] The result is still recognizable at a glance as Ukiyo-e Digital
## Absolute Bans (Match and Refuse)
If any of the following patterns appear, it is a style violation — rewrite without exception.
- use gradient shadows or soft blur
- use transparency and glass effects
- use Western-style rounded corners and circular buttons
- use neon or high-saturation modern colors
- use spring-bounce or modern app silky-smooth animations
- use soft shadows and glassmorphism that break the woodblock's crisp texture
## 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
- [ ] do not use gradient shadows or soft blur
- [ ] do not use transparency and glass effects
- [ ] do not use Western-style rounded corners and circular buttons
- [ ] do not use neon or high-saturation modern colors
- [ ] do not use spring-bounce or modern app silky-smooth animationsMore prompt libraries: All UI Prompts · Tailwind UI Prompts · Dark Mode UI Prompts
Component Templates
浮世绘数字风按钮
Frontend Readiness
This layer tracks whether the style is ready for real websites: theme modes, state feedback, keyboard access, and performance constraints.
Overall
51%
Fallback
Dark Mode
0%
MissingUI 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
/* Ukiyo-e Digital 全局样式 */
:root {
--ue-indigo: #1a3055;
--ue-vermilion: #d4553a;
--ue-gold: #c9a227;
--ue-rice: #f5f0e1;
}
/* 硬边阴影 */
.ue-shadow {
box-shadow: 4px 4px 0px var(--ue-indigo);
}
/* 波浪纹装饰 */
.ue-wave-bg {
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 50' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,25 Q50,0 100,25 T200,25' fill='none' stroke='%231a3055' stroke-width='1' opacity='0.1'/%3E%3C/svg%3E");
background-size: 200px 50px;
background-repeat: repeat;
}
/* 和纸质感 */
.ue-washi {
background-color: var(--ue-rice);
background-image: radial-gradient(
circle at 50% 50%,
rgba(26, 48, 85, 0.02) 0%,
transparent 80%
);
}
/* 朱印效果 */
.ue-stamp {
border: 2px solid var(--ue-vermilion);
padding: 4px 8px;
color: var(--ue-vermilion);
font-weight: bold;
}
@keyframes ukiyo-e-digital-fade-in {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes ukiyo-e-digital-pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}
.ukiyo-e-digital-card {
position: relative;
overflow: hidden;
}
.ukiyo-e-digital-card::before {
content: "";
position: absolute;
inset: 0;
opacity: 0;
transition: opacity 0.3s ease;
background: linear-gradient(135deg, rgba(26, 48, 85, 0.05), transparent);
pointer-events: none;
}
.ukiyo-e-digital-card:hover::before {
opacity: 1;
}
.ukiyo-e-digital-frosted {
backdrop-filter: blur(12px) saturate(180%);
-webkit-backdrop-filter: blur(12px) saturate(180%);
background: rgba(26, 48, 85, 0.08);
}
.ukiyo-e-digital-accent-corner {
clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}
.ukiyo-e-digital-animate-in {
animation: ukiyo-e-digital-fade-in 0.5s ease-out both;
}Related Styles
Explore these styles for ready-made tokens and components.
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
Ukiyo-e Digital transforms Edo-period woodblock print art into a modern digital design language, preserving its distinctive flat perspective and color-blocking techniques.
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 | /#1a3055 / #f5f0e1 | 11.54:1 | ||
| Secondary text on background | /#d4553a / #f5f0e1 | 3.57:1 | ||
| Muted text on background | /#1a3055 / #f5f0e1 | 11.54:1 | ||
| Text on secondary background | /#1a3055 / #1a3055 | 1:1 | ||
| Secondary text on secondary | /#d4553a / #1a3055 | 3.23:1 | ||
| Button primary | /#f5f0e1 / #d4553a | 3.57:1 | ||
| Text on accent 1 | /#1a3055 / #d4553a | 3.23:1 | ||
| Alt text on accent 1 | /#d4553a / #d4553a | 1:1 | ||
| Text on accent 2 | /#1a3055 / #c9a227 | 5.43:1 | ||
| Alt text on accent 2 | /#d4553a / #c9a227 | 1.68:1 | ||
| Text on accent 3 | /#1a3055 / #2a5a8c | 1.84:1 | ||
| Alt text on accent 3 | /#d4553a / #2a5a8c | 1.76:1 |
Readability
Score
87/100
Font Size
text-sm md:text-base
Font Weight
font-bold 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.