How do I make react-pdf render a pdf for dark mode?

152 Views Asked by At

Is there a way to configure react-pdf to support dark mode? The only configuration I found was to change the canvasBackground, but the text and tables with striped rows needs to change color also.

I've also tried customTextRenderer, but that only takes a function that returns a string.

0

There are 0 best solutions below