Dark mode for PDFs

I love the file and document management offered by TagSpaces, but I can’t work at night using the internal PDF viewer as comfortable it might be. The brightness is killing me!
My alternative is to open via Foxit Reader which inverts all colors in a PDF so it’s readable in the dark without turning to ashes.