This is a Next.js project that demonstrates AI-powered automatic brand styling for websites using Prismic CMS.
This project combines AI vision capabilities with the Brand.dev API to automatically style websites based on brand analysis:
- Fetches brand data from any domain (logos, colors, descriptions)
- AI analyzes the live website to understand visual prominence
- Updates CSS variables in
app/globals.css - All components automatically reflect the new brand colors
npm install
npm run devOpen http://localhost:3000 to see the result.
All colors are defined as CSS variables in app/globals.css. Components use these variables via Tailwind's arbitrary value syntax (e.g., bg-[var(--color-background)]).
For detailed documentation on available variables, usage examples, and AI agent instructions, see:
npm run dev- Start development servernpm run build- Build for productionnpm run start- Start production servernpm run slicemachine- Launch Slice Machine