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 for LESS/SASS #154

Open
sindilevich opened this issue Nov 17, 2015 · 2 comments
Open

RTL support for LESS/SASS #154

sindilevich opened this issue Nov 17, 2015 · 2 comments

Comments

@sindilevich
Copy link

Suggesting adding an option to LESS/SASS compiler, which instructs it to produce an right-to-left version of the source file. There are already tools, like https://github.com/ded/R2, which convert CSS files to their RTL versions. The above tool can be used as a pipe of LESS/SASS compiler's output, or as a node module.

Ideally, this option should, when enabled, should run on an unmodified version of the compiled CSS. However, when both rtl and minify options are enabled, the RTL version should be minified as well.

@madskristensen
Copy link
Owner

It would be super easy to add to the LESS CLI compiler that this extension uses, since there already exist a plugin for it just like for Autoprefixer and CssComb that we're using. However, doing it for Sass isn't easy until I rewrite the infrastructure to use a node.js server instead of shelling out to the CLI.

@96fauj
Copy link

96fauj commented Oct 26, 2020

@madskristensen @sindilevich - I was previously able to use the run RTLCSS within WebCompiler in VS2013 to achieve the RTL css files but now I have VS2019.

I need something in the short-term to be able to compile the RTLs and as this isn't something available in WebCompiler, is the R2 repository you have linked above doing exactly what the RUN RTLCSS did in VS2013?

(really don't want to install vs2013 just so I can compile RTL files)

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

No branches or pull requests

3 participants