Adopting CSS logical properties #2225
zarahzachz
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
CSS has a new syntax called logical properties that decouple spacing from direction, which better supports non-LTR languages.
When we evaluate our spacing throughout the design system, it might be worthwhile to adopt logical properties as part of that work.
Worth noting: This adoption would pose a breaking change to our API as our utility classes (and some component props) use directional-based language (e.g.,
ds-u-margin-left--X
) in the current API.Beta Was this translation helpful? Give feedback.
All reactions