DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to match demo colours and easing to your product stylesheet with Agentic Product Demo

Use the adopt script to copy your app's design tokens into the demo theme.

Short answer: Run npm run adopt to find your stylesheet; then run npm run adopt ../src/app/globals.css --curves --dry-run to preview the matches without writing; run npm run adopt ../src/app/globals.css to write src/theme.css. All steps.

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

  1. Run npm run adopt to find your stylesheet
  2. Run npm run adopt ../src/app/globals.css --curves --dry-run to preview the matches without writing (inferred, check the README)
  3. Run npm run adopt ../src/app/globals.css to write src/theme.css
  4. Replace the font in src/fonts.ts by hand
  5. Run npm run preview to 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer