Forum Feature requests

Support CSS @layer and @property rules (make Prince compatible with Tailwind)

eric@govwell.com
I'm a big fan of your software, thank you for making PDF generation easy!

I want it to be even easier. I have for years used React to generate the HTML I pass to Prince, which makes it relatively simple to create shared components and a printed document design system. This keeps document writing simple and maintainable.

I find TailwindCSS to be a really developer-friendly framework for theming and styling. I was hoping to start using it in my document generation system, but when I tried to run the HTML through Prince I got warnings about the CSS 5 @layer and @property rules (and possibly other things) that aren't supported by PrinceXML.

https://drafts.csswg.org/css-cascade-5/#layering
https://drafts.css-houdini.org/css-properties-values-api/#at-property-rule