# Experiments with Google DESIGN.md

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

A 14-year archive that ships two complete design systems side by side — the classic black-and-white Source Code Pro theme on a fixed 1024px canvas, and the newer warm-paper Google Labs theme in 100px Google Sans with 9990px pills.

- Website: https://experiments.withgoogle.com
- Primary color: Yellow `#DAEF68`
- Fonts: Source Code Pro, Source Sans Pro, Google Sans, Google Sans Text, Google Sans Mono
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/experiments-with-google-1

## Palette preview

- `primary`: `#daef68`
- `ink`: `#323232`
- `chip`: `#ddd3c7`
- `line`: `#e8dfd5`
- `link`: `#373bef`
- `error`: `#d34336`
- `paper`: `#f3efea`
- `ink-dim`: `#4e4e4e`

## Typography preview

- `body`: "Source Code Pro", monaco, "PT Mono", Courier, monospace
- `wordmark`: "Source Sans Pro", monaco, "PT Mono", Courier, monospace
- `labs-body`: "Google Sans", Helvetica, Arial, sans-serif
- `labs-link`: "Google Sans Text", Helvetica, Arial, sans-serif
- `labs-label`: "Google Sans Mono", monospace

---

## Overview

Experiments with Google is a 14-year archive of 1,605 creative-coding
projects, and its design system is unusual for a reason that has nothing to do
with taste: **the site is two products sharing one domain.** The marketing
shell — home, collections, experiments index — still runs the original 2015-era
theme, while every collection page has been migrated to the current Google Labs
theme. Capturing both in one pass is the only way to see what actually happened
here, which is that a design system was replaced underneath a live site without
a redesign of the chrome around it.

**The classic theme** is a black-and-white editorial machine. Pure `#000`
header, pure `#fff` page, one 1px `#ccc` border around every 320×320 thumbnail,
and *Source Code Pro* — a monospace — set at 13px with 0.3px tracking for every
piece of interface text. Display type is *Source Sans Pro* at weight 200–300.
Nothing is rounded except a 20px pill button and a 15px slider dot. The whole
site is built on a **fixed 1024px canvas** with two breakpoints (1024 and 768),
and its grids are `inline-block` percentages rather than flex or grid.

**The Google Labs theme** is the opposite on every axis. A warm `#f3efea` paper
ground, `#323232` ink, Google Sans at **100px** for the hero and 26px for
section headings, radii from 26px cards to **9990px** pills, and 0.3s
opacity-and-color transitions instead of 0.2s transform-and-all. It is soft,
enormous, and warm where the classic theme is hard, small, and neutral.

The bridge between them is a third, smaller thing: the **"14 YEARS. 1605
EXPERIMENTS." splash overlay**, which is the only place the classic theme uses
color at all. It is a 1024px-wide acid-lime `#daef68` ellipse at
`border-radius: 700px`, set in Google Sans at 58px, with Google Sans Mono
buttons. That splash is the design system's own announcement of its own
migration — the new type and the new accent, delivered inside the old chrome.

## Colors

Twenty-three values across two themes, and the split is almost perfectly clean.

**Classic theme.** Two absolutes and a short neutral ramp:

- **Background (#000000)** and **on-background (#ffffff):** the header bar and
  the `rgba(0, 0, 0, 0.9)` lightbox overlay. Pure values, no tint.
- **Surface (#ffffff)** and **surface-dim (#eeeeee):** the page ground and the
  `#eee` used for card wells, the `.solid` content block, and the slider
  arrow's hover fill.
- **On-surface (#222222)**, **on-surface-dim (#999999)** and
  **on-surface-faint (#a9a9a9):** the three text grays. Note that
  `#999999` on white measures only **2.85:1** — it is used for every experiment
  byline and every `.box-subname` on the index pages, and it is well below AA.
  It is the single largest accessibility problem in the classic theme.
- **Outline (#cccccc):** the 1px border around every 320px thumbnail frame and
  every textarea. It is the only structural border in the theme.
- **Primary (#daef68):** acid lime, and it appears in exactly one place — the
  anniversary splash. It is the accent the whole site is moving toward.
- **Link (#373bef)** and **link-hover (#1b30fc):** the pill button's fill and
  its hover, plus the `.naked` text button. White on `#373bef` is 6.9:1; white
  on `#1b30fc` is 7.3:1.
- **Error (#d34336):** form validation, `font-style: italic`, plus the
  `border-bottom` on an errored field.

**The five `data-theme` hues** — **theme-blue (#0000ff)**,
**theme-magenta (#f300cf)**, **theme-yellow (#f2c300)**,
**theme-purple (#9266ff)** and **theme-teal (#5ddbb3)** — are not a palette.
They are a per-content-block escape hatch: a content block declares
`data-theme="teal"` and its title, its `rgba(93, 219, 179, 0.7)` overlay and
its button hover all follow. Five arbitrary hues, applied one at a time, with
no rule about which block gets which. This is the least designed part of the
system and the most honest — it is how a 1,605-entry archive lets individual
curators tint their own pages.

**Google Labs theme.** A warm neutral family with no saturated accent at all:

- **Paper (#f3efea):** the ground. A warm greige, and the single value that
  makes the new theme feel like a different product rather than a restyle —
  swap it for white and it collapses back into the classic theme.
- **Ink (#323232)** and **ink-dim (#4e4e4e):** headings and body. On paper
  these measure 11.2:1 and 7.2:1.
- **Line (#e8dfd5):** the 2px hairline that replaces the classic theme's 1px
  `#ccc` border — same job, warmer and twice as thick.
- **Chip (#ddd3c7):** the active filter chip's fill. 8.8:1 against ink.
- **Labs-blue (#7182ff):** one periwinkle fill, used once. It is the only
  saturated color in the entire new theme.

## Typography

Four families, and the choice of family is itself the version marker.

**Classic theme.** *Source Code Pro* for everything interface, *Source Sans
Pro* for everything display, both falling back through `monaco, "PT Mono",
Courier, monospace` — a stack that ends in `monospace`, so a missing webfont
degrades to monospace rather than to a sans.

- **Wordmark (23px / 300):** "Experiments with Google" in the black header.
  Weight 300 at 23px, the lightest thing on the page.
- **Page-title (48px / 300 / 48px):** "Collections", "1605 experiments". Line
  height exactly equal to font size, so a two-line title sets as one block.
- **Slide-headline (50px / 200 / 50px):** the carousel headline, at weight
  **200** — the lightest weight used anywhere on the site, and it drops to
  28px below 1024px.
- **Section-label (13px / 500 / 16.9px, +0.3px, uppercase):** every h2.
- **Card-title (13px / 600 / 19.5px, +0.3px, uppercase):** every experiment
  name, one weight heavier than the section label.
- **Body (14px / 400 / 23.8px):** running copy, at a 1.7 line-height.
- **Nav-item (13px / 400 / 23.8px, +0.3px):** the header's four items.
- **Action (12px / 500 / 23.8px, +1px, uppercase):** every button, with a full
  1px of tracking — the widest tracking in the classic theme.
- **Byline (12px / 500 / 18px):** "by Yiyun Kang", in `#999`.

**Splash.** *Google Sans* at **58px / 300** for "14 YEARS. 1605 EXPERIMENTS.",
*Google Sans* 12px/500 for the body, and *Google Sans Mono* 11px/700 uppercase
for the "A NOTE TO OUR COMMUNITY" kicker and 13px/500 at **−0.5px** for the two
action buttons. The negative tracking on the buttons is the only negative
tracking in the classic theme.

**Google Labs theme.** *Google Sans*, *Google Sans Text* and *Google Sans
Mono*, and the scale is enormous:

- **Labs-display (100px / 500 / 110px, −1.133px):** "Tabletop".
- **Labs-display-lg (120px / 400 / 138px):** the largest type on the domain.
- **Labs-heading (60px / 500 / 66px, −1.2px):** section headings.
- **Labs-section (26px / 500 / 26px, −0.26px):** card titles, line-height
  exactly equal to font size.
- **Labs-card-title (42px / 400 / 46.2px, −0.84px):** experiment names.
- **Labs-body (24px / 400 / 31.2px)** and **labs-body-sm (16px / 400 / 22.4px)**.
- **Labs-link / labs-cta (21px / 500, Google Sans Text):** the "Try it now"
  button and inline links, in the *Text* cut rather than the display cut.
- **Labs-chip (20px / 500):** the filter chips.
- **Labs-label (12px / 400 / 14.4px, +0.6px, uppercase, Google Sans Mono)** and
  **labs-caption (24px / 300)**.

Negative tracking is universal in the new theme and absent from the old one;
positive tracking is universal in the old one and reduced to a 0.6px label in
the new one. That inversion is the clearest single signal of which theme you
are looking at.

## Layout

The classic theme is a **fixed 1024px canvas**. `.slider .slidewrap` is
`width: 1024px`, each `.slide` is `width: 1024px`, the sticky button bar is
`width: 1024px`, and the splash container is `width: 1024px`. Nothing is
fluid; below 1024px the carousel becomes 300px wide and the whole site
reflows to a single column at 768px. There are exactly two breakpoints.

Its grids are **`inline-block` percentages**, not flex or grid:

- `.box-container .box-wrap` at `width: 47.5%` with `margin-right: 30px` and
  `:nth-child(2n) { margin-right: 0 }` — a two-column layout built from
  inline-block and a nth-child rule.
- `.homebox-container .box-wrap` at `:nth-child(3n)` for three columns.
- `.contentblock.two-third` at 55% and `.one-third` at 39%, with
  `margin-right: 60px` and `margin-left: 25px` doing the gutter work.
- `.story-holder .expt-box` at 47% and `.square` at 31%.
- `.field-column.main` at 70% and `.sub` at 29% with `margin-left: 10px`.

The signature unit is the **320×320 thumbnail** — `.box-bg-wrap { width: 320px;
height: 320px; border: 1px solid #ccc }` — repeated at 320px wide for
`.expt-box.fixed`, 495×300 for `.featured`, 160×160 for `.story-holder`, and
300×170 for the two-thirds variant. One square module, scaled by context.

The Labs theme abandons all of it: a **322px** module inside a fluid grid,
24px and 30px spacing, and a 90px nav with 25px/30px padding. No fixed canvas,
no percentage grids.

Vertical rhythm in the classic theme is **35px** between content blocks
(`.content-wrap { padding: 35px 0 }`, closed by a `1px solid #525252` bottom
border), **50px** inside `.contentblock`, and **20px** between boxes.

## Elevation & Depth

Almost none, and it is a deliberate position.

**The classic theme has no `box-shadow` declarations at all** — the computed
shadow list on all three classic pages is empty. Depth is carried by three
things: the `1px solid #ccc` border around each thumbnail, the
`rgba(0, 0, 0, 0.6)` cover overlay on hover, and the `rgba(0, 0, 0, 0.9)`
lightbox. Layering is done with flat translucency, never with blur.

The one exception in the whole capture is a **third-party component**: the
Google "glue" cookie notification bar, which ships
`box-shadow: 0 2px 3px 0 rgba(60, 64, 67, 0.3), 0 6px 10px 4px rgba(60, 64, 67,
0.15)` — a two-layer Material shadow in Google's `#3c404f` gray. It is the only
soft shadow on the domain and it does not belong to either theme.

**The Labs theme has no shadows either.** It separates with `#e8dfd5` hairlines
and the paper/white contrast, plus a single `backdrop-filter` on its sticky
elements. Its cards are flat white on warm paper.

Overlays, in both themes, are flat scrims: `rgba(0, 0, 0, 0.6)` for a
thumbnail hover, `rgba(0, 0, 0, 0.7)` for the splash, `rgba(0, 0, 0, 0.9)` for
the lightbox. Three opacities of black, no blur anywhere.

## Shapes

The classic theme is **square by default**, with exactly three rounded things:

- **20px** — the `.button` pill (`border-radius: 20px`), the only rounded
  element in normal use.
- **15px** — the carousel's `.slidebutton` dots (`border-radius: 15px` on a
  6px-padded box, so they render as circles).
- **50%** — the 75px `ins.play-gif` button and the 20px range-slider thumb.
- **10px** — the `#slideshow` thumbnails.
- **2px** — three small controls.

Everything else — thumbnails, cards, content blocks, the lightbox, the form
fields — is `border-radius: 0`, and the reset enforces it with
`appearance: none` on every input.

The splash overlay is the one extravagant shape: `border-radius: 700px` on a
1024px-wide, roughly 600px-tall box, which renders as a vast horizontal
ellipse — a lens, not a pill. It is the largest radius value on the domain by
two orders of magnitude, and it exists only in that one overlay.

**The Labs theme inverts the default entirely.** `9990px` on thirteen
elements (pills, chips, the round icon buttons), `100px` and `40px` on the CTA
and filter chips, `26px` on cards, `16.407px` and `45.86px` on nested media.
The only square corners left are the raw card images at `radius: 0`. The new
theme is round by default and square by exception; the old theme is the exact
reverse, and no page mixes them.

## Motion & Micro-interaction

Four durations in the classic theme, all on `all` rather than on named
properties — which is the tell that this stylesheet predates the discipline of
animating only `transform` and `opacity`:

- **200ms `cubic-bezier(0.06, 0.24, 0.44, 1)`:** the most-used transition in
  the theme (17 instances on the collections page alone), on
  `.videocover`, `.box-bg-wrap` and friends. That curve is a custom
  ease-in-out, not one of the CSS keywords.
- **150ms `ease`:** the card hover on the experiments index.
- **240ms `cubic-bezier(0.06, 0.24, 0.44, 1)`:** one element, at a duration
  that matches nothing else.
- **250ms `ease`:** the carousel arrows, on `transform` only — the single
  correctly-scoped transition in the theme.

The signature interaction is the **thumbnail hover**: `.boxcover-overlay`
fades a `rgba(0, 0, 0, 0.6)` scrim over the 320px square while a play button
scales to `0.92` and drops to `opacity: .85`. Nothing moves; only opacity and
a small scale change.

The splash overlay's **vertical range slider** is the one piece of real
choreography: a 275px track rotated 90°, a 1px black rule, a 20px black thumb
at `margin-top: -8px`, and a 50px black disc holding the year in `#daef68` at
11px that follows the thumb. Dragging it scrubs the 14-year timeline.

The Labs theme runs **200ms and 300ms `ease`**, on `fill`, `stroke`,
`opacity`, `color`, `background-color`, `border-color` and `backdrop-filter`
— named properties, correctly scoped, and a full 100ms slower than the classic
theme's fastest hover.

There is **no `prefers-reduced-motion` block in either theme**.

## Voice & Content Strategy

- **Tone of voice:** Curatorial and plain. The site describes itself in the
  third person and then gets out of the way: "Since 2009, coders have created
  thousands of amazing experiments using Chrome, Android, AI, AR and more.
  We're showcasing projects here, along with helpful tools and resources, to
  inspire others to create new experiments. Here are collections of
  experiments to explore, with new ones added every week. Have fun." Two
  sentences of context, one of instruction, and a two-word sign-off.
- **Capitalization:** Everything is uppercase, and it is uppercase in the
  *markup* — `FEATURED COLLECTIONS`, `RECENT EXPERIMENTS`, `WHAT'S HAPPENING`,
  `PASSAGE OF WATER`, `LAUNCH EXPERIMENT`, `OVERVIEW`. The classic theme
  applies `text-transform: uppercase` on top of already-uppercase source
  strings in some places and typed-uppercase strings in others, so the
  casing is doubled up rather than chosen.
- **Terminology:** An "experiment" is the unit. A "collection" is a curated
  group of experiments. A "story" is editorial. The three are separate
  navigation destinations with separate copy explaining the difference:
  collections are "curated stories showcasing the best of experiments, tools,
  and resources"; experiments are "projects that push the boundaries of art,
  technology, design and culture". The taxonomy is defined in the interface,
  not in a help page.
- **Button and action labels:** Verb-first and literal — "LAUNCH EXPERIMENT",
  "VIEW COLLECTION", "OVERVIEW". The Labs theme switches to sentence case and
  a plain invitation: "Try it now".
- **Attribution:** Every experiment carries a byline in `#999` at 12px/500 —
  "by Yiyun Kang", "By Simon Doury, Artist In Residence at Google Arts &
  Culture Lab" — plus a collaboration line ("In collaboration with artist
  Yiyun Kang and NASA") and a one-sentence description truncated with an
  ellipsis and a "engage…" tail. Credit is structural, not decorative.
- **Numbers and dates:** The archive's age is its headline metric and it is
  stated twice on the home page — "14 YEARS. 1605 EXPERIMENTS." in the splash
  and "1605 experiments" as the page title. Individual experiments carry a
  year and nothing else.
- **The retirement notice:** The splash is the most interesting piece of copy
  on the site, and it is written in the passive-institutional register:
  "This site will continue as a rich archival gallery for all existing
  experiments. But the action will live on at labs.google, a new place filled
  with new tools and toys for you to play with." It announces the migration
  that the two-theme split already made visible, and it links out with a
  solid black button reading "Visit Labs.Google" and an outlined one reading
  "Explore 14 years of experiments".

## Components

- **Header.** An 80px pure-black bar. Left: the wordmark at 23px/300 in
  *Source Sans Pro*. Right: four nav items at 13px/400 with 0.3px tracking,
  a dropdown caret on "Collections", and a search field at 14px. No border,
  no shadow — the bar is separated from the white page by value alone.
- **Anniversary splash.** A fixed `rgba(0, 0, 0, 0.7)` scrim holding a
  1024px-wide `#daef68` ellipse at `border-radius: 700px`, centred with
  `translate(-50%, -50%)`. Inside: a 58px/300 uppercase title, a centred
  three-column body (45% / 10% / 45%) with the middle column holding a
  vertical timeline, and two buttons at the bottom — one solid black with
  lime text, one outlined. A 40px close affordance sits at the top-right.
- **Timeline scrubber.** A 275px range track rotated 90° and centred, with a
  1px black rule, a 20px black thumb, a 1px prefix tick, and a 50px black disc
  carrying the current year in `#daef68` at 11px, counter-rotated 270° so it
  stays upright.
- **Thumbnail.** The 320×320 signature module: a 1px `#ccc` frame around a
  `background-size: cover` image, with a `rgba(0, 0, 0, 0.6)` overlay and a
  75px play button that scales to 0.92 on hover. Variants run 495×300
  (featured), 300×170, 160×160 and 320×450 (fixed).
- **Experiment card.** A 320px-wide box pairing the thumbnail with a text
  block: an h3 at 13px/600 uppercase, a `#999` byline at 12px/500, and a
  description truncated to a fixed height. On hover, two buttons appear over
  the image — "LAUNCH EXPERIMENT" as white-on-black and "OVERVIEW" as
  white-outlined — both 34px tall, `border-radius: 0`, `4px 20px` padding,
  12px/500 uppercase with 1px tracking.
- **Pill button.** `border-radius: 20px`, `4px 20px` padding, 12px/500
  uppercase, `letter-spacing: 1px`, filled `#373bef` with `#a9a9a9` text that
  goes white on hover, and the fill switching to `#1b30fc`. Variants:
  `.square` (radius 0, white with a `#222` border, inverting to `#222` on
  hover), `.hollow` (transparent), `.naked` (no border, `#373bef` text), and
  `.fullwidth` (15px, `10px 50px` padding).
- **Carousel.** A 1024px slide rail with 75px arrows positioned at
  `left: -75px` / `right: -75px`, `transition: transform 250ms`, and an
  `#eee` hover fill. Each slide carries a
  `linear-gradient(25deg, rgba(0,0,0,0.8) 10%, rgba(255,255,255,0) 80%)`
  scrim from the bottom-left, with the text block absolutely positioned at
  40% width, `bottom: 50px; left: 50px`. Dots are `#c5c5c5` at 6px padding
  with 15px radius, active at `#333`.
- **Card well.** A `#eee` block at 20px padding holding a 12px/600 uppercase
  `#000` title and an 18px `#000` description.
- **Lightbox.** A fixed `rgba(0, 0, 0, 0.9)` overlay with a 30px close button
  at `right: 25px; top: 25px` and content centred with
  `translate(-50%, -50%)`.
- **Labs nav.** A 90px bar with 25px/30px padding, three items at 16px/400,
  and three 60px circular icon buttons at `2px solid rgba(255, 255, 255, 0.15)`
  over the hero image.
- **Labs hero.** A 120px/138px headline and a 60px/66px subhead in white over
  a full-bleed image, with a `24px/31.2px` caption and a **65px-tall,
  100px-radius, 21px/500 "Try it now" pill** at `21px 43px` padding.
- **Labs filter bar.** A row of 61px-tall chips at `40px` radius,
  `18.4px 36.8px` padding, 20px/500. The active chip is filled `#ddd3c7`; the
  rest are transparent with a `2px solid #e8dfd5` border.
- **Labs card.** A 560px-tall white card at `26px` radius holding a 322px
  media block, a 26px/500 title at −0.26px, and a 16px/22.4px description in
  `#4e4e4e`.
- **Cookie bar.** Google's "glue" component: a fixed white bar with a
  two-layer Material shadow, `#5f6368` text at 1.125rem, and `#1a73e8` text
  buttons at 4px radius. It is the only borrowed system on the site and the
  only place Google blue appears.

## Do's and Don'ts

- Do pick one theme per page and stay in it; don't let the Labs `#f3efea`
  paper touch the classic `#ffffff` page — the two whites are 4% apart and
  the mismatch reads as a bug.
- Do keep the classic theme on its 1024px canvas with its two breakpoints;
  don't make it fluid, and don't add a third breakpoint.
- Do set interface text in Source Code Pro at 13px with 0.3px tracking and
  display text in Source Sans Pro at 200–300; don't add a weight above 600 or
  a size between 23px and 48px in the classic theme.
- Do set every classic button at `border-radius: 20px`, `4px 20px`, 12px/500
  uppercase, 1px tracking; don't round a thumbnail, a card or a form field.
- Do keep the Labs theme round by default — 9990px pills, 40px chips, 26px
  cards; don't put a 20px classic pill inside it.
- Do use negative tracking on Labs display type (−1.2px at 60px, −1.133px at
  100px) and positive tracking on classic labels (+1px at 12px); don't cross
  the two conventions.
- Do build classic layouts from `inline-block` percentages with
  `:nth-child(2n)` / `:nth-child(3n)` margin resets if you are extending that
  theme; don't convert them to flex or grid piecemeal — a half-converted grid
  is worse than a consistent inline-block one.
- Do keep the 320×320 thumbnail module and scale it by context; don't
  introduce a second module size outside the 160 / 300 / 320 / 495 set.
- Do animate `all` at 200ms `cubic-bezier(0.06, 0.24, 0.44, 1)` if you are in
  the classic theme — it is what the rest of the sheet does; don't mix in the
  Labs 300ms `ease` or the orphaned 240ms and 150ms values.
- Do scope Labs transitions to named properties (`opacity`, `color`,
  `background-color`, `border-color`, `backdrop-filter`); don't use `all`.
- Don't rely on `#999999` for bylines. It is 2.85:1 on white and it is the
  most-read small text on the index pages. Move it to at least `#767676`.
- Don't treat the five `data-theme` hues as a palette. They are per-block
  overrides with no assignment rule; don't build a component that assumes one
  of them is the brand color.
- Don't ship either theme without a `prefers-reduced-motion` block. The
  classic theme animates `all`, which includes layout-adjacent properties.
- Don't restyle the glue cookie bar to match. Its `#1a73e8` blue and its
  Material shadow are the only Google-branded values on the site, and
  forcing them into either theme makes both look wrong.
- Don't drop the splash's 700px ellipse to a sane pill radius. It is the one
  shape in the system that is unmistakable, and it is doing the work of
  announcing the migration.
