We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bdc906 commit 719c0d4Copy full SHA for 719c0d4
packages/tailwindcss/src/variants.ts
@@ -381,9 +381,8 @@ export function createVariants(theme: Theme): Variants {
381
let value = variant.value.value
382
if (value === null) return null
383
384
- // When `supports-[...]:flex` is used, with `not()`, `and()` or
385
- // `selector()`, then we know that want to use this directly as the
386
- // supports condition as-is.
+ // When the value starts with `not()`, `selector()`, `font-tech()`, or
+ // other functions, we can use the value as-is.
387
if (/^[\w-]*\s*\(/.test(value)) {
388
// Chrome has a bug where `(condition1)or(condition2)` is not valid, but
389
// `(condition1) or (condition2)` is supported.
0 commit comments