hperrin / svelte-material-ui

Svelte Material UI Components
https://sveltematerialui.com/
Apache License 2.0
3.3k stars 286 forks source link

First party support for integration with other popular frameworks #408

Open Immortalin opened 2 years ago

Immortalin commented 2 years ago

Is your feature request related to a problem? Please describe. Styling Svelte Material with Tailwind CSS is difficult because of configuration breakage.

Describe the solution you'd like Other major component libraries have first part support for integrating with popular CSS utilities frameworks like Tailwind. For example MUI officially documents it here: https://mui.com/guides/interoperability/

Describe alternatives you've considered Ad-hoc one-off solutions. Digging through GitHub issues and Discord.

Additional context The main part is replacing Tailwind's @base reset with Svelte Material's CSS.

simon-amadeus commented 2 years ago

hey, @Immortalin did you manage to suceed? -> I am using sveltekit + tailwindcss and am thinking about using this library. smelte unfortunately only supports tailwind v2 and seems to be abandoned.

Immortalin commented 2 years ago

@SzudemJ, I just followed the MUI guide for Tailwind Interop that I linked above. The instructions also work for svelte-material-ui if you ignore the react-specific parts.