Style Catalog/Pastel App UI

Pastel App UI

粉彩应用风

D
43/100Poor
Rate this style

A mobile-first pastel interface for community and content apps, using warm cream, lilac, mint, butter yellow, and coral to create a friendly but legible experience.

pastel appmobile-firstcommunitysoft UIhigh readabilityrounded cardsquick feedback
View Full Showcase →
Templates

Best For

pastel app / mobile-first / community

Primary Move

使用暖奶油色作为主背景,粉彩色只承担分组和状态提示

Watch Out

不要让浅色文字放在浅色背景上

AI Implementation

Copy the Hard Prompt first, then use the spec when needed

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.

Hard Prompt

Use this by default: copy it, append the concrete requirement, and let AI generate consistent production UI.

When to use

  • When AI should generate UI directly
  • When repeated outputs must stay consistent
  • When style drift is the main risk

How to use

  • Copy the full prompt
  • Append the concrete requirement
  • Review against forbidden rules and UI states
STYLEKIT_STYLE_REFERENCE
style_name: Pastel App UI
style_slug: pastel-ui
style_source: /styles/pastel-ui

# 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

STYLE: Pastel App UI

MUST USE:
- Warm cream backgrounds with pastel accents reserved for grouping and state
- Deep plum or charcoal text for readable headings and body copy
- rounded-2xl to rounded-3xl touch surfaces
- Mobile-first single-column flows and a stable bottom navigation
- Visible save, use, rating, and quick-feedback actions near the decision point
- Soft borders and tinted shadows instead of heavy glass panels

MUST AVOID:
- Low-contrast light text on pastel backgrounds
- Full-page neon gradients or excessive glassmorphism
- Tiny touch targets and dense desktop tables on mobile
- Hiding core actions at the bottom of a long detail page

INTERACTION:
- Use 200-300ms transitions, subtle lift on hover, and scale-[0.98] on press
- Respect prefers-reduced-motion
- Keep the primary action reachable by the thumb

COLOR ROLES:
- Background: #fff8f0
- Primary action: #66508f
- Soft surfaces: #d9c7ff and #cbefdf
- Emotional accents: #ffe49a and #ffb5a7
- Text: #332d3d

---

# Pastel App UI Design System

> A mobile-first pastel interface for community and content apps, using warm cream, lilac, mint, butter yellow, and coral to create a friendly but legible experience.

## Design Philosophy

A mobile-first pastel interface for community and content apps, using warm cream, lilac, mint, butter yellow, and coral to create a friendly but legible experience.

---

## Token Dictionary (exact class mapping)

### Border
```
Width: border
Color: border-[#66508f]
Radius: rounded-lg
```

### Shadow
```
sm: shadow-sm
md: shadow-md
lg: shadow-lg
hover: hover:shadow-md
focus: focus:shadow-md
```

### Interaction
```
Hover translate: (none)
Hover scale: (none)
Hover opacity: hover:opacity-90
Transition: transition-all duration-200
Active: active:scale-[0.98]
```

### Typefaces
```
Heading: font-semibold tracking-tight
Body: font-sans

```

### Type scale
```
Hero: text-4xl md:text-6xl
H1: text-3xl md:text-5xl
H2: text-2xl md:text-3xl
H3: text-xl md:text-2xl
Body: text-sm md:text-base
Small: text-xs md:text-sm
```

### Spacing
```
Section: py-10 md:py-20
Container: px-4 md:px-8
Card: p-5 md:p-6
Gap sm: gap-2 md:gap-4
Gap md: gap-4 md:gap-6
Gap lg: gap-6 md:gap-8
```

### Color roles
```
Background primary: bg-[#fff8f0]
Background secondary: bg-[#66508f]
Background accent: bg-[#d9c7ff], bg-[#cbefdf], bg-[#ffe49a], bg-[#ffb5a7]
Text primary: text-[#66508f]
Text secondary: text-[#d9c7ff]
Text muted: text-zinc-500
Button primary: bg-[#66508f] text-white
Button secondary: bg-[#fff8f0] text-[#66508f]
```

---

## [FORBIDDEN]

These classes are banned in this style. Check for them before returning code:

### Banned classes
- (no banned classes registered for this style)

### Banned patterns
- (no banned patterns registered for this style)

### Why they are banned
- Follow this style's own design rules.

> WARNING: if your code contains any of the above, replace it before shipping.

---

## [REQUIRED]

### Every button must include
```
rounded-lg
border
font-medium
inline-flex
items-center
```

### Every card must include
```
rounded-lg
border
bg-white/80
```

### Every input must include
```
rounded-lg
border
bg-background
focus:outline-none
```

---

## [COMPARE] Pastel App UI 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-lg border font-medium inline-flex items-center bg-[#66508f] 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-lg border bg-white/80 p-5 md:p-6">
  <h3 class="font-semibold tracking-tight 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-lg border bg-background focus:outline-none" placeholder="{PLACEHOLDER}" />
```

---

## [TEMPLATES] Pastel App UI page skeletons

These skeletons use this style's tokens only. Replace `{PLACEHOLDER}` values, but keep every token in place:

### Navigation
```html
<nav class="bg-[#fff8f0] text-[#66508f] border border-[#66508f] px-4 md:px-8">
  <div class="flex items-center justify-between max-w-6xl mx-auto gap-4 md:gap-6">
    <a href="/" class="font-semibold tracking-tight 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-[#d9c7ff] text-[#66508f] py-10 md:py-20 px-4 md:px-8">
  <div class="max-w-4xl mx-auto">
    <h1 class="font-semibold tracking-tight text-4xl md:text-6xl">
      {HEADLINE}
    </h1>
    <p class="font-sans text-sm md:text-base max-w-xl">
      {SUBHEADLINE}
    </p>
    <button class="rounded-lg border font-medium inline-flex items-center bg-[#66508f] text-white">
      {CTA_TEXT}
    </button>
  </div>
</section>
```

### Card grid
```html
<section class="bg-[#fff8f0] text-[#66508f] py-10 md:py-20 px-4 md:px-8">
  <div class="max-w-6xl mx-auto">
    <h2 class="font-semibold tracking-tight text-2xl 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-lg border bg-white/80 p-5 md:p-6">
        <h3 class="font-semibold tracking-tight text-xl md:text-2xl">{CARD_TITLE}</h3>
        <p class="font-sans text-sm md:text-base text-zinc-500">{CARD_DESCRIPTION}</p>
      </div>
    </div>
  </div>
</section>
```

### Form input
```html
<input class="rounded-lg border bg-background focus:outline-none" placeholder="{PLACEHOLDER}" />
```

### Footer
```html
<footer class="bg-[#66508f] text-[#d9c7ff] py-10 md:py-20 px-4 md:px-8">
  <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-semibold tracking-tight text-xl md:text-2xl">{LOGO_TEXT}</span>
        <p class="font-sans text-xs md:text-sm">{TAGLINE}</p>
      </div>
      <div>
        <h4 class="font-semibold tracking-tight 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] Pastel App UI post-generation self check

**Before returning code, verify every token and rule below. Fix any violation before delivering:**

### Token check
- [ ] Button includes: `rounded-lg border font-medium inline-flex items-center`
- [ ] Card includes: `rounded-lg border bg-white/80`
- [ ] Input includes: `rounded-lg border bg-background focus:outline-none`

### Forbidden check
- [ ] No class or pattern this style forbids

### Style rule check
- [ ] Follows this style's core rules

### Style drift check
- [ ] No default styling that conflicts with this style

### 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 Pastel App UI

## 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

More prompt libraries: All UI Prompts · Tailwind UI Prompts · Dark Mode UI Prompts

Community

Ratings & Feedback

No ratings yet - be the firstSign in to rate

Loading comments…

Component Templates

Component Preview

Button

Button component in this style.

Frontend Readiness

Dark Mode, States, Motion, and Accessibility

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%

Missing

UI States

79%

Partial

Motion

70%

Partial

A11y

70%

Partial

Performance

35%

Fallback

Key State Coverage

light
HoverFocus VisibleDisabledLoadingEmptyErrorSuccess

Button

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

Implementation Notes

  • No curated dark-mode contract exists yet.
  • Check contrast in both light and dark modes.
  • Check heavy shadows, blur, large media, and scroll-linked effects manually.
  • No style-specific performance cost profile has been curated yet.

FAQ

Pastel App UI — Frequently Asked Questions

What is the Pastel App UI design style?
A mobile-first pastel interface for community and content apps, using warm cream, lilac, mint, butter yellow, and coral to create a friendly but legible experience. Its core principle: Pastel App UI 不追求把所有元素都染成浅色,而是用暖奶油色托住内容,用少量粉彩色提示状态与情绪。它适合风格发现、生活方式、收藏和社区类手机应用。 核心原则: - 颜色表达情绪,深色文字表达结构 - 卡片适合触摸,按钮拥有明确主次 - 评分、收藏和快捷反馈在首屏附近可见 - 移动端优先,底部导航保持稳定 - 柔和不等于低对比,正文和控件保持可读
What colors does Pastel App UI use?
Pastel App UI uses #66508f as its primary color and #fff8f0 as its secondary color, with accent colors #d9c7ff, #cbefdf, #ffe49a, #ffb5a7. Every hex value can be copied from the palette on this page.
How do I apply Pastel App UI correctly?
Key practices: 使用暖奶油色作为主背景,粉彩色只承担分组和状态提示. 使用 rounded-2xl 到 rounded-3xl 的卡片与触控控件. 移动端优先设计底部导航、单列信息流和拇指可达操作.
What are common mistakes with Pastel App UI?
Avoid: 不要让浅色文字放在浅色背景上. 不要使用荧光色或高饱和渐变覆盖整个页面. 不要把所有卡片做成同一颜色和同一层级.
How do I prompt AI to generate Pastel App UI UI?
Copy the ready-made AI prompt on this page — it bundles the design tokens and component rules — and paste it into ChatGPT, Claude, Claude Code, or Codex. Effective prompts include the keywords: pastel app, mobile-first, community, soft UI.
Global Styles

Global CSS

css
:root { --pastel-cream: #fff8f0; --pastel-lilac: #d9c7ff; --pastel-mint: #cbefdf; --pastel-butter: #ffe49a; --pastel-coral: #ffb5a7; --pastel-ink: #332d3d; }
.pastel-surface { background: var(--pastel-cream); color: var(--pastel-ink); }
.pastel-bottom-nav { padding-bottom: max(0.75rem, env(safe-area-inset-bottom)); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

IDE Integration

IDE Configuration Export

Download configuration files for AI coding assistants to generate code in this style.

Style Pack

Export 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

Design Philosophy

Pastel App UI 不追求把所有元素都染成浅色,而是用暖奶油色托住内容,用少量粉彩色提示状态与情绪。它适合风格发现、生活方式、收藏和社区类手机应用。

Accessibility

Accessibility Score

WCAG 2.1 compliance analysis based on color contrast and typography readability.

43

Overall Score

Grade: D - Poor

Contrast Ratios

Score: 26/100Average Ratio: 3.37:1
AA FailAAA Fail
ContextColorsRatioAAAAA
Text on background
/#66508f / #fff8f0
6.41:1
Secondary text on background
/#d9c7ff / #fff8f0
1.47:1
Text on secondary background
/#66508f / #66508f
1:1
Secondary text on secondary
/#d9c7ff / #66508f
4.36:1
Button primary
/#ffffff / #66508f
6.75:1
Text on accent 1
/#66508f / #d9c7ff
4.36:1
Alt text on accent 1
/#d9c7ff / #d9c7ff
1:1
Text on accent 2
/#66508f / #cbefdf
5.45:1
Alt text on accent 2
/#d9c7ff / #cbefdf
1.25:1
Text on accent 3
/#66508f / #ffe49a
5.41:1
Alt text on accent 3
/#d9c7ff / #ffe49a
1.24:1
Text on accent 4
/#66508f / #ffb5a7
3.99:1
Alt text on accent 4
/#d9c7ff / #ffb5a7
1.09:1

Readability

Score

82/100

Font Size

text-sm md:text-base

Font Weight

font-semibold tracking-tight

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.