sampittko / gatsby-starter-intl-blog

Gatsby starter for creating an internationalized personal blog website
MIT License
2 stars 1 forks source link

Add dark mode toggle button #4

Closed sampittko closed 4 years ago

sampittko commented 4 years ago

Problem I cannot switch between modes manually. The only thing I can do is to let the browser decide according to the OS which mode will be activated. It even may not even work this way all the time because of unavailable APIs in some browseros so it would be more appropriate to also have a manual way to do it.

Solution Simple toggle button in the corner of website showing current mode (may be just a simple icon too) which would also provide a way to change it manually.

sampittko commented 4 years ago

Solved. Closing issue.