-
-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UnoCSS compatibility #27
Comments
Hi @cloydlau, I'm personally doing some tests to verify if all components are compatible with UnoCSS. |
Hey @cloydlau, You can start using Inspira-ui with UnoCSS like this:
That's it! Note: Some components that use Utility Classes, like "Pattern Backgrounds", might not work as expected, but you can manually make them functional by adjusting the Utility Classes. For example, in the DotBackground component, change
to
and it will work as expected. Note2: If you want to use shadcn, I recommend you this preset. If you encounter any issues and need installation details, feel free to ask me. |
@Faudelhadroug how to set |
inspira-ui/plugins only support tailwindcss at this point of time. For animate, you can use https://www.npmjs.com/package/unocss-preset-animations . |
Yes, a simple workaround can be very useful for users using Unocss instead of tailwindcss. |
Great project. May I ask, I am using UnoCSS but the documentation says that Tailwind must be installed, it would be very unscientific to have to bring in two CSS frameworks from the same domain in order to use this library. Is there any compatibility measures for UnoCSS users?
The text was updated successfully, but these errors were encountered: