Best For
pastel app / mobile-first / community
粉彩应用风
Rate this styleA 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
不要让浅色文字放在浅色背景上
design.md
One document describes the colour roles, type rules, spacing and component construction behind this style. Copy or download it into Claude Code or Codex.
Layered pastel groups on warm cream — friendly, with every word still legible.
Theme: light
Pastel UI is built for mobile community and content apps: a warm cream ground (#fff8f0) carries everything, while the pastels (lilac, mint, butter, coral) are used only for grouping and status. Text runs in deep violet (#66508f) and dark grey (#332d3d) to hold contrast, with cards and touch controls sharing 16 to 24px radii. Usability is written into the spec — save, rate and quick feedback sit near the decision point, targets are never too small, dense horizontal tables are excluded, and neither fluorescent color nor saturated gradients may cover the page.
| Name | Value | Token | Role |
|---|---|---|---|
| Deep Violet | #66508f | --color-deep-violet | The primary on buttons, labels and links — the only pastel deep enough to carry text. |
| Cream | #fff8f0 | --color-cream | The page ground — a warm white, softer than pure. |
| Ink | #332d3d | --color-ink | Headings and body, dark enough to hold 4.5:1 or better. |
| Lilac | #d9c7ff | --color-lilac | The first grouping tone, on featured blocks. |
| Mint | #cbefdf | --color-mint | The second grouping tone and success. |
| Butter | #ffe49a | --color-butter | Reminders and saved states, on small components only. |
| Coral | #ffb5a7 | --color-coral | Emotional feedback and focus rings, used least. |
| Role | Family | Weight | Size | Line Height | Letter Spacing | Token |
|---|---|---|---|---|---|---|
| heading | — | 700 | 26px | 1.3 | -0.01em | --text-heading |
| subheading | — | 600 | 21px | 1.35 | — | --text-subheading |
| body-lg | — | 600 | 17px | 1.5 | — | --text-body-lg |
| body | — | 400 | 15px | 1.6 | — | --text-body |
| body-sm | — | 400 | 13px | 1.55 | — | --text-body-sm |
| label | — | 600 | 12px | 1.4 | 0.16em | --text-label |
Base unit: 4px Density: comfortable
| Name | Value | Token |
|---|---|---|
| 4 | 4px | --spacing-4 |
| 8 | 8px | --spacing-8 |
| 12 | 12px | --spacing-12 |
| 16 | 16px | --spacing-16 |
| 20 | 20px | --spacing-20 |
| 24 | 24px | --spacing-24 |
| 32 | 32px | --spacing-32 |
| 48 | 48px | --spacing-48 |
| Element | Value |
|---|---|
| cards | 24px |
| buttons | 16px |
| inputs | 16px |
| pills | 999px |
Role: Primary action
Deep violet fill, white text, 16px radius, no border, 15px/600, 12px 20px padding, shadow 0 6px 16px at 20% violet. Hover lifts 2px; press scales 0.98. The touch height never drops below 44px. 200ms.
Role: Content cards and group blocks
A pastel fill (mint, lilac or butter), 24px radius, a 1px violet border at 10%, 20px padding, shadow 0 4px 12px at 10%. A 12px uppercase 0.16em label in 70% violet sits above a 21px/600 ink headline and 13px body in 80% ink. One block, one pastel.
Role: Search and inputs
Cream fill, 16px radius, a 1px violet border at 20%, 12px 16px padding at 15px, with focus adding a 4px ring at 40% coral. The placeholder sits at 60% ink.
Role: Quick actions at the decision point
Three 44px circular buttons 12px apart on 30% lilac, mint and coral grounds with violet icons. They anchor to a content card's bottom-right or a bottom bar, so the hand is already there when the reading ends.
Role: Mobile bottom sheet
Cream fill, a 24px top radius, a 1px violet border at 10% along the top, shadow 0 -12px 40px at 12% violet. A 36px by 4px grabber in 20% violet sits centred at the top. Padding 20px with an 88vh cap.
| Level | Name | Value | Purpose |
|---|---|---|---|
| 0 | Cream | #fff8f0 | 页面底 |
| 1 | Mint Card | #cbefdf | 内容卡 |
| 2 | Lilac Block | #d9c7ff | 精选区块 |
0 4px 12px rgba(102,80,143,0.10)0 6px 16px rgba(102,80,143,0.20)Icons, avatars and light illustration lead, with pastel geometry marking groups. No large dark images or saturated photography — on mobile, imagery identifies rather than decorates.
Mobile first: one column capped at 480px with 16px padding, 12px between cards and 32px between sections. Desktop centres the same column rather than widening it. A fixed 64px action bar sits at the bottom with matching reserved padding, and horizontal tables are excluded.
QUICK COLOR REFERENCE:
#332d3d#fff8f0#66508f#d9c7ff#cbefdf#ffb5a7EXAMPLE COMPONENT PROMPTS:
:root {
/* Colors */
--color-deep-violet: #66508f;
--color-cream: #fff8f0;
--color-ink: #332d3d;
--color-lilac: #d9c7ff;
--color-mint: #cbefdf;
--color-butter: #ffe49a;
--color-coral: #ffb5a7;
/* Typography — Font Families */
--font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
/* Typography — Scale */
--text-heading: 26px;
--leading-heading: 1.3;
--tracking-heading: -0.01em;
--text-subheading: 21px;
--leading-subheading: 1.35;
--text-body-lg: 17px;
--leading-body-lg: 1.5;
--text-body: 15px;
--leading-body: 1.6;
--text-body-sm: 13px;
--leading-body-sm: 1.55;
--text-label: 12px;
--leading-label: 1.4;
--tracking-label: 0.16em;
/* Typography — Weights */
--font-weight-regular: 400;
--font-weight-semibold: 600;
--font-weight-bold: 700;
/* Spacing */
--spacing-unit: 4px;
--spacing-4: 4px;
--spacing-8: 8px;
--spacing-12: 12px;
--spacing-16: 16px;
--spacing-20: 20px;
--spacing-24: 24px;
--spacing-32: 32px;
--spacing-48: 48px;
/* Layout */
--page-max-width: 480px;
--section-gap: 32px;
--card-padding: 20px;
--element-gap: 12px;
--density: comfortable;
/* Border Radius */
--radius-cards: 24px;
--radius-buttons: 16px;
--radius-inputs: 16px;
--radius-pills: 999px;
/* Surfaces */
--surface-cream: #fff8f0;
--surface-mint-card: #cbefdf;
--surface-lilac-block: #d9c7ff;
}
Component Templates
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; } }Related Styles
Explore these styles for ready-made tokens and components.
Pastel App UI and Bento Grid sit closest to each other. The table below gives the real differences in color, use case, and tags, so the choice between them is made on facts.
| Attribute | Pastel App UI | Bento Grid |
|---|---|---|
| Primary color | #66508f | #18181b |
| Secondary color | #fff8f0 | #fafafa |
| Best for | pastel app / mobile-first / community | bento grid / bento layout / bento box design |
| Unique tags | colorful | — |
Pastel App UI 不追求把所有元素都染成浅色,而是用暖奶油色托住内容,用少量粉彩色提示状态与情绪。它适合风格发现、生活方式、收藏和社区类手机应用。