Skip to content

Document data types for functional utilities #2176

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
c-harding opened this issue Mar 27, 2025 · 0 comments
Open

Document data types for functional utilities #2176

c-harding opened this issue Mar 27, 2025 · 0 comments

Comments

@c-harding
Copy link

Source: tailwindlabs/tailwindcss#16617

The list of supported data types is color, length, percentage, ratio, number, integer, url, position, bg-size, line-width, image, family-name, generic-name, absolute-size, relative-size, angle, vector.

This should be added to the page https://tailwindcss.com/docs/adding-custom-styles#functional-utilities: I was confused that I couldn’t get custom-ident to work.

The same page, higher up, links to MDN without a note about only certain types being supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant