Uniswap — Design System
Uniswap swaps in Basel Grotesk at 64px on a tuned 485 weight, ink #131313 on white, with hot pink #FF37C7 12px-radius buttons as the only shout. Token grids and swap widgets float in generous whitespace — DeFi's blue-chip protocol dressing like a Swiss exchange with one neon sign.
This is a static, crawlable rendering for search & AI engines. The interactive version — filters, live decode console, copy & export — is at https://mozaika.design/ds/uniswap.
Tokens
Uniswap's decoded design system: background #FFFFFF, text #0A0A0B, accent #FF37C7, link #FF37C7, primary #FF37C7; type scale h1 64px / h2 36px / body 16px; 4px 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: 4px
- scale: 2px, 4px, 6px, 8px, 12px, 16px, 24px, 32px
Radii
- base: 4px
- button: 9999px
Shadow
color(srgb 0.0745098 0.0745098 0.0745098 / 0.00313726) 0px 0px 10px 0px
Per-section tokens (5)
Export: DESIGN.md
# Uniswap — Design System > light, modern, high, custom Uniswap swaps in Basel Grotesk at 64px on a tuned 485 weight, ink #131313 on white, with hot pink #FF37C7 12px-radius buttons as the only shout. Token grids and swap widgets float in generous whitespace — DeFi's blue-chip protocol dressing like a Swiss exchange with one neon sign. ## Colors | 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; 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 `#FF37C7` — one role, not several (your 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** _(free fallback: Newsreader)_ - Body: **Basel Grotesk** _(free fallback: Newsreader)_ - h1: 64px - h2: 36px - body: 16px > **Fonts —** Basel Grotesk may be proprietary — safe free fallback: Newsreader (Google Fonts). ## Spacing - base unit: 4px - scale: 2px, 4px, 6px, 8px, 12px, 16px, 24px, 32px ## Radius - base: 4px - button: 9999px ## Primary button - bg `#FF37C7` · text `#222222` · radius 9999px ## 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.
Export: Tailwind v4 (@theme)
@theme {
/* action color #FF37C7 — the one interactive color; buttons/links/emphasis only, never large fills. */
--color-bg: #FFFFFF;
--color-surface: #F0F0F0;
--color-border: #DADADA;
--color-text: #0A0A0B;
--color-text-muted: #676767;
--color-primary: #FF37C7; /* primary brand / action color. */
--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. */
--color-link: #FF37C7; /* inline text links — shares the action color. */
--color-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. */
--color-button-bg: #FF37C7; /* primary-button fill — the main call-to-action color. */
--color-button-text: #222222;
/* fonts: Basel Grotesk may be proprietary — safe free fallback: Newsreader (Google Fonts). */
--font-heading: "Basel Grotesk", "Newsreader", system-ui, -apple-system, 'Segoe UI', sans-serif;
--font-body: "Basel Grotesk", "Newsreader", system-ui, -apple-system, 'Segoe UI', sans-serif;
--text-h1: 64px;
--text-h2: 36px;
--text-body: 16px;
--radius-base: 4px;
--radius-button: 9999px;
--spacing-1: 2px;
--spacing-2: 4px;
--spacing-3: 6px;
--spacing-4: 8px;
--spacing-5: 12px;
--spacing-6: 16px;
--spacing-7: 24px;
--spacing-8: 32px;
}Export: CSS variables
:root {
/* action color #FF37C7 — the one interactive color; buttons/links/emphasis only, never large fills. */
--bg: #FFFFFF;
--surface: #F0F0F0;
--border: #DADADA;
--text: #0A0A0B;
--text-muted: #676767;
--primary: #FF37C7; /* primary brand / 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. */
--link: #FF37C7; /* inline text links — shares the action color. */
--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. */
--button-bg: #FF37C7; /* primary-button fill — the main call-to-action color. */
--button-text: #222222;
--font-heading: "Basel Grotesk", "Newsreader", system-ui, -apple-system, 'Segoe UI', sans-serif;
--font-body: "Basel Grotesk", "Newsreader", system-ui, -apple-system, 'Segoe UI', sans-serif;
--radius: 4px;
--radius-button: 9999px;
}
/* fonts: Basel Grotesk may be proprietary — safe free fallback: Newsreader (Google Fonts). */