From 941389fe9030bbae00794ea28e8d2701062c97cc Mon Sep 17 00:00:00 2001 From: Robin Malfait Date: Tue, 4 Oct 2022 17:45:13 +0200 Subject: [PATCH] use `--tw` instead of `--tw-empty` --- src/corePlugins.js | 2 +- tests/arbitrary-variants.test.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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; }