To achieve dark mode on Sumatra PDF goto Settings ā†’ Advanced options

image-20210210151650538

The change the value of variable MainWindowBackground to #2d2d2d

image-20210210152001415

This will give you a nice and consisted background color. To change the page color to a comfortable color you can change BackgroundColor in FixedPageUI to #dfdfdf

image-20210210152246682

For a complete latex workflow you can check this post.