MozaikaLive decode

Grammarly Mobile — decoded design system

grammarly.com · light · consumer · deep decode — measured live

Grammarly 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/grammarly.com.

Decoded design system

Grammarly Mobile's decoded design system: background #FFFFFF, text #1F243C, accent #027E6F, link #027E6F, primary #027E6F; type scale h1 52px / h2 46px / body 20px; 8px spacing base; 12px base radius. The single interactive/action color is #027E6F — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.

Color roles

RoleValue
bg#FFFFFF
surface#F1F1F3
border#DDDEE1
text#1F243C
text_muted#747786
primary#027E6F
accent#027E6F
link#027E6F
button_bg#027E6F
button_text#FFFFFF

Using these colors

Typography

Spacing

Radii

Motion

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

Native design tokens

TokenValue
--color-background-base-inverse#1c1c1c
--teal-40#00e6e6
--gold-10#ffebb8
--button-ghost-text-active#016a5e
--teal-90#005c5c
--button-pro-background-active#1c1c1c
--blue-gray-10#cdd1dc
--red-60#eb0a00
--neutral-gray-70#616161
--color-logo-coda-light#ffffff

…and 110 more measured on the page.

Button states (measured)

Layout (measured)

Motion choreography (measured)

Load order: div.image-scroller_imageScro×2

Scroll reveal: 1 elements rest at translateY(85px), animate in over 0.3s ease.

Responsive (measured)

Install it

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

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

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

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

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

Export: DESIGN.md

# Grammarly Mobile — Design System

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

## Colors

| Role | Value |
|------|-------|
| bg | `#FFFFFF` |
| surface | `#F1F1F3` |
| border | `#DDDEE1` |
| text | `#1F243C` |
| text_muted | `#747786` |
| primary | `#027E6F` |
| accent | `#027E6F` |
| link | `#027E6F` |
| button_bg | `#027E6F` |
| button_text | `#FFFFFF` |

**Using these colors**

- **Action color** `#027E6F` — 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 `#027E6F` — one role, not several (your action color).
- **accent** `#027E6F` — 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): `#FFFFFF` 73.7% · `#E8F3E6` 7.1% · `#95B6D2` 5.7% · `#C8CBD7` 5%

## Typography

- Heading: **matter** _(free fallback: Inter)_
- Body: **glyph** _(free fallback: Newsreader)_

| Role | Size / weight · line-height · tracking |
|------|------------------------------------------|
| hero | 52px / 670 · lh 58px · tracking -0.52px |
| h2 | 46px / 670 · lh 50px · tracking -0.46px |
| h3 | 36px / 670 · lh 40px · tracking -0.36px |
| body | 20px / 400 · lh 30px |
| small | 18px / 400 · lh 26px |

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

> **Fonts —** matter is proprietary — closest free match: Inter (Google). Load Inter; keep matter first so licensed users still get it. glyph may be proprietary — safe free fallback: Newsreader (Google Fonts).

## Spacing
- base unit: 8px (inferred from the measured scale)
- measured scale: 4px, 8px, 12px, 16px, 20px, 24px, 32px, 40px, 48px, 50px — snap all gaps/padding to these
- section rhythm: 96px top/bottom padding per section (measured)

## Radius
- base: 12px
- button: 6px
- card: 4px

## Buttons

| Button | Fill / text | Border | Radius | Padding | Font | Shadow |
|--------|-------------|--------|--------|---------|------|--------|
| primary | `#027E6F` / `#FFFFFF` | 1px solid rgba(0, 0, 0, 0) | 6px | 0px 8px 0px 8px | 400 14px | none |
| secondary | `rgba(0, 0, 0, 0)` / `#1C1C1C` | 1px solid rgba(0, 0, 0, 0) | 4px | 0px 12px 0px 12px | 700 14px | none |

**States (measured, not guessed)**

- primary hover: background `#014C43`
- primary focus: box-shadow `rgb(255, 255, 255) 0px 0px 0px 2px, rgb(99, 142, 235) 0px 0px 0px 4px` · outline `2px solid rgb(2, 126, 111)`

## Motion
- durations: 300ms (dominant) · 200ms
- easings: `ease-out` (dominant) · `ease`
- animated properties: transform, box-shadow, background-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 |
|-------|-------|
| `--color-background-base-inverse` | `#1c1c1c` |
| `--teal-40` | `#00e6e6` |
| `--gold-10` | `#ffebb8` |
| `--button-ghost-text-active` | `#016a5e` |
| `--teal-90` | `#005c5c` |
| `--button-pro-background-active` | `#1c1c1c` |
| `--blue-gray-10` | `#cdd1dc` |
| `--red-60` | `#eb0a00` |
| `--neutral-gray-70` | `#616161` |
| `--color-logo-coda-light` | `#ffffff` |
| `--button-enterprise-background-active` | `#5e47e5` |
| `--color-border-addition-subdued` | `#73e1d4` |

_…and 108 more measured on the page._

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

## Layout (measured)
- container max 1280px · common grid: 12-col
- nav: 65px · border-bottom 1px solid rgb(217, 217, 217) · bg #FFFFFF

| Section (y) | Height | Cols | Gap | Pad y | Split |
|---|---|---|---|---|---|
| 65 | 1234 | — | — | 0/0 | — |
| 963 | 336 | — | — | 0/24 | — |
| 1299 | 2390 | — | — | 0/0 | — |
| 1395 | 520 | 12 | 32 | 32/32 | — |
| 1915 | 533 | 12 | 32 | 0/0 | — |
| 2448 | 611 | 12 | 32 | 0/0 | — |
| 3059 | 629 | 12 | 32 | 0/96 | — |
| 3688 | 1221 | 2 | 24 | 0/0 | 63/37 |

## Motion choreography (measured)
Load order: `div.image-scroller_imageScro`×2 @0ms
- scroll reveal: 1 elements rest at translateY(85px), animate in over 0.3s ease (1 revealed during the drive).

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

## Components (measured)
- link: #027E6F · underline — hover #016A5E

## Responsive (measured)
- breakpoints: 375px · 512px · 768px · 1010px · 1030px · 1080px
- mobile (390px): hero 30px · body 16px · 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/grammarly.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 Grammarly Mobile's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with grammarly.com. No screenshots stored. Removal requests: hello@mozaika.design.