Skip to content

v4: Prefixed theme values are not used to calculate pixel equivalents #1160

@robisadev

Description

@robisadev

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

@import 'tailwindcss' prefix(tw);

Describe your issue

When hovering over a prefixed tailwind 4 class the Tailwind Intellisense hint does not show the correct hint:

Image

If tailwind config does not use a prefix;

@import 'tailwindcss';

the Tailwind Intellisense hint works correctly:

Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions