1. Font chữ (Typography)
Prompt mẫu:
Dùng font Poppins từ Google Fonts, body 16px, heading theo thứ bậc h1→h3.
Dùng fontIntercho nội dung,Poppinscho tiêu đề. Body 16px, h1 48px, h2 36px, h3 24px. Thêmdisplay=swapkhi load font từ Google Fonts để tránh chờ.
2. Màu sắc (Color)
Prompt mẫu:
“Bảng màu: nền#0f172a, primary#3b82f6, text#f8fafc. Dùng CSS variables.”
3. Responsive (Mobile-first)
Prompt mẫu:
“Thiết kế mobile-first. Breakpoint tablet 768px, desktop 1024px.”
4. Tailwind CSS
Prompt mẫu:
“Dùng Tailwind CSS. Spacing theo scale mặc định, không tự chế.”
5. Icons
Prompt mẫu:
“Dùng Lucide Icons, kích thước 20px, màu trùng với text.”
6. Tính nhất quán (Consistency)
Prompt mẫu:
“Giữ nhất quán: button như nhau, spacing đều nhau, heading style cố định.”
🔖 Checklist nhanh khi Prompt
Mẹo: Gắn checklist này vào prompt cuối mỗi lần yêu cầu tạo trang — AI sẽ tuân theo ngay.