helix

https://github.com/Lokeh/helix
2021-05-27T00:04:40.043900Z

Are you using css-in-jss with helix? Can you name a wrapper ? Any tips ?

lilactown 2021-05-27T02:08:28.044300Z

I’ve used emotion before

lilactown 2021-05-27T02:08:43.044900Z

Anything that generates class names

Aron 2021-05-27T03:40:45.046800Z

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.

Aron 2021-05-27T03:41:14.047400Z

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

2021-05-27T14:03:24.048200Z

@ashnur they are moving to emotion. after asking here I found https://github.com/khmelevskii/emotion-cljs/tree/master/examples/helix-emotion

Aron 2021-05-27T14:06:52.048600Z

I think I used emotion once and I liked it?

Aron 2021-05-27T14:07:01.049Z

where did you get this information? : )

2021-05-27T14:14:59.052900Z

@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.

Aron 2021-05-27T14:16:17.054900Z

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...

👍 1
Aron 2021-05-27T14:17:36.056300Z

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?

Aron 2021-05-27T14:20:09.059Z

heh, it's listed here https://github.com/mui-org/material-ui/issues/24405

Aron 2021-05-27T14:20:13.059400Z

so I am optimistic

2021-05-27T14:20:39.059600Z

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.

Aron 2021-05-27T14:21:11.060100Z

If you want to learn css, there is a single website you have to use.

Aron 2021-05-27T14:21:32.060600Z

well, MDN too, but that's a given. or http://whatwg.org but that's also a given

Aron 2021-05-27T14:21:46.060800Z

that website is https://css-tricks.com/

Aron 2021-05-27T14:22:35.061300Z

they even regularly update old articles with new advice so you have everything for every browser

2021-05-27T14:24:01.062300Z

Thnx for the suggestion. I'm following https://www.youtube.com/user/KepowOb kevin powell.

Aron 2021-05-27T14:29:55.063100Z

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