Uniswap — design system & UI screens
A clean white DeFi landing where the hero centers a large serif "Swap anytime, anywhere." headline directly above a working swap-widget card (Sell/Buy fields, ETH token selector, magenta "Get started" button) — the live product UI itself is the hero. The signature element is Uniswap's hot-pink (#FF37C7) accent system carried through nav CTA, oversized stat numerals ($4.0T / 1.8B / 119.0M / green 1.2B), and a pastel-tinted bento of feature cards. Lower bento blocks mix tinted backgrounds (blue Web App, pink Wallet, purple UniswapX, green Liquidity, orange Trading API, magenta Unichain) each holding a mini product mockup.
This is a static, crawlable rendering for search & AI engines. The interactive version — filters, live decode console, copy & export — is at https://mozaika.design/website/uniswap.
Decoded design system
Uniswap's decoded design system: background #FFFFFF, text #0A0A0B, accent #FF37C7, link #FF37C7, primary #FF37C7; type scale h1 64px / h2 36px / body 16px; 8px spacing base; 4px base radius. The single interactive/action color is #FF37C7 — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.
Color roles
| Role | Value |
|---|---|
| bg | #FFFFFF |
| surface | #F0F0F0 |
| border | #DADADA |
| text | #0A0A0B |
| text_muted | #676767 |
| primary | #FF37C7 |
| accent | #FF37C7 |
| link | #FF37C7 |
| secondary | #2ABDFF |
| button_bg | #FF37C7 |
| button_text | #222222 |
Using these colors
- Action color
#FF37C7— the single interactive color; only on things you click or must notice, never large fills. primary,accent,link,button_bgare all#FF37C7— one role, not several (the action color).- accent
#FF37C7— 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. - secondary
#2ABDFF— 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.
Typography
- Heading: Basel Grotesk
- Body: Basel Grotesk
- h1: 64px
- h2: 36px
- body: 16px
Spacing
- base unit: 8px
- scale: 2px, 4px, 5px, 6px, 8px, 12px, 16px, 20px, 24px, 32px
Radii
- base: 4px
- button: 9999px
Shadow
color(srgb 0.0745098 0.0745098 0.0745098 / 0.00313726) 0px 0px 10px 0px
Shadows (elevation)
- card:
color(srgb 0.0745098 0.0745098 0.0745098 / 0.00313726) 0px 0px 10px 0px
Motion
Micro-interactions run at 100ms (dominant) with ease-in-out.
- durations: 100ms · 400ms · 80ms
- easings:
ease-in-out·cubic-bezier(0.34, 1.56, 0.64, 1) - animated properties: opacity, transform, background-color, fill
Native design tokens
| Token | Value |
|---|---|
--c-white | #FFFFFF |
--c-black | #000000 |
--c-scrim | rgba(0,0,0,0.60) |
--c-pinkLight | #FEF4FF |
--c-pinkPastel | #FDAFF0 |
--c-pinkBase | #FC74FE |
--c-pinkVibrant | #F50DB4 |
--c-pinkDark | #361A37 |
--c-redLight | #FFF2F1 |
--c-redPastel | #FDCFC4 |
…and 110 more measured on the page.
Button states (measured)
- primary hover: background
#E500A5 - primary focus: outline
1px auto rgba(0, 0, 0, 0)
Layout (measured)
- nav: 72px
Motion choreography (measured)
Load order: div×28 → div._textDecoration-_platfor×2 → div._display-flex×2 → div → div×44 → span.sc-gLaqbQ×6
Scroll reveal: 2 elements rest at opacity 0, animate in over 1000ms.
Stagger: span ×5 — 100ms apart.
Overlay recipe (measured)
dialog panel: rgba(0, 0, 0, 0) · radius 0px
Input (measured)
height 43.1875px · radius 0px
Themes
dark counterpart: background #131313, text #FFFFFF.
Responsive (measured)
- breakpoints: 450px · 480px · 640px · 768px · 1024px · 1280px
- mobile (390px): hero 36px · nav inline
Full design system, per-section tokens & DESIGN.md / Tailwind / CSS exports →