zxcalc / book

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

Force white background in HTML #5

Open akissinger opened 3 days ago

akissinger commented 3 days 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 days ago

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