Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

createGlobalStyle from styled-components breaks CSS highlighting (behavior should be the same as injectGlobal) #188

Open
acnebs opened this issue Nov 4, 2018 · 1 comment

Comments

@acnebs
Copy link

acnebs commented Nov 4, 2018

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.

import { createGlobalStyle } from 'styled-components';

export default createGlobalStyle`
  span {
    color: green;
  }
`
@borela
Copy link
Owner

borela commented Nov 8, 2018

Fixed https://github.com/borela/naomi/releases/tag/v4.2.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants