2π
@michal
Remove βfill=βββ property from all tag inside svg tag, then you will get result.
π€Kishor Namdeo
1π
I have other solution. I added to scss file filter
for example:
&__image {
filter: invert(35%) sepia(36%) saturate(7009%) hue-rotate(2deg) brightness(104%) contrast(88%);
}
To convert the color to the filter format (for example: #ef4f10
) use CSS filter generator to convert from black to target hex color.
The best effest is when default color in SVG file is black: fill="#000000"
.
π€michal
- [Vuejs]-Make v-card selectable/toggle-able and pass an object to an array in Vue
- [Vuejs]-Vue call method inside api callback
0π
add !important at the end of style.
eg
.class g g{
fill:#fff!important;
}
π€Shirish Maharjan
0π
The best thing you can do is to bind to attribute
<path v-bind:fill="this.skinColorContent"
export default {
data() {
return {
skinColorContent: 'red',
}
},
}
π€Lepy
Source:stackexchange.com