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

[Question] Anyone tried using tailwindcss-rtl along with twin.macro? #57

Closed
FranciscoKloganB opened this issue Jul 17, 2022 · 1 comment

Comments

@FranciscoKloganB
Copy link

Has anyone around here tried using tailwindcss-rtl along with twin.macro?

I love both libs and I have to create a demo project for a talk on i18n and rtl designs and I am wondering if anyone attempted this combination before... I would test it myself, but I am a little bit time constrained. :)

My assumption is that it should work without issues. However, tailwindcss-rtl is a plugin for tailwind which expects directives to be in className I am left unsure if there is some sort of compatibility issues, since twin.macro full out expects you to use tw and css props instead and I know for certain that twin.macro does not support some tailwind directives.

@FranciscoKloganB
Copy link
Author

From my testing, it is not possible to use both of these in combination. I might have configured something incorrectly.

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

No branches or pull requests

1 participant