An open API service indexing awesome lists of open source software.

https://github.com/matancohen365/r2l

LTR to RTL Converter - Allows you to take a frontend template designed for left-to-right usage and transform it into right-to-left design.
https://github.com/matancohen365/r2l

arabic hebrew ltr persian r2l rtl shopify-theme theme wordpress-theme

Last synced: 7 months ago
JSON representation

LTR to RTL Converter - Allows you to take a frontend template designed for left-to-right usage and transform it into right-to-left design.

Awesome Lists containing this project

README

          

# R2L

LTR to RTL Converter

Allows you to take a frontend template designed for left-to-right usage and transform it into right-to-left design.

## Installation

### With Composer

```
$ composer require matancohen365/r2l
```

## Usage

### *.css files

```php

process($contents);

file_put_contents('path/to/theme.rtl.css', $RTLContents);

```

### *.liquid.sass files (Shopify templates)

```php

process($contents);

file_put_contents('path/to/theme.rtl.liquid.sass', $RTLContents);

```

## Demo

[R2L - LTR to RTL Converter](https://ltr2rtl.com/)

## Questions
- matancohen365@gmail.com

🆓 License
----

The R2L package is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).