Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
add group-focus variant
Brad Cornes <brad@parall.ax>
4 years ago
1 changed files, 2 additions(+), 0 deletions(-)
M packages/tailwindcss-class-names/src/getVariants.js -> packages/tailwindcss-class-names/src/getVariants.js
diff --git a/packages/tailwindcss-class-names/src/getVariants.js b/packages/tailwindcss-class-names/src/getVariants.js
index 36f1d4e357ba56280004831e487130457557e388..c7df96475180305955f2e5dd7d1d22ce355f3103 100644
--- a/packages/tailwindcss-class-names/src/getVariants.js
+++ b/packages/tailwindcss-class-names/src/getVariants.js
@@ -10,6 +10,8 @@   semver.gte(version, '1.0.0-beta.1') && variants.push('default')
   semver.gte(version, '1.1.0') &&
     variants.push('first', 'last', 'odd', 'even', 'disabled', 'visited')
 
+  semver.gte(version, '0.5.0') && variants.push('active')
+
   let plugins = config.plugins
   if (!Array.isArray(plugins)) {
     plugins = []