When using themes with background color set to #000000, and
org-preview-default-process is set to dvisvgm, the LaTeX fragments are
displayed incorrectly.
To reduplicate:
1. Switch to a theme with background color set to #000000 (like Modus Vivendi)
2. Set org-preview-default-latex-process to dvisvgm
3. Create an org-mode document. Write some LaTeX fragment and press C-c C-x C-l
to preview LaTeX fragment.
4. The LaTeX preview is displayed as a white rectangle.
After debugging, I found that it is because dvisvgm omitts the default #000
color value when generating SVG file, and emacs has a unique way of displaying
the SVG, which caused foreground color to be applied to it.
A solution is to change org-format-latex-options to use transparent background
by default. I've attached this fix.