Custom icons don't change color like build-in ones #18071
Unanswered
MariuszKolotka
asked this question in
CLI - Capacitor / Cordova modes
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 completly new to this enviroment and programming language but I decided to make an app in quasar. My problem is that when using build-in icons like for example "add" i can change its color but when using my custom icons that I import, Icons show properly, but the only way of changing its color is by changing fill in svg code. I read that setting it to "currentColor" will allow quasar to change color in code, but it doesn't work and when set up in such a way icons are always black
example of punktowe.svg file code
this is vue file code linked to the photo below showing the problem
How do I fix this or how to import icon in such a way that the color will work properly?
Beta Was this translation helpful? Give feedback.
All reactions