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

Custom Properties/CSS Variables not parsed properly #163

Open
SachaG opened this issue Dec 13, 2021 · 0 comments
Open

Custom Properties/CSS Variables not parsed properly #163

SachaG opened this issue Dec 13, 2021 · 0 comments

Comments

@SachaG
Copy link

SachaG commented Dec 13, 2021

I'm dealing with SVG code that has CSS custom properties declared inline, like so:

<g style="--count: 8;">

Which gets converted to:

<g style={{ Count: "8" }} >

Instead of:

<g style={{"--count": 8}}>

Super useful tool by the way, I use it for every React project!

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