We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
content: var(--tw-content)
1 parent ed51ba7 commit e47f5faCopy full SHA for e47f5fa
packages/tailwindcss-language-service/src/util/color.ts
@@ -62,7 +62,10 @@ function getColorFromDecls(
62
): culori.Color | KeywordColor | null {
63
let props = Object.keys(decls).filter((prop) => {
64
// ignore content: "";
65
- if (prop === 'content' && (decls[prop] === '""' || decls[prop] === "''")) {
+ if (
66
+ prop === 'content' &&
67
+ (decls[prop] === '""' || decls[prop] === "''" || decls[prop] === 'var(--tw-content)')
68
+ ) {
69
return false
70
}
71
return true
0 commit comments