phthhieu / re-tailwind

Brings TailwindCSS https://tailwindcss.com to ReasonML
https://phthhieu.github.io/re-tailwind
MIT License
119 stars 2 forks source link

Add support for Responsive Design variants #8

Closed javergar closed 4 years ago

javergar commented 4 years ago

First of all great job; we are using re-tailwind for a prototype implementation that is planned to go into production.

At the moment we are supporting responsive design variants by using bs-css addUnsafeClass but it would be great to have this out of the box and strongly typed.

let navBarBody = TW.( [Display(Block) ] |> make) |> addUnsafeClass("lg:hidden");

Let me know if I can help on this.

Thanks Again Alberto

phthhieu commented 4 years ago

@javergar Let me update a bit to support this. Thanks

phthhieu commented 4 years ago

@javergar Published the update @ 0.0.4

Enjoy ReasonML & Tailwind