Open acnebs opened 5 years ago
createGlobalStyle was introduced in styled-components v4 to be a better version of injectGlobal. But at the moment is not supported by Naomi's syntax highlighting.
createGlobalStyle
injectGlobal
import { createGlobalStyle } from 'styled-components'; export default createGlobalStyle` span { color: green; } `
Fixed https://github.com/borela/naomi/releases/tag/v4.2.10
createGlobalStyle
was introduced in styled-components v4 to be a better version ofinjectGlobal
. But at the moment is not supported by Naomi's syntax highlighting.