Como usar o design de qualquer site em Gemini

O Stylepack transforma qualquer site público em um pacote de design: DESIGN.md, BEHAVIOR.md, design tokens, um tema Tailwind e capturas de tela. Veja como entregar um a Gemini para que a interface criada tenha o visual e o comportamento do site que você escolheu.

Passos

Os caminhos abaixo usam example.com. Na página de um pacote, eles trazem o nome do site que você escolheu.

  1. Cole o endereço do site no Stylepack e baixe o pacote. Os pacotes da galeria já estão prontos.
  2. Descompacte o pacote.
  3. Comece um novo chat e anexe DESIGN.md, BEHAVIOR.md, tokens.css e as duas capturas de tela da dobra (desktop-1440-fold.png e phone-390-fold.png).
  4. Cole o prompt abaixo e preencha com o que você quer criar.

O prompt

O prompt fica em inglês: ele cita os arquivos do pacote, e sua IA o entende em qualquer idioma.

Use the attached design pack files as the visual reference for how the UI looks and behaves. It was extracted from https://example.com/; distinguish measurements from values explicitly marked as inferred or fallback.

1. Read DESIGN.md (colours, type, spacing, radii, shadows, components) and BEHAVIOR.md (hover, focus, tooltips, menus, motion, scrolling, forms, responsive rules, dark mode) before writing any code.
2. Look at the attached desktop and phone screenshots and match the composition, density, whitespace and image treatment. Tokens do not carry those; the screenshots do.
3. Start with the variables in tokens.css (or the Tailwind v4 theme in tailwind.css). Preserve observed values. Resolve inferred roles and fallback values against the screenshots; follow measured component recipes before turning a candidate accent into a filled button. Adapt unmeasured details to the requested content.
4. Load the fonts named in DESIGN.md. Where a font is not freely available, use the stand-in it names at the same sizes and weights.
5. Match the breakpoints and hover, focus and motion rules in BEHAVIOR.md. Build both themes.

Now build: [describe the page or app you want]

When you are done, compare the result with the screenshots at desktop and phone widths, fix the biggest visual difference first, and repeat.

Guias para outras ferramentas