codyhouse-framework icon indicating copy to clipboard operation
codyhouse-framework copied to clipboard

RTL support

Open peiche opened this issue 4 years ago • 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.

peiche avatar May 06 '21 18:05 peiche

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

sebastiano-guerriero avatar May 07 '21 09:05 sebastiano-guerriero

On board

JABClari avatar May 14 '21 06:05 JABClari

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.

sebastiano-guerriero avatar May 25 '21 16:05 sebastiano-guerriero

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

peiche avatar Jul 28 '21 00:07 peiche