Have you considered making a tag template function that would support the same syntax as styled-components? One of the things I really like about styled-components is that I can use my IDE's support for CSS autocompletion. Also this would make it easy to transition from styled-components to Styletron.
Have you considered making a tag template function that would support the same syntax as styled-components? One of the things I really like about styled-components is that I can use my IDE's support for CSS autocompletion. Also this would make it easy to transition from styled-components to Styletron.
This isn't my library, I just wrote about it, because I thought it deserves some promotion :D
As far as I can tell (and I may be wrong) the idea of the Object literals is to allow typing via TypeScript or something.
I see. Thanks for a helpful article!