I initially created this stack using UnoCSS, which I like better because than Tailwind because it allows you to add powerful rules, shortcuts, and other customization to your config through a simple API.
However, I need to use the @apply and theme() directives from time to time and there are issues when trying to do that using the UnoCSS CLI, so I reverted this template back to using PostCSS and Tailwind, which work well together and generate the files I need without being destructive.
Maybe eventually I can patch the CLI to enable building to a single file and somehow have that work with PostCSS somehow...
I initially created this stack using UnoCSS, which I like better because than Tailwind because it allows you to add powerful rules, shortcuts, and other customization to your config through a simple API.
However, I need to use the
@applyandtheme()directives from time to time and there are issues when trying to do that using the UnoCSS CLI, so I reverted this template back to using PostCSS and Tailwind, which work well together and generate the files I need without being destructive.Maybe eventually I can patch the CLI to enable building to a single file and somehow have that work with PostCSS somehow...