mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-25 12:08:06 +09:00
4 lines
116 B
TypeScript
4 lines
116 B
TypeScript
|
export function reducedMotion(): boolean {
|
||
|
return window.matchMedia('(prefers-reduced-motion: reduce)').matches;
|
||
|
}
|