vue-telescope-analyzer icon indicating copy to clipboard operation
vue-telescope-analyzer copied to clipboard

Add WindiCSS as an UI Framework

Open shadyar-bakr opened this issue 4 years ago • 4 comments

Add windicss as UI framework to separate sites who use tailwind and windi.

GitHub Repo: https://github.com/windicss/windicss Website: https://windicss.org/

shadyar-bakr avatar Sep 17 '21 02:09 shadyar-bakr

A PR should be quite easy, @antfu can you take a look at it? 💚

atinux avatar Sep 25 '21 14:09 atinux

The problem is that windicss generates css that does not have much identification. I checked the detector for tailwind and it matches with the varients like sm: md:, from that perspective there is not too much difference between tailwind and windicss. We could do the detection with windicss-only features (new varients, attributify, etc.) but that would really depend on if users have used those features and potentially make the result inaccurate (or is that acceptable?)

antfu avatar Sep 25 '21 14:09 antfu

Yeah, it is very difficult and tricky to tell them apart. Speaking of similarity, windicss still uses --tw as a prefix, like in --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/); or --tw-border-opacity: 1;,  if we change that, will it be enough to tell them apart?

shadyar-bakr avatar Sep 26 '21 21:09 shadyar-bakr

That is tricky indeed :cry:

atinux avatar Sep 27 '21 10:09 atinux