Dub — Design Reference
quiet graph paper, ink-black buttons
Source: https://dub.co
Theme: light
Category: SaaS
Mood: light, minimal, precise, technical, airy, corporate
Captured: 2026-10-22
Overview
A near-monochrome product site built on paper-white surfaces, hairline grey rules and a single jet-black call to action. The atmosphere is calm and engineered: faint graph-paper grid behind the hero, generous whitespace, and large Satoshi headlines that sit low-contrast against #fafafa. Colour appears only where it carries meaning — a violet, green and orange product-icon trio, a mint success pill, a cobalt link — so every saturated pixel reads as data rather than decoration.
Technically it is Tailwind-flavoured neutral scale discipline: Satoshi at 500 weight for all headings (48/36/30px), Inter 400–600 for every line of body copy and UI label, GeistMono for numerals and code. Surfaces step #ffffff → #fafafa → #f5f5f5 with #e5e5e5 hairlines; radii cluster at 8px for controls, 12px for cards and full pills for badges and tabs. Shadows are almost absent — a 1px 2px 5% drop on secondary buttons, a soft 20px lift on floating product screenshots. Density is comfortable: 16/20/24px interior padding, 8px gaps, a 1080px content column.
Tokens — Colors
| Name |
Value |
Token |
Role |
| Paper |
#ffffff |
--color-surface-raised |
Cards, nav dropdowns, secondary buttons, product-UI panels — the dominant surface by area |
| Bone |
#fafafa |
--color-background |
Page ground on every marketing page; the faint canvas the grid lines sit on |
| Fog |
#f5f5f5 |
--color-surface-subtle |
Alternating section bands, tinted feature cards, hovered nav items |
| Hairline |
#e5e5e5 |
--color-border |
Default 1px border on cards, buttons, tables and the hero grid lines |
| Steel Rule |
#d4d4d4 |
--color-border-strong |
Emphasised borders on pill badges and segmented controls |
| Ink |
#171717 |
--color-foreground |
Headings, inverted section backgrounds, primary button fill variant |
| Jet |
#000000 |
--color-primary |
Primary CTA fill (Sign up, Start for free) with white label |
| Graphite |
#525252 |
--color-text-secondary |
Body paragraphs and feature descriptions |
| Slate Mute |
#737373 |
--color-text-muted |
Nav links, captions, footer links, table meta |
| Signal Violet |
#8278fa |
--color-accent-partners |
Dub Partners product icon and pricing tab glyph |
| Link Cobalt |
#155dfc |
--color-accent-link |
Inline links, 'Read the story' labels, docs primary |
| Ember |
#fb923c |
--color-accent-links |
Short Links product icon, attention tint |
| Mint Wash |
#dcfce7 |
--color-success-bg |
Completed status pills in payout tables, success surfaces |
| Deep Pine |
#024f46 |
--color-accent-deep |
Dark teal gradient block in customer story cards and analytics art |
Semantic roles
| Role |
Value |
| background |
#fafafa |
| surface |
#f5f5f5 |
| surface raised |
#ffffff |
| border |
#e5e5e5 |
| text |
#171717 |
| text muted |
#737373 |
| primary |
#000000 |
| primary text |
#ffffff |
| accent |
#8278fa |
| success |
#dcfce7 |
| warning |
#fb923c |
| danger |
#fee2e2 |
Tokens — Typography
- Display: Satoshi (500, 600, 700) — fallbacks: Inter, system-ui, -apple-system, sans-serif. All marketing headlines at weight 500; docs headings go 600 with -0.025em tracking. Never bolder than 700.
- Body: Inter (400, 500, 600) — fallbacks: system-ui, -apple-system, Segoe UI, sans-serif. Every paragraph, UI label, nav link and button. 400 for prose, 500 for controls, 600 for emphasis.
- Mono: GeistMono (400, 500) — fallbacks: ui-monospace, SFMono-Regular, Menlo, monospace. Big stat counters (249,951,870), code samples and table numerals.
- Accent: Rowan (300) — fallbacks: Georgia, Times New Roman, serif. Rare editorial serif used once for a pull-quote at 26px/1.4, -0.02em.
| Role |
Size |
Line height |
Weight |
Letter spacing |
Family |
| Display / H1 |
48px |
1.15 |
500 |
normal |
display |
| H2 Section |
48px |
1 |
500 |
normal |
display |
| H3 / Subsection |
36px |
1.11 |
500 |
-0.025em |
display |
| Statement |
30px |
1.38 |
400 |
normal |
body |
| Lead |
20px |
1.4 |
400 |
normal |
body |
| Body Large |
18px |
1.56 |
400 |
normal |
body |
| Body |
16px |
1.5 |
400 |
normal |
body |
| UI / Button |
14px |
1.43 |
500 |
normal |
body |
| Mono Stat |
30px |
1.2 |
500 |
normal |
mono |
Tokens — Spacing & Layout
- Base unit: 4px
- Density: comfortable
- Container max width: 1080px
- Section gap: 96px
- Card padding: 16px–24px
- Scale: 4px, 6px, 8px, 12px, 16px, 20px, 24px, 32px, 48px, 64px, 80px, 96px
Tokens — Radius
| Element |
Value |
| Buttons, nav items, small controls |
8px |
| Cards, pricing panels, screenshot frames |
12px |
| Large media / section frames |
16px |
| Icons, table chips, inline tags |
6px |
| Badges, pills, segmented toggles, avatars |
9999px |
Tokens — Shadows
| Name |
Value |
Usage |
| control |
0 1px 2px 0 rgba(0,0,0,0.05) |
Secondary white buttons and small raised chips — the default lift. |
| card-ring |
0 0 0 1px rgba(229,229,229,0.7) |
Borderless #f5f5f5 cards use a translucent ring instead of a border. |
| panel |
0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1) |
Dropdown menus and floating popovers. |
| hero-float |
0 20px 20px 0 rgba(0,0,0,0.09) |
Large product screenshot panels floating over the section band. |
| focus-ring |
0 0 0 4px rgba(0,0,0,0.1) |
Keyboard focus and active segmented-control state. |
Components
Primary CTA (button)
| Property |
Value |
| background |
#000000 |
| color |
#ffffff |
| border |
1px solid #000000 |
| radius |
8px |
| padding |
0 16px (32px tall) — 12px 24px for hero size |
| font size |
14px |
| font weight |
500 |
| shadow |
none |
| hover |
background lightens to #262626; no translation |
Only one per viewport: 'Sign up' in the nav, 'Start for free' in the hero. Hero instance scales to ~44px tall with 16px label.
Secondary Button (button)
| Property |
Value |
| background |
#ffffff |
| color |
#171717 |
| border |
1px solid #e5e5e5 |
| radius |
8px |
| padding |
8px 20px |
| font size |
14px |
| font weight |
500 |
| shadow |
0 1px 2px 0 rgba(0,0,0,0.05) |
| hover |
background #fafafa, border #d4d4d4 |
Used for 'Get a demo', 'Explore Links', 'Log in'. 38px tall; always paired to the right of the black CTA.
Nav Item (ghost) (button)
| Property |
Value |
| background |
transparent |
| color |
#404040 |
| border |
none |
| radius |
8px |
| padding |
0 12px |
| font size |
14px |
| font weight |
500 |
| shadow |
none |
| hover |
background #f5f5f5, color #171717; chevron rotates 180° on open |
Product/Solutions/Resources carry a 12px chevron; current page gets the #f5f5f5 fill permanently.
Top Nav (nav)
| Property |
Value |
| background |
transparent |
| color |
#707277 |
| border |
none |
| radius |
0 |
| padding |
0 24px, 96px tall |
| font size |
16px |
| font weight |
400 |
| shadow |
none |
| hover |
links darken to #171717 |
Sticky, transparent over the page ground with no bottom rule. Wordmark left, centred link cluster, Log in + Sign up right.
Surface Card (card)
| Property |
Value |
| background |
#ffffff |
| color |
#171717 |
| border |
1px solid #e5e5e5 |
| radius |
12px |
| padding |
16px |
| font size |
16px |
| font weight |
400 |
| shadow |
none |
| hover |
border #d4d4d4; optional 0 20px 20px rgba(0,0,0,0.09) for featured panels |
Pricing tiers, feature tiles and docs cards. Tinted variant swaps to #f5f5f5 with a 0 0 0 1px rgba(229,229,229,0.7) ring and 24px padding.
Pill Badge (badge)
| Property |
Value |
| background |
#ffffff |
| color |
#171717 |
| border |
1px solid #e5e5e5 |
| radius |
9999px |
| padding |
6px 12px |
| font size |
14px |
| font weight |
500 |
| shadow |
0 1px 2px 0 rgba(0,0,0,0.05) |
| hover |
background #fafafa |
Announcement bar ('Introducing our Startup Program · Learn more ↗') and product tabs with a 20px rounded colour icon (#8278fa, #22c55e, #fb923c) at the left. Status chips use #dcfce7 fill with dark green text.
Segmented Toggle (other)
| Property |
Value |
| background |
#f5f5f5 |
| color |
#525252 |
| border |
1px solid #e5e5e5 |
| radius |
9999px |
| padding |
4px |
| font size |
14px |
| font weight |
500 |
| shadow |
none |
| hover |
active thumb #ffffff with 0 1px 2px rgba(0,0,0,0.05) and #171717 label |
Monthly/Yearly pricing switch; the inactive side may carry a tinted #dbeafe discount pill.
Inline Link (link)
| Property |
Value |
| background |
transparent |
| color |
#155dfc |
| border |
none |
| radius |
0 |
| padding |
0 |
| font size |
14px |
| font weight |
500 |
| shadow |
none |
| hover |
underline |
Cobalt is reserved for genuine navigation inside prose and docs; feature lists use #171717 text with a dotted underline instead.
Layout
A 1080px content column centred on a #fafafa ground, with full-bleed section bands alternating #ffffff / #f5f5f5 and occasional inverted #171717 blocks. The hero is centre-aligned — pill announcement, 48px Satoshi headline, 20px Inter lead, two buttons — over a faint ~120px graph-paper grid drawn in #e5e5e5 hairlines that fades out below the fold. Inner pages switch to left-aligned heroes with the same vertical rhythm. Feature sections run headline + lead + secondary button, then a floating product screenshot in a 12–16px rounded frame bleeding past the text column. Logo walls and pricing use a bordered 3–4 column grid with 1px dividers rather than gaps.
Imagery
Pixel-accurate product UI screenshots are the hero imagery — real dashboards, payout tables and partner lists rendered in the same neutral palette so they read as part of the page. Customer stories use full-bleed documentary video stills with a dark gradient scrim and white overlay text. Brand logos are monochrome lockups on white tiles. Decorative art is limited: a graph-paper grid, a violet-to-teal analytics funnel, and small rounded app icons.
Motion
Restrained and functional: dropdown menus fade and scale in ~150ms, chevrons rotate on open, buttons shift background colour only, cards lift their border a step on hover. Statistics count up, product screenshots animate in short looped demos, and section content fades up ~8–16px on scroll. No parallax, no bounce.
Responsive
Below ~768px the centred link cluster collapses into a hamburger at the far right while Log in (outlined) and Sign Up (black) stay inline in the header; tapping the icon opens a full-width drawer of 16px links stacked with 16px padding. The hero stays centred, the 48px headline drops to ~40px and wraps to three lines, the lead to 18px, and the two CTAs become full-width 48px-tall stacked buttons with 12px between them. The product-tab pills reflow from one row to a centred first pill plus a two-up second row. Section padding shrinks from 96px to ~48–64px, cards go one-per-row at full width, and large product screenshots are inset with their own horizontal scroll rather than being cropped.
Do
- Keep the page on the neutral ladder #fafafa / #ffffff / #f5f5f5 with #e5e5e5 hairlines; let colour appear only in icons, status pills and data visuals.
- Set every headline in Satoshi 500 at 48/36/30px with normal tracking, and every other string in Inter.
- Pair exactly one black 8px-radius CTA with one white bordered secondary button, both 14px/500 labels.
- Use 9999px pills for announcements, product tabs and status chips; 12px for cards; 8px for controls.
- Float product screenshots in rounded frames with the 0 20px 20px rgba(0,0,0,0.09) lift to separate them from the band behind.
- Set numeric stats and code in GeistMono so figures feel measured.
Don't
- Don't introduce a saturated brand colour as a button fill — the primary action is always black on white.
- Don't use heavy drop shadows or glassmorphism; the maximum ambient shadow is 1px 2px at 5% opacity.
- Don't set headings above weight 600 or add tight negative tracking to the 48px display sizes.
- Don't put a border or backdrop blur on the sticky nav — it stays transparent over the ground.
- Don't exceed the 1080px content column for text, and never let body copy run at 400 weight below 14px.
- Don't mix the cobalt #155dfc link colour into UI chrome; it belongs to prose and docs links only.
Agent prompt
Build a light, near-monochrome SaaS marketing site in the style of Dub: page ground #fafafa, raised surfaces #ffffff, subtle bands #f5f5f5, hairline borders #e5e5e5 (strong #d4d4d4), headings #171717, body #525252, muted #737373. Headlines in Satoshi weight 500 — h1/h2 48px/1.15, h3 36px/1.11 (-0.025em), statement paragraphs 30px/1.38 — everything else in Inter 400/500/600 (lead 20px/1.4, body 16px/1.5, UI 14px/500); GeistMono 400–500 for stat counters and code. Centre content in a 1080px column on a #fafafa ground with a faint #e5e5e5 graph-paper grid behind the hero; stack a white pill announcement (9999px, 1px #e5e5e5, 0 1px 2px rgba(0,0,0,0.05)), the 48px headline, a 20px lead, then a pure-black #000000 CTA (8px radius, 14px/500 white label, ~32–44px tall) beside a white secondary button (#ffffff, 1px #e5e5e5, 8px radius, 8px 20px padding, same tiny shadow). Sticky 96px transparent nav: wordmark left, 14px/500 #404040 ghost links with chevrons and #f5f5f5 hover fills centred, Log in + black Sign up right. Cards: #ffffff, 1px #e5e5e5, 12px radius, 16–24px padding, no shadow (tinted variant #f5f5f5 with 0 0 0 1px rgba(229,229,229,0.7)); product screenshots float in 12–16px frames with 0 20px 20px rgba(0,0,0,0.09). Spacing on a 4px unit — 8px gaps, 16/20/24px padding, 96px section rhythm, comfortable not dense. Reserve colour for meaning only: #8278fa, #22c55e and #fb923c product icons, #dcfce7 success pills, #155dfc inline links, a #024f46 teal gradient in story art. Motion is minimal: 150ms fades, colour-only hovers, no parallax.
CSS custom properties
/* Dub — CSS custom properties. Generated from style.json */
:root {
/* Palette */
--color-surface-raised: #ffffff; /* Cards, nav dropdowns, secondary buttons, product-UI panels — the dominant surface by area */
--color-background: #fafafa; /* Page ground on every marketing page; the faint canvas the grid lines sit on */
--color-surface-subtle: #f5f5f5; /* Alternating section bands, tinted feature cards, hovered nav items */
--color-border: #e5e5e5; /* Default 1px border on cards, buttons, tables and the hero grid lines */
--color-border-strong: #d4d4d4; /* Emphasised borders on pill badges and segmented controls */
--color-foreground: #171717; /* Headings, inverted section backgrounds, primary button fill variant */
--color-primary: #000000; /* Primary CTA fill (Sign up, Start for free) with white label */
--color-text-secondary: #525252; /* Body paragraphs and feature descriptions */
--color-text-muted: #737373; /* Nav links, captions, footer links, table meta */
--color-accent-partners: #8278fa; /* Dub Partners product icon and pricing tab glyph */
--color-accent-link: #155dfc; /* Inline links, 'Read the story' labels, docs primary */
--color-accent-links: #fb923c; /* Short Links product icon, attention tint */
--color-success-bg: #dcfce7; /* Completed status pills in payout tables, success surfaces */
--color-accent-deep: #024f46; /* Dark teal gradient block in customer story cards and analytics art */
/* Semantic roles */
--background: #fafafa;
--surface: #f5f5f5;
--surface-raised: #ffffff;
--border: #e5e5e5;
--text: #171717;
--text-muted: #737373;
--primary: #000000;
--primary-text: #ffffff;
--accent: #8278fa;
--success: #dcfce7;
--warning: #fb923c;
--danger: #fee2e2;
/* Typography */
--font-display: Satoshi, Inter, system-ui, -apple-system, sans-serif;
--font-body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
--font-mono: GeistMono, ui-monospace, SFMono-Regular, Menlo, monospace;
--font-accent: Rowan, Georgia, 'Times New Roman', serif;
--text-display-h1: 48px;
--text-display-h1--line-height: 1.15;
--text-display-h1--letter-spacing: normal;
--text-display-h1--font-weight: 500;
--text-h2-section: 48px;
--text-h2-section--line-height: 1;
--text-h2-section--letter-spacing: normal;
--text-h2-section--font-weight: 500;
--text-h3-subsection: 36px;
--text-h3-subsection--line-height: 1.11;
--text-h3-subsection--letter-spacing: -0.025em;
--text-h3-subsection--font-weight: 500;
--text-statement: 30px;
--text-statement--line-height: 1.38;
--text-statement--letter-spacing: normal;
--text-statement--font-weight: 400;
--text-lead: 20px;
--text-lead--line-height: 1.4;
--text-lead--letter-spacing: normal;
--text-lead--font-weight: 400;
--text-body-large: 18px;
--text-body-large--line-height: 1.56;
--text-body-large--letter-spacing: normal;
--text-body-large--font-weight: 400;
--text-body: 16px;
--text-body--line-height: 1.5;
--text-body--letter-spacing: normal;
--text-body--font-weight: 400;
--text-ui-button: 14px;
--text-ui-button--line-height: 1.43;
--text-ui-button--letter-spacing: normal;
--text-ui-button--font-weight: 500;
--text-mono-stat: 30px;
--text-mono-stat--line-height: 1.2;
--text-mono-stat--letter-spacing: normal;
--text-mono-stat--font-weight: 500;
/* Spacing */
--space-1: 4px;
--space-2: 6px;
--space-3: 8px;
--space-4: 12px;
--space-5: 16px;
--space-6: 20px;
--space-7: 24px;
--space-8: 32px;
--space-9: 48px;
--space-10: 64px;
--space-11: 80px;
--space-12: 96px;
--container: 1080px;
--section-gap: 96px;
/* Radius */
--radius-buttons-nav-items-small-controls: 8px;
--radius-cards-pricing-panels-screenshot-frames: 12px;
--radius-large-media-section-frames: 16px;
--radius-icons-table-chips-inline-tags: 6px;
--radius-badges-pills-segmented-toggles-avatars: 9999px;
/* Shadows */
--shadow-control: 0 1px 2px 0 rgba(0,0,0,0.05);
--shadow-card-ring: 0 0 0 1px rgba(229,229,229,0.7);
--shadow-panel: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
--shadow-hero-float: 0 20px 20px 0 rgba(0,0,0,0.09);
--shadow-focus-ring: 0 0 0 4px rgba(0,0,0,0.1);
}
Tailwind v4 theme
/* Dub — Tailwind CSS v4 theme. Import after tailwindcss: @import "tailwindcss"; then paste this block. */
@theme {
--color-surface-raised: #ffffff;
--color-background: #fafafa;
--color-surface-subtle: #f5f5f5;
--color-border: #e5e5e5;
--color-border-strong: #d4d4d4;
--color-foreground: #171717;
--color-primary: #000000;
--color-text-secondary: #525252;
--color-text-muted: #737373;
--color-accent-partners: #8278fa;
--color-accent-link: #155dfc;
--color-accent-links: #fb923c;
--color-success-bg: #dcfce7;
--color-accent-deep: #024f46;
--color-background: #fafafa;
--color-surface: #f5f5f5;
--color-surface-raised: #ffffff;
--color-border: #e5e5e5;
--color-text: #171717;
--color-text-muted: #737373;
--color-primary: #000000;
--color-primary-text: #ffffff;
--color-accent: #8278fa;
--color-success: #dcfce7;
--color-warning: #fb923c;
--color-danger: #fee2e2;
--font-display: Satoshi, Inter, system-ui, -apple-system, sans-serif;
--font-body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
--font-mono: GeistMono, ui-monospace, SFMono-Regular, Menlo, monospace;
--font-accent: Rowan, Georgia, 'Times New Roman', serif;
--text-display-h1: 48px;
--text-display-h1--line-height: 1.15;
--text-display-h1--letter-spacing: normal;
--text-display-h1--font-weight: 500;
--text-h2-section: 48px;
--text-h2-section--line-height: 1;
--text-h2-section--letter-spacing: normal;
--text-h2-section--font-weight: 500;
--text-h3-subsection: 36px;
--text-h3-subsection--line-height: 1.11;
--text-h3-subsection--letter-spacing: -0.025em;
--text-h3-subsection--font-weight: 500;
--text-statement: 30px;
--text-statement--line-height: 1.38;
--text-statement--letter-spacing: normal;
--text-statement--font-weight: 400;
--text-lead: 20px;
--text-lead--line-height: 1.4;
--text-lead--letter-spacing: normal;
--text-lead--font-weight: 400;
--text-body-large: 18px;
--text-body-large--line-height: 1.56;
--text-body-large--letter-spacing: normal;
--text-body-large--font-weight: 400;
--text-body: 16px;
--text-body--line-height: 1.5;
--text-body--letter-spacing: normal;
--text-body--font-weight: 400;
--text-ui-button: 14px;
--text-ui-button--line-height: 1.43;
--text-ui-button--letter-spacing: normal;
--text-ui-button--font-weight: 500;
--text-mono-stat: 30px;
--text-mono-stat--line-height: 1.2;
--text-mono-stat--letter-spacing: normal;
--text-mono-stat--font-weight: 500;
--radius-buttons-nav-items-small-controls: 8px;
--radius-cards-pricing-panels-screenshot-frames: 12px;
--radius-large-media-section-frames: 16px;
--radius-icons-table-chips-inline-tags: 6px;
--radius-badges-pills-segmented-toggles-avatars: 9999px;
--shadow-control: 0 1px 2px 0 rgba(0,0,0,0.05);
--shadow-card-ring: 0 0 0 1px rgba(229,229,229,0.7);
--shadow-panel: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
--shadow-hero-float: 0 20px 20px 0 rgba(0,0,0,0.09);
--shadow-focus-ring: 0 0 0 4px rgba(0,0,0,0.1);
--container-site: 1080px;
}
Theme tokens — light + dark
The shadcn-named layer DevDojo Sites speaks (bg-background, text-foreground, bg-primary, rounded-medium…). Paste into site.css after @import "tailwindcss" to restyle any site in this look.
/* Dub — DevDojo theme tokens (light + dark). Generated from style.json. */
/* Drop into site.css after @import "tailwindcss": bg-background, text-foreground, bg-primary, border-border, rounded-medium… all read these. Dark mode: estimated — the site has no dark scheme, so the .dark half is a plausible twin of its palette. */
@custom-variant dark (&:where(.dark, .dark *));
:root {
color-scheme: light;
--background: #fafafa;
--foreground: #171717;
--card: #ffffff;
--card-foreground: #171717;
--popover: #ffffff; /* estimated */
--popover-foreground: #262626;
--primary: #000000;
--primary-foreground: #ffffff;
--secondary: #f5f5f5;
--secondary-foreground: #171717;
--muted: #f5f5f5;
--muted-foreground: #737373;
--accent: #f5f5f5; /* estimated */
--accent-foreground: #171717;
--destructive: #fee2e2; /* estimated */
--destructive-foreground: #991b1b; /* estimated */
--border: #e5e5e5;
--input: #e5e5e5;
--ring: #a3a3a3; /* estimated */
--radius-small: 8px;
--radius-medium: 12px;
--radius-large: 16px;
--radius: var(--radius-medium);
--font-display: Satoshi, Inter, system-ui, -apple-system, sans-serif;
--font-body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
--font-mono: GeistMono, ui-monospace, SFMono-Regular, Menlo, monospace;
}
.dark {
color-scheme: dark;
/* estimated from the light palette */
--background: #0a0a0a;
--foreground: #fafafa;
--card: #171717;
--card-foreground: #fafafa;
--popover: #171717;
--popover-foreground: #f5f5f5;
--primary: #ffffff;
--primary-foreground: #0a0a0a;
--secondary: #262626;
--secondary-foreground: #fafafa;
--muted: #262626;
--muted-foreground: #a3a3a3;
--accent: #262626;
--accent-foreground: #fafafa;
--destructive: #7f1d1d;
--destructive-foreground: #fee2e2;
--border: #262626;
--input: #262626;
--ring: #525252;
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--color-card: var(--card);
--color-card-foreground: var(--card-foreground);
--color-popover: var(--popover);
--color-popover-foreground: var(--popover-foreground);
--color-primary: var(--primary);
--color-primary-foreground: var(--primary-foreground);
--color-secondary: var(--secondary);
--color-secondary-foreground: var(--secondary-foreground);
--color-muted: var(--muted);
--color-muted-foreground: var(--muted-foreground);
--color-accent: var(--accent);
--color-accent-foreground: var(--accent-foreground);
--color-destructive: var(--destructive);
--color-destructive-foreground: var(--destructive-foreground);
--color-border: var(--border);
--color-input: var(--input);
--color-ring: var(--ring);
--radius-small: var(--radius-small);
--radius-medium: var(--radius-medium);
--radius-large: var(--radius-large);
--font-display: var(--font-display);
--font-body: var(--font-body);
--font-mono: var(--font-mono);
}
Dub — Style Reference
quiet graph paper, ink-black buttons
Theme: light · Mood: light, minimal, precise, technical, airy, corporate
A near-monochrome product site built on paper-white surfaces, hairline grey rules and a single jet-black call to action. The atmosphere is calm and engineered: faint graph-paper grid behind the hero, generous whitespace, and large Satoshi headlines that sit low-contrast against #fafafa. Colour appears only where it carries meaning — a violet, green and orange product-icon trio, a mint success pill, a cobalt link — so every saturated pixel reads as data rather than decoration.
Tokens — Colors
| Name |
Value |
Token |
Role |
| Paper |
#ffffff |
--surface-raised |
Cards, nav dropdowns, secondary buttons, product-UI panels — the dominant surface by area |
| Bone |
#fafafa |
--background |
Page ground on every marketing page; the faint canvas the grid lines sit on |
| Fog |
#f5f5f5 |
--surface-subtle |
Alternating section bands, tinted feature cards, hovered nav items |
| Hairline |
#e5e5e5 |
--border |
Default 1px border on cards, buttons, tables and the hero grid lines |
| Steel Rule |
#d4d4d4 |
--border-strong |
Emphasised borders on pill badges and segmented controls |
| Ink |
#171717 |
--foreground |
Headings, inverted section backgrounds, primary button fill variant |
| Jet |
#000000 |
--primary |
Primary CTA fill (Sign up, Start for free) with white label |
| Graphite |
#525252 |
--text-secondary |
Body paragraphs and feature descriptions |
| Slate Mute |
#737373 |
--text-muted |
Nav links, captions, footer links, table meta |
| Signal Violet |
#8278fa |
--accent-partners |
Dub Partners product icon and pricing tab glyph |
| Link Cobalt |
#155dfc |
--accent-link |
Inline links, 'Read the story' labels, docs primary |
| Ember |
#fb923c |
--accent-links |
Short Links product icon, attention tint |
| Mint Wash |
#dcfce7 |
--success-bg |
Completed status pills in payout tables, success surfaces |
| Deep Pine |
#024f46 |
--accent-deep |
Dark teal gradient block in customer story cards and analytics art |
Tokens — Typography
- Display: Satoshi (Inter, system-ui, -apple-system, sans-serif) — weights 500/600/700
- Body: Inter (system-ui, -apple-system, Segoe UI, sans-serif) — weights 400/500/600
- Mono: GeistMono (ui-monospace, SFMono-Regular, Menlo, monospace) — weights 400/500
- Accent: Rowan (Georgia, Times New Roman, serif) — weights 300
Tokens — Radius
| Element |
Value |
| Buttons, nav items, small controls |
8px |
| Cards, pricing panels, screenshot frames |
12px |
| Large media / section frames |
16px |
| Icons, table chips, inline tags |
6px |
| Badges, pills, segmented toggles, avatars |
9999px |
Do
- Keep the page on the neutral ladder #fafafa / #ffffff / #f5f5f5 with #e5e5e5 hairlines; let colour appear only in icons, status pills and data visuals.
- Set every headline in Satoshi 500 at 48/36/30px with normal tracking, and every other string in Inter.
- Pair exactly one black 8px-radius CTA with one white bordered secondary button, both 14px/500 labels.
- Use 9999px pills for announcements, product tabs and status chips; 12px for cards; 8px for controls.
- Float product screenshots in rounded frames with the 0 20px 20px rgba(0,0,0,0.09) lift to separate them from the band behind.
- Set numeric stats and code in GeistMono so figures feel measured.
Don't
- Don't introduce a saturated brand colour as a button fill — the primary action is always black on white.
- Don't use heavy drop shadows or glassmorphism; the maximum ambient shadow is 1px 2px at 5% opacity.
- Don't set headings above weight 600 or add tight negative tracking to the 48px display sizes.
- Don't put a border or backdrop blur on the sticky nav — it stays transparent over the ground.
- Don't exceed the 1080px content column for text, and never let body copy run at 400 weight below 14px.
- Don't mix the cobalt #155dfc link colour into UI chrome; it belongs to prose and docs links only.
{
"$name": "Dub",
"$source": "https://dub.co",
"$theme": "light",
"$generated": "inspiration library",
"color": {
"surface-raised": {
"$type": "color",
"$value": "#ffffff",
"$description": "Cards, nav dropdowns, secondary buttons, product-UI panels — the dominant surface by area"
},
"background": {
"$type": "color",
"$value": "#fafafa",
"$description": "Page ground on every marketing page; the faint canvas the grid lines sit on"
},
"surface-subtle": {
"$type": "color",
"$value": "#f5f5f5",
"$description": "Alternating section bands, tinted feature cards, hovered nav items"
},
"border": {
"$type": "color",
"$value": "#e5e5e5",
"$description": "Default 1px border on cards, buttons, tables and the hero grid lines"
},
"border-strong": {
"$type": "color",
"$value": "#d4d4d4",
"$description": "Emphasised borders on pill badges and segmented controls"
},
"foreground": {
"$type": "color",
"$value": "#171717",
"$description": "Headings, inverted section backgrounds, primary button fill variant"
},
"primary": {
"$type": "color",
"$value": "#000000",
"$description": "Primary CTA fill (Sign up, Start for free) with white label"
},
"text-secondary": {
"$type": "color",
"$value": "#525252",
"$description": "Body paragraphs and feature descriptions"
},
"text-muted": {
"$type": "color",
"$value": "#737373",
"$description": "Nav links, captions, footer links, table meta"
},
"accent-partners": {
"$type": "color",
"$value": "#8278fa",
"$description": "Dub Partners product icon and pricing tab glyph"
},
"accent-link": {
"$type": "color",
"$value": "#155dfc",
"$description": "Inline links, 'Read the story' labels, docs primary"
},
"accent-links": {
"$type": "color",
"$value": "#fb923c",
"$description": "Short Links product icon, attention tint"
},
"success-bg": {
"$type": "color",
"$value": "#dcfce7",
"$description": "Completed status pills in payout tables, success surfaces"
},
"accent-deep": {
"$type": "color",
"$value": "#024f46",
"$description": "Dark teal gradient block in customer story cards and analytics art"
}
},
"role": {
"background": {
"$type": "color",
"$value": "#fafafa"
},
"surface": {
"$type": "color",
"$value": "#f5f5f5"
},
"surface_raised": {
"$type": "color",
"$value": "#ffffff"
},
"border": {
"$type": "color",
"$value": "#e5e5e5"
},
"text": {
"$type": "color",
"$value": "#171717"
},
"text_muted": {
"$type": "color",
"$value": "#737373"
},
"primary": {
"$type": "color",
"$value": "#000000"
},
"primary_text": {
"$type": "color",
"$value": "#ffffff"
},
"accent": {
"$type": "color",
"$value": "#8278fa"
},
"success": {
"$type": "color",
"$value": "#dcfce7"
},
"warning": {
"$type": "color",
"$value": "#fb923c"
},
"danger": {
"$type": "color",
"$value": "#fee2e2"
}
},
"fontFamily": {
"display": {
"$type": "fontFamily",
"$value": [
"Satoshi",
"Inter",
"system-ui",
"-apple-system",
"sans-serif"
],
"$description": "All marketing headlines at weight 500; docs headings go 600 with -0.025em tracking. Never bolder than 700."
},
"body": {
"$type": "fontFamily",
"$value": [
"Inter",
"system-ui",
"-apple-system",
"Segoe UI",
"sans-serif"
],
"$description": "Every paragraph, UI label, nav link and button. 400 for prose, 500 for controls, 600 for emphasis."
},
"mono": {
"$type": "fontFamily",
"$value": [
"GeistMono",
"ui-monospace",
"SFMono-Regular",
"Menlo",
"monospace"
],
"$description": "Big stat counters (249,951,870), code samples and table numerals."
},
"accent": {
"$type": "fontFamily",
"$value": [
"Rowan",
"Georgia",
"Times New Roman",
"serif"
],
"$description": "Rare editorial serif used once for a pull-quote at 26px/1.4, -0.02em."
}
},
"typography": {
"display-h1": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.display}",
"fontSize": "48px",
"lineHeight": "1.15",
"fontWeight": 500,
"letterSpacing": "normal"
}
},
"h2-section": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.display}",
"fontSize": "48px",
"lineHeight": "1",
"fontWeight": 500,
"letterSpacing": "normal"
}
},
"h3-subsection": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.display}",
"fontSize": "36px",
"lineHeight": "1.11",
"fontWeight": 500,
"letterSpacing": "-0.025em"
}
},
"statement": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.body}",
"fontSize": "30px",
"lineHeight": "1.38",
"fontWeight": 400,
"letterSpacing": "normal"
}
},
"lead": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.body}",
"fontSize": "20px",
"lineHeight": "1.4",
"fontWeight": 400,
"letterSpacing": "normal"
}
},
"body-large": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.body}",
"fontSize": "18px",
"lineHeight": "1.56",
"fontWeight": 400,
"letterSpacing": "normal"
}
},
"body": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.body}",
"fontSize": "16px",
"lineHeight": "1.5",
"fontWeight": 400,
"letterSpacing": "normal"
}
},
"ui-button": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.body}",
"fontSize": "14px",
"lineHeight": "1.43",
"fontWeight": 500,
"letterSpacing": "normal"
}
},
"mono-stat": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.mono}",
"fontSize": "30px",
"lineHeight": "1.2",
"fontWeight": 500,
"letterSpacing": "normal"
}
}
},
"spacing": {
"1": {
"$type": "dimension",
"$value": "4px"
},
"2": {
"$type": "dimension",
"$value": "6px"
},
"3": {
"$type": "dimension",
"$value": "8px"
},
"4": {
"$type": "dimension",
"$value": "12px"
},
"5": {
"$type": "dimension",
"$value": "16px"
},
"6": {
"$type": "dimension",
"$value": "20px"
},
"7": {
"$type": "dimension",
"$value": "24px"
},
"8": {
"$type": "dimension",
"$value": "32px"
},
"9": {
"$type": "dimension",
"$value": "48px"
},
"10": {
"$type": "dimension",
"$value": "64px"
},
"11": {
"$type": "dimension",
"$value": "80px"
},
"12": {
"$type": "dimension",
"$value": "96px"
}
},
"radius": {
"buttons-nav-items-small-controls": {
"$type": "dimension",
"$value": "8px"
},
"cards-pricing-panels-screenshot-frames": {
"$type": "dimension",
"$value": "12px"
},
"large-media-section-frames": {
"$type": "dimension",
"$value": "16px"
},
"icons-table-chips-inline-tags": {
"$type": "dimension",
"$value": "6px"
},
"badges-pills-segmented-toggles-avatars": {
"$type": "dimension",
"$value": "9999px"
}
},
"shadow": {
"control": {
"$type": "shadow",
"$value": "0 1px 2px 0 rgba(0,0,0,0.05)",
"$description": "Secondary white buttons and small raised chips — the default lift."
},
"card-ring": {
"$type": "shadow",
"$value": "0 0 0 1px rgba(229,229,229,0.7)",
"$description": "Borderless #f5f5f5 cards use a translucent ring instead of a border."
},
"panel": {
"$type": "shadow",
"$value": "0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1)",
"$description": "Dropdown menus and floating popovers."
},
"hero-float": {
"$type": "shadow",
"$value": "0 20px 20px 0 rgba(0,0,0,0.09)",
"$description": "Large product screenshot panels floating over the section band."
},
"focus-ring": {
"$type": "shadow",
"$value": "0 0 0 4px rgba(0,0,0,0.1)",
"$description": "Keyboard focus and active segmented-control state."
}
},
"component": {
"primary-cta": {
"kind": "button",
"background": "#000000",
"color": "#ffffff",
"border": "1px solid #000000",
"radius": "8px",
"padding": "0 16px (32px tall) — 12px 24px for hero size",
"font_size": "14px",
"font_weight": 500,
"shadow": "none",
"hover": "background lightens to #262626; no translation",
"notes": "Only one per viewport: 'Sign up' in the nav, 'Start for free' in the hero. Hero instance scales to ~44px tall with 16px label."
},
"secondary-button": {
"kind": "button",
"background": "#ffffff",
"color": "#171717",
"border": "1px solid #e5e5e5",
"radius": "8px",
"padding": "8px 20px",
"font_size": "14px",
"font_weight": 500,
"shadow": "0 1px 2px 0 rgba(0,0,0,0.05)",
"hover": "background #fafafa, border #d4d4d4",
"notes": "Used for 'Get a demo', 'Explore Links', 'Log in'. 38px tall; always paired to the right of the black CTA."
},
"nav-item-ghost": {
"kind": "button",
"background": "transparent",
"color": "#404040",
"border": "none",
"radius": "8px",
"padding": "0 12px",
"font_size": "14px",
"font_weight": 500,
"shadow": "none",
"hover": "background #f5f5f5, color #171717; chevron rotates 180° on open",
"notes": "Product/Solutions/Resources carry a 12px chevron; current page gets the #f5f5f5 fill permanently."
},
"top-nav": {
"kind": "nav",
"background": "transparent",
"color": "#707277",
"border": "none",
"radius": "0",
"padding": "0 24px, 96px tall",
"font_size": "16px",
"font_weight": 400,
"shadow": "none",
"hover": "links darken to #171717",
"notes": "Sticky, transparent over the page ground with no bottom rule. Wordmark left, centred link cluster, Log in + Sign up right."
},
"surface-card": {
"kind": "card",
"background": "#ffffff",
"color": "#171717",
"border": "1px solid #e5e5e5",
"radius": "12px",
"padding": "16px",
"font_size": "16px",
"font_weight": 400,
"shadow": "none",
"hover": "border #d4d4d4; optional 0 20px 20px rgba(0,0,0,0.09) for featured panels",
"notes": "Pricing tiers, feature tiles and docs cards. Tinted variant swaps to #f5f5f5 with a 0 0 0 1px rgba(229,229,229,0.7) ring and 24px padding."
},
"pill-badge": {
"kind": "badge",
"background": "#ffffff",
"color": "#171717",
"border": "1px solid #e5e5e5",
"radius": "9999px",
"padding": "6px 12px",
"font_size": "14px",
"font_weight": 500,
"shadow": "0 1px 2px 0 rgba(0,0,0,0.05)",
"hover": "background #fafafa",
"notes": "Announcement bar ('Introducing our Startup Program · Learn more ↗') and product tabs with a 20px rounded colour icon (#8278fa, #22c55e, #fb923c) at the left. Status chips use #dcfce7 fill with dark green text."
},
"segmented-toggle": {
"kind": "other",
"background": "#f5f5f5",
"color": "#525252",
"border": "1px solid #e5e5e5",
"radius": "9999px",
"padding": "4px",
"font_size": "14px",
"font_weight": 500,
"shadow": "none",
"hover": "active thumb #ffffff with 0 1px 2px rgba(0,0,0,0.05) and #171717 label",
"notes": "Monthly/Yearly pricing switch; the inactive side may carry a tinted #dbeafe discount pill."
},
"inline-link": {
"kind": "link",
"background": "transparent",
"color": "#155dfc",
"border": "none",
"radius": "0",
"padding": "0",
"font_size": "14px",
"font_weight": 500,
"shadow": "none",
"hover": "underline",
"notes": "Cobalt is reserved for genuine navigation inside prose and docs; feature lists use #171717 text with a dotted underline instead."
}
}
}