codyhouse/codyhouse-framework

RTL support

peiche opened this issue · 4 comments

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.

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 :)

On board

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.

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