New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support styled-jss #81
Comments
Unless |
Yes with the PR they are passing the theme, look at the end of the PR, +const Button = styled('button')((props, {theme}) => ({
+ color: theme.color,
+ 'background-color': theme.backgroundColor, |
Right, what I’m saying is that the convention is to pass context values as props rather than leaving them on the context object |
Closing this out. Again, styled-system should work with any CSS-in-JS library that passes |
@hendrul just to note, we've decided to move on with there is an example with @jxnblk btw awesome project, thanks! |
styled-jss is near to have support for function rules in this PR, the added docs here explain how to add multiple function rules, like the great ones you offer in this wonderful lib... is it posible to support their theming api?... In my case I'm using material-ui v1 and they select react-jss as their CSSinJS engine of choice for performance reasons (and other reasons) they explain here and here. It would be awesome to be able to use the same api as styled-components and have this utility methods playing nice together.
The text was updated successfully, but these errors were encountered: