Skip to content

docs: responsive + motion next-steps (design doc, roadmap, EN/PT-BR README sync)#17

Open
Atroci wants to merge 1 commit into
mainfrom
docs/responsive-motion-next-steps
Open

docs: responsive + motion next-steps (design doc, roadmap, EN/PT-BR README sync)#17
Atroci wants to merge 1 commit into
mainfrom
docs/responsive-motion-next-steps

Conversation

@Atroci

@Atroci Atroci commented Jun 5, 2026

Copy link
Copy Markdown
Owner

What

Documentation + planning for the next focus areas, plus housekeeping. No package code change.

Design doc — docs/next-steps-responsive-and-motion.md

Grounded in the real capture surface (cites the seams), honest about accuracy ceilings.

Part 1 — Responsive / multi-screen. The structural bug: PageExtract.breakpoint is populated then silently discarded when assembleTokens unions every extract into one flat palette — so mobile/desktop differences dissolve and light/dark is never captured. Highest-value add is a light+dark dual palette via emulateMedia({ colorScheme }); per-breakpoint identity is cheap to preserve via a com.tokenscout.breakpoints $extensions array (just stop flattening).

Part 2 — Animation accuracy. detectPageMotion/captureMotion are exported but never invoked; only ms durations reach DTCG. Motion (formerly Framer Motion) is a hybrid WAAPI+rAF engine; GSAP is rAF-only (so wrapping Element.animate catches part of Motion, none of GSAP). Concrete upgrades: @keyframes bodies, capture delays + transition: all, rAF/MutationObserver sampling for JS-driven motion, scroll-driven (animation-timeline) + View Transitions, and a Playwright screencast video as ground-truth fallback. Ships as 5 ordered, independent PRs.

Roadmap

Marks the shipped 0.3.0 color wins; adds Phase 5 (responsive); makes Phase 4 motion statuses honest (dormant exported-but-uninvoked detection/capture).

READMEs

  • EN: per-breakpoint/per-theme limitation + a one-line pointer to the design doc.
  • PT-BR: full re-sync to current 0.3.0 (it was pre-0.3.0 stale; now section-for-section parity).

CHANGELOG

[Unreleased] for the CI publish hardening + docs (no package change).

Verification

Adversarial consistency check passed: EN↔PT-BR section parity, no stale color-1/hex-string $value claims, design-doc link resolves, roadmap doesn't mark unshipped work as done.

🤖 Generated with Claude Code

…ADME sync

- docs/next-steps-responsive-and-motion.md: grounded design doc covering
  (1) responsive/multi-screen capture — the breakpoint-flattening seam
  (PageExtract.breakpoint populated then discarded in assembleTokens),
  light/dark dual palette via emulateMedia, per-breakpoint identity,
  full-height/lazy + DPR; and (2) animation accuracy — CSS keyframe bodies,
  rAF/MutationObserver sampling for JS-driven (GSAP) motion that bypasses
  WAAPI, scroll-driven + View Transitions, motion-reference video, a
  normalized motion-token taxonomy — with honest accuracy ceilings and 5
  ordered, independently shippable PRs.
- ROADMAP.md: mark shipped 0.3.0 color wins; new Phase 5 (responsive); Phase 4
  motion statuses made honest (dormant exported-but-uninvoked detect/capture).
- README.md: per-breakpoint/per-theme limitation + next-steps pointer.
- README.pt-BR.md: full sync to current 0.3.0 EN (was pre-0.3.0 stale).
- CHANGELOG.md: Unreleased section for CI hardening + docs.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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