You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@PrisionMikeLime this sounds interesting, but I'd have to test to ensure this works in this manner.
I've also relabeled this as a feature as the current implementation is working as expected. This behavior is not a bug, but rather a new feature request.
@PrisionMikeLime after reviewing this, unfortunately Tailwind does not seem to provide a way to pass down opacity from a custom utility class as you described. See my reproduction here:
Current Behavior
When using
bg-primary-50-900-token
for example the code generated is:So using tailwind opacity has no effect.
Expected Behavior
Generated code should support tw opacity
Steps To Reproduce
Simply use tailwind's opacity feature with a bg with token:
class=`bg-primary-50-900-token bg-opacity-60`
.Link to Reproduction / Stackblitz
No response
More Information
I believe other uses of color might need to support transparency too.
The text was updated successfully, but these errors were encountered: