Fork me on GitHub
#css
<
2017-12-29
>
reefersleep19:12:06

@akiroz that’s what I’m thinking re: the data structures. They’re one of my favourite things about Clojure/CLJS 🙂 But even with that awesomeness, I haven’t come up with a satisfying way to organize vanilla reagent CSS maps in Clojure.

reefersleep19:12:12

In order to get what I want - the full functionality of CSS - without actually using stylesheets, I probably need to resort to stylefy or garden. Not sure I’ll have won anything, though, I don’t know them well enough. But I guess I’ll explore them next

reefersleep19:12:46

One of the reasons that the data structures of Clojure are so awesome is because of how transparent the literals are. If I do too much merging or munging of any kind, really, that pro is somewhat lost.

worlds-endless20:12:36

If it's any contribution to the earlier discussion, I find styling my reagent apps with garden and garden-gnome to be a sheer joy (real-time updates of the site appearance in my browser)

worlds-endless20:12:54

And while it's probably standard in css processors, Garden's implementation of color-arithmetic ("inverse", "lighten 15%", "darken 30%") are nice