diff --git a/src/corePlugins.js b/src/corePlugins.js index b4ff59ab292b..352737c703d8 100644 --- a/src/corePlugins.js +++ b/src/corePlugins.js @@ -234,7 +234,7 @@ export let variantPlugins = { } if (!check.includes(':')) { - check = `${check}: var(--tw-empty)` + check = `${check}: var(--tw)` } if (!(check.startsWith('(') && check.endsWith(')'))) { diff --git a/tests/arbitrary-variants.test.js b/tests/arbitrary-variants.test.js index 78951f1ad697..a947dbe435c4 100644 --- a/tests/arbitrary-variants.test.js +++ b/tests/arbitrary-variants.test.js @@ -640,7 +640,7 @@ it('should support supports', () => {
- +
@@ -699,7 +699,7 @@ it('should support supports', () => { } } - @supports (container-type: var(--tw-empty)) { + @supports (container-type: var(--tw)) { .supports-\[container-type\]\:underline { text-decoration-line: underline; }