callstack / callstack/linaria

RTL support

Open
#491 11 comments 2 reactions 0 assignees View on GitHub
feature: proposal 💬 needs: investigation 🔎
Dominant language
TypeScript
Stars
12.4k
Forks
413
PR merge metrics
No merged PRs in 30d

Description

## Describe the feature

It would be nice to have some form of RTL support for the library. For example, you can see how [react native web](https://github.com/necolas/react-native-web/blob/master/docs/guides/style.md#implementation-details) handles this – the requirement is that there are different static styles compiled that can be switched between at runtime, particularly the LTR and RTL styles. https://github.com/kentcdodds/rtl-css-js is a library that does the actual "style flipping" logic.

## Motivation

We'd like to be able to support languages that have a RTL flow.

## Related Issues

I couldn't find any but let me know if this has been talked about before!

As a side note, I'm interested in whether this is something that you'd be open to PR's for. Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.