oficina / docs Public

Docs: the press ripple spreads over 1.8s

Paul: real ripples are slower.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by paul@keymail.dev 054115da62ae7630a8d486c9ef8e0b89d3fb92b1 parent 4c4fa85
1 file changed, +2 −2
  • internal/docs/brand/pointer.js +2 −2

CI cancelled — superseded by a newer push — run details

diff --git a/internal/docs/brand/pointer.js b/internal/docs/brand/pointer.js
index e702ed6..33f8217 100644
--- a/internal/docs/brand/pointer.js
+++ b/internal/docs/brand/pointer.js
@@ -15,7 +15,7 @@
A press sends a faint ripple of the same light out from where it
landed, kept inside the control: a frame laid exactly over it, with
its rounded corners, clips a ring that grows to the control's far
- corner and fades. The frame sits in a layer of its own over the page,
+ corner and fades, slowly, as a ripple on water does. The frame sits in a layer of its own over the page,
so the control's DOM and layout are never touched; it is animated
once with the Web Animations API and removed when it ends. On a shelf
page the ripple stays on the paper. Pressing a rastrillo button
@@ -94,7 +94,7 @@
ring.animate([
{ transform: "scale(0.1)", opacity: 0.7 },
{ transform: "scale(1)", opacity: 0 },
- ], { duration: 1100, easing: "cubic-bezier(.25, .5, .3, 1)" }).onfinish = remove(frame);
+ ], { duration: 1800, easing: "cubic-bezier(.2, .45, .3, 1)" }).onfinish = remove(frame);
}
function remove(dot) {
return function () { dot.remove(); };