Tailwind CSS library is built to be 'purged', meaning that you can easily include in your css app style only the styles really used in the application.
Since the Syncfusion Blazor themes (I'm looking in particular at the tailwind one) are really huge, did anyone try to create the process for purging it, ideally similar to the original tailwind easy one?
Thank you all.
Hi Customer,
We are providing theme studio applications to customize and generate styles for specific components instead of using enormous CSS files.
https://blazor.syncfusion.com/documentation/appearance/theme-studio
Currently, we are providing Tailwind theme for our Syncfusion Blazor components by defining styles for each component based on original tailwind styles. We documented to customize each UI elements in a component under “Style and Appearance” section. For example,
Styles and Appearances in Blazor ListBox Component | Syncfusion
Already, we have considered a feature to restructure the CSS to customize simply like Original Tailwind did.
Regards,
Rajendran R.
I tried, just for an example, to generate a tailwind css for just the dropdown component (not exactly a 'giant' thing, I suppose...), and the resulting, minimized, css, is a huge 461KB! True, there's compression, and everything, but not exactly a lightweight.
I'm not complaining at all, of course: you made a really great job in everything... this is just a suggestion on where to try to improve, if possible! :-)
Thanks for your answer! :-)
AB