Tailwind Support #552

Closed
opened 2026-01-29 17:39:11 +00:00 by claunia · 5 comments
Owner

Originally created by @Drammy on GitHub (Sep 22, 2022).

Is your feature request related to a problem? Please describe.
No, its not related to a problem. I would like to know if a feature is planned for the future.

Describe the solution you'd like
Tailwind is growing in popularity so I wondered if you have any plans to support theming via tailwind in the future?

Originally created by @Drammy on GitHub (Sep 22, 2022). **Is your feature request related to a problem? Please describe.** No, its not related to a problem. I would like to know if a feature is planned for the future. **Describe the solution you'd like** Tailwind is growing in popularity so I wondered if you have any plans to support theming via tailwind in the future?
Author
Owner

@akorchev commented on GitHub (Sep 22, 2022):

Hi @Drammy,

I have summarised our thoughts on the matter here: https://forum.radzen.com/t/how-to-use-custom-css-class-for-radzen-components/6953/8?u=korchev

@akorchev commented on GitHub (Sep 22, 2022): Hi @Drammy, I have summarised our thoughts on the matter here: https://forum.radzen.com/t/how-to-use-custom-css-class-for-radzen-components/6953/8?u=korchev
Author
Owner

@Drammy commented on GitHub (Sep 22, 2022):

Thanks for the quick response @akorchev and I completely understand your stance on the matter.

I guess our best approach is to fork and alter the styling to use tailwind classes. We can then bring across and change what we need as and when required. Does that sound feasible and within the license terms?

@Drammy commented on GitHub (Sep 22, 2022): Thanks for the quick response @akorchev and I completely understand your stance on the matter. I guess our best approach is to fork and alter the styling to use tailwind classes. We can then bring across and change what we need as and when required. Does that sound feasible and within the license terms?
Author
Owner

@akorchev commented on GitHub (Sep 22, 2022):

I guess our best approach is to fork and alter the styling to use tailwind classes

This would be quite an effort and I am not sure possible at all considering the Radzen UI that does not have Tailwind equivalent.

Wouldn't it be easier to set the Radzen CSS variables (introduced in Radzen.Blazor 4.0) to the Tailwind values? Full disclosure I am not sure if this is how Tailwind works.

@akorchev commented on GitHub (Sep 22, 2022): > I guess our best approach is to fork and alter the styling to use tailwind classes This would be quite an effort and I am not sure possible at all considering the Radzen UI that does not have Tailwind equivalent. Wouldn't it be easier to set the Radzen CSS variables (introduced in Radzen.Blazor 4.0) to the Tailwind values? Full disclosure I am not sure if this is how Tailwind works.
Author
Owner

@Drammy commented on GitHub (Sep 22, 2022):

I'll have a look at that first then, thanks.

The tailwind cli keeps its css clean by only building what known classes it finds to have been used in the UI. I'm trying to stick to this methodology

@Drammy commented on GitHub (Sep 22, 2022): I'll have a look at that first then, thanks. The tailwind cli keeps its css clean by only building what known classes it finds to have been used in the UI. I'm trying to stick to this methodology
Author
Owner

@enchev commented on GitHub (Oct 18, 2022):

I'm closing this since we already have CSS variables and there is no way we can render Tailwind CSS classes.

@enchev commented on GitHub (Oct 18, 2022): I'm closing this since we already have CSS variables and there is no way we can render Tailwind CSS classes.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#552