cycle-sandbox icon indicating copy to clipboard operation
cycle-sandbox copied to clipboard

make styletron snabbdom module

Open aronallen opened this issue 8 years ago • 3 comments

aronallen avatar Apr 27 '17 11:04 aronallen

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

aronallen avatar May 01 '17 07:05 aronallen

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

michalvankodev avatar May 02 '17 08:05 michalvankodev

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.

aronallen avatar May 02 '17 18:05 aronallen