Is there a way to enable syntax highlighting for emotion's template string css in VS Code? I've been looking for plugins, but all of them seem to focus on snippets.
I have tried using css({ camelCaseCssProps:...})
, which works. However, I am attempting to utilize css variables
for theming without imports. Additionally, I prefer sticking with the regular kebab-case
css syntax in my global styles file:
// index.js
render(
<Global
styles={css`
html {
// css variables (and/or camel-case props)
--color-base: white;
--color-text: #434449;
}
`}
/>
)