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

Support css={...} syntax? #2

Open
FezVrasta opened this issue Mar 4, 2021 · 0 comments
Open

Support css={...} syntax? #2

FezVrasta opened this issue Mar 4, 2021 · 0 comments

Comments

@FezVrasta
Copy link

Hi, thanks for the theme, it looks great!

I was wondering if you could add support for the css property syntax?

<div css={`
  color: red;
`} />

Right now the template literal is all green rather than highlighted as if it was css. I need to explicitly use the css tagged function to make the syntax work:

<div css={css`
  color: red;
`} />

Considering it's a feature supported by Styled Components and Emotion I think it would be useful to a lot of people.

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

No branches or pull requests

1 participant