-
Notifications
You must be signed in to change notification settings - Fork 18
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
Create New Objects with Template Tags #99
Comments
I have a similar problem which I think is probably related (if it's not I'll create a new issue). The same effect happens if you have curly brackets inside a template tag, but only if it's also inside regular parenthesis as well. For example, this: const MyDiv = styled(Div)`
margin: 0px;
padding-right: 8px;
line-height: calc(${standardIncrement} - ${barHeight});
vertical-align: middle;
` Results in: |
Both issues were related but in different parts of the syntax; |
Awesome, great work! |
Thank you both for isolating the issue, having the sample codes made it a lot easier to track the correct context. |
Thank you! That was quickly corrected! |
Image
Something goes wrong when Naomi parses a temlate tag inside curly brackets, that is
turns all code after it to an incorrect color (in my case, with my theme, green).
Code sample
The text was updated successfully, but these errors were encountered: