This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-04
Channels
- # 100-days-of-code (8)
- # announcements (4)
- # beginners (77)
- # boot (11)
- # business (13)
- # cider (69)
- # clara (2)
- # cljdoc (51)
- # clojure (59)
- # clojure-dev (18)
- # clojure-italy (4)
- # clojure-nl (11)
- # clojure-spec (54)
- # clojure-uk (115)
- # clojurescript (33)
- # core-async (4)
- # cursive (95)
- # datomic (27)
- # duct (1)
- # emacs (58)
- # figwheel (22)
- # figwheel-main (63)
- # garden (1)
- # graphql (10)
- # hyperfiddle (1)
- # leiningen (1)
- # luminus (6)
- # off-topic (12)
- # planck (7)
- # portkey (1)
- # quil (3)
- # re-frame (3)
- # reagent (5)
- # ring-swagger (3)
- # shadow-cljs (34)
- # slack-help (19)
- # spacemacs (57)
- # testing (2)
- # timbre (2)
- # tools-deps (42)
- # yada (6)
Hello, i´m trying to use garden with CSS-Modules of an external Component we are working with. Could somebody tell me how to write something like this in garden / cljs-css-modules? ` const customStyles = { control: (base, state) => ({ ...base, background: "#023950", // match with the menu borderRadius: state.isFocused ? "3px 3px 0 0" : 3, // Overwrittes the different states of border borderColor: state.isFocused ? "yellow" : "green", // Removes weird border around container boxShadow: state.isFocused ? null : null, "&:hover": { // Overwrittes the different states of border borderColor: state.isFocused ? "red" : "blue" } })} `