Users bekircem, David_Ghost, and RGJ report a bug where the site logo incorrectly displays when the OS light/dark mode differs from the manually toggled theme, especially after scrolling. RGJ provides a clear table showing mismatches: e.g., light OS + dark toggle shows light logo instead of dark. tobiaseigen confirms the issue and shares a screencast illustrating the behavior. The bug was fixed in a PR by Osama (tobiaseigen), but tobiaseigen notes it still occurs on meta.discourse.org despite working on their own site. sam asks for confirmation of resolution before closing.
Hello, after setting up the dark and light color schemes, this feature works correctly. However, when switching from the dark theme to the light theme using the toggle and scrolling down on the topic page to switch to the mobile logo the logo does not match the color scheme. Similarly, when scrolling back up to display the full logo again, the wrong logo is shown. This issue occurs in the light theme. How can I solve this problem?
Thanks @bekircem and @RGJ for the report. I can reproduce it myself here on meta. We’ll take a look at this.
I’ve extracted the related posts into a new topic in Contribute > Bug and created a screencast to illustrate the behavior described in Richard’s post for each of the cases. When the OS mode does not match the toggle mode, the correct logo shows at first but then the wrong logo is shown as you scroll and click around the site.
I fiddled with this here on meta and on my own site. On my own site it appears to be working correctly but I am still getting the same issue here on meta.