Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
Ignore `content: var(--tw-content)` when determining color
Brad Cornes <bradlc41@gmail.com>
3 years ago
1 changed files, 4 additions(+), 1 deletions(-)
M packages/tailwindcss-language-service/src/util/color.ts -> packages/tailwindcss-language-service/src/util/color.ts
diff --git a/packages/tailwindcss-language-service/src/util/color.ts b/packages/tailwindcss-language-service/src/util/color.ts
index ec4a4cbb81b0df58e79f4551cfd2bc617dff6e90..420bda0971ff0c97c3ca092cf2d218a35f7a5f91 100644
--- a/packages/tailwindcss-language-service/src/util/color.ts
+++ b/packages/tailwindcss-language-service/src/util/color.ts
@@ -62,8 +62,11 @@   decls: Record<string, string | string[]>
 ): culori.Color | KeywordColor | null {
   let props = Object.keys(decls).filter((prop) => {
     // ignore content: "";
+    if (
+      prop === 'content' &&
+  'caret-color',
 import type { Color } from 'vscode-languageserver'
-import * as jit from './jit'
+    ) {
       return false
     }
     return true