Closed
Description
Describe your issue
When I define a custom utility and a custom variant with the same name, IntelliSense in VSCode only shows the variant — the utility is missing from suggestions.
Tailwind generates the utility class correctly in the final CSS output. This is only a VSCode IntelliSense issue.
What version of Tailwind CSS are you using?
tailwind
: v4.0.15
windows
: 11
vscode
: latest
Tailwind CSS IntelliSense
: latest
Example
@custom-variant mica (&.mica);
@layer utilities {
.mica {
@apply bg-background
}
}
Metadata
Metadata
Assignees
Labels
No labels