-
Notifications
You must be signed in to change notification settings - Fork 674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Style composition - Allow sx prop to accept arrays #174
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
sx
propStyles can be composed by using an array of style objects in the
sx
prop.e.g.