Replies: 3 comments 7 replies
|
you would need to adapt the JS method compiled with the theme as it's expecting the 3 buttons. Not sure how to do it though. |
0 replies
|
In chrome 'auto' doesn't seem to work, it's just light a second time. So just switching through the actual available options makes more sense. I tried modifying the js by hand, didn't really work. Okay, thank you. |
4 replies
|
I wonder... if we moved to something more like MDN docs, would that be better? The MDN docs has a button labeled "Theme" and when clicked, it drops down a menu with three choices: OS Default, Light, and Dark. |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I want to have a theme switcher to switch between the 'light' and 'dark' versions of the doc but the 'auto' option is a bit unnecessary and annoying.. How can I remove the 'auto' option?
I tried to copy the theme-switcher.html in my _templates folder and remove the 'auto' option but javascript still switched to auto and the site got stuck without a switcher.
All reactions