Modern link attribution platform for short links, conversion tracking, and affiliate programs — monochrome UI with pastel feature tiles.
当前为免费访客视角,仅展示 Dub 的基础 6 色预览色卡。升级 Pro 即可解锁全部 177 个 Design Tokens、完整 DESIGN.md 源码下载与 1 次改版历史对比。
升级 DesignMD Pro 可一键复制全部色彩的 :root CSS 变量、查看完整组件配色引用与源文件。
Dub 及其商标归各自所有者所有。DesignMD Pro 是独立项目,与 Dub 无任何关联,亦未获其认可;本 DESIGN.md 提取自其公开网站,仅供参考。
Dub sells link attribution and affiliate infrastructure, and the site looks exactly like what it is: a modern open-source SaaS built on Tailwind's neutral ramp. The palette is near-monochrome — pure black buttons, neutral-900 headlines, 500-level gray body text — with color reserved for two jobs: semantic status (a disciplined five-hue info/success/attention/warning/error system) and the pastel icon tiles that brand each product area (violet Affiliate Programs, green Conversion Analytics, orange Short Links).
The mood is clean, friendly, and product-led. Heroes are centered Satoshi headlines over a faint blueprint grid, followed immediately by a large app screenshot in a softly glowing, curved frame. Partner pages wash the grid in soft pastel gradients. Customer pages drop the grid for full-bleed portrait photo cards. Density is moderate — compact 36px controls, lots of white space, and feature lists with small line icons.
primary): the CTA fill — "Sign up", "Start for free", "Start 14-day trial" — plus the pricing slider. Buttons are pure black, a step darker than body text.--content-emphasis #171717 headlines, --content-default #404040 nav/body-strong, --content-subtle #737373 secondary copy, --content-muted #A3A3A3 placeholders.outline): every card, input, and divider uses this 1px border; --border-default #D4D4D4 and --border-emphasis #A3A3A3 strengthen it.tertiary): saturated 400-level fills — violet #A855F7, blue #3B82F6, green #4ADE80, orange #FB923C, teal #14B8A6 — confined to small rounded icon squares inside chips and feature cards. Violet doubles as the "Advanced" plan accent: #EDE9FE badge + #7C3AED text.--bg-default inverts to pure black with surfaces at #171717/#262626/#404040; content inverts to #FAFAFA/#D4D4D4; semantic text hues brighten to their 300-level counterparts (#93C5FD, #86EFAC, …).Two families share the work. Satoshi (weight 500 only, natural tracking) sets all headlines — it reads like a friendlier, slightly geometric grotesque and is the brand's quiet signature. Inter sets everything else: nav, body, buttons, tables. Geist Mono appears for code, short-link URLs, and data strings.
d.to/… links and code.Content sits in a 1080px container — narrower than typical SaaS — with airy 80px+ section rhythm. The hero stack is centered: eyebrow pill → Satoshi headline → 18px lead → button pair → feature-chip row → app screenshot. Inner pages like Pricing and Customers break the pattern and go left-aligned (headline, lead, CTAs all flush left), which gives the site a slightly editorial asymmetry. A faint square grid texture sits behind heroes; pastel gradient washes appear on the Partners hero. Pricing puts plan columns inside one big light-gray panel with a shared range slider.
Depth is minimal and conventional: cards lift with Tailwind shadow-sm/shadow-md equivalents (0 1px 2px at 5%, 0 4px 6px -1px at 10%), and the hero screenshot frame gets the one dramatic treatment — a large soft shadow plus colored ambient glow bleeding past its edges. Inputs get an inset 0 2px 6px at 20% inner shadow. Borders (#E5E5E5) do most of the separating; shadows only appear on interactive raises and floating media.
A soft-rounded system with three regimes: controls at ~10px radius (36px-tall buttons), nav items and chips at 6–8px, photo cards and panels at 12–16px — and a parallel pill family used for toggles, the eyebrow "Introducing our Startup Program" badge, avatar dots, and slider thumbs (9999px is the most frequent radius in the CSS). Feature-icon tiles are small ~6px squares. Avoid sharp rectangles entirely; even the brand color-picker input rounds its outer corners.
Standard SaaS motion budget: 150ms cubic-bezier(0.4,0,0.2,1) for color/state changes and hovers, 300ms for transforms and opacity (cards raising, chips fading in), up to 500ms for larger opacity reveals. Pressed/active states compress to 100ms. The hero's pastel glow and feature chips animate opacity/transform only — no layout-shifting animations, nothing that loops.
button-primary): pure-black fill, white 14px medium label, 10px radius, 36px height, 1px black border; hover softens to neutral-900.button-secondary): white fill, #171717 label, 1px #EDEDED hairline, same 36px/10px geometry, plus a faint 0 1px 3px shadow — the pair sits side by side in every hero.nav-item): 32px-tall items, #404040 14px medium, 8px hover plate; active section gets a subtle gray pill.chip-feature + tile-feature-*): 34px pills/cards pairing a small colored icon tile (violet/green/orange/blue/teal) with a 16px label — the site's main navigation metaphor between product areas.badge-popular): #EDE9FE violet chip with #7C3AED uppercase micro-label marking the highlighted tier.badge-*): 100-level tinted chip + 600-level text for info, success, attention, warning, error — used for stats, statuses, and "10% discount" callouts.card-plan, card-photo): white 12px-radius surfaces on #F5F5F5 bands for pricing; 16px-radius portrait cards with overlaid logo + "Read story" pill for customers.panel-dark, , ): the theme remaps surfaces to pure black and brightens semantic text to 300-level hues; keep borders at #404040–#525252.请求 https://www.designmdpro.app/websites/dub.md,或通过 DesignMD Pro MCP 服务器调用 get_design_md 工具(slug 为 "dub"),即可获取公开版本;完整 tokens 需要 Pro。
把文件放在 AGENTS.md 或 CLAUDE.md 旁边,Claude Code、Cursor、Codex 等编码 agent 就能读到它。
例如:“按照 DESIGN.md 里的 Dub 设计系统实现设置页,使用其中的颜色、字体和间距 tokens。”
参照 Dub(dub.co)的 DESIGN.md 设计系统,用它的视觉风格构建一个响应式落地页。 ## 配色 - info: #1D4ED8 - error: #B91C1C - outline: #E5E5E5 - primary: #000000 - success: #16A34A - surface: #FFFFFF - warning: #854D0E - attention: #9A3412 ## 字体 - lead: "Inter", 18px, weight 400, line-height 1.56 - display: "Satoshi", 48px, weight 500, line-height 1.15 - data-mono: "Geist Mono", 14px, weight 400, line-height 1.43 ## 圆角 - lg: 12px - md: 10px - sm: 6px ## 规则 - 背景、文字、边框和强调色只使用上面列出的颜色,不要自创新颜色。 - 所有文字都使用上面的字体样式,并保持它们的字号与字重层级。 - 圆角和间距取自上面的尺度,让各组件保持一致。 完整 DESIGN.md:https://www.designmdpro.app/websites/dub.md在 V0 Prompt 生成器中自定义 →
Dub 的品牌主色是黑色(#000000),其 DESIGN.md 共定义了 23 个颜色 token。
Dub 的主要字体是 Inter 和 Satoshi。
是的。Inter 是免费开源字体,可在 Google Fonts 获取。
本页公开了 Dub 的主色 #000000。生成完整的 Tailwind 或 shadcn 主题需要完整的 DESIGN.md,可通过 DesignMD Pro 获取。
不是。这份文件由 DesignMD Pro 从 dub.co 的公开页面提取,与 Dub 无关联,也未获其认可。
当前版本 1.0.0 提取于 2026年11月7日。
chip-darkdivider-dark*.dark