mantinedev / ui.mantine.dev

Mantine UI website and components
https://ui.mantine.dev
MIT License
2.84k stars 314 forks source link

[Help Wanted, Urgent] Tailwind CSS support. #65

Closed Syed-Sheharyar closed 1 year ago

Syed-Sheharyar commented 1 year ago

Can I use Tailwind CSS for styling as I prefer it over your default create style and theme css-in-js solution? Does it work correctly without any style overrides as Mantine now also provides unstyled components? I am wondering if I use Tailwind CSS it doesn't make style conflicts or weird behavior in different browsers. As Tailwind CSS is widely used so if you somehow allow choosing between Tailwind CSS or CSS-in-js. Your library also gets a boost in popularity resulting in more adoption. Consider, this as an important factor please, and answer me. You can also come up with an unstyled version of all components which gives the flexibility to use any styling solution.

Uzaaft commented 1 year ago

Did you try and combine those two? It worked perfectly fine for me. :) You should put some efforts in researching the issue you're wondering, before you create an issue.

Syed-Sheharyar commented 1 year ago

Do you completely eliminate Mantine CSS-in-js and design all components through Tailwind? Controlling light and dark themes using Tailwind instead of Mantine CSS-in-js. It means you are saying that there are no style conflicts in any browser and weird behavior. I am asking because I will use this in an enterprise-grade project where everything should be perfect or I try other UI libraries. How do you set up Tailwind with Mantine please, provide some code.

Uzaaft commented 1 year ago

Do you completely eliminate Mantine CSS-in-js and design all components through Tailwind? Controlling light and dark themes using Tailwind instead of Mantine CSS-in-js. It means you are saying that there are no style conflicts in any browser and weird behavior. I am asking because I will use this in an enterprise-grade project where everything should be perfect or I try other UI libraries. How do you set up Tailwind with Mantine please, provide some code.

Try it out yourself. That's the only way you'll get an answer to all your questions