garden

indy 2019-12-05T11:28:29.001200Z

Hey All, How do I use the Garden library to generate the CSS and then include it in my project? I understand (css [:h1 {:font-weight "bold"}]) will output the appropriate CSS string, but how do I create a CSS file from this and include it in my ClojureScript project?

aisamu 2019-12-05T12:44:43.001900Z

This might help if you're not using lein-garden: https://github.com/noprompt/garden/wiki/Compiler#saving

aisamu 2019-12-05T12:48:09.003Z

(`boot-garden` just spits that string to a file, though)

indy 2019-12-05T12:57:19.003300Z

That's a nice idea thanks 🙂