Who it is forA designer or developer whose demo video should look like the same product as the app it shows.
The problemA demo built with generic colours and easing looks like a different product from the app it promotes.
The outcomeA src/theme.css snapshot of your tokens, a report of what matched and what did not, and optionally your cubic-bezier easings in src/motion.ts.
What you need first
- Node 20 or later
- npm
- A local clone of the repo
- Roughly 100 MB free for the headless Chromium download on first render
- Your product's stylesheet or UI source, if you want the demo to match your product
Steps
- Run
npm run adoptto find your stylesheet - Run
npm run adopt ../src/app/globals.css --curves --dry-runto preview the matches without writing (inferred, check the README) - Run
npm run adopt ../src/app/globals.cssto write src/theme.css - Replace the font in src/fonts.ts by hand
- Run
npm run previewto check the palette on every beat
Prompt for your agent
In the repo Alexwtlf/agentic-product-demo, run `npm run adopt ../src/app/globals.css --curves --dry-run` and report which tokens matched, which were derived and which are placeholders. Do not write files until the report is reviewed. Verify that no placeholder token appears in the preview stills.
Caveat. The adopt script copies tokens rather than linking them, so a colour you change later in the app needs a rerun and hand edits to src/theme.css are overwritten.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Alexwtlf/agentic-product-demo and "Match demo colours and easing to your product stylesheet"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer