styled-angular-components
💡 POC of a React styled-component pattern for Angular components
About
A POC of using both a typed theme object and component @Inputs
with Emotion CSS to produce something similar to styled-components with React.
This in practice would allow you to dynamically style a angular component without needing CSS classes that are matching component states as well as use libraries like polished to dynamically change styles that may depend on JS variables or even component variables.
Please feel free to fork, test, improve and build on this POC via Github.
License
MIT, see the LICENSE file.