Cool website Jemima! Doing multiple color themes was a cool idea. Have you thought about having a different theme based on the system preference? The fade in animations are cool but are a bit slow when trying to scroll the page fast.
Yeah, I'm currently setting the default color theme using the prefers-color-scheme media query so it's based on the system preference, unless you select a different color scheme which is then stored in local storage.
The fade-in animations are set in a throttle function of 250ms to reduce the number of times the function is called while scrolling.
Hope that clears things up :)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Cool website Jemima! Doing multiple color themes was a cool idea. Have you thought about having a different theme based on the system preference? The fade in animations are cool but are a bit slow when trying to scroll the page fast.
Thanks :)
Yeah, I'm currently setting the default color theme using the
prefers-color-scheme
media query so it's based on the system preference, unless you select a different color scheme which is then stored in local storage.The fade-in animations are set in a throttle function of 250ms to reduce the number of times the function is called while scrolling.
Hope that clears things up :)