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

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

الخطوات

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

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

الـ prompt

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

Use the attached design pack files as the source of truth for how the UI looks and behaves. It was measured from https://example.com/.

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 every attached screenshot and match the composition, density, whitespace and image treatment. Tokens do not carry those; the screenshots do.
3. Style everything with the variables in tokens.css (or the Tailwind v4 theme in tailwind.css). Do not invent colours, radii, shadows or font sizes that are not in the pack.
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.

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