Cara memakai desain situs web mana pun di Lovable

Stylepack mengubah situs web publik mana pun menjadi paket desain: DESIGN.md, BEHAVIOR.md, design token, tema Tailwind, dan screenshot. Begini cara menyerahkannya ke Lovable agar hasil buatannya tampil dan berperilaku seperti situs yang Anda pilih.

Langkah

Path di bawah memakai example.com. Di halaman paket, path itu memuat nama situs yang Anda pilih.

  1. Tempel alamat situs ke Stylepack dan unduh paketnya. Paket di galeri sudah siap sekarang.
  2. Unzip paketnya.
  3. Di proyek baru, lampirkan DESIGN.md dan screenshot bagian atas halaman versi desktop dan ponsel ke pesan pertama Anda.
  4. Tempel prompt di bawah dan isi apa yang ingin Anda bangun. Jika alatnya meminta tema, tempel isi tokens.css.

Prompt-nya

Prompt tetap dalam bahasa Inggris: prompt itu menyebut nama file di dalam paket, dan AI Anda bisa membacanya dalam bahasa apa pun.

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.

Panduan untuk alat lain