In my inline SVGs, stroke-width is substituted, how do I override it? #150
Unanswered
searchstefano
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using unplugin-tailwindcss-mangle in my project, and I've noticed that SVG attributes like
stroke-widthare being mangled in the same way as Tailwind classes.For example, this SVG:
Gets transformed to something like:
Question
Is there a way to configure the plugin to ignore SVG attributes while still mangling Tailwind classes? I couldn't find an option in the documentation to exclude specific HTML/SVG attributes from being transformed.
Beta Was this translation helpful? Give feedback.
All reactions