Ir para o conteúdo principal
WebTorrent

WebTorrent design system e guia de estilo DESIGN.md

Developer ToolsProv1.0.0 (Mais recente)
webtorrent.io•Vinculado em 26 de nov. de 2026, 04:00•Revisado por Bestony

A streaming torrent client — a slate #2a3749 hero with a live peer-swarm visualization, green #35b44f CTAs, Asap 700 headings, and a mono download status line.

Site Pro

Você pode ler gratuitamente a narrativa de design completa e até 8 cores principais de WebTorrent. Assine o Pro para acessar todos os 62 design tokens, downloads completos de DESIGN.md e 1 revisões.

Exibindo 8 de 8 cores
Escuro (5%)
Aa Amostra de teste#394040
ink
rgb(57, 64, 64)
Claro (100%)
Aa Amostra de teste#FFFFFF
canvas
rgb(255, 255, 255)
Claro (100%)
Aa Amostra de teste#FFFFFF
on-dark
rgb(255, 255, 255)
Escuro (34%)
Aa Amostra de teste#35B44F
primary
rgb(53, 180, 79)
Claro (75%)
Aa Amostra de teste#E0E1E2
surface
rgb(224, 225, 226)
Escuro (4%)
Aa Amostra de teste#2A3749
hero-dark
rgb(42, 55, 73)
Escuro (27%)
Aa Amostra de teste#30A247
link-green
rgb(48, 162, 71)
Claro (100%)
Aa Amostra de teste#FFFFFF
on-primary
rgb(255, 255, 255)
Obtenha a paleta completa, variáveis CSS e o arquivo DESIGN.md

Assine o DesignMD Pro para copiar todas as cores como :root variáveis CSS, inspecionar referências de tokens de componentes e baixar o arquivo completo.

Diretrizes de design

Overview

WebTorrent is the streaming torrent client for the browser, and its homepage is its own best demo. The first screen is a slate #2a3749 field with the 45px Asap headline "Torrents on the web" (one word italicized) above a live swarm visualization — nodes labeled "You" and "Unknown" linking and drifting as a real file downloads — and beneath it a monospace status line that updates as you watch: "Downloading sintel.torrent from 1 peer. 65 KB of 129 MB — 3 hours remaining." A green "Get WebTorrent Desktop" button anchors the section. Below, the page turns white for the standard open-source story: "Open Source Supporters" logos on a light-gray band, "Torrents on the desktop", "What is WebTorrent?", and the getting-started links. The personality is engineering-honest: the product demonstrates itself in the hero, the palette is two colors, and the type is a wide friendly sans at 700. The audience is developers, so the page reads like documentation with a live graph on top.

Colors

  • primary #35b44f: a vivid green — the GitHub nav button and the "Get WebTorrent Desktop" CTA, the only saturated color on the page. It is the color of "go", used on exactly two actions.
  • on-primary #ffffff: button labels.
  • hero-dark #2a3749: a desaturated slate-blue — the hero field, dark enough for the swarm visualization's nodes to glow against it.
  • canvas #ffffff with surface #e0e1e2: the white content sections and the light-gray "Open Source Supporters" band.
  • ink #394040: a dark gray with a green undertone — all body text and headings on white, and the nav links.
  • on-dark #ffffff: the hero headline and the mono status line.
  • link-green #30a247: the green of inline links on white (and of the mono status line's file name and peer count, where it marks live values).

Typography

Two families with a hard split, plus a mono.

  • Asap at 700 carries all display type: the hero at 45px with a 1.0 line height, section headings at 30px, card titles at 24px, and nav links at 18px — a wide, slightly rounded sans whose only weight on the page is bold.
  • Source Sans Pro at 400 carries all body copy at 22px/1.5, and at 700 carries the button labels — including the oversized 39.6px CTA.
  • Source Code Pro at 700, 15.3px, carries the live status line and inline code — the engineer's voice, set in the hero where a marketing site would put a subhead.
  • The scale is short (45 / 39.6 / 30 / 24 / 22 / 18 / 15.3) and the weights are binary (400/700). Hierarchy comes from the hero's darkness and the live demo, not from a type ramp.

Layout

A 1150px container. The masthead (65px) is white with the hexagon heart logo and "WebTorrent" left, five nav links (Get Started, Docs, FAQ, WebTorrent Desktop, Instant.io with a green "NEW" tag) and the green GitHub button right. The hero is the full-width slate field: headline, swarm canvas, mono status line. Content sections below alternate white and light gray with generous 33px vertical padding. Spacing runs on a 5px base with 10/22/33/44px steps.

Elevation & Depth

Almost none — one soft shadow (rgba(0,0,0,0.1) 0 1px 4px 1px) appears once. The swarm visualization is the only textured element, and its depth is its own: glowing nodes on slate. Sections are separated by their alternating fills, not by cards or shadows; the design is flat by open-source conviction.

Shapes

Small and consistent: 6px on the buttons (the dominant radius — the 47px GitHub button and the 81px desktop CTA) and 2px on the smallest elements. Nothing else on the page is rounded; content blocks are rectangular and separated by whitespace and band color.

Motion & Micro-interaction

Motion is the standard 200ms color transition on links and buttons, plus the hero itself: the swarm visualization animates continuously as the torrent downloads, and the mono status line ticks up in real time. The page's central micro-interaction is the product working — no scroll animations, no reveals, just the graph and the counter.

Voice & Content Strategy

The copy is documentation-plain with one flourish. The headline states the product's entire proposition in four words ("Torrents on the web"), the status line proves it in real time ("Downloading sintel.torrent from 1 peer."), and the sections explain like a README ("What is WebTorrent?", "Get Started", "Learn more about WebTorrent"). The tone is that of a maintainer who lets the demo talk: no adjectives, no social proof beyond the supporter logos, the CTA names the artifact ("Get WebTorrent Desktop"). Examples:

  • "Torrents on the web"
  • "Downloading sintel.torrent from 1 peer."
  • "Get WebTorrent Desktop"

Components

Slate hero with live swarm

The full-width #2a3749 field with the 45px headline and the animated peer graph (nodes drifting, links forming, "You" connected to "Unknown") — the product demo as the hero.

Mono status line

The Source Code Pro line beneath the graph — "Downloading sintel.torrent from 1 peer. 65 KB of 129 MB — 3 hours remaining." — live values in green, updating as the file arrives.

Green desktop CTA

The 81px #35b44f 6px-radius button with a white 39.6px/700 label ("Get WebTorrent Desktop") — the page's largest object, sized like a billboard.

Green GitHub button

The 47px #35b44f 6px-radius nav button with a white 18px/700 label — the repository link, the second and last use of the green.

Supporter band

The #e0e1e2 full-width band with the "Open Source Supporters" heading and the Socket/Wormhole logos (plus the Carbon ad card) — the sponsorship row.

Documentation section

The white content blocks — "Torrents on the desktop", "What is WebTorrent?", the getting-started links — 30px/700 Asap headings over 22px Source Sans Pro copy, separated by whitespace alone.

Do's and Don'ts

  • Do let the product demo be the hero — the swarm graph and live status line are the design.
  • Do use the green #35b44f on exactly two actions: the GitHub button and the desktop CTA.
  • Do set all display type in Asap 700 — 45px hero, 30px sections, 24px titles.
  • Do set body copy in Source Sans Pro 400 at 22px, and the status line in Source Code Pro.
  • Do alternate white and #e0e1e2 bands to separate sections; no cards, no shadows.
  • Do round buttons to 6px and leave everything else rectangular.
  • Don't add a second saturated color, a gradient, or an illustration — the graph is the imagery.
  • Don't "fix" the green buttons' contrast — white on #35b44f is 2.69:1, under AA, but it is the brand's own action color at bold weights on both the 47px nav button and the 81px CTA, and the site offers no darker alternative.
  • Don't animate anything but the swarm and the status counter.
  • Don't set type below 15.3px or above 45px except the desktop CTA label.
  • Don't put a marketing subhead in the hero — the mono status line occupies that spot.

Como usar o DESIGN.md de WebTorrent com um agente de IA

  1. Obtenha o DESIGN.md de WebTorrent

    Busque em https://www.designmdpro.app/websites/webtorrent.md ou chame a ferramenta get_design_md com o slug "webtorrent" no MCP server do DesignMD Pro para obter a versão pública. O conjunto completo de tokens exige Pro.

  2. Salve como DESIGN.md na raiz do projeto

    Coloque o arquivo ao lado de AGENTS.md ou CLAUDE.md para que Claude Code, Cursor, Codex e outros agentes de programação o encontrem.

  3. Peça ao seu agente para segui-lo

    Por exemplo: "Construa a página de configurações seguindo o design system de WebTorrent em DESIGN.md — use seus tokens de cores, tipografia e espaçamento."

Prompt de IA no estilo de WebTorrent

Construa uma landing page responsiva no estilo visual de WebTorrent (webtorrent.io), seguindo seu design system DESIGN.md.

## Cores
- ink: #394040
- canvas: #FFFFFF
- on-dark: #FFFFFF
- primary: #35B44F
- surface: #E0E1E2
- hero-dark: #2A3749
- link-green: #30A247
- on-primary: #FFFFFF

## Tipografia
- body: "Source Sans Pro", 22px, weight 400, line-height 1.5, letter-spacing 0em
- mono: "Source Code Pro", 15.3px, weight 700, line-height 1.5, letter-spacing 0em
- title: "Asap", 24px, weight 700, line-height 1.5, letter-spacing 0em

## Raio de borda
- sm: 2px
- DEFAULT: 6px

## Regras
- Use apenas as cores acima para fundos, textos, bordas e destaques; não invente novas cores.
- Aplique os estilos tipográficos acima em todo o texto e preserve a hierarquia de tamanhos e pesos.
- Use os raios de borda e espaçamentos das escalas acima para manter os componentes consistentes.

DESIGN.md completo: https://www.designmdpro.app/websites/webtorrent.md
Personalizar no gerador de prompt v0 →

Perguntas frequentes

Qual é a cor primária de WebTorrent?

A cor primária da marca WebTorrent é Verde (#35B44F). Seu DESIGN.md define 8 tokens de cor no total.

Qual fonte WebTorrent utiliza?

As fontes principais de WebTorrent são Source Sans Pro e Source Code Pro.

Source Sans Pro é uma fonte gratuita?

Sim. Source Sans Pro é gratuita e open source, disponível no Google Fonts.

Como usar os design tokens de WebTorrent no Tailwind CSS ou shadcn/ui?

A cor primária de WebTorrent (#35B44F) é pública nesta página. Gerar um tema completo para Tailwind ou shadcn requer o DESIGN.md integral, disponível no DesignMD Pro.

Este DESIGN.md de WebTorrent é oficial?

Não. O DesignMD Pro o extraiu do site público webtorrent.io. Não há afiliação nem endosso por parte de WebTorrent.

Quando o DESIGN.md de WebTorrent foi atualizado pela última vez?

A versão 1.0.0 foi capturada em 26 de novembro de 2026.

WebTorrent e suas marcas registradas pertencem aos respectivos proprietários. DesignMD Pro é um projeto independente, sem afiliação nem endosso de WebTorrent; este DESIGN.md foi extraído do site público apenas para referência.