# Mozilla Blog DESIGN.md

> Public preview. The complete DESIGN.md source (all 67 design tokens, spacing, components and frontmatter) requires DesignMD Pro: https://www.designmdpro.app/pricing

Mozilla's editorial blog identity — Inter for UI and body, Zilla Slab serif for featured headlines, Mozilla blue actions, and deep purple-dark feature bands.

- Website: https://blog.mozilla.org
- Primary color: Blue `#0060DF`
- Fonts: Inter, Zilla Slab
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/mozilla-blog

## Palette preview

- `outline`: `#9595a2`
- `primary`: `#0060df`
- `surface`: `#ffffff`
- `tertiary`: `#6e008b`
- `secondary`: `#005e5e`
- `on-primary`: `#ffffff`
- `on-surface`: `#000000`
- `surface-dark`: `#1f2033`

## Typography preview

- `cta`: Inter
- `display-lg`: Zilla Slab

---

## Overview

The Mozilla Blog is the company's editorial magazine — "Perspectives on the internet from Mozilla." The design is clean, modern, and content-first: a white 64px nav, a bold **featured-article band** in deep purple-dark (`#1f2033`) with a Zilla Slab serif headline, then a grid of article cards on white and `#ededf0` sections. Inter handles nearly everything; Zilla Slab appears only for the featured serif moment. Blue `#0060df` marks the primary action ("Download Firefox") and inline links; black `#000` buttons handle newsletter signups. The mood is trustworthy, plainspoken, and slightly academic.

## Colors

- **Primary (`#0060df`)** — Mozilla blue for the main CTA and links.
- **Deep purple-dark (`#1f2033` / `#20123a`)** — featured-article bands and dark sections; white text on top.
- **Neutrals** — `#000` headlines/body on light, `#42425a` secondary slate, `#9f9fad`/`#9595a2` muted text and hairlines, `#ededf0` section fills.
- **Accents** — teal `#005e5e` and purple `#6e008b` appear as secondary/category colors.
- Buttons come in three tones: blue primary, white secondary ("Read More"), and black inverse ("Sign up now").

## Typography

- **Inter** is the universal face — 700-weight headlines at 20–32px, 400-weight body at 14–16px.
- **Zilla Slab** (serif) is reserved for the featured article headline at 40px/700 — the single editorial flourish.
- **Category labels** use 14px/500 Inter with 1px letter-spacing (effectively spaced caps).
- Buttons are 16px/700 — heavier than body text, giving CTAs clear weight without size changes.

## Layout

A 1152px content column inside up-to-1440px pages. The featured article spans full width as a dark panel; below it, article cards arrange in a responsive grid (150–432px measured columns). Category pages reuse the same grid with a category heading. Section padding runs 24–48px.


## Elevation & Depth

Mozilla's signature **layered shadow stack**: cards carry `rgba(29,17,51,0.04) 0 24px 38px 3px` + `rgba(9,32,77,0.12) 0 10px 48px 8px`-style double shadows in purple-tinted blacks, and the sticky nav repeats a smaller version. Depth is soft and diffuse — no hard borders except `#9595a2` hairlines.

## Shapes

Small radii throughout: 4px on buttons and cards, 8px on larger containers, 2px on fine elements. Nothing is pill-shaped; the aesthetic is squared-off and utilitarian.

## Motion & Micro-interaction

Quick state changes at 100ms `ease` for color/shadow/box-shadow, and 300ms `ease` for opacity/transform reveals. Hover states deepen the shadow stack slightly — the "lift" is the main interaction feedback.

## Voice & Content Strategy

The voice is curious, principled, and plain — a mission-driven org publishing perspectives, not hot takes.

- **Tone:** thoughtful, accessible, slightly wonky ("Firefox reunites meme royalty to remind you what the internet used to feel like").
- **Capitalization:** sentence case headlines; category labels in spaced caps.
- **Examples:** "Perspectives on the internet from Mozilla" / "FEATURED ARTICLE" / "Download Firefox".
- **Actions:** direct imperatives — "Download Firefox", "Read More", "Learn more", "Sign up now".

## Components

- **button-primary** — `#0060df` blue, white 16px/700 label, 4px radius, 44px tall.
- **button-secondary** — white fill, black label, 48px tall ("Read More" on cards).
- **button-inverse** — black `#000` fill, white label, 40px tall (newsletter "Sign up now").
- **button-ghost** — transparent, white label for dark-band CTAs ("Learn more").
- **featured-article** — the dark `#1f2033` panel with Zilla Slab 40px serif headline.
- **card** — borderless article cards; title in Inter 20px/700.
- **nav** — white 64px header with the layered shadow, Inter 16px links.
- **link** — `#0060df` Inter text.

## Do's and Don'ts

- Do keep Zilla Slab exclusive to the featured serif headline — everywhere else is Inter.
- Do use the purple-tinted double shadow stack for elevation; flat 1px borders only for hairlines.
- Do keep buttons at 4px radius and 700 weight — small, squared, confident.
- Do alternate white → `#ededf0` → `#1f2033` dark bands for section rhythm.
- Do reserve `#0060df` for the primary action and links; teal/purple are accents only.
- Don't introduce additional accent hues or gradients.
- Don't use serif type for UI elements or body copy.
- Don't exceed 8px radius — the system is deliberately squared.
