cssinjs / styled-jss

Styled Components on top of JSS.
http://cssinjs.org/styled-jss
MIT License
217 stars 25 forks source link

Composing function styles causes dynamic styles to not be used #75

Open atomanyih opened 5 years ago

atomanyih commented 5 years ago

As documented in the readme, you are able to compose style-objects or style-functions by passing additional arguments to styled.

However, if you pass a style-function then any function rules in the base styles will not be respected

see example: https://codesandbox.io/embed/jss-composable-styles-bug-rt1on