Skip to content
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

[system] Add support & usage of CSS logical properties #32198

Open
2 tasks done
aaarichter opened this issue Apr 8, 2022 · 2 comments
Open
2 tasks done

[system] Add support & usage of CSS logical properties #32198

aaarichter opened this issue Apr 8, 2022 · 2 comments
Labels
new feature New feature or request package: system Specific to @mui/system

Comments

@aaarichter
Copy link
Contributor

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Summary 💡

It would be great if MUI / MUI next would support and switch internally to CSS logical properties. This would make the RTL plugin unnecessary, reduce code that handles direction and sync with functionality of modern frameworks (like Chakra-UI)

Examples 🌈

paddingInlineStart: 4

Motivation 🔦

Instead of using an RTL plugin, that has to provide transpiled css properties, it would be great to use CSS properties that change direction based on direction automatically. This is possible with CSS Logical properties in all modern browsers.

@aaarichter aaarichter added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Apr 8, 2022
@danilo-leal danilo-leal changed the title Add support & usage of CSS logical properties [system] Add support & usage of CSS logical properties Apr 8, 2022
@danilo-leal danilo-leal added new feature New feature or request package: system Specific to @mui/system labels Apr 8, 2022
@michaldudak
Copy link
Member

Good idea. This would be possible when we drop IE support completely (that is, in the next major).

@michaldudak michaldudak removed the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Apr 11, 2022
@michaldudak michaldudak added this to the v6 milestone Apr 11, 2022
@Semigradsky
Copy link
Contributor

👍 This will make RTL support without rtl plugins (stylis-plugin-rtl/jss-rtl)

@danilo-leal danilo-leal moved this to Backlog in Material UI Dec 1, 2023
@DiegoAndai DiegoAndai removed the v6.x label Dec 12, 2023
@DiegoAndai DiegoAndai removed this from the Material UI: v6 milestone Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request package: system Specific to @mui/system
Projects
Status: Backlog
Development

No branches or pull requests

6 participants