How to add theme switching button, I mean, have a button to switch between dark mode and light mode, or auto mode.
I discovered that I can use BookTheme = 'dark' to change to dark mode. But how to add a toggle button on the web page?
Thank you so much!
How to add theme switching button, I mean, have a button to switch between dark mode and light mode, or auto mode. I discovered that I can use
BookTheme = 'dark'
to change to dark mode. But how to add a toggle button on the web page? Thank you so much!