X design system e guia de estilo DESIGN.md
MediaProv1.0.0 (Mais recente)A stark, monochrome landing page: pure white with near-black TwitterChirp type, a 64px headline at negative tracking, pill buttons in black and white, and a single sky-blue focus ring as the only color.
Você pode ler gratuitamente a narrativa de design completa e até 8 cores principais de X. Assine o Pro para acessar todos os 75 design tokens, downloads completos de DESIGN.md e 1 revisões.
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
X's landing page is the most stripped-down page in this collection: pure white, near-black type, and exactly one action per row. The 64px headline ("Happening now.") is set at a 0.9 line-height with −1px tracking, so tight it almost overlaps itself — a deliberate editorial compression that makes two words feel like a statement. Everything below it is a stack of full-pill buttons: one black primary, two white secondary, a gray disabled state, and a text field whose focus ring is the only non-grayscale pixel on the page. There is no imagery except the giant X wordmark; the brand is carried entirely by scale and monochrome discipline.
Colors
A grayscale system with one exception:
primary— Pure black#000000. The primary button ("Continue with phone"). Absolute black, not near-black — the contrast with white is total.surface— Pure white#ffffff.on-surface— Near-black#1a1a1a. The headline and body text.on-surface-variant— Gray#666666. Footer links (About, Get App, Grok, Help, Terms…).on-surface-muted— Light gray#b2b2b2. Legal notes under the form.surface-disabled—#d4d4d4with#808080text. The disabled "Continue" button before a valid input.outline—#dadce0/#d1d5db. Hairline borders on secondary buttons and dividers.focus— Sky blue#0ea5e9. The text field's focus border. The single chromatic element, and the only place color appears.
Typography
One family — TwitterChirp (X's proprietary face, falling back to the system stack) — across four roles:
display-lg(64px/0.9, 600, −1px) — The headline. The tight line-height and negative tracking are the entire typographic statement.body-md(17px/1.18) — Input text.label-md(15px/1.33, 500) — Button labels.label-sm(12px/1.5, 500) — Small labels.meta-sm(11px/2.18, 400) — Footer links and legal notes, set with a very tall line-height so the footer breathes.
Google Sans appears exactly once — the "Continue with Google" button, at 14px with +0.25px tracking — because Google's brand guidelines require its own face on its button.
Layout
A two-column viewport split at 1280px: the left column holds the headline and the sign-in stack within a ~400px measure; the right column is dominated by the giant X wordmark. The button stack runs full-width — black primary, two white secondary, an "or" divider with hairline rules, the text field, the disabled Continue, and the legal note. The footer runs a single centered row of 11px links. Nothing is centered except the footer; the content is firmly left-aligned.
Elevation & Depth
Effectively none. The page is flat white; the only shadow anywhere is a soft rgba(0,0,0,0.08) 0 4px 20px 0 under the floating "Scan to get the app" QR card, which must separate itself from the page. Buttons are defined by fill and hairline borders, not elevation.
Shapes
Pills everywhere: every button is a 9999px radius — the black primary, the white secondaries, and the gray disabled state alike. The only non-pill is the text field at 6px, a deliberate exception so the input reads as a field rather than a control. The QR card is the single 20px-radius surface.
Motion & Micro-interaction
Two speeds: 218ms ease on background-color and border-color (buttons, inputs — the dominant treatment), and a 75ms ease-in-out "all" transition for micro-feedback. Motion is nearly subliminal; the page acknowledges the cursor without ever animating.
Voice & Content Strategy
Two words, then silence: "Happening now." The sign-in stack is pure utility — "Continue with phone", "Continue with Google", "Continue with Apple", "or", "Email or username", "Continue" — and the only sentence on the page is the legal note ("By continuing, you agree to our Terms of Service, Privacy Policy and Cookie Use."). The confidence is in the restraint: a product this well known doesn't need to explain itself.
Components
- Hero headline — 64px/600 Chirp at −1px tracking and a 0.9 line-height, near-black on white.
- Primary button — Black pill, white 15px/500 label.
- Secondary button — White pill with a
#dadce0hairline, near-black label, and the provider's brand icon (Google G in Google Sans, Apple logo). - Disabled button —
#d4d4d4pill with#808080label, shown until the field is valid. - Text field — White 6px-radius input with a hairline border that turns sky blue
#0ea5e9on focus. - Divider — Centered "or" between hairline rules.
- QR card — White 20px-radius panel on the soft shadow, holding the app-download QR code.
- Footer — Single row of 11px gray links separated by centered dots.
Do's and Don'ts
- Do keep the page pure white with pure black buttons — no off-whites, no dark-mode grays.
- Do set the headline in Chirp 600 at 64px with −1px tracking and a 0.9 line-height.
- Do make every button a full pill; the text field is the only 6px exception.
- Do use the sky-blue
#0ea5e9focus ring as the sole chromatic accent. - Do show the disabled state as
#d4d4d4/#808080until the form is valid. - Do separate secondary buttons with
#dadce0hairlines, not shadows. - Do let the X wordmark carry the right column at poster scale.
- Don't introduce a second color beyond the focus ring, or a second font beyond the provider-mandated Google Sans.
- Don't round the text field to a pill — it must read as a field.
- Don't add shadows to buttons or lift anything but the floating QR card.
- Don't loosen the headline's line-height above 0.9 or drop the negative tracking.
- Don't expect the grayscale supporting tones to pass 4.5:1 — disabled text on its pill measures ~2.7:1, the sky-blue focus ring ~2.8:1, hairline dividers ~1.5:1, and legal notes ~2.1:1. The brand uses them for disabled states, focus indication, rules, and 11px meta respectively; keep those roles at their set purposes rather than darkening the neutrals.
Como usar o DESIGN.md de X com um agente de IA
Obtenha o DESIGN.md de X
Busque em https://www.designmdpro.app/websites/x.md ou chame a ferramenta get_design_md com o slug "x" no MCP server do DesignMD Pro para obter a versão pública. O conjunto completo de tokens exige Pro.
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.
Peça ao seu agente para segui-lo
Por exemplo: "Construa a página de configurações seguindo o design system de X em DESIGN.md — use seus tokens de cores, tipografia e espaçamento."
Prompt de IA no estilo de X
Construa uma landing page responsiva no estilo visual de X (x.com), seguindo seu design system DESIGN.md.
## Cores
- focus: #0EA5E9
- outline: #DADCE0
- primary: #000000
- surface: #FFFFFF
- on-primary: #FFFFFF
- on-surface: #1A1A1A
- outline-strong: #D1D5DB
- on-surface-muted: #B2B2B2
## Tipografia
- body-md: "TwitterChirp", 17px, weight 400, line-height 1.18
- meta-sm: "TwitterChirp", 11px, weight 400, line-height 2.18
## Raio de borda
- md: 20px
- sm: 6px
- full: 9999px
## 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/x.mdPersonalizar no gerador de prompt v0 →Perguntas frequentes
Qual é a cor primária de X?
A cor primária da marca X é Preto (#000000). Seu DESIGN.md define 11 tokens de cor no total.
Qual fonte X utiliza?
X usa TwitterChirp como fonte principal.
Como usar os design tokens de X no Tailwind CSS ou shadcn/ui?
A cor primária de X (#000000) é 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 X é oficial?
Não. O DesignMD Pro o extraiu do site público x.com. Não há afiliação nem endosso por parte de X.
Quando o DESIGN.md de X foi atualizado pela última vez?
A versão 1.0.0 foi capturada em 30 de novembro de 2026.
X e suas marcas registradas pertencem aos respectivos proprietários. DesignMD Pro é um projeto independente, sem afiliação nem endosso de X; este DESIGN.md foi extraído do site público apenas para referência.