---
protocol: uifino/design-md@2.0
name: "Dub Design System"
slug: "dub.co"
url: "https://dub.co"
platform: "website"
category: "Content & Community"
fit_for: ["Short-Link Tools", "Affiliate Dashboards", "Conversion SaaS", "Minimalist Web Apps"]
avoid_for: ["Editorial Photo Sites", "Neon Dark Apps", "Literary Magazines"]
typography:
  display: "Satoshi"
  open_alternative: "Plus Jakarta Sans + Inter + Geist Mono"
  body: "Inter"
  mono: "Geist Mono"
  headline_tracking: "-0.02em"
tokens:
  default_radius: "8px"
  radius_ladder: ["6px", "8px", "12px", "9999px"]
  spacing_px: [4, 8, 12, 16, 24, 32, 48, 64]
colors:
  light:
    canvas: "#FAFAFA"
    surface: "#FFFFFF"
    elevated: "#F5F5F5"
    border: "#E5E5E5"
    ink: "#171717"
    muted: "#525252"
    accent: "#171717"
    accent_foreground: "#FFFFFF"
  dark:
    canvas: "#0A0A0A"
    surface: "#171717"
    elevated: "#262626"
    border: "#333333"
    ink: "#FAFAFA"
    muted: "#A3A3A3"
    accent: "#FFFFFF"
    accent_foreground: "#0A0A0A"
---

# Dub — DESIGN.md Protocol

## 1. Visual Direction & Fit
Crisp white and subtle square-grid canvas (#FFFFFF 46.2% / #FAFAFA 37.8%) with 1px #E5E5E5 hairlines, 48px/500 Satoshi display headlines, sharp #171717 obsidian buttons, and pastel-badged product switcher tabs framing live link analytics.

- **Best Suited For**: Short-Link Tools · Affiliate Dashboards · Conversion SaaS · Minimalist Web Apps
- **Avoid Using For**: Editorial Photo Sites · Neon Dark Apps · Literary Magazines

## 2. Surface & Color Hierarchy
- **Dark Mode**: Canvas `#0A0A0A` · Surface `#171717` · Border `1px solid #333333` · Ink `#FAFAFA` · Accent `#FFFFFF`
- **Light Mode**: Canvas `#FAFAFA` · Surface `#FFFFFF` · Border `1px solid #E5E5E5` · Ink `#171717` · Accent `#171717`

## 3. Typography, Geometry & Spacing
- **Display / Body**: `Satoshi` (Open-source alternative: `Plus Jakarta Sans + Inter + Geist Mono`), tracking `-0.02em`.
- **Monospace**: `Geist Mono` with `font-variant-numeric: tabular-nums`.
- **Radius & Rhythm**: Default radius `8px` (ladder: 6px, 8px, 12px, 9999px), spacing `4px · 8px · 12px · 16px · 24px · 32px · 48px · 64px`.

## 4. Measured Live DOM Audit

### Measured Color Area Share
| Role | CSS Variable | Hex | Share |
| :--- | :--- | :--- | :--- |
| Pure White Surface | `--brand-surface` | `#FFFFFF` | 48.6% |
| Off-White Canvas | `--brand-canvas` | `#FAFAFA` | 42.5% |
| 1px Hairline Border | `--brand-border` | `#E5E5E5` | 4.4% |
| Subtle Hover Fill | `--brand-elevated` | `#F5F5F5` | 2.3% |
| Obsidian Primary & Ink | `--brand-ink` | `#171717` | 1.4% |
| Metric Orange Accent | `--brand-metric` | `#EA580C` | 0.8% |

### Measured Typography & Free Open-Source Alternatives
| Level | Detected Font | Free Alternative | Size / Weight / Line-Height / Tracking |
| :--- | :--- | :--- | :--- |
| H1 Hero | Satoshi | `Plus Jakarta Sans` | 48px · 500 · 55.2px (1.15) · -0.02em |
| H2 Section | Satoshi | `Plus Jakarta Sans` | 48px · 500 · 48px (1.00) · -0.02em |
| Body Copy | Inter | `Inter` | 16px · 400 · 24px (1.50) · normal |
| Code & Metric | Geist Mono | `Geist Mono` | 24px · 500 · 32px (1.33) · normal |

### Component Geometry & Surface Physics (Container Max Width: `1200px`)
- **Obsidian 8px Primary CTA**: radius `8px` · border `1px solid #171717` · shadow `0 1px 2px rgba(0,0,0,0.08)` · height: 40px · bg: #171717 · ink: #FFFFFF
- **White 1px Bordered Secondary CTA**: radius `8px` · border `1px solid #E5E5E5` · shadow `0 1px 2px rgba(0,0,0,0.04)` · height: 40px · bg: #FFFFFF · ink: #171717
- **Feature Switcher Tab Chip**: radius `8px` · border `1px solid #E5E5E5` · shadow `0 2px 6px rgba(0,0,0,0.04)` · bg: #FFFFFF · 16px colored icon chip

### Interactive Hover Transitions
- **Obsidian Primary CTA**: Rest (`#171717` / border `#171717` / text `#FFFFFF`) → Hover (`#262626` / border `#262626` / text `#FFFFFF`) · `150ms ease`
- **White Secondary CTA**: Rest (`#FFFFFF` / border `#E5E5E5` / text `#171717`) → Hover (`#F5F5F5` / border `#D4D4D4` / text `#171717`) · `150ms ease`

## 5. Multi-Page Section Anatomy

### Page: Home (`/`)
- **01 Crisp White Global Navbar** (3-Zone Clean Nav [0%–0.6%]): 68px pure-white navbar pairing the geometric dub wordmark, 5 clean nav items, outlined Log in, and #171717 Sign up CTA.
- **02 Graph-Grid Hero & Tabbed Analytics Stage** (Grid Hero + UI [0.55%–13.0%]): Subtle graph-paper grid centering 48px Satoshi copy above pastel-chipped switcher tabs and a live Partner Payouts table.
- **03 12-Cell Hairline Logo Grid & Core Modules** (1px Grid + Demos [13%–65.0%]): 1px #E5E5E5 bordered logo matrix (Framer, Polymarket, Perplexity) above Short Links, Sankey Analytics, Integrations, and Partners.
- **04 Tabular Scale Counters, API & Case Bento** (Mono Stats + Bento [65%–91.0%]): Orange Geist Mono tabular counters (282M+ clicks, $2.98B+ revenue) above API topology, Vercel/Raycast case cards, and changelog.
- **05 Dark Dot-Matrix CTA & 4-Column Footer** (Dark CTA + Footer [91%–100.0%]): High-contrast #171717 radial-glow CTA banner with G2 badges above a clean white 4-column footer and SOC 2 mark.

### Page: Pricing (`/pricing`)
- **01 Clean White Global Header** (3-Zone Clean Nav [0%–1.1%]): 68px white global navigation bar consistent across routes.
- **02 Plan Tier Cards, Comparison Table & FAQ** (Tiers + Matrix [1.1%–88.0%]): 1px #E5E5E5 plan cards above a structured hairline feature comparison matrix and accordion FAQ.
- **03 Dark CTA Banner & White Sitemap Footer** (Dark CTA + Footer [88%–100.0%]): Concludes with the dark radial CTA band and 4-column sitemap footer.

### Page: Changelog (`/changelog`)
- **01 Clean White Global Header** (3-Zone Clean Nav [0%–0.8%]): 68px white global header maintaining consistent geometry.
- **02 Date-Rail Product Release Timeline** (Date Rail + Cards [0.82%–90.0%]): Left date gutter paired with 1px-bordered UI preview cards illustrating shipped analytics and partner features.
- **03 Dark CTA Banner & White Sitemap Footer** (Dark CTA + Footer [90%–100.0%]): Closes with the dark CTA banner and 4-column footer.

### Page: Docs (`/docs`)
- **01 Dual-Row Docs Header with Ctrl+K Search** (Search + Doc Tabs [0%–3.0%]): 96px dual-row docs header pairing centered Ctrl+K search and blue Dashboard pill with API Reference tabs.
- **02 3-Column Docs Stage, Integrations & SDKs** (3-Col + SDK Grid [2.98%–92.0%]): Left tree nav, center Copy page button with 2-column Stripe/Shopify integration cards and 5-language SDK grid, plus right TOC.
- **03 Docs Feedback Pills & Mintlify Footer** (Feedback + Footer [92%–100.0%]): Helpful feedback pills and next-page card above a minimal single-row social footer.

## 6. Signature Rules & Anti-AI Slop Guardrails
- **DO**: Keep 84% of the viewport pure #FFFFFF and #FAFAFA neutral surfaces framed by hairline 1px #E5E5E5 borders and a faint hero graph-paper grid.
- **DO**: Use high-contrast #171717 obsidian 8px-radius buttons for primary CTAs paired with crisp white #E5E5E5-bordered secondary buttons.
- **DO**: Reserve soft semantic color (violet, emerald, amber) strictly for compact 16px category icon chips inside segmented feature tabs and tabular metrics.
- **DO**: Display real multi-column analytics & partner tables inside soft translucent pastel-glow window frames directly below the hero fold.
- **DON'T**: NEVER drown Dub's crisp monochrome white aesthetic in heavy blue or purple page gradients.
- **DON'T**: NEVER replace 1px #E5E5E5 structural borders with thick 2px borders or heavy dark drop shadows.
- **DON'T**: NEVER swap Geist Mono tabular figures on click/revenue counters for proportional fonts.
- **DON'T**: NEVER use oversized pill buttons where compact 8px #171717 action rectangles anchor the grid.
