elchininet / postcss-rtlcss

PostCSS plugin to automatically build Cascading Style Sheets (CSS) with Left-To-Right (LTR) and Right-To-Left (RTL) rules using RTLCSS
https://elchininet.github.io/postcss-rtlcss/
Apache License 2.0
102 stars 16 forks source link

Output with one direction only #78

Closed FaridAghili closed 3 years ago

FaridAghili commented 3 years ago

Is it possible to get output for one direction only? Let's say give it a LTR source and get RTL output only.

elchininet commented 3 years ago

Hi, @FaridAghili,

That is what RTLCSS does. Postcss-RTLCSS is based on this plugin to generate LTR and RTL rules in a single file, but if you want to convert an entire input to RTL you should use RTLCSS.

Regards!

FaridAghili commented 3 years ago

Can I use RTLCSS as postcss plugin? Sorry, I know it's another topic.


From: Iván Pereira @.> Sent: Tuesday, May 18, 2021 12:03:33 AM To: elchininet/postcss-rtlcss @.> Cc: Farid Aghili @.>; Mention @.> Subject: Re: [elchininet/postcss-rtlcss] Output with one direction only (#78)

Hi, @FaridAghilihttps://github.com/FaridAghili,

That is what RTLCSShttps://github.com/MohammadYounes/rtlcss does. Poscss-RTLSS is based on this plugin to generate LTR and RTL rules in a single file, but if you want to convert an entire input to RTL you should use RTLCSS.

Regards!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/elchininet/postcss-rtlcss/issues/78#issuecomment-842578285, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACBVKLIEPQC4F6NYJWJ6ANTTOFVQ3ANCNFSM45A6K7WA.

elchininet commented 3 years ago

Yes, it can be used as a Postcss plugin and it is very customizable.

FaridAghili commented 3 years ago

Thank you.