Docs: the press ripple at half the strength again, starting dimmer
Paul: even more subtle, less opaque.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 files changed,
+7
−7
internal/docs/brand/light.css+6 −6internal/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 717743b..ac68c08 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) 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%, |
| + color-mix(in srgb, var(--rst-accent) 0.75%, transparent) 0%, |
| + color-mix(in srgb, var(--rst-accent) 0.75%, transparent) 60%, |
| + color-mix(in srgb, var(--rst-accent) 2.5%, transparent) 85%, |
| transparent 100%); |
| will-change: transform, opacity; |
| } |
| @@ -49,9 +49,9 @@ |
| ripple there is white, as faintly. */ |
| [docs-ripples] > span[data-on="fill"] > i { |
| background: radial-gradient(circle closest-side, |
| - rgb(255 255 255 / 0.025) 0%, |
| - rgb(255 255 255 / 0.025) 60%, |
| - rgb(255 255 255 / 0.08) 85%, |
| + rgb(255 255 255 / 0.012) 0%, |
| + rgb(255 255 255 / 0.012) 60%, |
| + rgb(255 255 255 / 0.04) 85%, |
| transparent 100%); |
| } |
| /* The menu bar's titles take the pointer, as every other control on the |
diff --git a/internal/docs/brand/pointer.js b/internal/docs/brand/pointer.js| index 07d19bd..e702ed6 100644 |
| --- a/internal/docs/brand/pointer.js |
| +++ b/internal/docs/brand/pointer.js |
| @@ -92,7 +92,7 @@ |
| frame.appendChild(ring); |
| layer.appendChild(frame); |
| ring.animate([ |
| - { transform: "scale(0.1)", opacity: 1 }, |
| + { transform: "scale(0.1)", opacity: 0.7 }, |
| { transform: "scale(1)", opacity: 0 }, |
| ], { duration: 1100, easing: "cubic-bezier(.25, .5, .3, 1)" }).onfinish = remove(frame); |
| } |