-
Notifications
You must be signed in to change notification settings - Fork 671
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
Add support for CSS Logical Properties #797
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! One comment below. I'm also not a maintainer so feel free to disregard.
@@ -160,6 +160,25 @@ test('handles all core styled system props', () => { | |||
}) | |||
}) | |||
|
|||
test('handles css logical properties', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This feels a bit nitpicky, but I think it'd be worthwhile to include all the logical properties in a test since any one of them could regress.
Nice, good to see this 😍 Just today I created this issue in Styled System, since I use 👉 styled-system/styled-system#1268 How do you feel about adding aliases to the margin and padding logical properties? I think since we have aliases for margin and padding it could make sense here too.
|
@jxnblk Thoughts on this? Should we add aliases for spacial logical properties? |
A point of confusion I could see is that
|
I don't think we should worry about shorthands for this PR. @peduarte note that |
Ah, I had a feeling that this would be the case 🙂 SGTM 👍 |
@jxnblk Are you looking for any changes here or is this good to merge? |
Sorry for the delay! This looks great, thanks for getting this together! |
Pretty sure I got them all :)
Closes #794