useComposedStyle()
Sometimes when styling we want some styles to change depending on others, for example changing text colour to maintain contrast with a background colour.
To this end, the useComposedStyle()
hook will allow you to pre-compute your styles using the same internal mechanism as the Styled components.