can i configure the *: child selector to use :where() instead of :is()?
#17300
Answered
by
wongjn
stefanprobst
asked this question in
Help
-
|
can i configure the |
Beta Was this translation helpful? Give feedback.
Answered by
wongjn
Mar 20, 2025
Replies: 1 comment 1 reply
-
|
Nope! It's hardcoded: And you can't do @custom-variant * (:where(& > *));to override it because the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
stefanprobst
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nope! It's hardcoded:
tailwindcss/packages/tailwindcss/src/variants.ts
Line 375 in 3f313b4
And you can't do
to override it because the
*won't pass variant name validation:tailwindcss/packages/tailwindcss/src/variants.ts
Line 28 in 3f313b4