MozaikaLive decode

Grok Mobile — decoded design system

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

Grok 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/grok.com.

Decoded design system

Grok Mobile's decoded design system: background #FCFCFC, text #050505, accent #7C1D12, link #7C1D12, primary #7C1D12; type scale h1 34px / h2 22px / body 17px; 4px spacing base; 12px base radius. The single interactive/action color is #050505 — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.

Color roles

RoleValue
bg#FCFCFC
surface#EDEDED
border#D6D6D6
text#050505
text_muted#626262
primary#7C1D12
accent#7C1D12
link#7C1D12
button_bg#050505
button_text#EEEEEE

Using these colors

Typography

Spacing

Radii

Shadows (elevation)

Motion

Micro-interactions run at 100ms (dominant) with cubic-bezier(0.4, 0, 0.2, 1).

Native design tokens

TokenValue
--input-button-background-hoveroklch(96.12% 0 none)
--input-borderoklch(90.01% 0 none/.38)
--toggle-hoveroklch(99.24% 0 none)
--card-borderoklch(95.5% .0092 274.92)
--cardoklch(99.24% 0 none/.8)
--thead-border-b-coloroklch(11.57% 0 none/.1)
--bg-warninghsl(47 100% 45% / .08)
--important-hoveroklch(98.48% 0 none)
--cookie-consent-on-primaryoklch(97.72% 0 none)
--link-hoveroklch(72.44% .1266 271.21)

…and 100 more measured on the page.

Button states (measured)

Layout (measured)

Motion choreography (measured)

Load order: div.otFloatingRounded

Overlay recipe (measured)

dialog panel: oklch(0.9772 0 none) · radius 16px

Input (measured)

height 60px · radius 0px

Themes

dark counterpart: background #050505, text #FCFCFC.

Responsive (measured)

Install it

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

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

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

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

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

Export: DESIGN.md

# Grok Mobile — Design System

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

## Colors

| Role | Value |
|------|-------|
| bg | `#FCFCFC` |
| surface | `#EDEDED` |
| border | `#D6D6D6` |
| text | `#050505` |
| text_muted | `#626262` |
| primary | `#7C1D12` |
| accent | `#7C1D12` |
| link | `#7C1D12` |
| button_bg | `#050505` |
| button_text | `#EEEEEE` |

**Using these colors**

- **Action color** `#050505` — 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` are all `#7C1D12` — one role, not several.
- **accent** `#7C1D12` — accent for emphasis — keep it rare on the page.
- **Page coverage** (full-page screenshot pixels): `#FCFCFC` 98.4% · `#8E8E8E` 1.6%

## Typography

- h1: 34px
- h2: 22px
- body: 17px

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

## Radius
- base: 12px
- button: 9999px

## Buttons

| Button | Fill / text | Border | Radius | Padding | Font | Shadow |
|--------|-------------|--------|--------|---------|------|--------|
| primary | `#050505` / `oklch(0.9772 0 none)` | none | 9999px | 4px 12px 4px 12px | 500 14px / -0.1px | none |
| secondary | `oklch(0.1157 0 none)` / `#FCFCFC` | none | 9999px | 8px 16px 8px 16px | 500 14px / -0.1px | none |

**States (measured, not guessed)**

- primary focus: outline `2px solid rgb(56, 87, 199)`
- secondary hover: background `oklch(0.2801 0 none)`
- transition: `color 0.15s cubic-bezier(0.4, 0, 0.2, 1)`

## Shadows (elevation)
- subtle: `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 0px 30px -5px, rgba(0, 0, 0, 0.1) 0px 0px 6px -4px`
- card: `rgb(255, 255, 255) 0px 0px 0px 0px, rgba(5, 5, 5, 0.15) 0px 0px 0px 1px, rgba(0, 0, 0, 0) 0px 0px 0px 0px`

## Motion
- durations: 100ms (dominant) · 150ms
- easings: `cubic-bezier(0.4, 0, 0.2, 1)` (dominant) · `ease-in-out`
- animated properties: background-color, border-color, color, text-decoration-color

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 |
|-------|-------|
| `--input-button-background-hover` | `oklch(96.12% 0 none)` |
| `--input-border` | `oklch(90.01% 0 none/.38)` |
| `--toggle-hover` | `oklch(99.24% 0 none)` |
| `--card-border` | `oklch(95.5% .0092 274.92)` |
| `--card` | `oklch(99.24% 0 none/.8)` |
| `--thead-border-b-color` | `oklch(11.57% 0 none/.1)` |
| `--bg-warning` | `hsl(47 100% 45% / .08)` |
| `--important-hover` | `oklch(98.48% 0 none)` |
| `--cookie-consent-on-primary` | `oklch(97.72% 0 none)` |
| `--link-hover` | `oklch(72.44% .1266 271.21)` |
| `--incognito-input-background` | `oklch(95.78% .0057 308.39)` |
| `--highlight` | `oklch(89.28% .0457 270.86/.4)` |

_…and 98 more measured on the page._

Prefer these names when extending their system — it's the brand's actual vocabulary.

## Layout (measured)
- container max 800px

| Section (y) | Height | Cols | Gap | Pad y | Split |
|---|---|---|---|---|---|
| 0 | 900 | — | — | 16/16 | — |

## Motion choreography (measured)
Load order: `div.otFloatingRounded` @0ms
- overlay dialog (auto-opened): panel oklch(0.9772 0 none) · r 16px · border 1px solid oklch(0.1157 0 none / 0.06) · shadow rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 0px 30px -5px, rgba(0, 0, 0, 0.1) 0px 0px 6px -4px
  - exit: transform+opacity from none,1 · 150ms linear

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

## Components (measured)
- input: h 60px · r 0px · bg rgba(0, 0, 0, 0) · placeholder #636363
- link: #050505 · no underline
- disabled: bg rgba(0, 0, 0, 0) · text #050505

## Themes (both measured)
- dark counterpart: bg `#050505` · text `#FCFCFC`
- tokens that flip between modes:
  - `--input-button-background-hover`: `oklch(96.12% 0 none)` → `oklch(38.55% .0043 247.94)`
  - `--input-border`: `oklch(90.01% 0 none/.38)` → `oklch(90.01% 0 none/.04)`
  - `--toggle-hover`: `oklch(99.24% 0 none)` → `oklch(99.24% 0 none/.06)`
  - `--card-border`: `oklch(95.5% .0092 274.92)` → `oklch(90.01% 0 none/.04)`
  - `--card`: `oklch(99.24% 0 none/.8)` → `oklch(90.01% 0 none/.08)`
  - `--bg-warning`: `hsl(47 100% 45% / .08)` → `hsl(48 98% 62% / .1)`
  - `--important-hover`: `oklch(98.48% 0 none)` → `oklch(33.11% 0 none)`
  - `--cookie-consent-on-primary`: `oklch(97.72% 0 none)` → `oklch(17.8% .0048 274.69)`

## Responsive (measured)
- breakpoints: 426px · 550px · 600px · 640px · 768px · 896px
- mobile (390px): 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/grok.com

Measured changes over time

Is this spec still current?

Grok Mobile is re-measured from its live DOM every night — 16 measurements on record so far. The dated verdict (held, changed, or never settles) is on its drift ledger.

← 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, The Drift Ledger for what changed last night, or connect your agent over MCP.

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