Syntax highlighting breaks and reverts to simple string coloration when writing code like this:
export const backgroundColorStyles = css<BackgroundColorStyles>`
background-color: ${({ backgroundColor }) => backgroundColor};
`;
I've been able to work around the problem by writing nested css calls like this:
export const backgroundColorStyles = css<BackgroundColorStyles>`
${({ backgroundColor }) => css`
background-color: ${backgroundColor};
`}
`;