dshepsis / OkamiMap

Resource for the locations of items and other objects in the video game Okami
https://dshepsis.github.io/OkamiMap/
1 stars 1 forks source link

Dark Mode #29

Closed zysim closed 3 years ago

zysim commented 3 years ago

Closes #27 Tried coming up with my own solution until I got frustrated and lo and behold a library already exists lmao. The library adds a button that defaults to the bottom right, which allows you to toggle between light and dark modes. It also checks for prefers-color-scheme, plus it sets a flag in localStorage, so all that's cared for.

zysim commented 3 years ago

image