-
Hi there, im trying to use jsx-email to generate emails in a given corporate design. The current design system is built around styled-components, but also exports css classes for legacy use cases. What is the best case to approach building templates here? I tried importing the css file provided by an internal module, but throws an error and doesn't seem to be the right approach. Is there a simple way to include plain css files or any styling solutions other than tailwind? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 4 replies
-
Probably! I'd love to see a reproduction that showed the approach that isn't working? Might help me to get a better perspective on what you're going for. |
Beta Was this translation helpful? Give feedback.
-
I built a simple demo of how i expected it to work: https://github.com/AnsgarH1/jsx-mail-css-demo/tree/main When running a build or preview, I always get the same error:
|
Beta Was this translation helpful? Give feedback.
-
Here's where I'm at on this, this evening. Note the ![]() ![]() ![]() |
Beta Was this translation helpful? Give feedback.
-
This has been merged, docs have been updated, and will be available in a few minutes. |
Beta Was this translation helpful? Give feedback.
-
Hey sorry, for the late reply. Thanks for the implementation, i could build a small proof of concept for our client! Happy holidays! |
Beta Was this translation helpful? Give feedback.
Hey sorry, for the late reply. Thanks for the implementation, i could build a small proof of concept for our client!
Happy holidays!