You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I declared a text style called subheader. Since passing nested keys is limited, I declared the additional uppercase separately in a weaker utility as a 'new' class. In the end, these get merged because they share the same name, so it's pointless for IntelliSense to show a duplicate hint.
I know that the strange duplication is caused by the fact that I redeclare a separate utility named .text-subheader on top of the .text-subheader declared in @theme; this can also be seen in the playground hint.
Still, it doesn't make sense to show two identical suggestions, even if they're coming from two different sources.
What version of VS Code are you using?
v1.99.2
What version of Tailwind CSS IntelliSense are you using?
v0.14.15
What version of Tailwind CSS are you using?
v4.1.3
What package manager are you using?
pnpm
What operating system are you using?
Windows 11 with WSL (CentOS Stream 9)
Reproduction URL
index.css
index.js
Describe your issue
I declared a text style called
subheader
. Since passing nested keys is limited, I declared the additional uppercase separately in a weaker utility as a 'new' class. In the end, these get merged because they share the same name, so it's pointless for IntelliSense to show a duplicate hint.Related
Extra
I know that the strange duplication is caused by the fact that I redeclare a separate utility named
.text-subheader
on top of the.text-subheader
declared in@theme
; this can also be seen in the playground hint.Still, it doesn't make sense to show two identical suggestions, even if they're coming from two different sources.
The text was updated successfully, but these errors were encountered: