Hi Murtaza,

the simple way to go is have something like

(def rules1 [...])
(def rules2 [...])

(spit "rules.css" 
  (css (concat rules1 rules2)))

I am not sure about my good use of the library here but I think the idea is 
there. When you develop with the repo
you can just eval the (spit ...) call when you have changed your rules and 
voilĂ  !

I hope this helps...

Jeremy.

On Thursday, April 25, 2013 3:44:25 AM UTC+2, Murtaza Husain wrote:
>
> Joel,
>
> Thanks for the lib. Its great and I plan to use it in my projects.
>
> How does Garden compare to other pre processors such as sass and less ?
>
> Also can I use it in my clojurescript projects ? I mean does it have any 
> java lib dependencies that would prevent it?
>
> What is the workflow when using Garden ? If I am using Sass, I would 
> create a .scss file, and the sass daemon would watch over any changes to 
> the file and compile it to .css.
>
> As I understand garden is generating css when called with the fn/macro 
> (css [...]). Would it make sense to have a similar workflow like above; 
> where a leiningen plugin watches for any .garden files and compiles them to 
> .css files ? Or is there a better workflow that I am missing? 
>
> Thanks,
> Murtaza 
>
>
> On Tuesday, April 23, 2013 2:42:55 AM UTC+5:30, Joel Holdbrooks wrote:
>>
>> As of today, Garden is officially out of alpha and in to beta!
>>
>> The library now sports media 
>> queries<https://github.com/noprompt/garden#media-queries> (via 
>> meta data) and parent selector 
>> references<https://github.com/noprompt/garden#parent-selector-references> 
>> (ie. 
>> "&hover"). With these new features it is now possible to build more 
>> sophisticated stylesheets bringing us a step closer to having a viable CSS 
>> alternative in Clojure.
>>
>> Over the course of the next few weeks, I plan to continue improving the 
>> library by adding "missing" features and functions to make the library as 
>> powerful as possible when it's release as 0.1.0 stable.
>>
>> Now more than ever, I would like to encourage others in the community to 
>> reach out with suggestions and code review. This my first "real" Clojure 
>> library and after only six months with the language I'm sure it could 
>> benefit greatly from both of these things.
>>
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to