Skip to content

Show pixel values for v4 spacing #1089

@rijk

Description

@rijk

In Tailwind v4, the spacing scale is now tweakable using a --spacing variable.

image

This is cool but a downside is the intellisense no longer shows the pixel values:

image

instead of:

image

It would be nice if the extension could calculate these.

What version of VS Code are you using?

v1.94.2

What version of Tailwind CSS IntelliSense are you using?

For example: v0.12.13

What version of Tailwind CSS are you using?

For example: v4.0.0-alpha.33

What package manager are you using?

pnpgm

What operating system are you using?

macOS

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions