TailwindCSS for Prolog

I’ve just spun out the first version of a little Prolog pack for using Tailwind-style CSS generation. It’s based on the Clojure library Girouette and watches your code for atoms or strings that are valid Tailwind CSS classes, generating a CSS file that contains only the selectors you use.

This is a building block for a Prolog framework for making SPAs that I hope to release in the near future, but this is functional enough now that I wanted to release it separately. Hopefully this is useful to someone else too!

1 Like