postcss-rtl
postcss-rtl copied to clipboard
PostCSS plugin for RTL-adaptivity
Input : ``` .foo { float: right; /* rtl:only text-algin: right ;*/ } ``` LTR output: ``` [dir="ltr"] .foo { float: right; } ``` RTL output: ``` [dir="rtl"] .foo {...
When generating ltr/rtl variants of values that are mirror-symmetrical, postcss-rtl actually creates values that are identical for both versions and therefor add unecessary code to the css file. For example:...
I'm using some polymer components in my electron app. We have some CSS that looks like: ``` paper-input { margin-top: -8px; /* some other stuff */ --paper-input-container-underline-focus: { border-color: white;...
Class names in which the name contains the words left or right are translated in the following manner: Input: ``` .arrowLeft { margin-right: -3px; } ``` Output: ``` [dir=ltr] :export...
hi please add [auto rename](https://github.com/MohammadYounes/rtlcss/wiki/Why-Auto-Rename%3F) support in options(for global usage) and directives (for selector level usage)
it can't handle nested css .
Although there is an `onlyDirection` option in `.postcssrc.js` for us to config, it can only receive `ltr` or `rtl` string explicitly. We couldn't dynamically pass a value based on the...
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. Release notes Sourced from json5's releases. v1.0.2 Fix: Properties with the name __proto__ are added to objects and arrays. (#199) This also fixes a...