MozaikaLive decode

Figma — decoded design system

figma.com · light · modern · custom · deep decode — measured live

Figma'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/figma.com.

Decoded design system

Figma's decoded design system: background #FFFFFF, text #000000, accent #E4FF97, link #FFFFFF, primary #1A73E8; type scale h1 88px / h2 56px / body 16px; 8px spacing base; 0px base radius. The single interactive/action color is #000000 — 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#1A73E8
accent#E4FF97
link#FFFFFF
secondary#4285F4
button_bg#000000
button_text#FFFFFF

Using these colors

Typography

Spacing

Radii

Shadows (elevation)

Motion

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

Native design tokens

TokenValue
--global-statsig-overlay#FFFFFF
--fig-theme-bg#FFFFFF
--fig-theme-fg#000000
--fig-theme-btn-primary-bg#000000
--fig-theme-btn-primary-fg#FFFFFF
--fig-theme-btn-secondary-fg#000000
--fig-theme-btn-transparent-fg#000000
--fig-theme-form-error-bg#972121
--fig-theme-form-error-fg#FFFFFF
--fig-theme-badge-fg#000000

…and 51 more measured on the page.

Button states (measured)

Layout (measured)

Motion choreography (measured)

Load order: div.fig-51j1vzdiv.fig-1fcmjevdiv.fig-1fcmjev

Scroll reveal: 8 elements rest at opacity 0, translateY(32px), animate in over 1250ms.

Responsive (measured)

Install it

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

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

registry item · or query it over MCP: get_design_system("Figma")

Export: DESIGN.md

# Figma — Design System

> light, modern, high, custom — deep decode (measured live)

## Colors

| Role | Value |
|------|-------|
| bg | `#FFFFFF` |
| surface | `#EFEFEF` |
| border | `#D8D8D8` |
| text | `#000000` |
| text_muted | `#606060` |
| primary | `#1A73E8` |
| accent | `#E4FF97` |
| link | `#FFFFFF` |
| secondary | `#4285F4` |
| button_bg | `#000000` |
| button_text | `#FFFFFF` |

**Using these colors**

- **Action color** `#000000` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds.
- **accent** `#E4FF97` — accent for emphasis — keep it rare on the page.
- **primary** `#1A73E8` — a brand color — but the call-to-action uses #000000, not this.
- **link** `#FFFFFF` — fails contrast on the background (~1.0:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference).
- **secondary** `#4285F4` — 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): `#FFFFFF` 35.4% · `#222527` 17.5% · `#000000` 15.8% · `#4A5149` 11%

## Typography

- Heading: **SF Pro Display** _(free fallback: Inter)_
- Body: **figmaSans** _(free fallback: Newsreader)_
- Mono: **figmaMono**

| Role | Size / weight · line-height · tracking |
|------|------------------------------------------|
| hero | 88px / 400 · lh 88px · tracking -1.25px |
| h2 | 56px / 400 · lh 56px · tracking -1.25px |
| h3 | 44px / 400 · lh 48px · tracking -0.66px |
| body | 16px / 320 · lh 23px · tracking -0.12px |
| small | 14px / 400 · lh 20px |
| eyebrow | 16px / 400 · tracking 0.48px |

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

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

## Spacing
- base unit: 8px (inferred from the measured scale)
- measured scale: 4px, 5px, 6px, 8px, 12px, 16px, 20px, 22px, 24px, 30px — snap all gaps/padding to these
- section rhythm: 80px top/bottom padding per section (measured)

## Radius
- base: 0px
- button: 8px
- card: 8px
- pill: 9999px
- sharp: 2px

## Buttons

| Button | Fill / text | Border | Radius | Padding | Font | Shadow |
|--------|-------------|--------|--------|---------|------|--------|
| primary | `#000000` / `#FFFFFF` | none | 8px | 12px 22px 12px 22px | 330 18px / -0.14px | none |
| secondary | `oklch(0 0 none / 0)` / `#000000` | none | 8px | 12px 22px 12px 22px | 400 16px | oklch(0 0 none / 0.16) 0px 0px 0px 1px inset |

**States (measured, not guessed)**

- primary hover: background `oklch(0 0 none / 0.85)`
- primary focus: outline `2px dashed rgb(0, 0, 0)`
- secondary hover: box-shadow `oklch(0 0 none / 0.4) 0px 0px 0px 1px inset`
- transition: `background 0.18s ease-out`

## Shadows (elevation)
- subtle: `oklch(0 0 none / 0.16) 0px 1px 0px 0px`

## Motion
- durations: 180ms (dominant) · 250ms · 500ms
- easings: `ease-out` (dominant) · `ease`
- animated properties: transform, background, box-shadow, opacity

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 |
|-------|-------|
| `--global-statsig-overlay` | `#FFFFFF` |
| `--fig-theme-bg` | `#FFFFFF` |
| `--fig-theme-fg` | `#000000` |
| `--fig-theme-btn-primary-bg` | `#000000` |
| `--fig-theme-btn-primary-fg` | `#FFFFFF` |
| `--fig-theme-btn-secondary-fg` | `#000000` |
| `--fig-theme-btn-transparent-fg` | `#000000` |
| `--fig-theme-form-error-bg` | `#972121` |
| `--fig-theme-form-error-fg` | `#FFFFFF` |
| `--fig-theme-badge-fg` | `#000000` |
| `--fig-radius-2` | `0.125rem` |
| `--fig-radius-4` | `0.25rem` |

_…and 49 more measured on the page._

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

## Layout (measured)
- container max 901px · common grid: 2-col
- nav: 78px fixed · bg #FFFFFF

| Section (y) | Height | Cols | Gap | Pad y | Split |
|---|---|---|---|---|---|
| 78 | 860 | 3 | 16 | 80/80 | 25/51/25 |
| 938 | 1065 | — | — | 80/80 | — |
| 2003 | 1089 | — | — | 80/80 | — |
| 3092 | 1609 | 2 | 16 | 80/80 | 84/16 |
| 4701 | 1113 | — | — | 80/80 | — |

## Motion choreography (measured)
Load order: `div.fig-51j1vz` @0ms → `div.fig-1fcmjev` @837ms → `div.fig-1fcmjev` @838ms
- scroll reveal: 8 elements rest at opacity 0, translateY(32px), animate in over 1250ms (7 revealed during the drive).

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

## Responsive (measured)
- breakpoints: 375px · 400px · 414px · 480px · 560px · 677px
- mobile (390px): hero 36px · body 16px · nav: hamburger

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

← 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. Connect your agent over MCP.

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