Skip to content

feat(landing): state-motion polish (hover, press, lightbox, theme icon) - #154

Merged
gnacho merged 1 commit into
mainfrom
fix/63-landing-motion
Oct 14, 2026
Merged

gnacho merged 1 commit into
mainfrom
fix/63-landing-motion

Conversation

@gnacho

@gnacho gnacho commented Oct 14, 2026

Copy link
Copy Markdown
Owner

Closes #63.

Audit result: the landing was already sober - no pulsing indicators, no blur-everything entrances, no stagger spam, and the existing reveal/counter system respects prefers-reduced-motion. The real findings were motion gaps (state changes that happen with zero transition), not missing decoration:

  • Buttons, links, feature rows and comparison table rows changed hover state instantly -> 160ms background/border/color transitions.
  • No press feedback -> scale(0.97) on :active for actionable elements.
  • Lightbox snapped open -> 180ms fade + subtle image scale on enter; close stays instant.
  • Theme icon swapped silently -> micro-rotation on user click only (not on initial load).
  • Slider keeps its instant swap deliberately (screenshot browsing is arrow-driven and data-like).
  • Rejected: stagger on feature rows (motion for its own sake).

All new motion is disabled under prefers-reduced-motion. Verified with Playwright 12/12 on a local static server: computed transitions, lightbox animation, theme swap class, reveal/slider intact, zero console errors, and the reduce-motion context reports transitions/animations off.

Audit of issue #63 against motion principles. The landing was already
sober (no pulsing, no blur-everything, no stagger spam; reveal and
counters respect prefers-reduced-motion), so the fixes are motion gaps
rather than new decoration:

- Hover/focus transitions (160ms) on buttons, links, feature rows and
  table rows: those states changed instantly today.
- Press feedback: scale(0.97) on :active for actionable elements.
- Lightbox enters with a 180ms fade plus a subtle image scale; closing
  stays instant (getting out is more urgent than getting in).
- Theme icon micro-rotation on user click only, never on initial load.
- Slider keeps its instant swap on purpose (screenshot browsing is
  data-like and arrow-driven).
- Everything new is disabled under prefers-reduced-motion.

No featrow stagger: rejected as motion for its own sake.
@gnacho
gnacho merged commit 1161b47 into main Oct 14, 2026
3 checks passed
@gnacho
gnacho deleted the fix/63-landing-motion branch October 14, 2026 06:55
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.

Landing motion: audit and apply design-motion-principles fixes

1 participant