oficina / docs Public

Docs: the press ripple at half the strength, over 1.1s

Paul: even more subtle, and slower is fine.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by paul@keymail.dev ac81e4cb53a9e8ab10ab6c56a8aff5a0e4a180e7 parent 50a1cb3
2 files changed, +7 −7
  • internal/docs/brand/light.css +6 −6
  • internal/docs/brand/pointer.js +1 −1

CI cancelled — superseded by a newer push — run details

diff --git a/internal/docs/brand/light.css b/internal/docs/brand/light.css
index 7aced4b..e94e599 100644
--- a/internal/docs/brand/light.css
+++ b/internal/docs/brand/light.css
@@ -39,9 +39,9 @@
position: absolute;
border-radius: 50%;
background: radial-gradient(circle closest-side,
- color-mix(in srgb, var(--rst-accent) 3%, transparent) 0%,
- color-mix(in srgb, var(--rst-accent) 3%, transparent) 60%,
- color-mix(in srgb, var(--rst-accent) 10%, transparent) 85%,
+ color-mix(in srgb, var(--rst-accent) 1.5%, transparent) 0%,
+ color-mix(in srgb, var(--rst-accent) 1.5%, transparent) 60%,
+ color-mix(in srgb, var(--rst-accent) 5%, transparent) 85%,
transparent 100%);
will-change: transform, opacity;
}
@@ -49,8 +49,8 @@
ripple there is white, as faintly. */
[docs-ripples] > span[data-on="fill"] > i {
background: radial-gradient(circle closest-side,
- rgb(255 255 255 / 0.05) 0%,
- rgb(255 255 255 / 0.05) 60%,
- rgb(255 255 255 / 0.16) 85%,
+ rgb(255 255 255 / 0.025) 0%,
+ rgb(255 255 255 / 0.025) 60%,
+ rgb(255 255 255 / 0.08) 85%,
transparent 100%);
}
diff --git a/internal/docs/brand/pointer.js b/internal/docs/brand/pointer.js
index 8879e25..07d19bd 100644
--- a/internal/docs/brand/pointer.js
+++ b/internal/docs/brand/pointer.js
@@ -94,7 +94,7 @@
ring.animate([
{ transform: "scale(0.1)", opacity: 1 },
{ transform: "scale(1)", opacity: 0 },
- ], { duration: 560, easing: "cubic-bezier(.2, .6, .3, 1)" }).onfinish = remove(frame);
+ ], { duration: 1100, easing: "cubic-bezier(.25, .5, .3, 1)" }).onfinish = remove(frame);
}
function remove(dot) {
return function () { dot.remove(); };