# Android Developers DESIGN.md

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

Google's developer documentation surface on Material 3: Google Sans and Google Sans Text, Google grey-900 ink on white, one blue-800 for links and one green for the single CTA, a 24px card radius against 96px pills, and zero shadows anywhere.

- Website: https://developer.android.com
- Primary color: Navy `#174EA6`
- Fonts: Roboto Mono, Google Sans, Google Sans Text
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/android-developers

## Palette preview

- `ink`: `#000000`
- `muted`: `#5f6368`
- `accent`: `#00af57`
- `outline`: `#dadce0`
- `primary`: `#174ea6`
- `surface`: `#ffffff`
- `on-primary`: `#ffffff`
- `on-surface`: `#202124`

## Typography preview

- `mono`: Roboto Mono
- `button`: Google Sans
- `body-md`: Google Sans Text

---

## Overview

developer.android.com is Google's documentation surface for Android, and it is **Material 3
wearing a documentation hat**. It is not a marketing site and it does not behave like one:
there is no hero photograph of a phone, no gradient, no illustration of a happy developer.
The most "designed" element on the homepage is a full-bleed black band announcing 50+ conference
talks, and even that is a photograph of a glass Android mascot rather than a composed layout.

The site is built on Google's internal docs platform, and the whole visual system reduces to a
very small number of decisions: **two Google typefaces, Google's grey scale, one blue, one
green, one radius for cards and one for pills**. Everything else — every tint, every border,
every spacing value — comes out of the same Material token set that Android apps themselves
use, which is the point: the documentation should feel like the platform it documents.

The personality is **plain, exhaustive and unexcitable**. Headings are declarative
("Get started with Android", "Android Studio", "New features"), body copy explains scope in one
sentence, and the site's job is to get a developer from a question to a codelab in as few
clicks as possible. A language switcher and a light/dark toggle sit in the header because the
audience is global and works at night.

## Colors

Eight values do almost all the work.

- **Primary (`#174EA6`):** Google blue-800, and the colour of every link and every outlined
  text button. It is deliberately *deeper* than the blue used in Google's consumer products —
  `#174EA6` is chosen because documentation is read for long stretches and needs a link colour
  that survives a whole page. On white it is **7.9:1**.
- **Accent (`#00AF57`):** Google green, used exactly once per page as the single filled CTA
  ("See the catalog"). Hover deepens to `#00994B`. This restraint is the most Material thing
  about the site: one accent, one job.
- **Surface (`#FFFFFF`)** and **ink (`#000000` / `#202124`)**: the page is pure white and the
  darkest ink is `#202124` (grey-900). Pure `#000000` appears only on the largest display
  headings and inside the dark hero bands, where it reads as a deliberate "heavier than the
  body" choice rather than as a different colour.
- **Ink-secondary (`#3C4043`)**: grey-800, for body copy that should sit a step below a
  heading but above metadata.
- **Muted (`#5F6368`)**: grey-700, the second most-used text colour on the site. It carries
  eyebrows, nav, captions, search placeholders and every "not the main point" label. On white
  it is **6.1:1** — comfortably AA, and still visibly quieter than ink.
- **Surface-muted (`#F8F9FA`) / Surface-hover (`#F1F3F4`) / Surface-grey (`#E8EAED`)**: three
  steps of Google grey for alternating bands, hover states and disabled surfaces. `#F1F3F4`
  is also the search field's resting fill.
- **Outline (`#DADCE0`)**: grey-300, the 1px hairline on cards, inputs and table rows. It is
  the *only* border colour in the system.
- **Surface-dark (`#202124`)**: the hero band and the dark sections. Text on it is pure white
  (**16.1:1**).
- **Six tints** — `#E8F0FE`, `#D2E3FC` (blues), `#F4F9F5` (green), `#EBF7FE` (sky),
  `#D7EFFE` (cyan), `#F5FCF6` (mint) — back callouts, feature cards and code panels on the
  docs pages. They are all *desaturated pastels* at roughly 95% lightness, and they are the
  only place the palette allows a hue other than blue and green.
- **Link-bright (`#185ABC`)**: blue-700, used once for inline code and small blue accents
  where `#174EA6` would be too heavy at 14px.

There are **no shadows anywhere on the site** — the capture found zero `box-shadow` values
across four pages. Depth is done entirely with tint and hairline.

## Typography

Two faces, both Google's own, and the split between them is semantic:

- **Google Sans** (400/500/600/700) is the *display and UI* face: headings, buttons, nav,
  eyebrows, labels. It is a geometric humanist sans with a large x-height and slightly
  condensed caps, which is why headings can be set at 40–64px without looking thin.
- **Google Sans Text** (400/500, plus italic) is the *reading* face: paragraphs, list items,
  form inputs. It is Google Sans with a taller x-height and looser spacing, tuned for
  sustained reading at 16px.
- **Roboto Mono** appears once, for a code snippet at 14.4px.
- **Material Icons** is loaded for the icon set (download arrows, external-link glyphs, the
  globe on the language switcher).

The scale is a **Material type scale** and it is unusually compact for a site with 64px
headings:

- **64px/700 at `line-height: 1.125` with `-0.5px` tracking** — the single largest heading on
  the site, used once on the "Get started" hub.
- **40px/600 at `1.2` / `-0.5px`** — section headings ("Design & Plan", "New features").
- **32px/600 at `1.25` / `-0.25px`** — card and subsection headings.
- **24px/500 at `1.33` / `-0.25px`** — the smallest display step, used for feature-card
  titles. Note the weight *drops* to 500 as the size drops — the inversion runs the opposite
  way to most systems and keeps small headings from looking chunky.
- **14px/500 at `1.43` with `+1.5px` tracking** — the eyebrow. The positive tracking is
  generous and is what makes a 14px uppercase label read as a label rather than as a sentence.
- **20px/400 at `1.6`** — hero lede paragraphs.
- **16px/400 at `1.5`** — body copy, in Google Sans Text.
- **16px/500 at `1.375` with `+0.5px` tracking** — every button label, in Google Sans.

Two details matter more than the scale itself. First, **negative tracking is tiny** — `-0.5px`
at 64px and `-0.25px` at 32px, roughly `-0.008em`. Google tightens display type only enough
to close the gaps in caps; it never sets a heading tighter than its own line box. Second,
**buttons carry more letter-spacing than body copy** (`+0.5px` against `0`), which is the
reverse of the usual rule and is what makes a 16px/500 label look deliberate rather than
default.

## Layout

A single **1380px container** carries every page, with prose capped at **856px** and narrow
columns at **761px**. Inside it the site runs on a strict 4px grid, and the four most common
spacing values are 8px (107 uses), 24px (87), 32px (59) and 16px (25) — an unusually
8-and-24-heavy distribution that gives the layout its dense, even rhythm.

- **Global header:** a white bar with the Android mascot + "Developers" wordmark, four
  dropdown nav items (Essentials, Design & Plan, Develop, More), a search field with a `/`
  kbd hint, a light/dark toggle, a language switcher, an "Android Studio" link and "Sign in".
  It is the only element that appears on every page.
- **Section sub-nav:** a second, lighter bar below the header carrying a section label
  ("GET STARTED", "ANDROID STUDIO") and a row of tabs, with the active tab underlined in
  `#174EA6`.
- **Homepage:** a full-bleed black hero band (mascot photograph right, two-line 64px heading
  and one green CTA left), then a row of three large pill cards ("Download Android Studio",
  "Download Android CLI", "Launch Play Console") each with an icon, a label and a trailing
  download or external-link glyph, then a stack of card grids — "Developer centers", "Platform
  updates", "Tools updates" — each a 24px-radius grid of white cards with a hairline.
- **Hub pages** (`/design`, `/get-started/overview`): a dark hero with a 40px heading and a
  three-sentence lede, then a three-column row of icon + heading + paragraph + pill-button
  blocks.
- **Docs pages:** the 856px prose column, with 24px-radius callout panels in the six tints.
- **Studio page:** a dark hero with a product screenshot, a white pill download button and a
  "Read release notes" text link with a document icon, then a "New features" card grid.

Section padding runs at 64px and 80px, with 40px and 56px for internal blocks. The `-16px`
negative margins that appear throughout are the standard "bleed a card out of its gutter"
move.

## Elevation & Depth

**There is no elevation.** Zero shadows across four captured pages, on cards, buttons, menus
or overlays. This is a real Material 3 position — the system replaced shadow with *tonal
surface* — and the site follows it strictly.

What replaces shadow:

- **Tint.** `#FFFFFF` → `#F8F9FA` → `#F1F3F4` → `#E8EAED` is a four-step tonal ladder, and
  moving a card one step is how the site says "this is raised".
- **Hairline.** A single 1px `#DADCE0` border closes every card, input and table. It is the
  only outline in the system and it never changes weight.
- **Dark bands.** The hero sections are `#202124` or `#000000`, which is the maximum contrast
  move available and is used instead of a shadow to separate a section.
- **Radius.** Cards at 24px against a white page read as raised without any shadow at all,
  because the rounded corner creates a tonal edge.

The only quasi-shadow is the `box-shadow` property being *listed* in the transition on
buttons and cards (`background-color, border, box-shadow 0.2s ease`) — the site animates a
property it never sets, which is a leftover from a Material baseline rather than a design
decision.

## Shapes

Two radii carry the entire system, and the gap between them is the design's shape signature.

- **24px** is the card radius — feature cards, callouts, the "New features" panels, and
  (as `24px 24px 0 0`) the top-rounded image cards that sit flush with a band below. It is
  the single most-used radius on the site (35 uses on the homepage, 46 on the Studio page).
- **96px** is the pill radius — every button, every chip, the three big download cards on the
  homepage, the search field's neighbours. It is a *full* pill: the buttons are 48px tall, so
  96px is more than half the height and produces a true capsule.
- **100px** appears on the largest pills (the homepage's three download cards), a step up
  from 96px for elements tall enough that 96px would read as a rounded rectangle rather than
  a capsule.
- **8px** covers small controls, inputs and inline code panels; **4px** and **2px** cover the
  finest details.

Nothing is sharper than 2px, and nothing sits between 8px and 24px. The system is
deliberately binary: **cards are soft rectangles, controls are capsules**, and a user can
tell which is which from the corner alone.

## Motion & Micro-interaction

One duration, one curve, two property groups — the entire motion vocabulary.

- **200ms `ease`** on `background-color, border, box-shadow` (16–27 uses per page) is the
  workhorse. Every button, card, tab and nav item uses it for its hover state.
- **200ms `ease`** on `color` (5–13 uses) covers links and text hovers, kept as a separate
  transition so a text colour change never drags a background with it.
- **200ms `cubic-bezier(0.4, 0, 0.2, 1)`** on `opacity` is used for fades — the only place a
  non-`ease` curve appears, and only for elements that appear and disappear rather than
  change state.

There are no entrance animations, no scroll-driven effects, no parallax and no page
transitions. A developer documentation site is a tool, and the motion budget reflects that:
hover feedback only, at a duration short enough that a user navigating by keyboard never
waits.

## Voice & Content Strategy

- **Tone of voice:** declarative and scoped. "Complete a codelab or dive deep into a training
  course for an overview of key Android development topics. Learn to build apps that look
  great and work seamlessly across the diverse range of Android devices—from phones to
  tablets, foldables, Googlebooks, car displays, and even XR." One sentence states what the
  page is for; the next enumerates the device classes. No exhortation, no exclamation marks.
- **Capitalization:** sentence case for every heading, button and paragraph. Section labels
  ("GET STARTED", "ANDROID STUDIO", "NEW FEATURES") are the only uppercase, and they are set
  at 14px/500 with `+1.5px` tracking rather than by `text-transform` alone.
- **Terminology:** exact product names with version qualifiers attached — "Android Studio
  Rabbit 2 | 2026.2.2 Patch 2", "Media3 1.11", "Wear OS releases". Device classes are listed
  exhaustively ("phones, tablets, foldables, Googlebooks, car displays, and even XR") rather
  than summarised as "all devices".
- **Button and action labels:** verb-first and specific — "See the catalog", "Start codelab",
  "Download Android Studio Rabbit 2", "Read release notes", "Launch Play Console". Never
  "Learn more" or "Get started" on their own; "Get started" is a *section* name, not a button.
- **Empty, loading and error states:** the closest analogue is the search field, which is
  always present in the header with a `/` kbd hint — the site's answer to "what if I can't
  find it" is to make search permanently visible rather than to design an empty state.
- **Numbers, dates and units:** exact and versioned. "50+ new talks", "Media3 1.11",
  "2026.2.2 Patch 2", "macOS Catalina (10.15) or newer". Nothing is rounded or approximate.
- **Multilingual and themeable by default:** a language switcher and a light/dark toggle sit
  in the header on every page, because the audience is global and works at night. Both are
  treated as first-class navigation, not as preferences buried in a footer.

## Components

- **Primary text button:** a 96px-radius capsule, 48px tall, filled `#174EA6` with white
  16px/500 text at `+0.5px` tracking. Hover is a 200ms ease on background, border and shadow.
- **Accent button:** the same capsule in `#00AF57`, used once per page. Hover deepens to
  `#00994B`. White on `#00AF57` is only **2.9:1**, so this is the one place the system
  accepts a contrast failure in exchange for a single unmistakable CTA; the accessible
  pairing would be near-black at 7.3:1.
- **Dark button:** the same capsule in pure `#000000` with white text — the Studio page's
  download button on the dark hero.
- **Outlined / quiet button:** a white capsule with `#174EA6` or `#5F6368` text and no
  visible border at rest (the border is present but white, and appears on hover).
- **Search field:** a 40px, 8px-radius field on `#F1F3F4` with a magnifier, muted 16px
  placeholder and a `/` kbd hint. It sits in the global header on every page.
- **Section sub-nav tabs:** a row of 14px/500 labels in `#5F6368`, with the active tab
  carrying a 2px `#174EA6` underline. This is the only underlined-in-blue element in the
  chrome.
- **Feature card:** a 24px-radius white panel with a 1px `#DADCE0` border, no shadow, holding
  a 24px/500 or 32px/600 heading and a 16px/400 body. The "New features" grid on the Studio
  page stacks an uppercase "Feature" eyebrow at 14px/500 with `+1.5px` tracking above the
  title.
- **Callout panel:** the same 24px-radius geometry in one of six tints (`#E8F0FE`,
  `#D2E3FC`, `#F4F9F5`, `#EBF7FE`, `#D7EFFE`, `#F5FCF6`), used on docs pages for notes,
  tips and code. The tint *is* the callout's type — no icon, no border, no title bar.
- **Top-rounded image card:** `border-radius: 24px 24px 0 0`, used where a card's media must
  sit flush with the band below it. It is the only asymmetric radius in the system.
- **Pill action card:** a 96–100px-radius capsule, taller than a button, holding an icon, a
  label and a trailing download or external-link glyph. The homepage's three
  ("Download Android Studio", "Download Android CLI", "Launch Play Console") are the
  largest interactive elements on the site.
- **Icon + heading + paragraph block:** the hub-page unit — a Material Icon, a 24px/500
  heading, a two-sentence paragraph and a pill button, in a three-column row.
- **Global header:** white, with the mascot lockup, four dropdowns, search, theme toggle,
  language switcher and sign-in. The active section's nav item carries a green underline.
- **Code snippet:** Roboto Mono at 14.4px/500 in `#185ABC` on a tinted panel.

## Do's and Don'ts

- Do keep the palette to **one blue and one green**. `#174EA6` for anything navigational,
  `#00AF57` for the single primary CTA. Adding a third hue breaks the Material reading of the
  page instantly.
- Do use `#5F6368` for anything secondary and reserve `#202124` / `#000000` for headings and
  the dark bands. The muted-to-ink ratio on a typical page is roughly 2:1 in favour of
  muted, and that is what makes a docs page scannable.
- Do keep **Google Sans for display and UI, Google Sans Text for reading**. Swapping them —
  setting body copy in Google Sans or a heading in Google Sans Text — is the most common way
  to make the site look subtly wrong.
- Do keep the radius binary: **24px for cards, 96px for controls**. Nothing between 8px and
  24px, and nothing sharper than 2px.
- Do keep buttons at 16px/500 with `+0.5px` tracking and headings at `-0.25px` to `-0.5px`.
  The tracking inversion — open on buttons, closed on headings — is load-bearing.
- Do use tint and hairline for depth. **The site has no shadows at all**, and adding one is
  the fastest way to make it look like a 2018 marketing template.
- Do keep motion to 200ms. There is no entrance animation, no parallax and no page transition
  anywhere, and none should be added.
- Don't use `#00AF57` with white text below 18px — it is **2.9:1**. If the green must carry
  small text, use near-black (7.3:1) or switch to `#174EA6`.
- Don't reach for a brighter blue for links. `#174EA6` is 7.9:1 on white; `#185ABC` (6.5:1)
  is only for small blue accents like inline code, and the consumer-product blues
  (`#1A73E8` and friends) are not part of this system.
- Don't fill a section with a saturated tint. All six tints are ~95%-lightness pastels; a
  tint darker than `#D2E3FC` stops reading as a surface and starts reading as a button.
- Don't add a hero photograph, gradient or illustration. The site's only imagery is product
  screenshots and the mascot, and its restraint is the design.
