v5: Utilities CSS cleanup, new border and bg utils, renames rounded to radius#30778
v5: Utilities CSS cleanup, new border and bg utils, renames rounded to radius#30778
Conversation
|
I kinda prefer the long suffixes (-left, -right, -top, -bottom). I see from where the short version comes from, but.... I propose to use |
|
After writing above comment I realized that most utilities do not use abbreviations. So, it would make more sense if spacing utilities would use whole words (padding, margin, top, left, etc.) too. Rather than changing |
- bg-gray is new and maps to gray-400 - border-gray-500 and border-gray-700 are new and are meant to complement bg-gray and bg-secondary as one level off from the borders
94c6648 to
33b04a1
Compare
|
Feels weird to have numbers in the border utilities, but not in the bg colors. Not sure how we could improve that though. |
Agreed... will think on it more. |
|
Closing as it's full of conflicts. |
roundedutils toradius, closes Utility class border radius #30048 and closes Confusing classesrounded-smandrounded-lg#29989.border-gray-500andborder-gray-700classbg-grayclass