Greetings dear Discourse team and forum participants
I recently noticed that quick link to open the editor for a personal message is not compatible with the theme component Dark/Ligt Mode Toggle if I am using a smartphone with the Android operating system installed . To be more precise, when you click on the link, the message composer opens in a certain fraction of a second and collapses back into a draft. I checked all the theme components and plugins and found that the composer behaves this way only with the Dark/Ligt Mode Toggle component enabled on Android. Here’s a video:
In the video I showed 2 scenarios.
- When you first click on the link, the composer quickly opens and at the same moment collapses.
- When you click on the link again, the composer opens from the saved draft and after deleting the previous draft, the composer opens in normal mode.
Hi, can you help me how an admin implement this site wide? thank you
Thanks for reporting this, a pretty odd and interesting bug!
Thanks a lot for this component
Just installed it and it works pretty good on desktop and Android.
So, are you saying the toggle setting adds no toggle setting option on the frontend and that I need to install this plugin, yes?
If “no”, where do I find the toggle switch now that I enabled dark-light toggle per above screenshot?
That’s right. Once you include this theme component to your theme, save and refresh the page – and you should see the icon to toggle the dark/light mode.
So it seems it’s already installed. I tried to install just now, and it said already installed. Which you can see in my previous screenshot.
But then there is still no toggle option:
Maybe you have no dark theme defined that can be toggled?
In case, see above at Dark/Light Mode Toggle.
I have to have a seperate “theme”? I’m using the default theme. I can toggle to dark mode like this
However the toggle only icon ONLY shows if I select “Dark” in preferences. I would like even first time visitors to see the moon icon bottom left. Possible?
Edit: solved as per the end of this post. It was all ME!
Hello, I’m looking to set the Dark theme as the default on my Discourse forum. However, I also want to give users the option to switch to the Light theme if they prefer.
My question is: How can I ensure that the forum’s color scheme doesn’t automatically change based on the user’s system settings? I want it to stay on the Dark theme by default and only change to Light when a user manually selects it. Any guidance on setting this up would be greatly appreciated.