كيفية استخدام تصميم أي موقع في Lovable

يحوّل Stylepack أي موقع عام إلى حزمة تصميم: DESIGN.md وBEHAVIOR.md وdesign tokens وسمة Tailwind ولقطات شاشة. وإليك كيف تسلّم واحدة منها إلى Lovable ليبني ما يبدو ويتصرف مثل الموقع الذي اخترته.

الخطوات

تستخدم المسارات أدناه example.com. في صفحة الحزمة تحمل اسم الموقع الذي اخترته.

  1. افتح حزمة الموقع على Stylepack: الصق عنوانه، أو اختر واحدة من المعرض.
  2. نزّل حزمة الدردشة: الملفات القليلة التي تقبلها الدردشة.
  3. فكّ ضغطها وأرفق كل الملفات التي بداخلها في أول رسالة في مشروع جديد.
  4. اكتب ما تريد بناءه.
  5. انسخ الـ prompt والصقه أسفل الملفات. إذا طلبت الأداة سمة (theme)، فالصق محتوى tokens.css.

الـ prompt

يبقى الـ prompt بالإنجليزية: فهو يسمّي ملفات الحزمة، ويقرؤه الذكاء الاصطناعي بأي لغة.

The attached files are a design pack from Stylepack, extracted from https://example.com/. Use them so what you build looks and behaves like that site.

Read START_HERE.md first and follow it. Where it names a file that is not attached, work from what is attached. The screenshots carry the composition, density and whitespace the values do not; match them. Keep observed values, and treat anything marked inferred or fallback as a suggestion to check against the screenshots. Build both themes.

Build: [describe the page or app you want]

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

أدلة لأدوات أخرى