Google — decoded design system
Google's design system, decoded live by Mozaika: measured color roles, type scale, buttons with real hover/focus states, motion and the brand's own tokens.
This is a static, crawlable rendering for search & AI engines. The interactive version — filters, live decode console, copy & export — is at https://mozaika.design/decode/google.com.
Decoded design system
Google's decoded design system: background #FFFFFF, text #1F1F1F, accent #1A73E8, link #1A73E8, primary #0B57D0; type scale h1 28px / h2 14px / body 14px; 4px spacing base; 16px base radius. The single interactive/action color is #0B57D0 — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.
Color roles
| Role | Value |
|---|---|
| bg | #FFFFFF |
| surface | #F1F1F1 |
| border | #DDDDDD |
| text | #1F1F1F |
| text_muted | #747474 |
| primary | #0B57D0 |
| accent | #1A73E8 |
| link | #1A73E8 |
| secondary | #1A0DAB |
| button_bg | #0B57D0 |
| button_text | #FFFFFF |
Using these colors
- Action color
#0B57D0— the single interactive color; only on things you click or must notice, never large fills. primary,button_bgare all#0B57D0— one role, not several (the action color).accent,linkare all#1A73E8— one role, not several (the action color).- accent
#1A73E8— accent for emphasis — keep it rare on the page. - secondary
#1A0DAB— optional secondary accent — LOW decode confidence; use rarely (a status color or a single decorative moment) or omit it entirely. Prefer one accent unless the reference clearly shows two.
Typography
- Heading: Google Sans
- Body: Roboto
- h1: 28px
- h2: 14px
- body: 14px
Spacing
- base unit: 4px
- scale: 4px, 5px, 6px, 8px, 10px, 15px, 16px, 20px, 32px, 34px
Radii
- base: 16px
- button: 100px
Shadows (elevation)
- card:
rgba(0, 0, 0, 0.2) 0px 2px 10px 0px
Motion
Micro-interactions run at 50ms (dominant) with linear.
- durations: 50ms · 150ms · 200ms
- easings:
linear·ease-in-out - animated properties: opacity, transform, visibility, height
Native design tokens
| Token | Value |
|---|---|
--COEmY | #1f1f1f |
--xhUGwc | #fff |
--vZe0jb | #a3c9ff |
--nwXobb | #a3c9ff |
--VuZXBd | #001d35 |
--uLz37c | #545d7e |
--jINu6c | #001d35 |
--TyVYld | #0b57d0 |
--ZEpPmd | #a3c9ff |
--QWaaaf | #a3c9ff |
…and 84 more measured on the page.
Button states (measured)
- primary hover: box-shadow
rgba(0, 0, 0, 0.3) 0px 1px 2px 0px, rgba(0, 0, 0, 0.15) 0px 1px 3px 1px
Layout (measured)
- nav: 51px
Overlay recipe (measured)
dropdown panel: #FFFFFF · radius 0px
Input (measured)
height 28px · radius 0px
Responsive (measured)
- breakpoints: 360px · 479px · 569px
- mobile (390px): hero 28px · nav inline
Install it
Drop this measured system into any shadcn/Tailwind project in one command:
npx shadcn add mozaika.design/r/decode/google.com
Or as a Meta Astryx theme — a ready defineTheme file with the measured hover/press states baked in:
curl -o src/themes/google.theme.ts https://mozaika.design/api/astryx/decode/google.com.ts
registry item · astryx theme · or query it over MCP: get_design_system("Google")
Export: DESIGN.md
# Google — Design System > light, minimalist, low, custom — deep decode (measured live) ## Colors | Role | Value | |------|-------| | bg | `#FFFFFF` | | surface | `#F1F1F1` | | border | `#DDDDDD` | | text | `#1F1F1F` | | text_muted | `#747474` | | primary | `#0B57D0` | | accent | `#1A73E8` | | link | `#1A73E8` | | secondary | `#1A0DAB` | | button_bg | `#0B57D0` | | button_text | `#FFFFFF` | **Using these colors** - **Action color** `#0B57D0` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds. - `primary`, `button_bg` are all `#0B57D0` — one role, not several (your action color). - `accent`, `link` are all `#1A73E8` — one role, not several. - **accent** `#1A73E8` — accent for emphasis — keep it rare on the page. - **secondary** `#1A0DAB` — optional secondary accent — LOW decode confidence; use rarely (a status color or a single decorative moment) or omit it entirely. Prefer one accent unless the reference clearly shows two. - **Page coverage** (full-page screenshot pixels): `#666666` 46.9% · `#FFFFFF` 44.4% · `#C7C8CA` 6% · `#97989C` 1.4% ## Typography - Heading: **Google Sans** _(free fallback: Newsreader)_ - Body: **Roboto** | Role | Size / weight · line-height · tracking | |------|------------------------------------------| | hero | 28px / 400 · lh 36px | | body | 14px / 400 · lh 20px | | small | 13px / 400 · lh 24px | - Weight ladder: 400 · 500 — use these exact measured weights, not the 400/600 defaults. > **Fonts —** Google Sans may be proprietary — safe free fallback: Newsreader (Google Fonts). Roboto — free, on Google. ## Spacing - base unit: 4px (inferred from the measured scale) - measured scale: 4px, 5px, 6px, 8px, 10px, 15px, 16px, 20px, 32px, 34px — snap all gaps/padding to these ## Radius - base: 16px - button: 100px - card: 100px - pill: 9999px ## Buttons | Button | Fill / text | Border | Radius | Padding | Font | Shadow | |--------|-------------|--------|--------|---------|------|--------| | primary | `#0B57D0` / `#FFFFFF` | none | 100px | 10px 12px 10px 12px | 500 14px | none | | secondary | `#F8F9FA` / `#3C4043` | 1px solid rgb(248, 249, 250) | 8px | 0px 16px 0px 16px | 500 14px | none | **States (measured, not guessed)** - primary hover: box-shadow `rgba(0, 0, 0, 0.3) 0px 1px 2px 0px, rgba(0, 0, 0, 0.15) 0px 1px 3px 1px` ## Shadows (elevation) - card: `rgba(0, 0, 0, 0.2) 0px 2px 10px 0px` ## Motion - durations: 50ms (dominant) · 150ms · 200ms - easings: `linear` (dominant) · `ease-in-out` - animated properties: opacity, transform, visibility, height Micro-interactions use the dominant duration + easing; nothing on the page animates slower than the longest duration above — don't invent springier motion. ## Their own tokens (verbatim from :root) | Token | Value | |-------|-------| | `--COEmY` | `#1f1f1f` | | `--xhUGwc` | `#fff` | | `--vZe0jb` | `#a3c9ff` | | `--nwXobb` | `#a3c9ff` | | `--VuZXBd` | `#001d35` | | `--uLz37c` | `#545d7e` | | `--jINu6c` | `#001d35` | | `--TyVYld` | `#0b57d0` | | `--ZEpPmd` | `#a3c9ff` | | `--QWaaaf` | `#a3c9ff` | | `--DEeStf` | `#f5f8ff` | | `--TSWZIb` | `#e5edff` | _…and 82 more measured on the page._ Prefer these names when extending their system — it's the brand's actual vocabulary. ## Layout (measured) - nav: 51px ## Motion choreography (measured) - `div.eruMcc` — filter blur(1px)→blur(3px) — 1000ms - `div.fZhNMe` — opacity 0→1 — 1000ms cubic-bezier(0, 0, 0, 1) - overlay dropdown (auto-opened): panel #FFFFFF · r 0px · shadow rgba(0, 0, 0, 0.2) 0px 2px 10px 0px Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography. ## Components (measured) - input: h 28px · r 0px · bg rgba(0, 0, 0, 0) · placeholder #636363 ## Responsive (measured) - breakpoints: 360px · 479px · 569px - mobile (390px): hero 28px · body 14px · nav: inline ## How to apply Paste the Tailwind `@theme` (or CSS variables) as your base, then build each section to its spec — verify every color, radius, and font against these tokens. Hover/focus states, shadows and motion timings above are measured from the live page — match them exactly, don't re-guess them. --- > **Decoded with Mozaika** — measured live, not guessed. Full decoded design system + one-command install: mozaika.design/decode/google.com
An automated reading of Google's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with google.com. No screenshots stored. Removal requests: hello@mozaika.design.