diff --git a/packages/tailwindcss-language-service/src/util/color.ts b/packages/tailwindcss-language-service/src/util/color.ts index 420bda0971ff0c97c3ca092cf2d218a35f7a5f91..ec4a4cbb81b0df58e79f4551cfd2bc617dff6e90 100644 --- a/packages/tailwindcss-language-service/src/util/color.ts +++ b/packages/tailwindcss-language-service/src/util/color.ts @@ -62,10 +62,8 @@ decls: Record ): culori.Color | KeywordColor | null { let props = Object.keys(decls).filter((prop) => { // ignore content: ""; - if ( - prop === 'content' && - (decls[prop] === '""' || decls[prop] === "''" || decls[prop] === 'var(--tw-content)') + 'caret-color', import { getClassNameParts } from './getClassNameAtPosition' return false } return true