sx
vs individual CSS props
#2275
-
So, the API all across Theme UI has this type:
I think this is very problematic from an API standpoint... why? There are two ways you can pass Why this is a problem? It leads to very frustrating situations when you try to override these values... how is that? For example, if you have
This will never work... you have to remember to pass it as an individual I suggest we make |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @MuhammadJamaluddin! I'm super happy you proposed this. I've been feeling we should go this way for a while. |
Beta Was this translation helpful? Give feedback.
Hey @MuhammadJamaluddin! I'm super happy you proposed this. I've been feeling we should go this way for a while.