# Google News DESIGN.md

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

Google's Material 3 news aggregator — a flat white card grid on a pale blue-grey canvas, driven end-to-end by a --gn-c-* alias layer over the --gm3-sys-color-* token namespace.

- Website: https://news.google.com
- Primary color: Blue `#0B57D0`
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/google-news

## Palette preview

- `link`: `#1a73e8`
- `error`: `#b3261e`
- `shadow`: `#000000`
- `divider`: `#e3e3e3`
- `outline`: `#747775`
- `primary`: `#0b57d0`
- `surface`: `#ffffff`
- `on-error`: `#ffffff`

---

## Overview

Google News is Google's news aggregation front page. It reads as a Material 3
surface rather than a web page: a single pale canvas, a set of white rounded
cards floating on it, and a colour system that is declared once as custom
properties and never re-picked by hand.

The whole palette lives in a two-level token namespace. The `--gn-c-*` layer is
Google News' own naming (`--gn-c-primary`, `--gn-c-surface-container`,
`--gn-c-divider`), and every one of those aliases a Material 3 system token —
`--gn-c-primary: var(--gm3-sys-color-primary, #0b57d0)`. The fallback value
inside the `var()` is the light-theme value, and a `body.dm7YTc` rule re-declares
the `--gm3-sys-color-*` variables wholesale for dark mode, so the entire page
inverts from one selector without a single component rule changing. Around
fifty `--gn-c-*` names sit on top: `--gn-c-divider` (`#e3e3e3`),
`--gn-c-color-link` (`rgb(26,115,232)`), `--gn-c-action-button-color`
(`rgb(95,99,104)`), `--gn-c-banner-background`/`-text`, the
`--gn-c-adv-search-*` set, the `--gn-c-jump-button-*` set, `--gn-c-toast-*`,
`--gn-c-ogb-*` and `--gn-c-bw-*`.

The layout is a 1040px content column, centred, split into a 688px lead column
and a 336px rail with a 16px gutter. Everything a reader scans — the storm
cluster, the tariff story, the Wordle card, the "Beyond the front page" grid —
is a white card with an 18px radius and 16px of internal padding, separated from
its neighbours by the canvas colour rather than by a border or a shadow.

## Colors

The light scheme is a neutral-white Material 3 baseline with a single saturated
accent. `surface` is pure `#ffffff`, `background` is a pale blue-grey
`#f6f8fc`, and `on-surface`/`on-background` is `#1f1f1f` — which is the
resolved value of the `rgba(0, 0, 0, 0.87)` ink the DOM actually reports, since
the body paints its text at 87% black over white.

- **Primary `#0b57d0`** — the Material 3 "Google blue" that replaced the older
  `#1a73e8`. It fills the Sign in button, the active nav underline, the footer
  call-to-action label and the text-button labels. White `#ffffff` sits on it at
  6.39:1.
- **Secondary-container `#c2e7ff` / on-secondary-container `#004a77`** — the
  cluster-title pair. "A powerful storm approaches the East Coast for
  Thanksgiving" and its chevron render in `#004a77`, a deep desaturated blue
  that reads as a heading without competing with the primary action. 9.35:1 on
  white.
- **Surface-container `#f0f4f9`** — the search field's fill and the
  "See more headlines & perspectives" pill. A 1.04:1 step from the canvas, so
  the pill is legible as a shape but never as a coloured band.
- **On-surface-variant `#444746`** — the workhorse metadata grey. Source
  names, "3 hours ago", "• By Michael Race" and every secondary byline use it;
  9.39:1 on white.
- **Outline `#747775` / outline-variant `#c4c7c5`** — reserved for control
  outlines and hairlines. The live 1px dividers between story clusters are a
  separate, harder grey, `#e3e3e3` (`--gn-c-divider`), at 1.28:1 against the
  card — deliberately invisible as a line and legible only as a gap.
- **Inverse pair** — `inverse-surface #303030` with `inverse-on-surface #f2f2f2`
  and `inverse-primary #a8c7fa`, used by the toast and snackbar surfaces.
- **AI gradient** — four `--gn-c-ai-gradient-stop-*` tokens (`#4285f4`,
  `#9b72cb`, `#d96570`, `#ffffff`) plus `--gn-c-ai-analog #a7edff` and
  `--gn-c-ai-complement #fdadee`, inverted for dark mode. These paint the
  generative/AI surfaces only.
- **`#592fd0`** — a violet that appears once, as the "Picks for you" section
  heading. It is the only non-token colour on the page.
- **Brand wordmark** — the Google News lockup keeps Google's four-colour
  identity (blue `#4285f4`, red `#ea4335`, yellow `#fbbc04`, green `#34a853`)
  and is deliberately outside the token system.

Dark mode is a complete second scheme, not an inversion: `background`/`surface`
become `#131314`, `surface-container` `#1e1f20`, `surface-container-high`
`#282a2c`, `surface-container-highest` `#333537`, `primary` flips to the light
`#a8c7fa`, `on-primary` to `#062e6f`, `outline` to `#8e918f`, `divider` to
`#5e5e5e`, `link` to `#8ab4f8`, and the toast/banner pairs swap ends.

## Typography

Two Google faces carry the page, both self-hosted from `fonts.gstatic.com` and
confirmed loaded through `document.fonts.check`:

- **Google Sans** — display and navigation. The "Beyond the front page" heading
  is 28px/400 with a 32px line and slightly negative tracking; nav labels and
  the "Picks for you" heading are 20px/400 on a 26px line.
- **Google Sans Text** — body and headlines. Story headlines are 16px, source
  lines and bylines 14px/400 on a 20px line, links 14px/500 on a 27px line, and
  cluster titles 18.72px/700.
- **Roboto** — the declared fallback in every stack; it renders only if a Google
  face fails, and a canvas `measureText` probe confirms Google Sans Text really
  is the rendering face rather than the substitute.
- **Google Material Icons** — the single icon face behind every glyph
  (chevrons, search, help, settings, the full-coverage mark). `Product Sans` and
  `Material Icons Extended` are declared but unused on this route.

Weight is used sparingly: 400 for display and body, 500 for nav links and
buttons, 700 only for cluster titles. There is no italic anywhere on the
front page — the italic cuts of Google Sans Text are fetched and never painted.

Letter-spacing is effectively neutral (`0px`) on body copy and very slightly
tight on the 28px display heading. No text on the page is set in capitals; every
label is sentence case as authored.

## Layout

- **Canvas** — `#f6f8fc`, full bleed, no texture.
- **Content column** — 1040px, centred (200px margins at a 1440px viewport).
- **Two-column split** — 688px lead + 336px rail, 16px gutter.
- **Header** — a sticky white band spanning the viewport, holding the same
  1040px column. Its top row is 82px tall: the Google News wordmark at the
  left, then the 614×46 search pill, then help / settings / apps icon buttons
  and the 93×36 Sign in button at the right. A nav row sits underneath.
- **Search pill** — 614×46, radius 100px (a true pill), fill `#f0f4f9`, no
  border, 14px placeholder text.
- **Icon buttons** — 40×40 circular hit targets (radius 50%) in the header.
- **Cards** — radius 18px, white, 16px padding, no border and no shadow. Cards
  are the only layout primitive: clusters, rail modules and the
  "Beyond the front page" grid are all the same card.
- **Story rows** — a thumbnail column and a text column. Thumbnails are square,
  roughly 96×96, `object-fit: cover`, with a 12px radius.
- **Dividers** — a single 1px `#e3e3e3` rule between story clusters, inset to
  the text column so it never crosses the thumbnail.
- **Rail modules** — a 2-up mini-grid of story cards inside the 336px column,
  each ending in a ~28px rounded icon button holding the full-coverage glyph.
- **Section rhythm** — the lead cluster, then the tariff story, then the pier
  story, then "Beyond the front page" (a 28px heading with a 14px
  `#5f6368` subline, "Notable stories and conversation starters"), then a
  two-by-two story grid, then the sign-in call to action. Vertical spacing is
  dominated by the 16px card gap and 16px card padding; the spacing census is
  almost entirely 2, 4, 8, 12 and 16px with a few 32px section steps.
- **Footer CTA** — centred: "Sign in to get news based on your interests" in
  `#0b57d0` 14px/500, above a full pill Sign in button.

## Elevation & Depth

The feed is deliberately flat. Every measured card on the front page reports
`box-shadow: none` and a transparent border — separation comes from the
`#f6f8fc` canvas showing between white 18px-radius cards, which is a Material 3
surface-container relationship rather than a shadow.

Shadows do exist, and they follow Google's classic two-layer recipe: a tight
ambient key shadow paired with a wider, softer one, both tinted with the
neutral greys `rgba(60,64,67,…)` / `rgba(65,69,73,…)` / `rgba(0,0,0,…)`:

- Level 1 — `0 1px 2px 0 rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15)`
- Level 2 — `0 1px 3px 1px rgba(66,64,67,.15), 0 1px 2px 0 rgba(60,64,67,.3)`
- Level 3 — `0 1px 3px 0 rgba(60,64,67,.3), 0 4px 8px 3px rgba(60,64,67,.15)`
- Level 4 — `0 2px 3px 0 rgba(0,0,0,.3), 0 6px 10px 4px rgba(0,0,0,.15)`
- Level 5 — `0 4px 4px 0 rgba(0,0,0,.3), 0 8px 12px 6px rgba(0,0,0,.15)`

These are reserved for transient surfaces — the expanded search field, dropdown
menus, dialogs, the app launcher and toasts — and never for content cards.
Because the shadow colour tracks the neutral greys rather than the primary blue,
raised surfaces on this page read as grey-lifted, not blue-tinted.

## Shapes

The radius vocabulary is small and almost entirely pill-or-card:

- **100px / 50%** — true pills and circles: the search field, the Sign in
  button (20px on a 36px-tall control, which is a pill at that height), the
  header icon buttons.
- **18px** — the card radius, used by every surface container on the page.
- **12px** — story thumbnails and small image frames.
- **1.5px** — hairline rounding on tiny inline chips.
- **16px / 20px / 28px / 40px / 14px** — secondary control radii, mostly
  buttons and chips at different heights.

One asymmetric family exists for the rail modules: `0px 14px 0px 0px`,
`14px 0px 0px` and `10px 0px 0px 10px` — corner-specific rules that square off
the inner edge of a card that butts against its neighbour in the mini-grid, so
two adjacent cards form one continuous surface with a single 18px outer corner
each. Radii are never applied to text, and no element uses a fully circular
clip on non-square content.

## Motion & Micro-interaction

Motion is short, opacity-led and Material-standard:

- **Colour and border transitions** — `border, box-shadow 0.28s
  cubic-bezier(0.4, 0, 0.2, 1)`, the Material "standard" easing curve, on
  interactive controls.
- **Opacity** — `opacity 0.25s ease-in-out` on hover/focus reveals.
- **Shadow** — `box-shadow 0.25s ease` when a control raises.
- **Background** — `background-color 0.4s ease` on state-layer fills.

Touch feedback is the MDC ripple rather than a CSS transition: the page sets
`--mdc-ripple-fg-opacity` per component class — `0.1` for most buttons, `0.12`
for icon toggles, `0.2` for selected/outlined states, `0.24` for the app
launcher and utility icons — and animates a `stroke-dasharray` circle for the
press indicator. A pressed control therefore never changes colour outright; it
gains a translucent state layer over its existing fill.

Loading uses a shimmer, not a spinner: `--gn-bg-shimmer-pos-start` and
`--gn-bg-shimmer-pos-end` drive a background-position sweep across `#e8eaed`
placeholder blocks that sit exactly where a story row will land. The skeleton is
a structural preview of the card, so the page never reflows when content
arrives.

## Voice & Content Strategy

The copy is written as an editor's digest, not a product page:

- **Cluster titles are sentences.** "A powerful storm approaches the East Coast
  for Thanksgiving ›" states the takeaway and uses a chevron to promise more
  coverage. The same story cluster is titled differently in different renders —
  "Thanksgiving storms target 250M+ with intense winds, heavy rain, flooding" —
  because the headline is chosen per cluster, not per article.
- **Attribution is always visible and always relative.** Source name in small
  grey, then "3 hours ago", then "• By Michael Race". No absolute dates on the
  front page; "3 days ago" and "Yesterday" are the oldest forms used.
- **Buttons describe the action, not the feature.** "See more headlines &
  perspectives" rather than "View all"; "Sign in to get news based on your
  interests" rather than "Personalise your feed".
- **Numbers are compacted** — "250M+", "More than 300 Russians killed" — and
  always kept in the headline rather than pushed to a summary.
- **Sentence case everywhere.** Nav labels ("For you", "News Showcase"),
  section headings ("Beyond the front page", "Notable stories and conversation
  starters") and controls are all sentence case; nothing is capitalised for
  emphasis.
- **Section sublines are functional.** "Notable stories and conversation
  starters" tells the reader what kind of story to expect, in `#5f6368` 14px,
  directly under the heading.

## Components

- **Search pill** — 614×46, radius 100px, `#f0f4f9` fill, 14px Roboto-stack
  placeholder, leading search glyph, trailing expand chevron. No border; the
  shape carries the affordance.
- **Sign in button** — 93×36 filled pill, `#1a73e8`, white 14px/500 label,
  radius 20px, MDC ripple. The only filled primary control on the page, which
  makes it the single strongest focal point in the header.
- **Nav tabs** — 14px Google Sans. Inactive `#5f6368`/400; active ("Home")
  `#1a73e8`/500 with a 2–3px blue underline bar. Tabs are text-only, with no
  pill or container behind them.
- **Icon buttons** — 40×40 circular transparent targets for help, settings and
  the app launcher, glyphs in `#5f6368`.
- **Story cluster card** — white, 18px radius, 16px padding. Holds a
  `#004a77` 18.72px/700 cluster title with chevron, a lead story (source +
  headline + timestamp + 96px thumbnail or a wide table image), then indented
  side stories from other outlets, then the "See more headlines &
  perspectives" pill.
- **Story row** — thumbnail on one side, source name + headline + byline on the
  other, a ~28px rounded full-coverage icon button at the end. Rows are
  separated by a 1px `#e3e3e3` divider inset to the text column.
- **"See more" pill** — full-width, 40px tall, `#f0f4f9` fill, centred 14px/500
  `#444746` label with a leading newspaper glyph.
- **Rail story card** — 336px column module; two-up mini-grid inside, each cell
  a source + headline + timestamp + thumbnail with the icon button at the end.
  Inner corners are squared (see Shapes) so the pair reads as one surface.
- **Section heading** — 28px/400/32px Google Sans, `#1f1f1f`, optional 14px
  `#5f6368` subline beneath.
- **Sign-in CTA** — centred 14px/500 `#0b57d0` line of copy above a full pill
  Sign in button, closing the anonymous feed.
- **Skeleton block** — `#e8eaed` rectangle, 1.13:1 against the canvas, animated
  by the shimmer sweep.
- **Toast** — `#303030` surface with `#f2f2f2` text (the inverse pair), raised
  at shadow level 3–4.

## Do's and Don'ts

**Do**

- Do keep every colour in the `--gn-c-*` → `--gm3-sys-color-*` chain. Adding a
  hex literal to a component breaks the dark theme, which is a wholesale
  re-declaration of the system variables on one selector.
- Do separate content with the canvas colour. The `#f6f8fc` gap between white
  18px cards is what makes the grid readable at zero shadow cost.
- Do use `#004a77` for cluster titles and `#1f1f1f` for story headlines — the
  two-tone heading system is what lets a reader tell "what this story is" from
  "what this article says" at a glance.
- Do keep the pill radius at 100px on the search field and 20px on the 36px
  Sign in button; both resolve to a full pill and both are load-bearing.
- Do square the inner corners of adjacent rail cards so a pair reads as one
  surface.
- Do keep relative timestamps ("3 hours ago", "Yesterday") — the front page has
  no absolute dates by design.
- Do use the MDC ripple opacities (0.1 / 0.12 / 0.2 / 0.24) rather than
  inventing hover colours.
- Do skeleton every async region with `#e8eaed` shimmer blocks shaped like the
  real content.

**Don'ts**

- Don't put a shadow on a content card. Cards are flat; elevation is reserved
  for search expansion, menus, dialogs, the launcher and toasts.
- Don't reach for the older Google blue `#1a73e8` as the primary. It survives
  only as `--gn-c-color-link` and on the Sign in button; the system primary is
  `#0b57d0`.
- Don't use `#747775` outline grey for body copy — it is a control-outline
  token, and the metadata grey is `#444746`.
- Don't draw a border around cards or the search pill. There are no card borders
  anywhere on the front page; the only rule is the 1px `#e3e3e3` divider.
- Don't let a divider cross a thumbnail. Every divider is inset to the text
  column.
- Don't set type in capitals and don't add letter-spacing to body copy. The page
  is sentence case with neutral tracking.
- Don't use the `#592fd0` violet outside "Picks for you" — it is a one-off, not
  an accent role.
- Don't treat the `--gn-c-ai-gradient-*` stops as decorative brand colours. They
  belong to the generative surfaces and have their own dark-mode inversions.
- Don't assume the light fallback inside `var(--gm3-sys-color-…, #fff)` is the
  rendered value — read the resolved custom property, because dark mode
  re-declares the variable rather than the `--gn-c-*` alias.
