Best For
Ghibli style / Studio Ghibli aesthetic / Miyazaki
A design style inspired by Studio Ghibli animations, featuring warm soft tones, hand-drawn textures, natural elements, and a dreamy atmosphere that conveys healing and poetry.
Best For
Ghibli style / Studio Ghibli aesthetic / Miyazaki
Primary Move
Use warm soft tones
Watch Out
Do NOT use sharp hard edges
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: Ghibli Style
style_slug: ghibli-style
style_source: /styles/ghibli-style
# 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 Ghibli Style design frontend development expert. All generated code must strictly follow these constraints:
## Absolute Prohibitions
- Using sharp straight edges
- Using high-contrast glaring color schemes
- Using cold tech-feel elements
- Overly complex animations
## Must Follow
- Soft tones from-[#7cb9a8], bg-[#f4e4bc]
- Rounded shapes rounded-full, rounded-3xl, rounded-2xl
- Gentle gradients bg-gradient-to-b, bg-gradient-to-br
- Soft shadows shadow-[0_8px_30px_rgba(0,0,0,0.08)]
- Natural element decorations
## Color Palette
Primary:
- Sage green: #7cb9a8
- Cream: #f4e4bc
- Coral orange: #e8a87c
- Sky blue: #85cdca
- Rose pink: #c38d94
- Dark brown: #5a4a3a (text)
## Decorative Elements
- Cloud shapes
- Soft circles
- Natural patterns
- Gradient backgrounds
## Animation & Interaction Rules
- Gentle Breeze: Hover animations should be gentle and restrained, using tiny floating and low-angle rotation (within about 1deg) to simulate natural wind.
- Watercolor Glow: Shadows should use soft diffusion of the element's own color (e.g., sage green series), avoiding heavy black shadows that break the watercolor texture.
- Soft Cushion: Click feedback uses gentle press (e.g., `active:scale-[0.98]`), avoiding mechanical rapid contraction.
- Magic Longing: Interaction rhythm recommends `duration-500` to `duration-700`, paired with `ease-in-out` to maintain fairy-tale composure.
---
# Ghibli Style Design System
> A design style inspired by Studio Ghibli animations, featuring warm soft tones, hand-drawn textures, natural elements, and a dreamy atmosphere that conveys healing and poetry.
## Design Philosophy
Ghibli Style is influenced by Japan's Studio Ghibli animations, known for its warm, healing, and poetic visual language.
Core principles:
- Hand-drawn texture: Preserving the warmth and imperfection of hand-crafted work
- Natural themes: Clouds, forests, skies, and other natural elements
- Soft tones: Warm earth tones and sky colors
- Dreamy atmosphere: Creating serene and healing visual experiences
---
## Token Dictionary (exact class mapping)
### Border
```
Width: border
Color: border-[#7cb9a8]/40
Radius: rounded-2xl
```
### Shadow
```
sm: shadow-[0_2px_8px_rgba(124,185,168,0.15)]
md: shadow-[0_4px_16px_rgba(124,185,168,0.2)]
lg: shadow-[0_8px_32px_rgba(124,185,168,0.25)]
hover: hover:shadow-[0_8px_24px_rgba(124,185,168,0.3)]
focus: focus:shadow-[0_4px_16px_rgba(124,185,168,0.25)]
```
### Interaction
```
Hover translate: (none)
Hover scale: hover:scale-[1.02]
Hover opacity: (none)
Transition: transition-all duration-300 ease-out
Active: active:scale-[0.98]
```
### Typefaces
```
Heading: font-sans font-semibold tracking-normal
Body: font-sans
Mono: font-mono
```
### Type scale
```
Hero: text-3xl md:text-5xl lg:text-6xl
H1: text-2xl md:text-4xl
H2: text-xl md:text-3xl
H3: text-lg md:text-xl
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-8
```
### Color roles
```
Background primary: bg-[#f4e4bc]
Background secondary: bg-[#7cb9a8]
Background accent: bg-[#7cb9a8], bg-[#e8c07a], bg-[#d4a574], bg-[#8fb996]
Text primary: text-[#3a3226]
Text secondary: text-[#5a4f42]
Text muted: text-[#8a7a6a]
Button primary: bg-[#7cb9a8] text-white
Button secondary: bg-[#f4e4bc] text-[#3a3226] border border-[#7cb9a8]/40
```
---
## [FORBIDDEN]
These classes are banned in this style. Check for them before returning code:
### Banned classes
- `rounded-none`
- `border-black`
- `border-4`
- `shadow-[2px_2px_0px`
- `shadow-[4px_4px_0px`
- `shadow-[8px_8px_0px`
- `bg-[#ff006e]`
- `bg-[#ff71ce]`
- `bg-[#01cdfe]`
- `bg-[#00ff00]`
- `text-[#ff006e]`
- `text-[#ff71ce]`
- `font-black`
- `bg-black`
- `bg-[#1a1a2e]`
### Banned patterns
- matches `^rounded-none$`
- matches `^shadow-\[\d+px_\d+px_0px`
- matches `^bg-(?:black|\[#(?:ff006e|ff71ce|01cdfe|00ff00)\])`
- matches `^border-(?:black|4)$`
### Why they are banned
- `rounded-none`: Ghibli style uses soft rounded shapes (rounded-2xl) for a warm feel
- `border-black`: Ghibli style uses subtle earth-toned borders, not harsh black
- `shadow-[4px_4px_0px`: Ghibli style uses soft diffused shadows, not hard-edge
- `bg-[#ff71ce]`: Ghibli style uses warm earth tones (sage, cream), not neon colors
> WARNING: if your code contains any of the above, replace it before shipping.
---
## [REQUIRED]
### Every button must include
```
rounded-2xl
shadow-[0_4px_16px_rgba(124,185,168,0.2)]
hover:scale-[1.02]
transition-all duration-300 ease-out
font-semibold
```
### Every card must include
```
rounded-2xl
border border-[#7cb9a8]/40
shadow-[0_4px_16px_rgba(124,185,168,0.2)]
bg-[#f4e4bc]
```
### Every input must include
```
rounded-2xl
border border-[#7cb9a8]/40
bg-[#faf5eb]
text-[#3a3226]
focus:shadow-[0_4px_16px_rgba(124,185,168,0.25)]
focus:outline-none
```
---
## [COMPARE] Ghibli Style 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-2xl shadow-[0_4px_16px_rgba(124,185,168,0.2)] hover:scale-[1.02] transition-all duration-300 ease-out font-semibold bg-[#7cb9a8] text-white">
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-2xl border border-[#7cb9a8]/40 shadow-[0_4px_16px_rgba(124,185,168,0.2)] bg-[#f4e4bc] p-5 md:p-8">
<h3 class="font-sans font-semibold tracking-normal text-lg md:text-xl">{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-2xl border border-[#7cb9a8]/40 bg-[#faf5eb] text-[#3a3226] focus:shadow-[0_4px_16px_rgba(124,185,168,0.25)] focus:outline-none" placeholder="{PLACEHOLDER}" />
```
---
## [TEMPLATES] Ghibli Style page skeletons
These skeletons use this style's tokens only. Replace `{PLACEHOLDER}` values, but keep every token in place:
### Navigation
```html
<nav class="bg-[#f4e4bc] text-[#3a3226] border border-[#7cb9a8]/40 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-sans font-semibold tracking-normal text-lg md:text-xl">
{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-[#7cb9a8] text-[#3a3226] 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-sans font-semibold tracking-normal text-3xl md:text-5xl lg:text-6xl">
{HEADLINE}
</h1>
<p class="font-sans text-sm md:text-base max-w-xl">
{SUBHEADLINE}
</p>
<button class="rounded-2xl shadow-[0_4px_16px_rgba(124,185,168,0.2)] hover:scale-[1.02] transition-all duration-300 ease-out font-semibold bg-[#7cb9a8] text-white">
{CTA_TEXT}
</button>
</div>
</section>
```
### Card grid
```html
<section class="bg-[#f4e4bc] text-[#3a3226] 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-sans font-semibold tracking-normal text-xl md:text-3xl">{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-2xl border border-[#7cb9a8]/40 shadow-[0_4px_16px_rgba(124,185,168,0.2)] bg-[#f4e4bc] p-5 md:p-8">
<h3 class="font-sans font-semibold tracking-normal text-lg md:text-xl">{CARD_TITLE}</h3>
<p class="font-sans text-sm md:text-base text-[#8a7a6a]">{CARD_DESCRIPTION}</p>
</div>
</div>
</div>
</section>
```
### Form input
```html
<input class="rounded-2xl border border-[#7cb9a8]/40 bg-[#faf5eb] text-[#3a3226] focus:shadow-[0_4px_16px_rgba(124,185,168,0.25)] focus:outline-none" placeholder="{PLACEHOLDER}" />
```
### Footer
```html
<footer class="bg-[#7cb9a8] text-[#5a4f42] 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-8">
<div>
<span class="font-sans font-semibold tracking-normal text-lg md:text-xl">{LOGO_TEXT}</span>
<p class="font-sans text-xs md:text-sm">{TAGLINE}</p>
</div>
<div>
<h4 class="font-sans font-semibold tracking-normal text-lg md:text-xl">{COLUMN_TITLE}</h4>
<ul class="font-sans text-xs md:text-sm">
{FOOTER_LINKS}
</ul>
</div>
</div>
</div>
</footer>
```
---
## [CHECKLIST] Ghibli Style post-generation self check
**Before returning code, verify every token and rule below. Fix any violation before delivering:**
### Token check
- [ ] Button includes: `rounded-2xl shadow-[0_4px_16px_rgba(124,185,168,0.2)] hover:scale-[1.02] transition-all duration-300 ease-out font-semibold`
- [ ] Card includes: `rounded-2xl border border-[#7cb9a8]/40 shadow-[0_4px_16px_rgba(124,185,168,0.2)] bg-[#f4e4bc]`
- [ ] Input includes: `rounded-2xl border border-[#7cb9a8]/40 bg-[#faf5eb] text-[#3a3226] focus:shadow-[0_4px_16px_rgba(124,185,168,0.25)] focus:outline-none`
### Forbidden check
- [ ] Not using `rounded-none`
- [ ] Not using `border-black`
- [ ] Not using `border-4`
- [ ] Not using `shadow-[2px_2px_0px`
- [ ] Not using `shadow-[4px_4px_0px`
- [ ] Not using `shadow-[8px_8px_0px`
- [ ] Not using `bg-[#ff006e]`
- [ ] Not using `bg-[#ff71ce]`
### Style rule check
- [ ] Use warm soft tones
- [ ] Add hand-drawn style illustrations or borders
- [ ] Incorporate natural elements (clouds, trees, flowers)
- [ ] Use rounded soft shapes
- [ ] Add subtle texture effects
### Style drift check
- [ ] Does not violate: Do NOT use sharp hard edges
- [ ] Does not violate: Do NOT use high-contrast glaring color schemes
- [ ] Does not violate: Do NOT use cold tech-feel elements
- [ ] Does not violate: Do NOT use overly complex animations
- [ ] Does not violate: Do NOT use fast hard cuts and abrupt high-frequency 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 Ghibli Style
## Absolute Bans (Match and Refuse)
If any of the following patterns appear, it is a style violation — rewrite without exception.
- use sharp hard edges
- use high-contrast glaring color schemes
- use cold tech-feel elements
- use overly complex animations
- use fast hard cuts and abrupt high-frequency animations
## 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 sharp hard edges
- [ ] do NOT use high-contrast glaring color schemes
- [ ] do NOT use cold tech-feel elements
- [ ] do NOT use overly complex animations
- [ ] do NOT use fast hard cuts and abrupt high-frequency 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
/* Ghibli Style 全局样式 */
:root {
--ghibli-sage: #7cb9a8;
--ghibli-cream: #f4e4bc;
--ghibli-coral: #e8a87c;
--ghibli-sky: #85cdca;
--ghibli-rose: #c38d94;
--ghibli-brown: #5a4a3a;
}
/* 柔和渐变背景 */
.ghibli-sky-gradient {
background: linear-gradient(180deg, #87ceeb 0%, #b4e4f5 50%, #f4e4bc 100%);
}
/* 手绘风格边框 */
.ghibli-border {
border: 2px solid rgba(212, 196, 154, 0.5);
border-radius: 1.5rem;
}
/* 云朵样式 */
.ghibli-cloud {
background: rgba(255, 255, 255, 0.5);
border-radius: 9999px;
filter: blur(4px);
}
/* 柔和阴影 */
.ghibli-shadow {
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}
@keyframes ghibli-style-fade-in {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes ghibli-style-pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}
.ghibli-style-card {
position: relative;
overflow: hidden;
}
.ghibli-style-card::before {
content: "";
position: absolute;
inset: 0;
opacity: 0;
transition: opacity 0.3s ease;
background: linear-gradient(135deg, rgba(124, 185, 168, 0.05), transparent);
pointer-events: none;
}
.ghibli-style-card:hover::before {
opacity: 1;
}
.ghibli-style-frosted {
backdrop-filter: blur(12px) saturate(180%);
-webkit-backdrop-filter: blur(12px) saturate(180%);
background: rgba(124, 185, 168, 0.08);
}
.ghibli-style-accent-corner {
clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}
.ghibli-style-animate-in {
animation: ghibli-style-fade-in 0.5s ease-out both;
}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
Ghibli Style is influenced by Japan's Studio Ghibli animations, known for its warm, healing, and poetic visual language.
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 | /#3a3226 / #f4e4bc | 10.02:1 | ||
| Secondary text on background | /#5a4f42 / #f4e4bc | 6.33:1 | ||
| Muted text on background | /#8a7a6a / #f4e4bc | 3.29:1 | ||
| Text on secondary background | /#3a3226 / #7cb9a8 | 5.63:1 | ||
| Secondary text on secondary | /#5a4f42 / #7cb9a8 | 3.56:1 | ||
| Button primary | /#ffffff / #7cb9a8 | 2.24:1 | ||
| Text on accent 1 | /#3a3226 / #7cb9a8 | 5.63:1 | ||
| Alt text on accent 1 | /#5a4f42 / #7cb9a8 | 3.56:1 | ||
| Text on accent 2 | /#3a3226 / #e8c07a | 7.36:1 | ||
| Alt text on accent 2 | /#5a4f42 / #e8c07a | 4.66:1 | ||
| Text on accent 3 | /#3a3226 / #d4a574 | 5.67:1 | ||
| Alt text on accent 3 | /#5a4f42 / #d4a574 | 3.58:1 | ||
| Text on accent 4 | /#3a3226 / #8fb996 | 5.74:1 | ||
| Alt text on accent 4 | /#5a4f42 / #8fb996 | 3.63:1 |
Readability
Score
82/100
Font Size
text-sm md:text-base
Font Weight
font-sans font-semibold tracking-normal
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.