tholman / cursor-effects

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

Respect prefers-reduced-motion setting #37

Closed sophiekoonin closed 1 year ago

sophiekoonin commented 1 year 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 1 year 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 1 year ago

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

tholman commented 1 year ago

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