en.javascript.info
en.javascript.info copied to clipboard
[Bug] `console.log` output styling in interaction blocks
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.
Related issue: https://github.com/javascript-tutorial/zh.javascript.info/issues/1154
@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.