Closed MedLabs closed 4 months ago
Hi @MedLabs, I understand this can be convenient, but this is also generating a lot of extra CSS unfortunately. For instance bdt .bdr .bdl .bdb definitions from 0 to 6 is already adding 4*7= 28 CSS rules. And if we add bdx and bdy to be consistent, this is an extra 14 CSS rules. I need to decide where should be the limit, but for now I can already say that colored border will definitely not be added as it would be a crazy amount of extra CSS for the small benefit. I try to keep Wave UI as lean as possible with all the primary needs first. :)
I'll do some tests and will let you know the outcome soon. I am just focused on finishing the dark theme feature first.
Hi @MedLabs, after doing some tests, I decided not to add these classes even though they would be convenient, it generates a big chunk of CSS and it's not as frequently used as margin / padding. It's always nice to specify borders rules with a small class, but doing some tradeoffs is also very important to keep the library lean, performant, and easy to override :) Thanks for your ideas!
Hello, it would be great to add sides borders like .bdt .bdr .bdl .bdb and green-light2--bd , blue-dark3--bdb ...
I hope it's not against the phylosophy of wave-ui