zxcalc / book

Picturing Quantum Software: An Introduction to the ZX-Calculus and Quantum Compilation
60 stars 4 forks source link

Force white background in HTML #5

Open akissinger opened 2 weeks ago

akissinger commented 2 weeks ago

In “dark mode” on Safari/iOS, the HTML background is black. This looks ok for text and math, but figures are mostly invisible. Setting the background to white manually should fix this.

jvdwetering commented 2 weeks ago

Yeah this should have the easy fix of adding background-color: white; to the CSS of .svg-diagram