WoofJS design system e guia de estilo DESIGN.md
Developer ToolsProv1.0.0 (Mais recente)A single-screen landing page for a Scratch-inspired JavaScript library — a monospace code sample with real syntax highlighting on white, and three candy-colored pill buttons as the entire interface.
Você pode ler gratuitamente a narrativa de design completa e até 8 cores principais de WoofJS. Assine o Pro para acessar todos os 51 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
WoofJS is a Scratch-inspired JavaScript library for making games, aimed at beginners and classrooms. The entire homepage is one screen: a commented-out code sample at the top that doubles as the welcome message, and three pill buttons at the bottom. There is no navigation, no hero image, no footer copy — the code sample is the hero, and it literally greets you ("// Hey there, welcome to WoofJS!").
The design is the smallest possible expression of the product: white space, monospace type, and three flat candy colors. It reads as a teaching tool that is confident enough to show its own source before asking for anything.
Colors
primary#6fcf97— mint green, the lead "Start Coding" button.secondary#56ccf2— sky blue, "For Educators".tertiary#ca65e6— orchid, "Project Showcase".on-primary#ffffff— the label on all three buttons; the three fills are the only saturated color on the page.code#000000— plain code text.comment#808080— the gray of//comment lines, which carry all of the page's prose.string#a70ce2— string literals ('seconds').number#1cb9d6— numeric literals (.001).keyword#2a00ff— language keywords and member access (var,circle.mov).surface#ffffff— the entire page ground.outline#767676— the input border on the share/email control.
The syntax palette is the site's only real color system: five token colors doing the job a brand palette usually does. The three button colors are unrelated to the code colors on purpose — they are navigation, not content. The social share rail on the left edge carries the standard third-party brand colors (Facebook blue, Pinterest red, X black) and is not part of this system.
Typography
Two families, split by role. Everything in the code sample is Consolas over the Monaco/Andale Mono/Ubuntu Mono stack, set at 22.4px/400 on a 1.3 line height — large enough that the syntax colors read at a glance, with keywords and strings picked out by color alone. The three buttons are Arial at 24px/400, and the small "10 Shares" label and share controls use Helvetica Neue at 16px/400. There is no bold, no uppercase and no tracking anywhere; the monospace/sans split is the entire typographic hierarchy.
Layout
A single full-viewport column, left-aligned with generous margin. The code block runs down the left third of the page, comments and statements alternating with blank lines exactly as they would appear in an editor. A vertical share rail is pinned to the left edge — a "10 Shares" count above four square icon buttons (Facebook, X, Pinterest, email). The three CTA pills sit alone on a row near the bottom, centered, with wide gaps between them. Nothing else competes for attention.
Elevation & Depth
Completely flat. There are no shadows in the captured styles — not on the buttons, the share rail or the input. The buttons are pure fills on white, and the share rail separates itself only by its position at the page edge. The flatness suits the content: the page is a screenshot of an editor, and editors have no depth.
Shapes
One radius, used once: 20px, turning all three buttons into full pills. Everything else on the page is square — the code block has no container at all, and the share icons are plain squares. The pills are the only shaped objects, which is why they read as the only interactive ones.
Motion & Micro-interaction
There is no motion. The captured styles contain no transitions, no animations and no transforms — buttons do not darken, lift or scale on hover in any captured rule. For a page this small, that is a feature: nothing moves until you click.
Voice & Content Strategy
The voice is the product's own. The headline is a code comment, the tagline is a code comment, and the invitation is a code comment ("// Want to code something together? :-)"). The sample itself is a complete, runnable idea — spawn a circle every millisecond and move it forever — with its own inline commentary ("// Go, little circles, go!"). The three buttons name their audiences plainly: Start Coding, For Educators, Project Showcase. There is no marketing sentence anywhere on the page.
Components
- Code sample — Consolas 22.4px/400 on a 1.3 line height, comments in
#808080, strings in#a70ce2, numbers in#1cb9d6, keywords in#2a00ff, plain code in#000000, on the bare white ground with no container. - CTA pill — a 20px-radius pill in one of the three flat colors with white Arial 24px/400 text and ~10px padding:
primarygreen ("Start Coding"),secondaryblue ("For Educators"),tertiaryorchid ("Project Showcase"). - Share rail — a left-edge vertical stack: a "10 Shares" count in Helvetica Neue 16px above four square brand-color icon buttons (Facebook
#3b5998, X#000000, Pinterest#cb2027, email#aaaaaa). - Text field — a 30px white input with a
#767676border and the same 20px pill radius, set in Consolas 13.3px.
Do's and Don'ts
- Do set all code in Consolas at 22.4px and let the five syntax colors carry the hierarchy; don't bold or uppercase code.
- Do keep comments in
#808080— they are the page's only prose, and their grayness is what makes the colored tokens pop. - Do keep the three buttons as the only saturated shapes, in their fixed order and colors (green, blue, orchid); don't add a fourth or reorder them.
- Do keep the page flat — no shadows, no transitions, no hover states in the captured styles; don't add lift or motion to the pills.
- Do keep the 20px pill radius on buttons and inputs only; don't round the code block or the share icons.
- Do leave the social rail's brand colors alone — they belong to Facebook, X and Pinterest, not to this system.
- Don't treat the white-on-color button labels as accessible small text — white on
primarygreen measures 1.90:1, onsecondaryblue 1.86:1 and ontertiaryorchid 3.22:1, so the labels stay at the 24px Arial scale; and the cyannumbertoken on white is 2.34:1, so keep syntax colors to code display rather than UI text.
Como usar o DESIGN.md de WoofJS com um agente de IA
Obtenha o DESIGN.md de WoofJS
Busque em https://www.designmdpro.app/websites/woofjs.md ou chame a ferramenta get_design_md com o slug "woofjs" 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 WoofJS em DESIGN.md — use seus tokens de cores, tipografia e espaçamento."
Prompt de IA no estilo de WoofJS
Construa uma landing page responsiva no estilo visual de WoofJS (woofjs.com), seguindo seu design system DESIGN.md.
## Cores
- code: #000000
- number: #1CB9D6
- string: #A70CE2
- comment: #808080
- keyword: #2A00FF
- outline: #767676
- primary: #6FCF97
- surface: #FFFFFF
## Tipografia
- body-md: "Helvetica Neue", 16px, weight 400, line-height 1.5, letter-spacing 0em
- code-lg: "Consolas", 22.4px, weight 400, line-height 1.3, letter-spacing 0em
- label-lg: "Arial", 24px, weight 400, line-height 1.2, letter-spacing 0em
## Raio de borda
- sm: 20px
## 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/woofjs.mdPersonalizar no gerador de prompt v0 →Perguntas frequentes
Qual é a cor primária de WoofJS?
A cor primária da marca WoofJS é Esmeralda (#6FCF97). Seu DESIGN.md define 11 tokens de cor no total.
Qual fonte WoofJS utiliza?
As fontes principais de WoofJS são Helvetica Neue e Consolas.
Qual é uma alternativa gratuita para Helvetica Neue?
Helvetica Neue é uma fonte comercial. Alternativas gratuitas próximas no Google Fonts são Inter e Arimo.
Como usar os design tokens de WoofJS no Tailwind CSS ou shadcn/ui?
A cor primária de WoofJS (#6FCF97) é 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 WoofJS é oficial?
Não. O DesignMD Pro o extraiu do site público woofjs.com. Não há afiliação nem endosso por parte de WoofJS.
Quando o DESIGN.md de WoofJS foi atualizado pela última vez?
A versão 1.0.0 foi capturada em 27 de novembro de 2026.
WoofJS e suas marcas registradas pertencem aos respectivos proprietários. DesignMD Pro é um projeto independente, sem afiliação nem endosso de WoofJS; este DESIGN.md foi extraído do site público apenas para referência.