NG-ZORRO / ng-zorro-antd

Angular UI Component Library based on Ant Design
https://ng.ant.design
MIT License
8.82k stars 3.87k forks source link

Components easy customization with tailwindcss #8096

Open brimmann opened 10 months ago

brimmann commented 10 months ago

What problem does this feature solve?

I use NG ZORRO in most of my project but one problem I always encounter is customizing the look of components to match my design exactly. It takes a lot of time and is not very flexible.

What does the proposed API look like?

I would propose that each component should expose its inner elements' class attributes the way so we can easily add our own classes to the desired part of the hierarchy of the components. If there is a better way of integrating Tailwindcss in components will allow developers to easily customize the look of components to match their styles.

Laffery commented 8 months ago

Thank you for liking our library! NG ZORRO follows in ant design's footsteps, and we are discussing options for how to support css-in-js. We currently have no plans to integrate TailwindCSS, but we'll try our best to make it easier to customize the styles.