AmazingRise / hugo-theme-diary

Moments piled up. A Hugo theme ported from SumiMakito/hexo-theme-Journal.
MIT License
568 stars 194 forks source link

Way to remove the darkmode toggle? #156

Closed koolaidxk1d closed 1 year ago

koolaidxk1d commented 1 year ago

I enjoy the automatic dark/light selection based on browser preference, and I would prefer to use only that. The reason is because the utterances comments do not change along with the toggle, so if the visitor is allowed to use the toggle, the browser saves their preference of site background, but the utterances comments remain as their browser-defined preferred theme.

Hopefully that is not too confusing. I'm just hoping there is an easy way for me to remove the toggle button from my instance of the theme to prevent it from showing in my deployed site.

example below:

image

AmazingRise commented 1 year ago

Hi @koolaidxk1d Thanks for your feedback. But there is a switch to toggle the dark mode feature. Please try this: https://github.com/AmazingRise/hugo-theme-diary/wiki/Dark-Mode