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
[v1.4] Turning off opacity in corePlugins config still generates CSS variables #1670
Comments
Same here. Seems like there should be a check here (and the other plugins):
Or use ie11 as the target for now |
I think we can improve this for sure by adding some API to the plugin system to allow checking if a given plugin is enabled. For now I'd recommend what @emptynick suggested and use the target: ['relaxed', {
backgroundColor: 'ie11',
textColor: 'ie11',
borderColor: 'ie11',
placeholderColor: 'ie11',
divideColor: 'ie11',
}] |
Where is |
In the release notes and in the PR. |
Question: for the
The only thing that works is using |
Fixed in v1.4.3 👍 |
@ryanfitzer Crap good catch, it was only working using the tuple syntax ( |
@adamwathan I was wondering if this fix still applies to version 2 of Tailwind. |
|
@adamwathan Yes, I've read that and a lot more posts about it. After a couple tests the only thing that I didn't manage to get working was the colors, only for this reason. This is the problem of having to support IE unfortunately... |
The generated CSS file has increased substantially in size (~40%) as a result and I can't seem to turn it off.
tailwind.config.js
Generated CSS
The text was updated successfully, but these errors were encountered: