Style composition - Allow sx prop to accept arrays#174
Style composition - Allow sx prop to accept arrays#174phelma wants to merge 4 commits intosystem-ui:masterfrom
Conversation
|
Hi @jxnblk I have updated the PR following your feedback |
|
Thanks! Was traveling over the weekend, but planning on merging this. As a heads up, #182 looks like it might cause merge conflicts, but I can take care of them |
|
hey @jxnblk do we need to do anything more with this PR to get it in? |
This comment has been minimized.
This comment has been minimized.
|
Any update here? This looks awesome. |
|
@jxnblk Any plans on adding the functionality of this PR? I've been relying on Emotion's css prop for style composition with arrays, but the would like to avoid the extra step of wrapping my style object with the |
|
@jxnblk Is there any news on this PR? Would be a pretty handy feature to have. |
|
@RobStallion - it is my understanding @jxnblk is not currently very active on this project and @hasparus is heading an effort to move things along while Brent is busy - mostly to close the backlog of issues and PRs. |
|
Closing with #704 as a successor |
Emotion's css prop can accept an array for style composition.
This adds the functionality to theme-ui's
sxpropStyles can be composed by using an array of style objects in the
sxprop.e.g.