If you look at the Discourse logo with a dark theme, it is hardly recognizable.
If you for example use GitHub with a dark theme, this is what it looks like:
AI-generated summary
The Discourse logo is difficult to see on dark themes, particularly on GitHub. Vampire pointed out this issue, sharing a comparison with GitHub’s logo, which remains visible in dark mode. jesus2099 shared a screenshot of the logo on a dark theme, but noted that GitHub does not support different images for light and dark modes.
Awesomerobot acknowledged that this is a known issue on GitHub and hopes for a solution. Vampire suggested adding a thick white border around the logo as a potential fix. In response, awesomerobot implemented a temporary solution by adding a white background to the logo, making it visible in dark mode.
I use dark theme, here on meta.
It looks good:
But I don’t think that you can set a different image on GitHub, per day/night mode.
What fix are you thinking about?
it’s a known issue on github, hopefully they have a solution soon
Me?
I’m not thinking about anything, just informing the team here in case they don’t know, as I didn’t find a related topic.
But one solution could be to have a thick white border around the logo, so that it looks like it is currently on light theme, but is properly viewable on dark theme as long as GitHub does not have support for two logo versions.
I made an update that adds a white background, so at least the logo is visible in dark mode.
I experimented with SVGs, which can support color-scheme media queries, but Github strips out inline SVGs (probably for security) and their CDN prevents the CSS from working from externally linked SVGs.


