I have this side project I’m working on where one of the goals was to write vanilla #css instead of using any library or post-processor. #openprops by @argyleink was the only thing I needed and I was happy. UNTIL(dun dun duuu), I need a class to only position: relative. It annoyed me so much so I thought “let’s get #unocss by @antfu in to on-demand me those util classes”. One thing led to another and I’ve converted my whole project to UnoCSS and I don’t know what to feel 😂
I do enjoy writing vanilla CSS more but man, those handy UnoCSS util classes and the possibility to “foolproof” your setup in a way CSS custom props can’t makes it hard to go vanilla CSS.
The more I use it, the more I like it: #atomic #CSS. 💛
Feels like a very efficient, and consistent DSL to make things look good.
Kudos to #tailwind for making it mainstream and driving «standardization».
Also hats off to very promising and lightweight alternatives like #windicss https://windicss.org and #unocss https://github.com/unocss/unocss, which seem to be pushing the boundaries.
#atomic #css #tailwind #WindiCSS #unocss
One year of :unocss: #UnoCSS, it's amazing to see the community grows so fast with so many presets and frameworks created! 🙌
https://github.com/unocss/unocss#presets
@Greenheart if you want to improve your DX even further you should try #UnoCSS https://github.com/unocss/unocss
It pretty much let’s you use all the tailwind classes but without the overhead of the tailwind JIT. It’s much more flexible and much much faster. It’s one of the few things I add to every #Svelte or #SvelteKit project right at the start