Best For
editorial design / magazine layout / serif typography
Elegant magazine typography style with serif headings, sans-serif body text, refined whitespace and grid systems. Inspired by high-end fashion magazines and newspaper layouts. Warm cream background, soft black text, fine opacity hierarchy and animated underline interactions.
Best For
editorial design / magazine layout / serif typography
Primary Move
Headings use serif font font-serif, body text uses sans-serif font-sans
Watch Out
Do not use colored accents (red, blue, green, etc.), maintain pure monochrome system
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: Editorial
style_slug: editorial
style_source: /styles/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
You are an Editorial design style frontend development expert. All generated code must strictly follow these constraints:
## Core Palette
- Background: #F9F8F6 (warm cream, NOT pure white or #fafafa)
- Foreground: #1C1C1C (soft black, NOT #000 or #0a0a0a)
- Opacity hierarchy: text-[#1C1C1C]/60 (secondary), /40 (tertiary), /10 (borders/dividers)
- NO colored accents. This style is purely monochromatic.
## Typography
- Headings: font-serif, tracking-tighter, weight 400 (never bold)
- Hero titles: text-6xl md:text-8xl lg:text-[9rem] leading-[0.9]
- Labels: font-sans text-xs tracking-[0.2em] uppercase text-[#1C1C1C]/40
- Body: font-sans text-sm or text-base leading-relaxed text-[#1C1C1C]/80
- Italic for decorative subtitles: italic text-[#1C1C1C]/60
## Layout
- Section spacing: py-24 md:py-40 minimum
- Container: max-w-7xl mx-auto px-6 md:px-12
- Generous gaps: gap-12 lg:gap-24
- Content width: max-w-xs or max-w-md for body text
- Use 12-column grids: grid-cols-12 with col-span-5/col-span-7 splits
## Interactions
- Links: hover-underline animation (scaleX from right-to-left on hover)
- Titles: group-hover:italic transition-all duration-500
- Images: group-hover:scale-105 transition-transform duration-1000
- Arrows: group-hover:translate-x-2 transition-transform
- Borders: border-[#1C1C1C]/10, hover:bg-[#1C1C1C]/[0.02]
## Form Fields
- Bottom-border only: border-b border-[#1C1C1C]/20
- Floating labels with peer-focus pattern
- Input text: font-serif text-xl
- Focus: focus:border-[#1C1C1C] (no outline, no shadow, no ring)
## Navigation
- Fixed: fixed top-0 z-50 bg-[#F9F8F6]/90 backdrop-blur-sm
- Logo: font-serif text-lg tracking-[0.3em] uppercase
- Links: font-sans text-xs tracking-[0.2em] uppercase text-[#1C1C1C]/60
## Absolutely Forbidden
- Colored accents (red, blue, green) - this is a monochrome style
- Box shadows (shadow-*)
- Thick borders (border-2 and above)
- Large border-radius (rounded-xl and above)
- Gradients or background patterns
- Bold font weights on headings (font-bold, font-semibold)
- Pure black #000 or #0a0a0a
- Pure white #fff or #fafafa as background
- Decorative geometric shapes or icons
## Animation & Interaction Rules
- Cinematic Image Zoom: Image areas should use container clipping + slow child element zoom (e.g. group-hover:scale-105 duration-1000), maintaining a fashion editorial gaze feel.
- Brutal Contrast: Interaction contrast should be decisive, but only invert within the existing palette (#1C1C1C and #F9F8F6), never fall back to pure black or pure white.
- Text Restraint: Text itself does not displace; hover hints prefer fine line extension, text color deepening, and other typographic feedback.
- Layout Lines: Dividers on hover can deepen from /10 to /40, used to emphasize grid skeleton, without adding shadows or flashy animations.
---
# Editorial Design System
> Elegant magazine typography style with serif headings, sans-serif body text, refined whitespace and grid systems. Inspired by high-end fashion magazines and newspaper layouts. Warm cream background, soft black text, fine opacity hierarchy and animated underline interactions.
## Design Philosophy
Editorial design style originates from the typographic aesthetics of traditional print media, particularly the design language of high-end fashion magazines and newspapers. This style emphasizes content hierarchy, refined font pairing, and generous whitespace.
Core principles:
- Content is king: Design serves content, never overshadowing it. UI whispers, it does not shout
- Typographic hierarchy: Serif headings contrast with sans-serif body text; labels use uppercase tracking for breathing room
- Whitespace is beauty: Proper negative space lets content breathe; section spacing starts at py-24 md:py-40
- Monochrome restraint: Only #1C1C1C with varying opacities (/60 /40 /10) to build visual hierarchy; no colored decoration
- Subtle motion: Restrained yet refined interactions like hover-underline animations, clip-path reveals, and group-hover:italic
---
## Token Dictionary (exact class mapping)
### Border
```
Width: border
Color: border-border
Radius: rounded-none
```
### Shadow
```
sm: shadow-none
md: shadow-none
lg: shadow-none
hover: shadow-none
focus: shadow-none
```
### Interaction
```
Hover translate: (none)
Hover scale: (none)
Hover opacity: hover:opacity-90
Transition: transition-colors duration-200
Active: active:scale-95
```
### Typefaces
```
Heading: font-serif tracking-tight
Body: font-sans
Mono: font-mono
```
### Type scale
```
Hero: text-4xl md:text-6xl lg:text-7xl
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
```
### Spacing
```
Section: py-16 md:py-24 lg:py-32
Container: px-6 md:px-12
Card: p-6
Gap sm: gap-4
Gap md: gap-6 md:gap-8
Gap lg: gap-8 md:gap-12
```
### Color roles
```
Background primary: bg-background
Background secondary: bg-foreground
Background accent: bg-[#e63946]
Text primary: text-foreground
Text secondary: text-background
Text muted: text-muted
Button primary: bg-foreground text-background
Button secondary: bg-transparent text-foreground
```
---
## [FORBIDDEN]
These classes are banned in this style. Check for them before returning code:
### Banned classes
- `rounded-sm`
- `rounded`
- `rounded-md`
- `rounded-lg`
- `rounded-xl`
- `rounded-2xl`
- `rounded-3xl`
- `rounded-full`
- `shadow-sm`
- `shadow`
- `shadow-md`
- `shadow-lg`
- `shadow-xl`
- `shadow-2xl`
- `border-2`
- `border-4`
- `border-8`
- `bg-blue-500`
- `bg-green-500`
- `bg-yellow-500`
### Banned patterns
- matches `^rounded-(?!none)`
- matches `^shadow-(?!none)`
- matches `^border-[248]`
- matches `^bg-gradient-`
### Why they are banned
- `rounded-lg`: Editorial uses sharp corners only (rounded-none)
- `shadow-lg`: Editorial avoids shadows completely
- `border-4`: Editorial uses thin borders only (border)
- `bg-gradient-to-r`: Editorial uses solid colors, no gradients
- `font-black`: Editorial headings use font-serif with normal weight, not bold
> WARNING: if your code contains any of the above, replace it before shipping.
---
## [REQUIRED]
### Every button must include
```
px-6 py-3
text-sm tracking-wide
transition-colors
```
### Every card must include
```
border border-border
hover:border-foreground
transition-colors
```
### Every input must include
```
border border-border
text-sm
focus:outline-none
focus:border-foreground
transition-colors
placeholder:text-muted
```
---
## [COMPARE] 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="px-6 py-3 text-sm tracking-wide transition-colors bg-foreground text-background">
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="border border-border hover:border-foreground transition-colors p-6">
<h3 class="font-serif 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="border border-border text-sm focus:outline-none focus:border-foreground transition-colors placeholder:text-muted" placeholder="{PLACEHOLDER}" />
```
---
## [TEMPLATES] 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-background text-foreground border border-border px-6 md:px-12">
<div class="flex items-center justify-between max-w-6xl mx-auto gap-6 md:gap-8">
<a href="/" class="font-serif tracking-tight text-xl md:text-2xl">
{LOGO_TEXT}
</a>
<div class="flex gap-6 md:gap-8 font-sans text-xs">
{NAV_LINKS}
</div>
</div>
</nav>
```
### Hero section
```html
<section class="bg-[#e63946] text-foreground py-16 md:py-24 lg:py-32 px-6 md:px-12">
<div class="max-w-4xl mx-auto">
<h1 class="font-serif tracking-tight text-4xl md:text-6xl lg:text-7xl">
{HEADLINE}
</h1>
<p class="font-sans text-sm md:text-base max-w-xl">
{SUBHEADLINE}
</p>
<button class="px-6 py-3 text-sm tracking-wide transition-colors bg-foreground text-background">
{CTA_TEXT}
</button>
</div>
</section>
```
### Card grid
```html
<section class="bg-background text-foreground py-16 md:py-24 lg:py-32 px-6 md:px-12">
<div class="max-w-6xl mx-auto">
<h2 class="font-serif 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-6 md:gap-8">
<!-- Card template - repeat for each card -->
<div class="border border-border hover:border-foreground transition-colors p-6">
<h3 class="font-serif tracking-tight text-xl md:text-2xl">{CARD_TITLE}</h3>
<p class="font-sans text-sm md:text-base text-muted">{CARD_DESCRIPTION}</p>
</div>
</div>
</div>
</section>
```
### Form input
```html
<input class="border border-border text-sm focus:outline-none focus:border-foreground transition-colors placeholder:text-muted" placeholder="{PLACEHOLDER}" />
```
### Footer
```html
<footer class="bg-foreground text-background py-16 md:py-24 lg:py-32 px-6 md:px-12">
<div class="max-w-6xl mx-auto">
<div class="grid grid-cols-1 md:grid-cols-3 gap-8 md:gap-12">
<div>
<span class="font-serif tracking-tight text-xl md:text-2xl">{LOGO_TEXT}</span>
<p class="font-sans text-xs">{TAGLINE}</p>
</div>
<div>
<h4 class="font-serif tracking-tight text-xl md:text-2xl">{COLUMN_TITLE}</h4>
<ul class="font-sans text-xs">
{FOOTER_LINKS}
</ul>
</div>
</div>
</div>
</footer>
```
---
## [CHECKLIST] Editorial post-generation self check
**Before returning code, verify every token and rule below. Fix any violation before delivering:**
### Token check
- [ ] Button includes: `px-6 py-3 text-sm tracking-wide transition-colors`
- [ ] Card includes: `border border-border hover:border-foreground transition-colors`
- [ ] Input includes: `border border-border text-sm focus:outline-none focus:border-foreground transition-colors placeholder:text-muted`
### Forbidden check
- [ ] Not using `rounded-sm`
- [ ] Not using `rounded`
- [ ] Not using `rounded-md`
- [ ] Not using `rounded-lg`
- [ ] Not using `rounded-xl`
- [ ] Not using `rounded-2xl`
- [ ] Not using `rounded-3xl`
- [ ] Not using `rounded-full`
### Style rule check
- [ ] Headings use serif font font-serif, body text uses sans-serif font-sans
- [ ] Background uses warm cream bg-[#F9F8F6], text uses soft black text-[#1C1C1C]
- [ ] Use opacity hierarchy for grayscale: text-[#1C1C1C]/60 (secondary), /40 (auxiliary), /10 (borders)
- [ ] Label style uses font-sans text-xs tracking-[0.2em] uppercase
- [ ] Section spacing at least py-24 md:py-40, container padding px-6 md:px-12
### Style drift check
- [ ] Does not violate: Do not use colored accents (red, blue, green, etc.), maintain pure monochrome system
- [ ] Does not violate: Do not use thick borders or shadows (shadow-*)
- [ ] Does not violate: Do not use #0a0a0a pure black or #fafafa cool white as primary colors
- [ ] Does not violate: Do not use sans-serif fonts for headings
- [ ] Does not violate: Do not use small line heights, body text at least leading-relaxed
### 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 Editorial
---
## [EXAMPLES] Example prompts
### 1.
```
Use Editorial style to create a creative portfolio page:
1. Fixed nav: font-serif logo with tracking-[0.3em], hover-underline links
2. Hero: massive serif title (9rem+) with italic subtitle in #1C1C1C/60, clip-path image reveal
3. Featured works: numbered list (01, 02, 03) with hover image float and group-hover:italic
4. Infinite marquee ticker: services list with dot separators
5. Archive grid: masonry 2-col layout with staggered scroll reveals
6. About section: sticky portrait left, serif quote right, services/clients lists
7. Contact: floating-label inputs with bottom borders, hover-underline submit button
8. Palette: bg-[#F9F8F6], text-[#1C1C1C] with /60 /40 /10 opacity hierarchy only
```
### 2.
```
Use Editorial style to create a magazine blog homepage:
1. Navigation: fixed top, bg-[#F9F8F6]/90 backdrop-blur, hover-underline links
2. Featured article: full-width grayscale image with clip-path reveal, serif title text-7xl
3. Article list: numbered editorial list with border-b border-[#1C1C1C]/10 dividers
4. Typography: font-serif headings tracking-tighter, font-sans text-xs labels with tracking-[0.2em] uppercase
5. Footer: minimal, text-xs uppercase with dot separators
6. Colors: monochrome only, #F9F8F6 background, #1C1C1C text with opacity variants
```
### 3.
```
Use Editorial style to design a studio about page:
1. Layout: 12-col grid, col-span-5 sticky portrait + col-span-7 content
2. Hero quote: font-serif text-6xl with line breaks and italic decorative words
3. Body text: font-sans text-sm leading-relaxed text-[#1C1C1C]/80, max-w-xl
4. Services & clients: two-column grid with uppercase tracking labels, serif list items
5. Contact section: Say Hello heading text-8xl, floating-label form inputs
6. Interactions: IntersectionObserver scroll reveals, group-hover:italic on links
7. Palette: bg-[#F9F8F6], pure monochrome, NO accent colors
```
## Absolute Bans (Match and Refuse)
If any of the following patterns appear, it is a style violation — rewrite without exception.
- use colored accents (red, blue, green, etc.), maintain pure monochrome system
- use thick borders or shadows (shadow-*)
- use #0a0a0a pure black or #fafafa cool white as primary colors
- use sans-serif fonts for headings
- use small line heights, body text at least leading-relaxed
- crowd elements, maintain breathing room
- use gradients, background patterns, or decorative geometric elements
- use large rounded corners rounded-xl or above
## 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 colored accents (red, blue, green, etc.), maintain pure monochrome system
- [ ] do not use thick borders or shadows (shadow-*)
- [ ] do not use #0a0a0a pure black or #fafafa cool white as primary colors
- [ ] do not use sans-serif fonts for headings
- [ ] do not use small line heights, body text at least leading-relaxedMore prompt libraries: All UI Prompts · Tailwind UI Prompts · Dark Mode UI Prompts
Component Templates
Editorial 风格按钮,强调黑白反转与细线提示
Pointer Interactions
Pointer interactions tailored to this style — same cursor, completely different character. Move around the stage to feel it.
Move the cursor — the type steps aside.
Token
--editorial-accent: #b91c1c
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
/* Editorial 全局样式 */
:root {
--ed-bg: #F9F8F6;
--ed-fg: #1C1C1C;
}
body {
font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
background: var(--ed-bg);
color: var(--ed-fg);
-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
font-weight: 400;
letter-spacing: -0.02em;
}
::selection {
background: var(--ed-fg);
color: var(--ed-bg);
}
/* Hover underline animation */
.hover-underline {
position: relative;
}
.hover-underline::after {
content: '';
position: absolute;
width: 100%;
transform: scaleX(0);
height: 1px;
bottom: 0;
left: 0;
background-color: currentColor;
transform-origin: bottom right;
transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-underline:hover::after {
transform: scaleX(1);
transform-origin: bottom left;
}
/* Clip-path image reveal */
.clip-reveal {
clip-path: inset(100% 0 0 0);
transition: clip-path 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.clip-reveal.revealed {
clip-path: inset(0% 0 0 0);
}
@keyframes editorial-fade-in {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes editorial-pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}
.editorial-gradient {
background: linear-gradient(135deg, #1C1C1C, #1C1C1C);
}
.editorial-gradient-text {
background: linear-gradient(135deg, #1C1C1C, #1C1C1C);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.editorial-frosted {
backdrop-filter: blur(12px) saturate(180%);
-webkit-backdrop-filter: blur(12px) saturate(180%);
background: rgba(28, 28, 28, 0.08);
}
.editorial-animate-in {
animation: editorial-fade-in 0.5s ease-out both;
}Compatible Layout Patterns
The following layout patterns pair well with the Editorial style.
Related Styles
Explore these styles for ready-made tokens and components.
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
Editorial design style originates from the typographic aesthetics of traditional print media, particularly the design language of high-end fashion magazines and newspapers. This style emphasizes content hierarchy, refined font pairing, and generous whitespace.
WCAG 2.1 compliance analysis based on color contrast and typography readability.
Overall Score
Grade: D - Poor
Contrast Ratios
Readability
Score
80/100
Font Size
text-sm md:text-base
Font Weight
font-serif 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.
Design Recipes
These curated recipes combine this style with layouts and animations, optimized for specific use cases.