en.javascript.info icon indicating copy to clipboard operation
en.javascript.info copied to clipboard

[Bug] `console.log` output styling in interaction blocks

Open songhn233 opened this issue 2 years ago • 1 comments

There's an issue with the styling configuration of the console.log output within the interaction blocks.

In light mode, the color of var(--foregroundInverted) is too similar to the background color, causing poor readability. This issue can be reproduced in the Promise.any example. Notably, this problem does not occur in dark mode.

image

Related issue: https://github.com/javascript-tutorial/zh.javascript.info/issues/1154

songhn233 avatar May 09 '23 18:05 songhn233

@iliakan, Hi, this issue appears to still be reproducible and seems to be a compatibility issue with the light mode styling. It likely needs to be fixed.

songhn233 avatar Jun 08 '24 09:06 songhn233