Setting tailwind css styles using string #8644
Closed
eugener
started this conversation in
Feature Requests
Replies: 1 comment
-
|
Thanks for reaching out. We want to better support our community, and the best way for us to do that is through our official Discord. The team is active there and happy to help. We’re closing the “Help and General Q&A” category on GitHub Discussions and directing all support questions to Discord going forward. |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Would it be of any benefit to set
gpuicomponent styles as a&str, which in turn would call exiting style APIs?This, in theory, would enable an ability to create style independent components and even minimize the amount of code needed to define component rendering.
It should be even possible to do the TailwindCSS style check at compile time.
Here is what it might look like:
which would convert to
Beta Was this translation helpful? Give feedback.
All reactions