tholman / cursor-effects

Old-school cursor effects for your browser built with modern JavaScript
https://tholman.com/cursor-effects
3.45k stars 254 forks source link

Respect prefers-reduced-motion setting #37

Closed sophiekoonin closed 2 years ago

sophiekoonin commented 2 years ago

Fixes #26

Extremely copy-pastey, but it seems like each cursor is its own encapsulated thing so it seemed like the thing to do.

tholman commented 2 years ago

Awesome! A few small bits that we'll need to patch up here

Sorry its a pita to update each of these, if we get one of these in the green I'll happily go through and patch the others

tholman commented 2 years ago

I'm going to merge and then add these lil bits now!

tholman commented 2 years ago

Completed the rest here! https://github.com/tholman/cursor-effects/commit/c4b4aef2cd371d2c32b23d903ccb65c0be5a4a64 ... looking and behaving well by all my tests :)