Track3 / hermit

A minimal & fast Hugo theme for bloggers

Home Page:https://hugo-theme-hermit.netlify.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: Light mode

NullSense opened this issue · comments

I'd like to request a day/night / light/dark mode button for hermit. A lot of people dislike reading in dark mode and it would be a great feature to support, in my eyes making Hermit supreme to other themes even more.

Will definitely add this feature, but I have no experience doing it, so this can take some time.

I've looked into this several times, but didn't have the time so far. Not adding much content, but here're some examples of dark-mode implemenations:

Docker Documentation - toggle on right
DevDocs.io - toggle in preferences

The Docker toggle looks nice.

I've implemented this feature in playHing.github.io using an ad-hoc approach.
Feel free to copy
https://github.com/playHing/blog/tree/master/assets
https://github.com/playHing/blog/tree/master/layouts
to your blog accordingly if it is good for you.

/Does this solution still exist now and where can I refer to it?

I've implemented this feature in playHing.github.io using an ad-hoc approach. Feel free to copy https://github.com/playHing/blog/tree/master/assets https://github.com/playHing/blog/tree/master/layouts to your blog accordingly if it is good for you.