Open nelsonomuto opened 2 years ago
Hello @nelsonomuto,
I totally agree with you, it would be awesome to get it work! In order to do it we should provide a static theme in a xstyled.config.js
for an example, but it is an acceptable tradeoff for me.
Actually I don't have time to build it, but feel welcome to work on it!
I'll take a look this weekend to see if I can add it
Following https://xstyled.dev/docs/typescript/ seems to add the IntelliSense autocomplete work. Ensure tsconfig.json includes the respective config file. Feel free to close this issue
Not in styled components, so I let it opened.
🚀 Feature Proposal
Tailwind intellisense autocomplete with your theme would be super useful for xstyled.
The styled components plugin is more basic intellisense for the css`` blocks which is useful as well.
Motivation
Improve developer experience
Examples
This would be used in vscode for adding tailwind values to bg color like in tailwind
and also for css`` style blocks like in styled components
Pitch
Why does this feature belong in the xstyled ecosystem?
Seeing that xstyled is somewhat of a combination between tailwind (because of its declarative focus) and styled components (it also enables css`` blocks in jsx) I think it would be useful to have a plugin similarly: and most importantly for the xstyled component attributes and values to help improve developer experience when working with xstyled.