counterexamples
counterexamples copied to clipboard
Code samples illegible in dark mode on Firefox/Chrome
Pages like https://counterexamples.org/runtime-misinformation.html apparently adapt to the OS light/dark colour mode: on MacOS in dark mode with Firefox or Chrome, the code snippets are dark text on dark background, and therefore illegible. Curiously, Safari seems okay. Just wanted to let you know - thanks for the resource.
Hmmm, I think this might be rust-lang/mdbook#1304. I'll try upgrading to a more recent version and see if that fixes it.
Worth a go, but that issue sounds like Firefox only - I feel like if it had affected Chrome too, someone might have noted it there.
I tried a few different configs / OSes and I can't reproduce this. Do you have a screenshot? Which MacOS / browser version are you running?
Latest Firefox, latest MacOS, dark mode set system-wide.
Latest Chrome on same system.
Safari is fine.