Logo stopped updating if dark mode is enabled

AI-generated summary

Logo stopped updating if dark mode is enabled

The issue is discussed where the logo fails to update when dark mode is enabled on Discourse 2.9.0 beta 5. hiddenseal experiences the problem despite trying different troubleshooting methods. Falco suggests updating, but the issue persists. Further investigation reveals that the correct logo appears momentarily when dark mode is manually changed in preferences, but vanishes upon page reload. However, hiddenseal discovers that saving changes resolves the issue, suggesting a possible duplication of a known bug: automatic dark mode picks wrong logo unless correct color palette is selected manually.

Hello,

As we all know, discourse allows using different versions of logo for light/dark modes, a feature that I’ve been using for quite a while and it was working perfectly until I’ve updated Discourse to 2.9.0 beta 5, in which the logo is no longer updated once the dark mode is enabled and I see the “light” theme logo.

There were no other changes to the website, I’ve tried disabling custom plugins and clearing cache/incognito – the issue persists.

Could it be that it was somehow broken in new beta? Or how should I troubleshoot?

We had a dark mode bug shipped a few days ago that was corrected in the same day. Since the dark logo is working here on Meta at the moment can you try updating?

1 Like

i’ve pulled all updates to discourse, but it’s still not working.

Moreover, I’d disagree with

Proof:

And I actually can reproduce the same behavior as on my own instance. If I go to preferences/interface, and manually change dark to dark, I see the proper logo, but it vanishes the moment I reload the page.

What is the theme / pallete for that?

It’s shown on my second screenshot, isn’t it? It’s the default Meta theme

I mean when it’s showing the wrong logo, in the second screenshot it’s showing the correct logo.

Ohh I see now, the combo is Dark - Light / Dark in settings.

Actually, I have to update my statement:

If I save changes, things start working. So I believe I’ve accidentally duplicated

1 Like