Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The problem with using Tailwind is that I can't just say <h1>Some Heading</h1>. As noted in the Tailwind documents "All heading elements are completely unstyled by default, and have the same font-size and font-weight as normal text."[1]

Most of the time when I'm writing HTML I want a set of default styles for the most common elements, It's tedious and error-prone to have to specify a class every single time.

1 https://tailwindcss.com/docs/preflight



Makes total sense. There is no real requirement to use Tailwind to create the PDFs, we just have grown accustomed to Tailwind :) If you don't use the <Tailwind> tag, the browser defaults are used to generate the PDF.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: