shellscape / jsx-email

Build emails with a delightful DX
https://jsx.email
MIT License
902 stars 28 forks source link

feat(tailwind)!: rewrite component using `twind` #60

Closed shellscape closed 8 months ago

shellscape commented 8 months ago

Component / Package Name: tailwind

This PR contains:

Are tests included?

Breaking Changes?

If yes, please include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.

List any relevant issue numbers:

Description

This is a rewrite of the Tailwind component using https://twind.style/. This renders the Tailwind component on average ~10x faster than using ts-to-css and the old method inherited from react-email

shellscape commented 8 months ago

Looks like we're going to have to find a solution for twind using tailwind plugins: https://github.com/tw-in-js/twind/issues/32