bg-blue/50
+ bg-opacity-100
doesn't change opacity
#463
Labels
context-v2
Related to tailwind-merge v2
bg-blue/50
+ bg-opacity-100
doesn't change opacity
#463
I understand that these classes generate different outputs.
bg-blue/50
generates{ background-color: rgb(0 0 255 / 0.5) }
, which ignores the Tailwind variable--tw-bg-opacity
bg-opacity-100
generates{ --tw-bg-opacity: 1 }
However, this limitation is not documented.
Should it be documented? Or is this a bug?
The text was updated successfully, but these errors were encountered: