Incorrect font applied in code blocks with Roblox theme

I have no clue how long this has been occurring for, however, I’ve just noticed that sometimes, the wrong font is being applied inside of code blocks when using the Roblox DevForum theme. It looks like this:

It’s nothing serious, although it does look a little silly, so it would be great if this was fixed. I’m not sure which platforms are affected besides from Safari on iOS 15.2.

1 Like

It’s most likely due to you being on iOS.

--this is an example

local the = funny example = ("what am i supposed to write here lol") print 
--hi
if then and while until else elseif 


Fonts look like this for me, and probably all other people:

I’m pretty sure I’ve seen this issue happening on desktop, going to check right now (does happen, had wrong theme applied).

Appears like op mentioned on a Poco X3 Pro with Microsoft Edge, running Android 11.

Aha, I now know why is this happening to you, it’s because you have your theme as “Roblox Dark”

image

To fix this, you just have to simply change it into “Dark

Either way, this is a visual bug, and Roblox should change it to match the font and colour palette used in Studio (if they can).

Your reply changes the theme so I don’t know how this is a solution.

Happens to me on Dark as well.

Can only reproduce it on Roblox Dark, what’s your specifications?

Using “Dark” instead of “Roblox Dark” is not a valid solution. Roblox Dark is Roblox’s in-house theme for Discourse and has customised it so that it matches Roblox’s design language. Roblox should work to correct these sort of issues. What you suggested is a workaround, not a solution.

1 Like

This has been resolved.

Doesn’t look like it has to me, I’d expect all of it to be monospace

Xiaomi Poco X3 Pro, Microsoft Edge 100, Android 12


Actually, it displays properly on the post you linked, but not here?

The code block I attached was a photo; it shouldn’t look correct. I didn’t append an actual code block because people who weren’t using Roblox Dark prior to it being fixed wouldn’t be able to see the issue.

1 Like

Oops, that’s my own fault.