Best For
pastel app / mobile-first / community
粉彩应用风
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.
Best For
pastel app / mobile-first / community
Primary Move
使用暖奶油色作为主背景,粉彩色只承担分组和状态提示
Watch Out
不要让浅色文字放在浅色背景上
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: 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
## 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 headingComponent Templates
Button component in this style.
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
: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
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
Pastel App UI 不追求把所有元素都染成浅色,而是用暖奶油色托住内容,用少量粉彩色提示状态与情绪。它适合风格发现、生活方式、收藏和社区类手机应用。
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 | /#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.