Replies: 1 comment
-
I have tried in this way as well, but can not find the solution (
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
I'm trying to implement a dual SVG import strategy in Next.js where some SVGs retain their original colors and others can be customized with Tailwind classes. Despite configuring webpack with separate rules for colorable and non-colorable SVGs, I can't get custom colors to apply.
GOAL: when custom color is not passed keep original color, otherwise show custom colored svg
Additional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions