News for hackers. Stuff that matters.
Re:Ant Design by bryanrasmussen on Saturday October 05, 2019 @04:05PM (#21167616)
It's got some downsides (or maybe not I could be wrong on these parts) from what I've seen:

1. if you want the antd style for a particular component I do not believe you can import a css file specific to just that component. you are importing the full Antd css. it's sort of big. If anyone knows how I can import just the css for a component please show me how.

2. the Antd css has a lot of rules that address generic html elements, i.e. not antd classnames only. This makes component reuse more difficult.

Re:Ant Design by Reubend on Saturday October 05, 2019 @04:49PM (#21167855)
You're absolutely right about both of these points. I don't think they provide any solution to #1, but they do include a workaround for #2, even if it's pretty dirty: https://ant.design/docs/react/customize-theme#How-to-avoid-m...?