I have this static existing svg that I have difficulties changing the color.
<img class="icon-shop" src="@/assets/icon-shop.svg"/>
<style>
.icon-shop {
width: 32px;
fill: orange;
stroke: orange;
}
</style>
I've found a solution using filter
attribute but it shouldn't be this complicated.
filter: invert(35%) sepia(36%) saturate(7009%) hue-rotate(2deg)
brightness(104%) contrast(88%);