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