ChatGPT में किसी भी वेबसाइट का डिज़ाइन कैसे इस्तेमाल करें
Stylepack किसी भी सार्वजनिक वेबसाइट को डिज़ाइन पैक में बदल देता है: DESIGN.md, BEHAVIOR.md, design tokens, Tailwind थीम और स्क्रीनशॉट। यहाँ बताया गया है कि उसे ChatGPT को कैसे सौंपें, ताकि वह जो बनाए, वह आपकी चुनी साइट जैसा दिखे और वैसा ही व्यवहार करे।
चरण
नीचे के पाथ में example.com इस्तेमाल हुआ है। पैक के पेज पर उनमें आपकी चुनी साइट का नाम होता है।
- साइट का पता Stylepack में पेस्ट करें और उसका पैक डाउनलोड करें। गैलरी के पैक अभी तैयार हैं।
- पैक को unzip करें।
- नई चैट शुरू करें और DESIGN.md, BEHAVIOR.md, tokens.css और दो fold स्क्रीनशॉट (desktop-1440-fold.png और phone-390-fold.png) अटैच करें।
- नीचे दिया prompt पेस्ट करें और भरें कि आप क्या बनवाना चाहते हैं।
Prompt
Prompt अंग्रेज़ी में ही रहता है: उसमें पैक की फ़ाइलों के नाम हैं, और आपकी भाषा कोई भी हो, आपका AI उसे पढ़ लेता है।
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.