[Feature Proposal] Add a function with an api similar to styled-system that returns tailwind classes #1149
Closed
jeffreyyoung
started this conversation in
Ideas
Replies: 1 comment
-
Have you seen this project? https://github.com/bradlc/babel-plugin-tailwind-components/ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think it would be very useful to have a function that takes args in the same shape as @styled-system/css and generates tailwind classes.
The api would be something like this
Ideally this function would include typescript types generated from the current theme to help developers recognize invalid arguments.
Beta Was this translation helpful? Give feedback.
All reactions