Hello. My site is using the dark mode logo in light mode on some devices, even though the light mode logo has been uploaded. On my phone, the light mode and dark mode logo show up respectively, but they don’t on the computer.
Dark Mode:
Light Mode:
Thanks in advance.
ondrej
August 6, 2022, 11:07am
2
Hi
Could it perhaps be because of this?
You can now set up your Discourse site to automatically switch color schemes when the user’s device is in dark mode. For a quick preview, head over to the try.discourse.org instance and toggle your device’s dark mode on and off to see this new feature in action. (This feature not enabled on meta.)
Enabling automatic dark mode
To enable this feature on your instance, you can pick the dark mode color scheme in your site settings:
[image]
Once that setting is set, you can reload your site with …
Hi @ondrej ,
Thanks for the help. I did a bit more troubleshooting and found out if my device is in light mode, then discourse will show the dark mode and light mode logo, but in dark mode, it only shows the dark mode logo. I am using the dark-light toggle component to switch modes.
1 Like
ondrej
August 8, 2022, 12:13pm
4
This theme component I assume Dark/Light Mode Toggle ?
Not sure what is wrong here. If you disable the component does this happen?
I had a similar issue. Here is the relevant discussion:
I love this component! But, I am having a little issue.
It looks like the component only works when the “Enable automatic dark mode color scheme” option is enabled. My issue occurs when the option is enabled, and when the system preference is set to dark mode (i.e., preferred color scheme: dark).
In the scenario above, when I try to switch to a light theme vie Preferences > Interface > Theme, nothing happens, which is fine with me. Presumably, since my system preference is already…
system
(system)
Closed
January 18, 2023, 11:00am
6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.