hryanjones / guess-my-word

A word guessing game, where you only know whether my word is before or after your guess. (An unofficial clone of the game previously available on simbase.org)
https://hryanjones.com/guess-my-word/
MIT License
64 stars 26 forks source link

Add a dark theme #60

Open Fleker opened 2 years ago

Fleker commented 2 years ago

I've enjoyed playing this game for a while, but it can definitely be a tad hard on the eyes. Adding a dark theme as an option can provide a nice UX and be consistent with other software and apps I use, including GitHub.

I can tackle this PR.

nk9 commented 2 years ago

That would be great! I use dark mode and would love to see it for this game as well.

hryanjones commented 5 months ago

@lanodan I don't suppose it's easy for you to add a toggle for folks who want to toggle it a specific way? I've had a user complain that they like some of their sites dark, but didn't want it for Guess My Word.

lanodan commented 5 months ago

Should be doable, opened https://github.com/hryanjones/guess-my-word/pull/70 to be able to select it.

Bratface23 commented 5 months ago

@lanodan I don't suppose it's easy for you to add a toggle for folks who want to toggle it a specific way? I've had a user complain that they like some of their sites dark, but didn't want it for Guess My Word.

Thanks, hryanjones! That was me, Bratface23!

hryanjones commented 5 months ago

Thanks for the start @lanodan ! I added onto your commit to make it save to and load from localstorage.

hryanjones commented 5 months ago

I had to revert these changes as it was breaking the leaderboard page. Can revisit this with better support on all pages.