Thomas Steiner is a Developer Advocate at Google Hamburg, focused on making the Web a better place through standardization, creating and sharing best practices, and doing research.
You could make this aware of the user's preference by defaulting the initial mode to the user's prefers-color-theme setting. See <dark-mode-toggle> for how I have dealt with this.
I thought about doing this, but I kind of wanted to force people to hit the button initially. I feel like the transition makes the neon, flickering effect more fun. Good suggestion though, and nice repo - I gave you a ⭐️!
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.
You could make this aware of the user's preference by defaulting the initial mode to the user's
prefers-color-theme
setting. See <dark-mode-toggle> for how I have dealt with this.I thought about doing this, but I kind of wanted to force people to hit the button initially. I feel like the transition makes the neon, flickering effect more fun. Good suggestion though, and nice repo - I gave you a ⭐️!