This library destroys my tailwind V4 & CSS styling
With import { <whatever> } from 'tauri-controls' or even import('tauri-controls').then(...) anywhere in my code
Without (normal styles):
I'm not sure what changes and I have no time to dig but some notable differences in the chrome debugger:
With controls:
(tailwind classes often overridden by other)
And some more CSS than what I have normally:
Without controls:
Obviously we can't have a library override our global styles.
I might have to go without tauri-controls for the foreseeable future because of this but I'd love to use it if this wasn't an issue.
By the way if someone has a quick and dirty workaraound it would save my day.
I normally 0% of the time write issues so please take it as a sign I badly need this haha.
Thanks for maintaining tauri-controls it would be very useful
For anyone ending here, this repository is no longer maintained and target outdated Tauri version. I don't blame contributors for this, Tauri did a lot of breaking change with v1 <> v2 transition, which probably burn out a lot of them.
You'll have to find another library, or rewrite it yourself. To be honest, tauri-controls should have been an official Tauri plugin from the start, and it's never to late. Fork, update to latest Tauri, try a minimalistic version - it may work, it may break.
@AnicetNgrt nothing to do with your bug report, but UI looking clean! 💯 🎊
I copied his code and deleted any unnecessary files. After modifying the method, it's fine