News for hackers. Stuff that matters.
Re:Sketch raises $20M in Series A funding by jasim on Sunday March 17, 2019 @07:39PM (#19417526)
The code you saw in the video uses Tailwind CSS, which means the code doesn't generate a class for `text-gray1`, but rather, it creates a simple tailwind.confg.js file that lists out all the colors (and every other design scale like typography, spacings etc.). Tailwind uses this config to generate all the functional CSS classes necessary. It is highly suited for building custom UI designs, unlike Bootstrap, Bulma etc. that brings its own styles.

The software also can generate BEM like you wish for in the future. One of our earlier iterations did do that, but the default stack today is Tailwind which I've found to be the second best way to approach CSS (the first is CSS-in-JS, but with explicit design scales).

Re:Sketch raises $20M in Series A funding by chrisweekly on Sunday March 17, 2019 @09:17PM (#19417966)
Tailwind can be used with CSS-in-JS, to great effect. Emotion is my favorite / recommendation.
Re:Sketch raises $20M in Series A funding by jasim on Monday March 18, 2019 @12:36AM (#19418711)
That's really useful to know Chris, thanks!
Re:Sketch raises $20M in Series A funding by chrisweekly on Monday March 18, 2019 @01:03PM (#19422841)
Right on, Jasim. :)

BTW I took a look at your CodeGen project, and I'm impressed.