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 like tailwind 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:
module.exports = {
corePlugins: {
backgroundOpacity: false,
},
}
Outcome:
.bg-gray-100{
--tw-bg-opacity: 1;
background-color: rgba(243, 244, 246, var(--tw-bg-opacity));
}
Expected outcome:
.bg-gray-100{
background-color: #F3F4F6;
}
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-jitdoes not output alpha-less colors liketailwinddoes.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-jitvs.tailwindExample
With the following config:
Outcome:
Expected outcome: