We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
undefined
Consider the following CSS:
.bg-\\[url\\(https\\:\\/\\/example\\.com\\/image\\.png\\)\\] { --un-url: url(https://example.com/image.png); background-image:var(--un-url); }
The output from running the plugin is:
.bg-\\[url\\(https\\:\\/\\/example\\.com\\/image\\.png\\)\\] { background-image:undefined; } .bg-\\[url\\(https\\:\\/\\/example\\.com\\/image\\.png\\)\\]:\\/\\/example\\.com\\/image\\.png\\)\\]{ background-image:url(https://example.com/image.png); }
The plugin seems to have an issue with escaping, or a variable directly following escaping.
The text was updated successfully, but these errors were encountered:
This https://github.com/resendlabs/react-email/blob/3be21ad8a8f073d4e1a61c3ee94d40522c769674/patches/postcss-css-variables%400.19.0.patch#L4 seems to be a patch for the issue.
Sorry, something went wrong.
Here's an additional reproduction set:
Input: .xl\\:bg-green-500{--un-bg-opacity:1;background-color:rgb(34 197 94 / var(--un-bg-opacity));}
.xl\\:bg-green-500{--un-bg-opacity:1;background-color:rgb(34 197 94 / var(--un-bg-opacity));}
Expected: .xl\\:bg-green-500{background-color:rgb(34 197 94 / 1);}
.xl\\:bg-green-500{background-color:rgb(34 197 94 / 1);}
Actual: .xl\\:bg-green-500{background-color:undefined}.xl\\:bg-green-500:bg-green-500{background-color:rgb(34 197 94/1)}
.xl\\:bg-green-500{background-color:undefined}.xl\\:bg-green-500:bg-green-500{background-color:rgb(34 197 94/1)}
No branches or pull requests
Consider the following CSS:
The output from running the plugin is:
The plugin seems to have an issue with escaping, or a variable directly following escaping.
The text was updated successfully, but these errors were encountered: