From f9b8b36c5fd1742dff9e798520e9942d20c6ffec Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Tue, 30 Nov 2021 16:29:46 +0100 Subject: [PATCH] chore: `disabled` variant is now by default --- src/index.ts | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/index.ts b/src/index.ts index 766a19d2..5fed98c7 100644 --- a/src/index.ts +++ b/src/index.ts @@ -142,18 +142,7 @@ export default defineNuxtModule({ }], ...rules ], - variants: [ - // disabled: - (matcher) => { - if (!matcher.startsWith('disabled:')) { return matcher } - return { - // slice `disabled:` prefix and passed to the next variants and rules - matcher: matcher.slice(9), - selector: s => `${s}:disabled` - } - }, - ...variants - ], + variants, layers: { icons: 0, default: 1,