tailwindcss-intellisense
tailwindcss-intellisense copied to clipboard
Color decorators are not working for custom colors with css variables
What version of VS Code are you using?
v1.89.1
What version of Tailwind CSS IntelliSense are you using?
v0.11.66
What version of Tailwind CSS are you using?
v3.4.3
What package manager are you using?
pnpm
What operating system are you using?
macOS
Tailwind config
...
theme: {
extend: {
colors: {
foreground: "rgb(var(--color-foreground) / <alpha-value>)",
}
}
}
VS Code settings
"tailwindCSS.classAttributes": [
"class",
"className",
"ngClass",
"class:list"
],
"tailwindCSS.codeActions": true,
"tailwindCSS.colorDecorators": true,
"tailwindCSS.experimental.classRegex": [],
"tailwindCSS.experimental.configFile": null,
"tailwindCSS.hovers": true,
"tailwindCSS.includeLanguages": {},
"tailwindCSS.inspectPort": null,
"tailwindCSS.rootFontSize": 16,
"tailwindCSS.showPixelEquivalents": true,
"tailwindCSS.suggestions": true,
"tailwindCSS.validate": true
Describe your issue
Color decorators (prevew) don't appear in VSCode when using custom colors with CSS variables (as described in the Tailwindcss docs).