MatBlazor icon indicating copy to clipboard operation
MatBlazor copied to clipboard

Any way to remove the mdc-classes?

Open marcusjm opened this issue 4 years ago • 7 comments

I am trying to implement tailwind classes with the functionality of the datatable etc. The problem is that the mdc class seems hard coded. Can it be removed with some override?

marcusjm avatar Dec 21 '20 20:12 marcusjm

@marcusjm , the MDC classes are specific to Material Design, which is the basis of the MatBlazor components. This, in my opinion, would not make sense to be able to remove.

Christian-Oleson avatar Dec 30 '20 03:12 Christian-Oleson

@Christian-Oleson I started using MatBlazor yesterday, not because of material design, but because of components it offers. It does make sense to have own style on components. (Or I misunderstood the whole point of this library(?)).

For example, I would like to plug in bootstrap or Tailwind libraries. Now the official templating offers just primary and secondary color change.

tesar-tech avatar Dec 30 '20 09:12 tesar-tech

@Christian-Oleson I started using MatBlazor yesterday, not because of material design, but because of components it offers. It does make sense to have own style on components. (Or I misunderstood the whole point of this library(?)).

For example, I would like to plug in bootstrap or Tailwind libraries. Now the official templating offers just primary and secondary color change.

Got it. At this point, it is not something that is supported. From my understanding, the only intention was to support material design (thus the name of MatBlazor, standing for Material Blazor). Bootstrap is 100% an opposing design choice, so at this point it would not be supported. If the support of tailwinds requires the MDC removal, then that wouldn’t be supported either.

We can definitely have you open a feature request to get that added, I’m just not certain that the intention ever was to support anything aside from Material Design. Hope this helps @tesar-tech

CSOleson avatar Dec 30 '20 15:12 CSOleson

Yeah I would like that. I only use Taliwind for everything nowadays.

marcusjm avatar Jan 18 '21 08:01 marcusjm

@marcusjm , Is your question answered?

Christian-Oleson avatar Mar 08 '21 00:03 Christian-Oleson

@marcusjm , Is your question answered?

Yes

marcusjm avatar Mar 08 '21 23:03 marcusjm

@marcusjm , Awesome. Would you mind closing this issue then? Likewise, if still desired, you could write up a feature request for supporting other designs like bootstrap, tailwinds, etc.

Christian-Oleson avatar Mar 09 '21 04:03 Christian-Oleson