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. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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.
Beta Was this translation helpful? Give feedback.
All reactions