[code=javascript] blocks are nearly unreadable for dark theme

Since a picture is worth a thousand words:

JavaScript:
var hello = "hi hello can you read this?";
var test = (function(x)
{
   x = x.split(" ");
   for (let i of x)
   {
      console.log(i)
      someOtherFunction(i);
   }
   console.log(x.reduce((a, o) => a.concat(o.length), []));
})(hello);

If you're using light theme, take a moment to switch over to dark theme and you'll see what I mean.

As someone who likes to help people with code here, I'd like to use the javascript-highlighted version of the code tag. Currently, I don't because of the above reason.

A dark theme fix would be super appreciated, because code highlighting is super useful. Thanks! 🙂
ah yes I had the same problem I hope they can fix that
Yea even links are nearly indistinguishable from normal text. I used the browser extension Stylish to override the CSS and make it readable.

I'll share the style's in case you decide to get the extension and do it yourself lol
For the code box
CSS:
.bbCodeCode .prism-token.prism-keyword {
    color: #65e892
}

.bbCodeCode .prism-token.prism-string {
    color: #fbee31
}

.bbCodeCode .prism-token.prism-selector, .bbCodeCode .prism-token.prism-function {
    color: #2bcde8;


.bbCodeCode .prism-token.prism-number {
    color: #2dff0f;
}
}

Spoiler: Results
codebox_forums.png


For post links
CSS:
.message-body a:hover {
    color: #da7a7a;
}
.message-body a {
    color: #ce4c4c;
}
.message-body a:visited {
    color: #c73838;
}

Result:
1592087388256.png

Original thread: https://forums.rpgmakerweb.com/threads/code-javascript-blocks-are-nearly-unreadable-for-dark-theme.122827/