aronallen / cycle-sandbox

Sandbox UI Components with Web Workers in the Cycle Architecture.
MIT License
18 stars 2 forks source link

make styletron snabbdom module #10

Open aronallen opened 7 years ago

aronallen commented 7 years ago

We need a way to make CSS Classes, so far the best CSS-in-JS lib I have found is styletron. We need to make a snabbdom module that lets the developer inject stylesheets through styletron. https://github.com/rtsao/styletron

michalvankodev commented 7 years ago

Hey. I've found a CSS-in-JS lib written in TypeScript worth checking out: https://github.com/typestyle/typestyle

aronallen commented 7 years ago

TypeScript and CSS is really cool, but the main advantage of Styletron is its atomic approach to classes. It guarantees that a style block with the same values, will always resolve to the same classes.