Finally found time to add this since it was bothering me. I (especially) play on mobile, and often outdoors or on the train, and the dark theme is a bit of a contrast struggle for me in heavy daylight.
This PR is split into two commits: one replacing the colours used with CSS variables (so you can be sure they're all the same colours), the second commit adding a 'light' theme, and then using the automatic toggle for dark theme based on the user's system/browser preferences, which is quite well supported.
Image with very minor spoilers for 2023-07-01 (e.g. a country name's prevalence)
Please ignore the yellow, that is from my OS.
![censordle](https://github.com/larsgw/censordle/assets/458683/8fcc1c84-da95-49cf-9812-9c23761aa4c1)
Hey @larsgw, thanks again for writing censordle!
Finally found time to add this since it was bothering me. I (especially) play on mobile, and often outdoors or on the train, and the dark theme is a bit of a contrast struggle for me in heavy daylight.
This PR is split into two commits: one replacing the colours used with CSS variables (so you can be sure they're all the same colours), the second commit adding a 'light' theme, and then using the automatic toggle for dark theme based on the user's system/browser preferences, which is quite well supported.
Image with very minor spoilers for 2023-07-01 (e.g. a country name's prevalence)
Please ignore the yellow, that is from my OS. ![censordle](https://github.com/larsgw/censordle/assets/458683/8fcc1c84-da95-49cf-9812-9c23761aa4c1)