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

RTL support #87

Open
peiche opened this issue May 6, 2021 · 4 comments
Open

RTL support #87

peiche opened this issue May 6, 2021 · 4 comments

Comments

@peiche
Copy link
Contributor

peiche commented May 6, 2021

I know nothing about RTL support, but in the latest Boostrap 5 stable release, they migrated all "left" and "right" utility classes to "start" and "end." What do you think about doing this in CodyFrame? I'm happy to open a PR to start the work.

@sebastiano-guerriero
Copy link
Contributor

Hi Paul, I'm doind some research on the best RTL practices to include RTL support in CodyFrame.

This guide seems to be a great place to start:
https://rtlstyling.com/posts/rtl-styling

I just started so I'm gonna need a few days to learn more about this important accessibility topic. I'll look more into this and then we can plan the best way to proceed? We do appreciate the help :)

@JABClari
Copy link
Contributor

On board

@sebastiano-guerriero
Copy link
Contributor

What I've learned so far: RTL support is way deeper than I anticipated. Adding margin-start/end utility classes is only a piece of the puzzle. To support multiple directions/writing modes we need to change many utility classes that affect the layout. E.g., float (float-start, float-end), text-align (text-start, text-end) and so on...These logical property are currently supported only in Firefox and are a W3C editotor's draft. I'll keep working on this.

@peiche
Copy link
Contributor Author

peiche commented Jul 28, 2021

Came across this site, might be helpful. https://rtl.wtf/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants