I actually did take Joel up on his offer. But my feature requests are on the back burner for the moment.
I happen to be building a product, that needs what Zengarden provides. Mainly authoring gnarly things like @import, @media queries, pseudo classes, etc, *declaratively, from edn*. That was the main impetus for this tool. I tried, and couldn't get that working with garden. You have to drop down to a repl to generate @import and @media queries. So while I personally need these things, I'm also happy to fold those features, back into garden. I'd actually prefer that, so we can have all of these features in one place. Tim Washington Interruptsoftware.com <http://interruptsoftware.com> On Thu, Apr 10, 2014 at 9:09 PM, Dave Sann <daves...@gmail.com> wrote: > what is different from what Joel already did? > > I think Joel was asking for input to help develop garden further it would > be great to see efforts go into one thing - unless you have really > divergent ideas.... > > Dave > > > On Friday, 11 April 2014 01:07:47 UTC+10, frye wrote: >> >> Zengarden is a riff on Joel Holdbrooks' excellent >> garden<https://github.com/noprompt/garden>library. Zengarden is a simple >> tool for generating CSS in Clojure. The goal >> is to cover most of >> CSS3<https://developer.mozilla.org/en-US/docs/Web/CSS/CSS3>. >> The spirit of the library is to have declarative syntax, and be >> controllable from edn. Github <https://github.com/twashing/zengarden> >> and Clojars <https://clojars.org/zengarden> resources are in the >> expected locations. >> >> This is an alpha release, so there's a lot of TODOs, and stuff that I >> haven't thought of. I've just built it for my own use case(s). When that >> happens, you can *i)* input raw CSS *ii)* send me feature requests or >> *iii)* send me a pull request. These are some things you get out of the >> box. >> >> - nesting syntax >> - declarative, controllable from edn >> - @import <https://developer.mozilla.org/en-US/docs/Web/CSS/@import> >> calls >> - @media <https://developer.mozilla.org/en-US/docs/Web/CSS/@media> >> queries >> - namespaces<https://developer.mozilla.org/en-US/docs/Web/CSS/@namespace> >> >> - pass in raw CSS >> >> >> I'm in the process of doing these other things. Pass in raw CSS, in lieu >> of. >> >> - pretty-printed or compressed output >> - inlined styling (for style attributes) >> - selectors (incl. *i.* attribute >> selectors<http://dev.w3.org/csswg/selectors3/#attribute-selectors>(ex: >> div[foo^="bar"]) >> *ii.* combinators <http://dev.w3.org/csswg/selectors3/#combinators> >> *iii.* parent selectors ) >> - pseudo-elements (incl. pseudo-element functions (ex: div:lang(fr))) >> - @charset <https://developer.mozilla.org/en-US/docs/Web/CSS/@charset>, >> @supports <https://developer.mozilla.org/en-US/docs/Web/CSS/@supports>, >> ( @page <https://developer.mozilla.org/en-US/docs/Web/CSS/@page>, >> @document <https://developer.mozilla.org/en-US/docs/Web/CSS/@document>, >> @font-face<https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face>and >> @keyframes<https://developer.mozilla.org/en-US/docs/Web/CSS/@keyframes>, >> not implemented; most are still experimental ) >> >> >> Please note that. >> >> - Zengarden makes no attempt to validate your CSS. it just knows how >> to handle a string pattern >> - Ensure to escape all quotations in a string >> - CSS Object Model <http://dev.w3.org/csswg/cssom/> (ex: >> CSSImportRule<http://dev.w3.org/csswg/cssom/#the-cssimportrule-interface>, >> CSSMediaRule<http://dev.w3.org/csswg/cssom/#the-cssmediarule-interface>) >> is not implemented. I'll wait until the need arises. >> >> >> These are some scss <http://sass-lang.com/> features that look >> interesting. >> >> - variables >> - partials >> - mixins >> - operators >> - inheritance >> >> But as we are in Clojure, I don't want to pull in sass idioms wholesale. >> So I think garden has the right idea in that respect. >> >> - garden declarations >> - garden units >> - garden color >> - garden arithmetic >> >> >> I'll wait for the need to arise, before wasting too much time or energy >> in any direction. Feedback is welcome. >> >> >> Tim Washington >> Interruptsoftware.com <http://interruptsoftware.com> >> >> -- 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/d/optout.