Fork me on GitHub
#girouette
<
2023-04-12
Marius13:04:40

Hi all! When using attribute :translate-x-10 on a class, I would expect the result being transform: translateX(10px); , but instead it is --gi-translate-x:10px , which is invalid. The origin of this seems to be https://github.com/green-coder/girouette/blob/master/lib/girouette/src/girouette/tw/transform.cljc But I can’t make any sense of it… anyone knows how I can get the correct CSS? Thank you!

Vincent Cantin23:04:34

Hi Marius, Girouette was developed based on the documentation of Tailwind. Maybe the documentation had a bug at the time it was typed. Please write an issue on Github and I will take a look when I can.