This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-05-27
Channels
- # aws (7)
- # babashka (145)
- # beginners (83)
- # calva (18)
- # cider (11)
- # clara (9)
- # clj-kondo (59)
- # cljdoc (4)
- # cljs-dev (4)
- # cljsrn (11)
- # clojure (168)
- # clojure-australia (21)
- # clojure-dev (5)
- # clojure-europe (46)
- # clojure-italy (3)
- # clojure-nl (10)
- # clojure-taiwan (1)
- # clojure-uk (55)
- # clojurescript (85)
- # clojureverse-ops (1)
- # code-reviews (3)
- # conjure (22)
- # cursive (3)
- # datahike (3)
- # datomic (4)
- # emacs (5)
- # helix (20)
- # jackdaw (1)
- # jobs (2)
- # jobs-discuss (7)
- # lsp (1)
- # malli (5)
- # off-topic (85)
- # other-languages (4)
- # practicalli (4)
- # reitit (2)
- # releases (2)
- # sci (62)
- # shadow-cljs (181)
- # testing (5)
- # tools-deps (15)
- # xtdb (31)
Are you using css-in-jss with helix? Can you name a wrapper ? Any tips ?
I am using material ui which has css in js embedded in it, takes a bit of getting used to to know how to not give cljs data structures instead of js objects, but that's more about me learning cljs I guess. But half my code is about styling, it's completely unacceptable. Only reason I keep using it is that it's modular enough and configurable enough that so far I haven't had any huge blockers.
If the css wouldn't be so bad in it, I might even like it, although the whole component system is overcomplated as OOP solutions usually are
@ashnur they are moving to emotion. after asking here I found https://github.com/khmelevskii/emotion-cljs/tree/master/examples/helix-emotion
@ashnur https://github.com/mui-org/material-ui/issues/16947 On 5.0 they decided to ditch makeStyles and between styledcomponents and emotion they've selected emotion as stardard.
One thing to mention is that I wouldn't use Material if their Autocomplete wouldn't be so good, and I think that's even older code still that they haven't yet migrated to their new component system...
There is a reason why I keep coming back to this component 🙂. List all the css/js theme or styling libraries out there. Now filter out those which don't have even a functioning Select component. What proportion of the total remains?
heh, it's listed here https://github.com/mui-org/material-ui/issues/24405
I'm terrible at css. I need to learn, I know that using a component system isn't going to get me there. I keep bouncing between mui and react-spectrum. Love Devon Govvet and his acessibility gospel, and its very beautiful design. The traction of material-ui is real.
well, MDN too, but that's a given. or http://whatwg.org but that's also a given
that website is https://css-tricks.com/
they even regularly update old articles with new advice so you have everything for every browser
Thnx for the suggestion. I'm following https://www.youtube.com/user/KepowOb kevin powell.
https://css-tricks.com/snippets/css/a-guide-to-flexbox/ I wrote this in the wrong channel first. Or perhaps we should move to #css