martinklepsch / boot-garden

Boot task to compile Garden stylesheets.
Eclipse Public License 1.0
37 stars 6 forks source link

Use boot-garden to compile styles in CLJS files #21

Closed crimeminister closed 2 years ago

crimeminister commented 8 years ago

I have a project in which I am using perun to generate a static front-end sales site and Om.Next for the application functionality. Using boot-garden with perun works great (thanks!); would it be possible to extend it to process styles stored in CLJS files as well?

mebster commented 7 years ago

+1. Similarly, we have a re-frame web app all in Clojurescript. So having styling done in .cljs files alongside their component is more elegant.

martinklepsch commented 7 years ago

Hey! And sorry for the late response @crimeminister & @mebster :)

Currently boot-garden produces a file which can then be loaded using a classing <link> tag. With a CLJS based approach would you still want to produce a file?

How can the task know what rules to include? I haven't used Garden in CLJS so any explanation of how you use it (and maybe some example code) would be helpful.

crimeminister commented 2 years ago

Closing as this issue is rather long in the tooth!