I Need Help
How do you handle design consistency across multiple vibe-coded pages/apps when each generation tends to drift in style/fonts/colors?
17 likes · 13 answers · 6 views
How do you handle design consistency across multiple vibe-coded pages/apps when each generation tends to drift in style/fonts/colors?
17 likes · 13 answers · 6 views
Answers (13)
My secret: vibe-code a tiny ‘style guide’ app first (like Storybook lite). Iterate until it’s perfect, then every new page prompt starts with ‘Build this using components and styles from my style guide app.’ Keeps drift minimal
I accept some drift and fix it in post: generate everything, then run a final prompt like ‘Apply uniform styling across these 5 pages: same fonts, colors, button styles.’ One cleanup pass at the end
Build a ‘theme switcher’ early—even if fake. Prompt once for light/dark mode with shared variables, then reuse the same theme logic across pages. Forces consistency naturally
Add this magic line every time: ‘Maintain perfect visual consistency with previous generations: same fonts (Inter & Playfair Display), same color palette (#0f172a, #3b82f6, etc.), same spacing scale.’ The AI actually listens
I vibe-code a ‘design tokens’ component (just a page showing colors, typography, buttons, cards), screenshot it, and say ‘match this visual style exactly for the new page.’ Works surprisingly well.
Prompt for a global CSS file first: ‘Generate a tailwind.config.js and global.css with my brand colors and fonts.’ Then reference that file in every follow-up prompt. One-time pain, lifetime gain
I keep a Notion page with my winning style prompt + hex codes + font links. Every new generation starts with: ‘Follow this exact design language: [paste everything].’ It’s boring but consistent
Use Tailwind classes religiously in prompts. Say ‘strictly use these Tailwind classes for buttons: bg-indigo-600 hover:bg-indigo-700 text-white px-6 py-3 rounded-lg font-medium’ — the AI sticks to it way better.
Start with a single ‘master component’ page (like a dashboard shell), vibe-code it perfectly once, then tell the AI ‘use exactly the same design system as this previous output’ and paste a screenshot or code snippet
set a simple design system first (colors, fonts, components) and reuse it in every prompt so outputs stay consistent
Need to figure that out myself
Need to figure that out myself
Having your angent make a styles.css or txt and then defining what style your website is works well. Claude knows how my site looks pretty well and i dont change much between designs so its working out great