MozaikaLive decode

X Mobile — decoded design system

x.com · dark · consumer · deep decode — measured live

X 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.

Open in Mozaika →

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/x.com.

Decoded design system

X Mobile's decoded design system: background #FFFFFF, text #000000, accent #1572B1, link #536471, primary #1572B1; type scale h1 64px / h2 17px / body 13px; 4px spacing base; 12px base radius. The single interactive/action color is #EFF3F4 — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.

Color roles

RoleValue
bg#FFFFFF
surface#EFEFEF
border#D8D8D8
text#000000
text_muted#606060
primary#1572B1
accent#1572B1
link#536471
button_bg#EFF3F4
button_text#000000

Using these colors

Typography

Spacing

Radii

Shadows (elevation)

Motion

Micro-interactions run at 150ms (dominant) with ease.

Button states (measured)

Layout (measured)

Motion choreography (measured)

Load order: div.css-175oi2rdiv.css-175oi2rdiv.jf-elementdiv.jf-elementspan.jf-elementspan.jf-element

Themes

dark counterpart: background #000000, text #FFFFFF.

Responsive (measured)

Install it

Drop this measured system into any shadcn/Tailwind project in one command:

npx shadcn add mozaika.design/r/decode/x.com

Or as a Meta Astryx theme — a ready defineTheme file with the measured hover/press states baked in:

curl -o src/themes/x.theme.ts https://mozaika.design/api/astryx/decode/x.com.ts

registry item · astryx theme · or query it over MCP: get_design_system("X Mobile")

Export: DESIGN.md

# X Mobile — Design System

> dark, consumer, high — deep decode (measured live)

## Colors

| Role | Value |
|------|-------|
| bg | `#FFFFFF` |
| surface | `#EFEFEF` |
| border | `#D8D8D8` |
| text | `#000000` |
| text_muted | `#606060` |
| primary | `#1572B1` |
| accent | `#1572B1` |
| link | `#536471` |
| button_bg | `#EFF3F4` |
| button_text | `#000000` |

**Using these colors**

- **Action color** `#EFF3F4` — 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` are all `#1572B1` — one role, not several.
- **accent** `#1572B1` — accent for emphasis — keep it rare on the page.
- **link** `#536471` — inline text links and link-styled controls.
- **Page coverage** (full-page screenshot pixels): `#FFFFFF` 73% · `#0F1419` 18.2% · `#E9EBEB` 6.2% · `#525455` 2.6% — the action color covers ~6.2% of the page; keep it that scarce.

## Typography

- Heading: **Geist**
- Body: **TwitterChirp** _(free fallback: Newsreader)_

| Role | Size / weight · line-height · tracking |
|------|------------------------------------------|
| hero | 64px / 600 · lh 58px · tracking -1px |
| h2 | 17px / 500 · lh 20px |
| body | 13px / 400 · lh 16px |
| small | 12px / 500 · lh 18px |

- Weight ladder: 400 · 500 · 600 · 700 — use these exact measured weights, not the 400/600 defaults.

> **Fonts —** Geist — free, on Google. TwitterChirp may be proprietary — safe free fallback: Newsreader (Google Fonts).

## Spacing
- base unit: 4px (inferred from the measured scale)
- measured scale: 4px, 6px, 8px, 12px, 16px, 20px, 24px — snap all gaps/padding to these

## Radius
- base: 12px
- button: 9999px
- card: 20px
- pill: 9999px

## Buttons

| Button | Fill / text | Border | Radius | Padding | Font | Shadow |
|--------|-------------|--------|--------|---------|------|--------|
| primary | `#EFF3F4` / `#000000` | 1px solid rgba(0, 0, 0, 0) | 9999px | 0px 16px 0px 16px | 400 15px | none |
| secondary | `#EFF3F4` / `#000000` | 1px solid rgba(0, 0, 0, 0) | 9999px | 0px 16px 0px 16px | 400 15px | none |

**States (measured, not guessed)**

- primary hover: background `#D7DBDC`
- primary focus: box-shadow `rgb(247, 249, 250) 0px 0px 0px 2px` · background `#D7DBDC`
- secondary hover: background `#D7DBDC`
- transition: `background-color 0.2s ease`

## Shadows (elevation)
- card: `rgba(101, 119, 134, 0.2) 0px 0px 7px 0px, rgba(101, 119, 134, 0.15) 0px 1px 3px 1px`

## Motion
- durations: 150ms (dominant) · 200ms · 218ms
- easings: `ease` (dominant) · `ease-out`
- animated properties: background-color, transform, box-shadow, border-color

Micro-interactions use the dominant duration + easing; nothing on the page animates slower than the longest duration above — don't invent springier motion.

## Layout (measured)
- container max 1280px · common grid: 2-col
- nav: 52px relative

| Section (y) | Height | Cols | Gap | Pad y | Split |
|---|---|---|---|---|---|
| 0 | 900 | 2 | — | 0/0 | 42/58 |

## Motion choreography (measured)
Load order: `div.css-175oi2r` @0ms → `div.css-175oi2r` @359ms → `div.jf-element` @426ms → `div.jf-element` @426ms → `span.jf-element` @673ms → `span.jf-element` @673ms

Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography.

## Components (measured)
- link: #000000 · no underline

## Themes (both measured)
- dark counterpart: bg `#000000` · text `#FFFFFF`

## Responsive (measured)
- breakpoints: 768px
- mobile (390px): hero 20px · body 15px · 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/x.com

← All decoded design systems

Mozaika is an MCP-native design-reference library for AI coding agents: real products decoded into measured design systems, full-page screens, sliced sections with per-section specs, and ordered user flows. See The Measured Web for how the web is actually designed, or connect your agent over MCP.

An automated reading of X Mobile's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with x.com. No screenshots stored. Removal requests: hello@mozaika.design.