Skip to content
Discussion options

You must be logged in to vote

You are not doing anything wrong and it is not a bug.

--value(--spacing-*) is a theme token "look-up". However by default, Tailwind has no theme tokens under --spacing. So for the bare value with just an integer, you need to use --spacing(--value(integer)) to get the spacing scale.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@browner12
Comment options

@wongjn
Comment options

wongjn Jun 11, 2026
Collaborator

@browner12
Comment options

@wongjn
Comment options

wongjn Jun 11, 2026
Collaborator

@browner12
Comment options

Answer selected by browner12

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants