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

Feature request: block comments to define if the content is written RTL of LTR #67

Open
pdanpdan opened this issue Jul 3, 2020 · 0 comments

Comments

@pdanpdan
Copy link

pdanpdan commented Jul 3, 2020

Hello.

There is a global setting fromRTL that when true specifies that the whole source CSS was written as RTL.

Is it possible to add as pair of block comments like /* rtl:begin:ignore */ and /* rtl:end:ignore */ that should specify how part of the CSS is written?

Something like /* rtl:begin:fromRTL */, /* rtl:end:fromRTL */, /* rtl:begin:fromLTR */, and /* rtl:end:fromLTR */?

The use case: I'm helping in development of frontend framework (Quasar) that has the styles written in sass/styl, and compiles the internal styles together with the user styles in CSS and then applies postcss-rtl on the output.

We have some issues with users that would like to write their styles directly in RTL, but if they set fromRTL: true the framework style are processed as beeing writen RTL also.

quasarframework/quasar#6714

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

1 participant