MadLittleMods / postcss-css-variables

PostCSS plugin to transform CSS Custom Properties(CSS variables) syntax into a static representation
https://madlittlemods.github.io/postcss-css-variables/playground/
Other
536 stars 62 forks source link

output css includes undefined #140

Open lovetingyuan opened 2 months ago

lovetingyuan commented 2 months ago

image

css input:

.dark\:border-gray-100 {
  --tw-border-opacity: 1;
  border-color: rgb(243 244 246 / var(--tw-border-opacity));
}

output:

.dark\:border-gray-100 {
  border-color: undefined;
}
.dark\:border-gray-100:border-gray-100 {
  border-color: rgb(243 244 246 / 1);
}