Fork me on GitHub
#garden
<
2018-10-04
>
PokerSolutions09:10:33

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" } })} `