liouh / picross

Playable picross puzzle generator written in JavaScript
66 stars 25 forks source link

Added dark mode checkbox #2

Closed davsan56 closed 5 years ago

davsan56 commented 5 years ago

Adding a checkbox in the settings control group to enable dark mode. Used local storage to remember if the user had it on/off.

To modify the colors, edit picross.css in the :root pseudo class, the dark mode colors.

davsan56 commented 5 years ago

@liouh I have opened a pull request to add a dark mode checkbox to the settings control group

liouh commented 5 years ago

Hi David, dark mode is a great idea! However, I cannot merge this pull request because CSS variables have limited browser support, and will not work for a significant number of visitors who frequent the hosted version (some are locked into older iPad Safari versions).

I'll look into adding a dark mode this weekend.