2 ms·
Yes, you can also have a prominent light and dark mode switcher on Hugo.
by benatkin 4y ago
Yes, you can also have a prominent light and dark mode switcher on Hugo.
- hokumguru 4y agoYeah, you can. It’s like 4 lines of JavaScript.
- benatkin 4y agoAnd some CSS to control how it looks in both modes (the icon makes it easy to try it out). It's too bad Chrome inspector isn't convenient on mobile, it has a toggle that would make this no longer very useful for testing out your own site. On desktop it is very easy to switch with Chrome inspector - just for one site.