signature: restore lean dots, reduced-motion redraw, above-fold reveal and map focus rings

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-25 17:49:57 +02:00
parent 7813499ee3
commit 6c1572bf3c
5 changed files with 130 additions and 8 deletions

View File

@@ -47,14 +47,16 @@ export class RevealDirective {
return;
}
this.host.nativeElement.classList.add('reveal-pending');
this.observer = new view.IntersectionObserver(
(entries) => {
if (entries.some((entry) => entry.isIntersecting)) {
this.host.nativeElement.classList.remove('reveal-pending');
this.host.nativeElement.classList.add('is-revealed');
this.disconnect();
return;
}
this.host.nativeElement.classList.add('reveal-pending');
},
{
rootMargin: '0px 0px -8% 0px',