Open vitonsky opened 2 years ago
No conflicts with other components. But BEM quite good isolate CSS too
We can remove unused CSS.
But actually no, due to dynamic use styles. I mean conditional use and use classes by dynamic names
We can check custom CSS properties while compilation
Now, global CSS on library level is not supported on next.js
But this is not problem of library, but problem of next.js design. The impossing a CSS modules/styled components on next.js side is not a reason to refactor library
Looks that CSS modules are useless for this UI kit
cn
library?.Menu ~ .Button
. Should we forward class name hooks?