Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(jsx-email): add rem-to-px preset to unoconfig #189

Merged
merged 3 commits into from
Apr 17, 2024

Conversation

lordelogos
Copy link
Collaborator

Component / Package Name:

Tailwind
This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

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 PR adds the rem-to-px preset to unocss config which converts all rem values to px in the <Tailwind> component. This is important for email clients that do not support rem values (e.g AOL and some older Outlook versions)

@shellscape shellscape merged commit 609e387 into main Apr 17, 2024
2 checks passed
@shellscape shellscape deleted the feat/tailwind/rem-to-px branch April 17, 2024 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants