I've tried to use the css interpolator from Styled Components, but it is not suited as it passes props to each field, instead of (props) => { /* the whole css string */}.
The issue may be more in Styled Components, that could provide another helper to force syntax highlighting without actually changing the logic?
EXPECTED BEHAVIOR
Same syntax highlighting as Styled Components.
ACTUAL BEHAVIOR
No way to highlight syntax.
SUGGESTED SOLUTION
I've tried to use the
css
interpolator from Styled Components, but it is not suited as it passes props to each field, instead of(props) => { /* the whole css string */}
.The issue may be more in Styled Components, that could provide another helper to force syntax highlighting without actually changing the logic?