-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Alpha-less colors #3963
Alpha-less colors #3963
Comments
An example where this matters is css compilation for email/newsletter templates. As a temporary fix I've also disabled the |
Yeah I think we should support this if only because it makes the CSS output smaller for folks who don't need it. Would love a PR for it 👍🏻 |
Sweet. I'll take a stab at it |
Opened PR in tailwindlabs/tailwindcss-jit#196 |
Re-opened PR in this repo after jit was merged in #3984 |
What version of @tailwindcss/jit are you using?
0.1.18
What version of Node.js are you using?
14.x
What build tool (or framework if it abstracts the build tool) are you using?
postcss@^8.2.0
What browser are you using?
N/A
What operating system are you using?
macOS
Reproduction repository
N/A
When certain core plugins have been disabled (eg.
backgroundOpacity
)tailwind-jit
does not output alpha-less colors liketailwind
does.Is this is an intended breaking change or missing functionality? Happy to contribute if there is interest in supporting this use case.
Implementation difference:
tailwind-jit
vs.tailwind
Example
With the following config:
Outcome:
Expected outcome:
The text was updated successfully, but these errors were encountered: