Skip to content

docs(homepage): rewrite keyframe showcase with springy loop#7

Merged
tilucasoli merged 2 commits intomainfrom
tilucasoli/keyframe-example
Apr 16, 2026
Merged

docs(homepage): rewrite keyframe showcase with springy loop#7
tilucasoli merged 2 commits intomainfrom
tilucasoli/keyframe-example

Conversation

@tilucasoli
Copy link
Copy Markdown
Collaborator

Summary

Replaces the trigger-driven heart-pop on the homepage with a continuously looping Motion-inspired showcase — the box scales 1→2→1, rotates 0→180→0, morphs between a rounded square and a circle, and shifts between lighter and darker deepPurple shades. Uses springWithBounce on the transform segments (plus ColorTween for color), with a trailing hold on each track to emulate Motion's repeatDelay.

Test plan

  • dart analyze in packages/mix_docs_preview is clean
  • Visual check: run the homepage/animation preview and confirm the loop feels springy and paces correctly (~3s animation + 1.5s delay)

🤖 Generated with Claude Code

Replace the trigger-driven heart pop with a continuously looping
Motion-style showcase that combines scale, rotate, border-radius, and
color tracks. Uses springWithBounce for the transforms, ColorTween to
animate between deepPurple.shade300 and shade900, and a trailing hold
segment on each track to emulate Motion's repeatDelay.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@docs-page
Copy link
Copy Markdown

docs-page bot commented Apr 16, 2026

To view this pull requests documentation preview, visit the following URL:

docs.page/btwld/mix-docs~7

Documentation is deployed and generated using docs.page.

@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Apr 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mix-docs Ready Ready Preview, Comment Apr 16, 2026 9:17pm

Shrink the max scale from 2.0 to 1.5 for a subtler pop, and cut the
repeat-delay hold from 1500ms to 600ms on all four tracks so the loop
restarts sooner. Cycle is now ~3.6s.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@tilucasoli tilucasoli merged commit 3ba39b3 into main Apr 16, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant