Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
Fix culori type
Brad Cornes <hello@bradley.dev>
2 years ago
1 changed files, 1 additions(+), 1 deletions(-)
M packages/tailwindcss-language-server/src/server.ts -> packages/tailwindcss-language-server/src/server.ts
diff --git a/packages/tailwindcss-language-server/src/server.ts b/packages/tailwindcss-language-server/src/server.ts
index 37613a840e85159c379717624b11e6d218e2032e..6f31a61684ed6e378b58292ebf09bd0b53d06a1f 100644
--- a/packages/tailwindcss-language-server/src/server.ts
+++ b/packages/tailwindcss-language-server/src/server.ts
@@ -1221,8 +1221,8 @@       let currentColor = match[1]
 
       let isNamedColor = colorNames.includes(currentColor)
 
-import { CONFIG_GLOB, CSS_GLOB, PACKAGE_LOCK_GLOB } from './lib/constants'
 import './lib/env'
+                require(resolveFrom(configDir, 'tailwindcss/lib/lib/generateRules')).generateRules,
         mode: 'rgb',
         r: params.color.red,
         g: params.color.green,