This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-02-08
Channels
- # aleph (7)
- # announcements (12)
- # babashka (19)
- # beginners (4)
- # calva (29)
- # cider (20)
- # clj-kondo (20)
- # clojure (66)
- # clojure-austin (4)
- # clojure-europe (11)
- # clojure-nl (1)
- # clojure-norway (42)
- # clojure-uk (4)
- # clojuredesign-podcast (9)
- # conjure (1)
- # cursive (5)
- # datomic (42)
- # etaoin (4)
- # events (10)
- # garden (8)
- # graphql (1)
- # holy-lambda (7)
- # honeysql (3)
- # hyperfiddle (5)
- # missionary (11)
- # music (1)
- # off-topic (12)
- # practicalli (2)
- # re-frame (2)
- # reitit (6)
- # releases (2)
- # vim (2)
- # web-security (1)
- # xtdb (3)
Is Garden still being maintained? I’m considering it for a project, and I see no reason the current version won’t work, but also CSS is moving pretty fast these days, so at times this library may need some updates. Or should I worry at all? What say you people who are using it?
I’m not an expert, but my impression is since Garden is ultimately just generating CSS strings, it is maybe not too hard to extend as needed for new CSS syntax. Not sure about creating new macros like defselector
, defclass
, defid
, defpseudoclass
defpseudoelement
, based on protocols. But I think you can just use strings inline with formal selectors and keywords in a Garden rule definition. Like [:div "div:hover" g/blockquote]
This allows a form of transparent interop with novel CSS syntax.
Is Garden any less evergreen than Hiccup? (same idea: templating strings with data structures)
Good point. Though, it seems that SGML is a bit more general as standard, and it is about as syntax-less as LISP is. And SGML is basically what Hiccup deals with.
@U0ETXRFEW Sorry for taking 2 months to reply! I am currently not maintaining any of my Clojure projects since I am not working with it at my day job.
Hi, @U06MDAPTP! Garden is super duper awesome. I followed @U09D96P9B’s wisdom and just used it. Super happy I did. Thanks for providing!
Thanks from me too. One giant step out of css tarpit.