This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-12-20
Channels
- # adventofcode (140)
- # beginners (107)
- # boot (120)
- # boot-dev (1)
- # clara (13)
- # cljs-dev (9)
- # clojure (107)
- # clojure-argentina (5)
- # clojure-art (16)
- # clojure-dev (23)
- # clojure-greece (19)
- # clojure-italy (5)
- # clojure-russia (2)
- # clojure-serbia (3)
- # clojure-spec (27)
- # clojure-sweden (1)
- # clojure-uk (15)
- # clojurescript (134)
- # cursive (5)
- # data-science (10)
- # datomic (23)
- # duct (28)
- # fulcro (48)
- # garden (5)
- # hoplon (2)
- # instaparse (1)
- # klipse (7)
- # leiningen (8)
- # lumo (36)
- # off-topic (72)
- # om (4)
- # onyx (37)
- # perun (4)
- # re-frame (64)
- # reagent (86)
- # remote-jobs (1)
- # shadow-cljs (59)
- # spacemacs (16)
- # sql (1)
- # uncomplicate (6)
- # unrepl (90)
is anyone aware of an open source project using garden? or a codebase large enough to browse and see how the library is used. I am trying out garden, I like it but I am not sure how to organise my code
for now I organised my garden file like that
(defn logo
[]
[:div.logo
{:text-align :center
:margin "10px"}
[:img
{:width "100%"
:max-width "200px"}]])
;; ...
;; etc.
;; ...
(defstyles screen
[:body
(logo)
(search-bar)
(search-bar-media)
(grid-container)
(header)
(main)
(footer)
(ul-picker)])
but I am not sure if it is the best approach@jazzytomato I’d read this article to see an alternate way of managing Garden in your project: https://blog.estimate-work.com/a-new-world-writing-css-in-clojurescript-and-life-after-sass-bdf5bc80a24f
@jazzytomato Here’s some sample code for a project of mine that closely mirrors what you’re doing currently: https://github.com/niamu/fume/blob/master/src/fume/style.cljc
@jazzytomato: re-frame-trace is using garden now - https://github.com/day8/re-frame-trace/