-
Notifications
You must be signed in to change notification settings - Fork 173
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
Feat: margin and padding logical props #1685
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Size Change: +63 B (0%) Total Size: 504 kB
ℹ️ View Unchanged
|
5714d8d
to
607aa22
Compare
fee047c
to
78662ac
Compare
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.
I think lets take this opportunity to make better typography docs since we should be able to support RTL text.
What do you think of Nasa's typography folder? https://nasa-jpl.github.io/explorer-1/?path=/docs/foundation-typography--fonts Interested to hear if you've found any that you really like :)
@joshuaellis I did check few design systems for typography folder and I agree we should definitely improve ours. Adobe spectrum also looks good, but Nasa's more simpler like we have with storybooks. |
https://canvas.workday.com/tokens/type is interesting too |
e276978
to
47a038e
Compare
What does it do?
Mapping
margin
andpadding
internally to equivalent logical props.Why is it needed?
To support direction and writing modes in DS
How to test it?
You can check logical properties story added for demo purpose(to be improved/updated in RTL feat) where on inspect you can see all margin and padding properties are converted to equivalent logical properties.