20lives / tailwindcss-rtl

Enabling bidirectional support on tailwindcss framework
MIT License
351 stars 34 forks source link

Replaces rules targeting LTR with rules targeting not(RTL) #37

Closed dhruvkb closed 2 years ago

dhruvkb commented 2 years ago

Fixes #23

This PR replaces rules for radius that target [dir="ltr"] with :not([dir="rtl"]) so that the default styling for LTR is applied even when the dir attribute is missing.

20lives commented 2 years ago

Good work, thanks!