This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-04-09
Channels
- # announcements (1)
- # architecture (20)
- # aws (22)
- # babashka (41)
- # beginners (191)
- # chlorine-clover (66)
- # cider (19)
- # clj-kondo (54)
- # cljs-dev (15)
- # cljsrn (78)
- # clojars (1)
- # clojure (148)
- # clojure-android (4)
- # clojure-europe (7)
- # clojure-gamedev (15)
- # clojure-germany (6)
- # clojure-losangeles (46)
- # clojure-nl (23)
- # clojure-survey (3)
- # clojure-uk (46)
- # clojurescript (24)
- # conjure (21)
- # cursive (21)
- # data-science (11)
- # datomic (5)
- # events (2)
- # fulcro (28)
- # garden (32)
- # joker (2)
- # kaocha (6)
- # lambdaisland (4)
- # mount (2)
- # off-topic (11)
- # pathom (10)
- # pedestal (13)
- # re-frame (7)
- # shadow-cljs (15)
- # spacemacs (21)
- # specmonstah (1)
- # wasm (1)
- # windows (1)
- # xtdb (37)
oh… cool. I gotta say: so many times I wanted to try Garden, but for various reasons I couldn’t do it at work. Finally for my personal project I picked it up and I was almost immediately amazed how awesome it is.
I’m glad you enjoy it. I’ve been lagging on making the next version available because I’ve been busy working on #meander.
Since you already here, can you tell me how to do something with repeated properties, something like this:
background: #FFFDF2; /* Old browsers */
background: -moz-linear-gradient(left, #FFFDF2 0%, #FFFDF2 37%, #ffffff 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,#FFFDF2), color-stop(37%,#FFFDF2), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left, #FFFDF2 0%,#FFFDF2 37%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left, #FFFDF2 0%,#FFFDF2 37%,#ffffff 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(left, #FFFDF2 0%,#FFFDF2 37%,#ffffff 100%); /* IE10+ */
background: linear-gradient(to right, #FFFDF2 0%,#FFFDF2 37%,#ffffff 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFFDF2', endColorstr='#ffffff',GradientType=1 ); /* IE6-9 */
I figured out how to do linear-gradients, but not sure how to do something like thisAbsolutely. It’s so nice to have a real turing-complete awesome language instead of a pre-processor. I’m just having so much fun. Thank you for this awesomeness.
The dream I had for the next version of garden was to be able to also consume and manipulate existing CSS style sheets in a uniform way.
This would basically give you the same power as PostCSS but, you know, with Clojure instead of JavaScript.
That would be absolutely dope. One of the reasons (if I remember it right) why we couldn’t use Garden - because of the existing sass mixins we were forced to use
I’ve gotta step away now. If you have more questions, ask here, etc. Myself or someone will help.
> I just noticed your question in #css, sorry for not replying there!
no worries. it wasn’t blocking me. but the :not
selector was. Thank you again