Bug: the [code] blocks in dark mode have white text on a light background

Axeia

Posts: 535   +730
I just created a comment on a newspost over here:

I used a |code| block to create a motherboard diagram of sorts but it's unreadable when the site is set to dark mode (click the icon at the top right of the site) because the text is white on light grey.

------------------------------

Also, Hi I'm a web developer so if you want the solution. To this file:
Something like this needs to be added:
Code:
body.dark .bbCodeBlock {
    background-color: #242931;
}
(select the text above to make it visible, it suffers from the same faith as the link I posted - so if you set the site to dark mode you can see it's unreadable)

I'm using Chrome on Windows 11. Just noticed it's fine on Android/Chrome
 
Last edited:
Back