Re:Show HN: Polished – A lightweight toolset for writing sty...
by pygy_ on Tuesday March 28, 2017 @11:52AM
(#13977635)
I just discovered http://typestyle.io/ which should make it much easier to write CSS in JS... Auto-completion everywhere...
I'll probably steal the approach for my own CSS-in-JS lib (j2c).
I really dislike writing styles as JavaScript objects, so styled-components let's you write actual CSS in JavaScript. We have also added support for a bunch of editors, so you don't miss out on syntax highlighting just because of that.
I'd encourage you to check it out!
[0]: https://www.styled-components.com