|
|
|
|
|
by chiefalchemist
1694 days ago
|
|
A Design System makes sense. It's the UI SME if you will. That said, in that context, I don't see the appropriateness (?) of something such as: .rounded-lg{
border-radius: .5rem
} It's not abstract enough (for me). That is, if the design system evolves that shouldn't become a code issue (e.g., remove .rounded-lg and replace it with something else). To me all that should be via CSS and only CSS. There sould be -as much as possible - a layer of abstraction between the code and the design system. Is it just me? What am I mis-thinking? Or does CSS in JS all but eliminate such a possibility? But isn't that what a design system helps to resolve? Help?? :) |
|