Replies: 1 comment 1 reply
-
|
Probably not something that could be introduced into v4 since it would be a breaking change. Perhaps create your own version that has the specificity you'd like, or add a variant to increase specificity. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently
divide-gray-75compiles down to:Bringing its specificity down to
0,0,0, whereas most utilities have0,1,0. The problem with0,0,0if anything comes after it that targets it, it will override it, even a0,1,0selector that came before it.But I'm developing a component library (not a prime use for Tailwind, I know), and I can't control the styles of the apps using it. It would really help me to bring the specificity of all these utilities back to
0,1,0.I assume
:whereis intended to shoot down the specificity because0,2,0was making it impossible for other utilities to override them? If not, then simply replacing it with:iswould be great, if yes then use:wherefor the:notpart instead to achieve0,1,0:What do you think? This would be an enormous help because it's a significant blocker for me in migrating to Tailwind v4.
Beta Was this translation helpful? Give feedback.
All reactions