The style for inline code (``) seems to be the same in the light and dark theme (background #dedede). Could that be changed?
IMHO, the background is maybe a bit too dark in light mode, and way too bright in dark mode. Admittedly I probably overuse this feature, but it can be kind of blinding.
Looking at other Discourse instances, I guess it was changed to the current style because the default one doesn’t stand out enough in the light theme? If so, I’d agree with that to an extent; I do appreciate not having to worry about punctuation being interpreted as part of a command.
I made a possible change — try setting your site theme to Testing Dark (use at your own risk in preferences: interface (make sure to hit the Save button). What do you think?
They’ve used colors that are already defined for the code-highlighting embedding, and borrowed those for inline code. The code-highlighting CSS already has dark-mode switching, so inline code gets it for free.
IOW, code_highlighting.scss (on the Python or Fedora instances) ends with:
p > code,
li > code,
pre > code {
color: var(--primary-very-high);
background: var(--hljs-bg);
}
By simply not overriding that at all, inline code matches the highlighted code blocks, in either palette.
(Oops, sorry. This got posted as a reply to Matt but became a reply to Barry.)
I think we still want to override it for a more distinct look than is default but I’ll look for something that works on both light and dark without being Too Much.