Style Catalog/Mobile Editorial

Mobile Editorial

移动编辑风

C
64/100Fair
Rate this style

A mobile editorial style that compresses magazine rhythm into a phone screen with serif headlines, warm paper surfaces, and modular content cards.

mobile editorialcontent appmagazine layoutcommunityserif headlineswarm paper
View Full Showcase →
Templates

Best For

mobile editorial / content app / magazine layout

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: Mobile Editorial
style_slug: mobile-editorial
style_source: /styles/mobile-editorial

# 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: Mobile Editorial

MUST USE:
- Warm paper background #fffdf8 and ink text #24211f
- Distinctive serif display headlines paired with readable sans-serif body text
- Single-column mobile reading flow with clear title, summary, metadata, and action order
- Fine separators, generous vertical rhythm, and one coral action color
- Comments, author, and save actions presented as content annotations
- Stable bottom navigation for mobile orientation

MUST AVOID:
- Multiple competing accent colors
- Desktop multi-column layouts forced onto phones
- Tiny body text or compressed line-height
- Decorative gradients replacing editorial hierarchy

INTERACTION:
- Use restrained transitions and underline or color changes for links
- Preserve reading position when expanding comments or details
- Keep actions at least 44px tall on touch devices

COLOR ROLES:
- Paper: #fffdf8
- Ink: #24211f
- Action: #e97b61
- Supporting accents: #c5d8c1, #e9d7a9, #d7c4e8

---

# Mobile Editorial Design System

> A mobile editorial style that compresses magazine rhythm into a phone screen with serif headlines, warm paper surfaces, and modular content cards.

## Design Philosophy

A mobile editorial style that compresses magazine rhythm into a phone screen with serif headlines, warm paper surfaces, and modular content cards.

---

## Token Dictionary (exact class mapping)

### Border
```
Width: border
Color: border-[#24211f]
Radius: rounded-md
```

### 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-[#fffdf8]
Background secondary: bg-[#24211f]
Background accent: bg-[#e97b61], bg-[#c5d8c1], bg-[#e9d7a9], bg-[#d7c4e8]
Text primary: text-[#24211f]
Text secondary: text-[#e97b61]
Text muted: text-zinc-500
Button primary: bg-[#24211f] text-white
Button secondary: bg-[#fffdf8] text-[#24211f]
```

---

## [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-md
border
font-medium
inline-flex
items-center
```

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

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

---

## [COMPARE] Mobile Editorial 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-md border font-medium inline-flex items-center bg-[#24211f] 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-md 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-md border bg-background focus:outline-none" placeholder="{PLACEHOLDER}" />
```

---

## [TEMPLATES] Mobile Editorial page skeletons

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

### Navigation
```html
<nav class="bg-[#fffdf8] text-[#24211f] border border-[#24211f] 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-[#e97b61] text-[#24211f] 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-md border font-medium inline-flex items-center bg-[#24211f] text-white">
      {CTA_TEXT}
    </button>
  </div>
</section>
```

### Card grid
```html
<section class="bg-[#fffdf8] text-[#24211f] 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-md 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-md border bg-background focus:outline-none" placeholder="{PLACEHOLDER}" />
```

### Footer
```html
<footer class="bg-[#24211f] text-[#e97b61] 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] Mobile Editorial post-generation self check

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

### Token check
- [ ] Button includes: `rounded-md border font-medium inline-flex items-center`
- [ ] Card includes: `rounded-md border bg-white/80`
- [ ] Input includes: `rounded-md 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 Mobile Editorial

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

Mobile Editorial — Frequently Asked Questions

What is the Mobile Editorial design style?
A mobile editorial style that compresses magazine rhythm into a phone screen with serif headlines, warm paper surfaces, and modular content cards. Its core principle: Mobile Editorial 把手机 App 当作一本可以被滑动阅读的袖珍杂志。内容不是堆在卡片里,而是通过标题、图片、摘要和留白建立节奏。 核心原则: - 标题负责个性,正文负责阅读 - 一屏只突出一个主要故事或行动 - 颜色克制,珊瑚色只用于动作和强调 - 评论与收藏作为内容旁注出现 - 用稳定的底部导航保持方向感
What colors does Mobile Editorial use?
Mobile Editorial uses #24211f as its primary color and #fffdf8 as its secondary color, with accent colors #e97b61, #c5d8c1, #e9d7a9, #d7c4e8. Every hex value can be copied from the palette on this page.
How do I apply Mobile Editorial correctly?
Key practices: 使用有性格的衬线标题与清晰的无衬线正文搭配. 采用暖白纸张背景和细线分割内容层级. 移动端使用单列流、横向专题卡和底部导航.
What are common mistakes with Mobile Editorial?
Avoid: 不要使用过多强调色破坏编辑节奏. 不要让标题、按钮和标签争夺同一视觉焦点. 不要用大面积渐变替代内容层级.
How do I prompt AI to generate Mobile Editorial 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: mobile editorial, content app, magazine layout, community.
Global Styles

Global CSS

css
:root { --editorial-paper: #fffdf8; --editorial-ink: #24211f; --editorial-coral: #e97b61; --editorial-line: rgba(36,33,31,0.16); }
.editorial-reading { text-wrap: balance; }
.editorial-bottom-nav { padding-bottom: max(0.75rem, env(safe-area-inset-bottom)); border-top: 1px solid var(--editorial-line); }
@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

Mobile Editorial 把手机 App 当作一本可以被滑动阅读的袖珍杂志。内容不是堆在卡片里,而是通过标题、图片、摘要和留白建立节奏。

Accessibility

Accessibility Score

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

64

Overall Score

Grade: C - Fair

Contrast Ratios

Score: 56/100Average Ratio: 6.56:1
AA FailAAA Fail
ContextColorsRatioAAAAA
Text on background
/#24211f / #fffdf8
15.74:1
Secondary text on background
/#e97b61 / #fffdf8
2.77:1
Text on secondary background
/#24211f / #24211f
1:1
Secondary text on secondary
/#e97b61 / #24211f
5.69:1
Button primary
/#ffffff / #24211f
16:1
Text on accent 1
/#24211f / #e97b61
5.69:1
Alt text on accent 1
/#e97b61 / #e97b61
1:1
Text on accent 2
/#24211f / #c5d8c1
10.64:1
Alt text on accent 2
/#e97b61 / #c5d8c1
1.87:1
Text on accent 3
/#24211f / #e9d7a9
11.25:1
Alt text on accent 3
/#e97b61 / #e9d7a9
1.98:1
Text on accent 4
/#24211f / #d7c4e8
9.87:1
Alt text on accent 4
/#e97b61 / #d7c4e8
1.73: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.