Facebook Mobile — decoded design system
Facebook Mobile'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/facebook.com.
Decoded design system
Facebook Mobile's decoded design system: background #FFFFFF, text #1C1E21, accent #0068FF, link #0068FF, primary #0068FF; type scale h1 59px / h2 24px / body 15px; 8px spacing base; 12px base radius. The single interactive/action color is #0068FF — 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 | #DCDDDD |
| text | #1C1E21 |
| text_muted | #727375 |
| primary | #0068FF |
| accent | #0068FF |
| link | #0068FF |
| button_bg | #0068FF |
| button_text | #1C1E21 |
Using these colors
- Action color
#0068FF— the single interactive color; only on things you click or must notice, never large fills. primary,accent,link,button_bgare all#0068FF— one role, not several (the action color).- accent
#0068FF— THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed.
Typography
- Heading: Facebook Sans Normal
- Body: Segoe UI Historic
- h1: 59px
- h2: 24px
- body: 15px
Spacing
- base unit: 8px
- scale: 2px, 4px, 6px, 8px, 10px, 12px, 16px, 20px, 30px, 32px
Radii
- base: 12px
- button: 0px
Shadows (elevation)
- subtle:
rgb(255, 255, 255) 0px 0px 0px 2px, rgb(24, 119, 242) 0px 0px 0px 4px - card:
rgba(0, 0, 0, 0.2) 0px 2px 12px 0px
Motion
Micro-interactions run at 100ms (dominant) with cubic-bezier(0, 0, 1, 1).
- durations: 100ms · 200ms · 150ms
- easings:
cubic-bezier(0, 0, 1, 1)·cubic-bezier(0.08, 0.52, 0.52, 1) - animated properties: none
Native design tokens
| Token | Value |
|---|---|
--fds-black | #000000 |
--fds-black-alpha-05 | rgba(0, 0, 0, 0.05) |
--fds-black-alpha-10 | rgba(0, 0, 0, 0.1) |
--fds-black-alpha-15 | rgba(0, 0, 0, 0.15) |
--fds-black-alpha-20 | rgba(0, 0, 0, 0.2) |
--fds-black-alpha-30 | rgba(0, 0, 0, 0.3) |
--fds-black-alpha-40 | rgba(0, 0, 0, 0.4) |
--fds-black-alpha-50 | rgba(0, 0, 0, 0.5) |
--fds-black-alpha-60 | rgba(0, 0, 0, 0.6) |
--fds-black-alpha-80 | rgba(0, 0, 0, 0.8) |
…and 110 more measured on the page.
Motion choreography (measured)
Scroll reveal: 7 elements rest at opacity 0, animate in over 0.1s cubic-bezier(0, 0, 1, 1).
Overlay recipe (measured)
dialog panel: #FFFFFF · radius 16px
Input (measured)
height 38px · radius 0px
Responsive (measured)
- breakpoints: 480px · 768px · 1024px · 1099px · 1439px · 1920px
- mobile (390px): nav inline
Install it
Drop this measured system into any shadcn/Tailwind project in one command:
npx shadcn add mozaika.design/r/decode/facebook.com
Or as a Meta Astryx theme — a ready defineTheme file with the measured hover/press states baked in:
curl -o src/themes/facebook.theme.ts https://mozaika.design/api/astryx/decode/facebook.com.ts
registry item · astryx theme · or query it over MCP: get_design_system("Facebook Mobile")
Export: DESIGN.md
# Facebook Mobile — Design System > light, consumer, high — deep decode (measured live) ## Colors | Role | Value | |------|-------| | bg | `#FFFFFF` | | surface | `#F1F1F1` | | border | `#DCDDDD` | | text | `#1C1E21` | | text_muted | `#727375` | | primary | `#0068FF` | | accent | `#0068FF` | | link | `#0068FF` | | button_bg | `#0068FF` | | button_text | `#1C1E21` | **Using these colors** - **Action color** `#0068FF` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds. - `primary`, `accent`, `link`, `button_bg` are all `#0068FF` — one role, not several (your action color). - **accent** `#0068FF` — THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed. - **Page coverage** (full-page screenshot pixels): `#666666` 65.9% · `#EFF0EF` 15.3% · `#FEFEFE` 11.1% · `#333A46` 4.3% ## Typography - Heading: **Facebook Sans Normal** _(free fallback: Newsreader)_ - Body: **Segoe UI Historic** _(free fallback: Newsreader)_ | Role | Size / weight · line-height · tracking | |------|------------------------------------------| | hero | 59px / 600 · lh 66px | | h2 | 24px / 700 · lh 28px | | h3 | 20px / 700 · lh 24px | | body | 15px / 400 · lh 20px | - Weight ladder: 400 · 500 · 600 · 700 — use these exact measured weights, not the 400/600 defaults. > **Fonts —** Facebook Sans Normal may be proprietary — safe free fallback: Newsreader (Google Fonts). Segoe UI Historic may be proprietary — safe free fallback: Newsreader (Google Fonts). ## Spacing - base unit: 8px (inferred from the measured scale) - measured scale: 2px, 4px, 6px, 8px, 10px, 12px, 16px, 20px, 30px, 32px — snap all gaps/padding to these ## Radius - base: 12px - button: 0px - card: 22px - pill: 9999px ## Buttons | Button | Fill / text | Border | Radius | Padding | Font | Shadow | |--------|-------------|--------|--------|---------|------|--------| | primary | `rgba(0, 0, 0, 0)` / `#1C1E21` | none | 0px | 0px 0px 0px 0px | 400 12px | none | ## Shadows (elevation) - subtle: `rgb(255, 255, 255) 0px 0px 0px 2px, rgb(24, 119, 242) 0px 0px 0px 4px` - card: `rgba(0, 0, 0, 0.2) 0px 2px 12px 0px` ## Motion - durations: 100ms (dominant) · 200ms · 150ms - easings: `cubic-bezier(0, 0, 1, 1)` (dominant) · `cubic-bezier(0.08, 0.52, 0.52, 1)` - animated properties: none 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 | |-------|-------| | `--fds-black` | `#000000` | | `--fds-black-alpha-05` | `rgba(0, 0, 0, 0.05)` | | `--fds-black-alpha-10` | `rgba(0, 0, 0, 0.1)` | | `--fds-black-alpha-15` | `rgba(0, 0, 0, 0.15)` | | `--fds-black-alpha-20` | `rgba(0, 0, 0, 0.2)` | | `--fds-black-alpha-30` | `rgba(0, 0, 0, 0.3)` | | `--fds-black-alpha-40` | `rgba(0, 0, 0, 0.4)` | | `--fds-black-alpha-50` | `rgba(0, 0, 0, 0.5)` | | `--fds-black-alpha-60` | `rgba(0, 0, 0, 0.6)` | | `--fds-black-alpha-80` | `rgba(0, 0, 0, 0.8)` | | `--fds-blue-05` | `#ECF3FF` | | `--fds-blue-30` | `#AAC9FF` | _…and 108 more measured on the page._ Prefer these names when extending their system — it's the brand's actual vocabulary. ## Motion choreography (measured) - scroll reveal: 7 elements rest at opacity 0, animate in over 0.1s cubic-bezier(0, 0, 1, 1) (0 revealed during the drive). - overlay dialog (auto-opened): panel #FFFFFF · r 16px · shadow rgba(0, 0, 0, 0.2) 0px 12px 28px 0px, rgba(0, 0, 0, 0.1) 0px 2px 4px 0px, rgba(255, 255, 255, 0.5) 0px 0px 0px 1px inset Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography. ## Components (measured) - input: h 38px · r 0px · bg rgba(0, 0, 0, 0) · placeholder #111112 ## Responsive (measured) - breakpoints: 480px · 768px · 1024px · 1099px · 1439px · 1920px - mobile (390px): body 12px · 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/facebook.com
An automated reading of Facebook Mobile's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with facebook.com. No screenshots stored. Removal requests: hello@mozaika.design.