This commit is contained in:
2025-08-17 13:21:01 +02:00
commit c988d51438
51 changed files with 5742 additions and 0 deletions

10
lib/scroll.ts Normal file
View File

@@ -0,0 +1,10 @@
export function supportsScrollTimeline(): boolean {
// @ts-ignore
return typeof (CSS as any)?.scrollTimeline !== 'undefined'
}
export function initScrollFallback() {
if (typeof window === 'undefined') return
const prefersReduced = window.matchMedia('(prefers-reduced-motion: reduce)').matches
if (prefersReduced) return
}
export function disableAnimations() { }