Re:Happy Hues – Curated colors in context
by wopian on Friday December 13, 2019 @07:10PM
(#21786840)
>so you could send links to specific palettes
Check out the pushState/replaceState/popstate API to update the URI without reloading the page, while still sending users with the link directly to that colour scheme.
IMO the animate on page load was fine. It was the animations upon scrolling that got annoying after a while.
Also, there are a few ways to change url without reloads, though, yeah, that might add some complexity.
I did the reload / separate pages because 1) to make my life easier building it lol and 2) so you could send links to specific palettes.