Currently, I am working on a footer that contains buttons with icons. I am iterating through the icons to change both the icon itself and its color. However, I have encountered an issue.
<v-btn
v-for="icon in icons"
:key="icon.id"
class="mx-4 "
icon
>
<v-icon :color="icon.color" size="24px">
{{ icon.icon }}
</v-icon>
</v-btn>
In my script:
data: () => ({
icons: [
{
id: 1,
icon: 'mdi-facebook',
color: '#4267B2'
},
{
id: 2,
icon: 'mdi-twitter',
color: '#26c6da'
},
{
id: 3,
icon: 'mdi-linkedin',
color: '#2867B2'
},
{
id: 4,
icon: 'mdi-instagram',
color: '#e4405f'
},
],
}),
I am now wondering how I can create a gradient effect for the Instagram icon color. Do I need to completely rework all of the code?