Easy way add to theme to your projects.
This is extracted out code from StyledComponents for enabling theme for any react app that did not use StyledComponents
- npm i -D styled-theme-provier
- Follow the same way as description here
here is small demo app