Menu
I am working on a project where I am hosting a complete application on the web. It has a ton of buttons and icons. I want to add these buttons/icons dynamically through JS and be able to change their color with theme change.
I tried a few things like adding svg through background-image in css class etc but that wont allow me to change color .
What is the best way to do this?
Note- I cant use inline svg etc because it has to be dynamic.