aanckar / react-pdf-tailwind

Use Tailwind CSS to style PDFs created with react-pdf
315 stars 11 forks source link

Possibility to pass custom pt per rem number #20

Closed maidi29 closed 6 months ago

maidi29 commented 6 months ago

As we are using different DPI resolution in our PDFs it would be nice to be able to customize how many pt 1 rem is.

Any feedback on this is very welcome :)

aanckar commented 6 months ago

Thanks for this - looks good to me! Would you mind updating the readme as well?

maidi29 commented 6 months ago

Thanks for the quick review, I updated the readme :)

aanckar commented 6 months ago

Thanks! I tweaked the readme somewhat and added a new section in case more options are added later. This is now published in 2.3.0.