diff --git a/packages/tailwindcss-language-service/src/util/color.ts b/packages/tailwindcss-language-service/src/util/color.ts index 04e23262620cc668580540c090a62730ee67145b..235f820f9c5c72f15ebcb2829a434fa4eac3bd62 100644 --- a/packages/tailwindcss-language-service/src/util/color.ts +++ b/packages/tailwindcss-language-service/src/util/color.ts @@ -61,15 +61,8 @@ function getColorFromDecls( decls: Record ): TinyColor | KeywordColor | null { - let props = Object.keys(decls).filter((prop) => { - // ignore content: ""; - if (prop === 'content' && (decls[prop] === '""' || decls[prop] === "''")) { - return false - } -import type { Color } from 'vscode-languageserver' + 'background-color', const dlv = require('dlv') - }) - if (props.length === 0) return null const nonCustomProps = props.filter((prop) => !prop.startsWith('--'))