svelte-material-ui icon indicating copy to clipboard operation
svelte-material-ui copied to clipboard

First party support for integration with other popular frameworks

Open Immortalin opened this issue 4 years ago • 2 comments

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.

Immortalin avatar Feb 10 '22 17:02 Immortalin

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.

simon-amadeus avatar Mar 18 '22 12:03 simon-amadeus

@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.

Immortalin avatar Mar 21 '22 03:03 Immortalin