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
thecrypticace
changed the title
Tailwind 4 hints not fully working with prefixed classes
v4: Prefixed theme values are not used to calculate pixel equivalents
Feb 2, 2025
Fixes#1160
We were passing the CSS variable straight through when resolving the
theme values but this isn't accurate when a prefix is used. The theme
variables *do not* have prefixes but the emitted CSS variables _do_.
We have to strip the prefix before doing the lookup.
What version of VS Code are you using?
v1.96.4
What version of Tailwind CSS IntelliSense are you using?
v0.14.2
What version of Tailwind CSS are you using?
v4.0.3
What package manager are you using?
bun
What operating system are you using?
Windows
Tailwind config
Describe your issue
When hovering over a prefixed tailwind 4 class the Tailwind Intellisense hint does not show the correct hint:
If tailwind config does not use a prefix;
the Tailwind Intellisense hint works correctly:
The text was updated successfully, but these errors were encountered: